From 1173236c07303ccaa99bac6e5e911c12d7e5ba4a Mon Sep 17 00:00:00 2001 From: He4eT Date: Mon, 31 Mar 2025 18:03:25 +0200 Subject: [PATCH] Hackspace: add spacefed --- .../content-types/hackspace/schema.json | 5 +++++ src/components/hackspace/spacefed.json | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 src/components/hackspace/spacefed.json diff --git a/src/api/hackspace/content-types/hackspace/schema.json b/src/api/hackspace/content-types/hackspace/schema.json index 0da4d6c..c406967 100644 --- a/src/api/hackspace/content-types/hackspace/schema.json +++ b/src/api/hackspace/content-types/hackspace/schema.json @@ -37,6 +37,11 @@ "type": "component", "repeatable": false, "component": "hackspace.location" + }, + "spacefed": { + "type": "component", + "repeatable": false, + "component": "hackspace.spacefed" } } } diff --git a/src/components/hackspace/spacefed.json b/src/components/hackspace/spacefed.json new file mode 100644 index 0000000..1cf1888 --- /dev/null +++ b/src/components/hackspace/spacefed.json @@ -0,0 +1,18 @@ +{ + "collectionName": "components_hackspace_spacefeds", + "info": { + "displayName": "spacefed", + "icon": "globe" + }, + "options": {}, + "attributes": { + "spacenet": { + "type": "boolean", + "required": true + }, + "spacesaml": { + "type": "boolean", + "required": true + } + } +}