Keep sign-ups open until the owner finishes setup (#28)

This commit is contained in:
michael authored and GitHub committed 2026-11-22 21:40:05 -05:00
1 parent f3157b71f3
commit a66efa11e0
9 files changed
+20 -15

No files matched your search

+2 -1
View File
@@ -43,7 +43,8 @@
"choices": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^[a-z0-9_]+$" } },
"editable": { "type": "boolean", "description": "The owner may change it after the app exists." },
"group": { "type": "string", "pattern": "^[a-z][a-z0-9-]{0,31}$", "description": "Groups fields in the dashboard. Outgoing mail settings use \"email\"." },
"hint": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^[^\\n\\r]*$", "description": "One line of help text shown with the field." }
"hint": { "type": "string", "minLength": 1, "maxLength": 160, "pattern": "^[^\\n\\r]*$", "description": "One line of help text shown with the field." },
"setup_value": { "type": "string", "minLength": 1, "description": "For apps with first_visit_claims_admin: the value the app runs with while Cottage keeps it to its owner during setup (keep sign-ups open, say). The owner's own choice applies when they finish setup. Editable, non-secret settings only." }
},
"if": { "properties": { "type": { "const": "choice" } } },
"then": { "required": ["choices"] }