From 89de408fe2b151fb420105591fe30d9af1dca00b Mon Sep 17 00:00:00 2001 From: He4eT Date: Mon, 31 Mar 2025 17:58:03 +0200 Subject: [PATCH] Hackspace: contacts: add keymasters --- src/components/hackspace/contacts.json | 7 ++++- src/components/hackspace/keymaster.json | 34 +++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 src/components/hackspace/keymaster.json diff --git a/src/components/hackspace/contacts.json b/src/components/hackspace/contacts.json index a9e432f..3d26ffb 100644 --- a/src/components/hackspace/contacts.json +++ b/src/components/hackspace/contacts.json @@ -1,7 +1,7 @@ { "collectionName": "components_hackspace_contacts", "info": { - "displayName": "Contacts", + "displayName": "contacts", "icon": "discuss", "description": "" }, @@ -51,6 +51,11 @@ }, "mumble": { "type": "string" + }, + "keymasters": { + "type": "component", + "repeatable": true, + "component": "hackspace.keymaster" } } } diff --git a/src/components/hackspace/keymaster.json b/src/components/hackspace/keymaster.json new file mode 100644 index 0000000..a0fe0da --- /dev/null +++ b/src/components/hackspace/keymaster.json @@ -0,0 +1,34 @@ +{ + "collectionName": "components_hackspace_keymasters", + "info": { + "displayName": "keymaster", + "icon": "user" + }, + "options": {}, + "attributes": { + "name": { + "type": "string" + }, + "irc_nick": { + "type": "string" + }, + "phone": { + "type": "string" + }, + "email": { + "type": "string" + }, + "twitter": { + "type": "string" + }, + "xmpp": { + "type": "string" + }, + "mastodon": { + "type": "string" + }, + "matrix": { + "type": "string" + } + } +}