feat: add toolbox contract shell and testkit
This commit is contained in:
4
examples/react-app/public/icon.svg
Normal file
4
examples/react-app/public/icon.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Example Tool">
|
||||
<rect width="64" height="64" rx="14" fill="#3156d3" />
|
||||
<path d="M18 20h28v7H18zm0 12h28v7H18zm0 12h18v7H18z" fill="#fff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 233 B |
32
examples/react-app/public/toolbox-app.json
Normal file
32
examples/react-app/public/toolbox-app.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-app.v1.schema.json",
|
||||
"schemaVersion": 1,
|
||||
"id": "de.add-ideas.example-tool",
|
||||
"name": "Example Tool",
|
||||
"version": "0.1.0",
|
||||
"description": "A minimal toolbox-compatible React application.",
|
||||
"entry": "./",
|
||||
"icon": "./icon.svg",
|
||||
"categories": ["examples"],
|
||||
"tags": ["react", "toolbox"],
|
||||
"integration": {
|
||||
"contextVersion": 1,
|
||||
"launchModes": ["navigate", "new-tab"],
|
||||
"embedding": "unsupported"
|
||||
},
|
||||
"requirements": {
|
||||
"secureContext": false,
|
||||
"workers": false,
|
||||
"indexedDb": false,
|
||||
"crossOriginIsolated": false
|
||||
},
|
||||
"privacy": {
|
||||
"processing": "local",
|
||||
"fileUploads": false,
|
||||
"telemetry": false
|
||||
},
|
||||
"source": {
|
||||
"repository": "https://git.add-ideas.de/zemion/toolbox-sdk",
|
||||
"license": "Apache-2.0"
|
||||
}
|
||||
}
|
||||
23
examples/react-app/public/toolbox.catalog.json
Normal file
23
examples/react-app/public/toolbox.catalog.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "https://git.add-ideas.de/zemion/toolbox-sdk/raw/branch/main/schemas/toolbox-catalog.v1.schema.json",
|
||||
"schemaVersion": 1,
|
||||
"id": "de.add-ideas.example-toolbox",
|
||||
"name": "Example Toolbox",
|
||||
"home": "./",
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"brand": "Example Toolbox"
|
||||
},
|
||||
"apps": [
|
||||
{
|
||||
"manifest": "./toolbox-app.json",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"name": "ADD Ideas",
|
||||
"entry": "https://add-ideas.de/",
|
||||
"launch": "new-tab",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user