mirror of
https://github.com/He4eT/simple-spaceapi.git
synced 2026-05-05 09:57:25 +00:00
Hackspace: add cams
This commit is contained in:
parent
dba8d5ca48
commit
b9293904a9
2 changed files with 21 additions and 0 deletions
|
|
@ -42,6 +42,11 @@
|
|||
"type": "component",
|
||||
"repeatable": false,
|
||||
"component": "hackspace.spacefed"
|
||||
},
|
||||
"cam": {
|
||||
"type": "component",
|
||||
"repeatable": true,
|
||||
"component": "hackspace.camera"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
16
src/components/hackspace/camera.json
Normal file
16
src/components/hackspace/camera.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"collectionName": "components_hackspace_cameras",
|
||||
"info": {
|
||||
"displayName": "Camera",
|
||||
"icon": "eye",
|
||||
"description": ""
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"url": {
|
||||
"type": "string",
|
||||
"required": true,
|
||||
"unique": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue