@oondemand/create-central-oon 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -4,16 +4,7 @@
|
|
|
4
4
|
"title": "Oon Central App Manifest",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
7
|
-
"required": [
|
|
8
|
-
"schemaVersion",
|
|
9
|
-
"id",
|
|
10
|
-
"name",
|
|
11
|
-
"slug",
|
|
12
|
-
"appKind",
|
|
13
|
-
"modules",
|
|
14
|
-
"capabilities",
|
|
15
|
-
"compatibility"
|
|
16
|
-
],
|
|
7
|
+
"required": ["schemaVersion", "id", "name", "slug", "appKind", "modules", "capabilities", "compatibility"],
|
|
17
8
|
"properties": {
|
|
18
9
|
"$schema": { "type": "string" },
|
|
19
10
|
"schemaVersion": { "const": 1 },
|
|
@@ -21,89 +12,39 @@
|
|
|
21
12
|
"name": { "type": "string", "minLength": 1 },
|
|
22
13
|
"slug": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
|
|
23
14
|
"appKind": { "enum": ["root-central", "member-central", "portal-cockpit"] },
|
|
15
|
+
"tenancyModel": { "enum": ["none", "single_tenant", "multi_tenant"] },
|
|
16
|
+
"availability": { "enum": ["system", "common", "licensed"] },
|
|
17
|
+
"accessPolicy": { "enum": ["tenant_members", "explicit_users", "rbac"] },
|
|
18
|
+
"deploymentMode": { "enum": ["singleton", "shared", "dedicated", "hybrid"] },
|
|
24
19
|
"modules": {
|
|
25
20
|
"type": "object",
|
|
26
21
|
"additionalProperties": false,
|
|
27
22
|
"properties": {
|
|
28
|
-
"collections": { "type": "boolean" },
|
|
29
|
-
"
|
|
30
|
-
"pipelines": { "type": "boolean" },
|
|
31
|
-
"integrations": { "type": "boolean" },
|
|
32
|
-
"omie": { "type": "boolean" },
|
|
33
|
-
"assistants": { "type": "boolean" },
|
|
34
|
-
"currencies": { "type": "boolean" }
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"capabilities": {
|
|
38
|
-
"type": "array",
|
|
39
|
-
"uniqueItems": true,
|
|
40
|
-
"items": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9][a-z0-9-]*)+$"
|
|
23
|
+
"collections": { "type": "boolean" }, "documents": { "type": "boolean" }, "pipelines": { "type": "boolean" },
|
|
24
|
+
"integrations": { "type": "boolean" }, "omie": { "type": "boolean" }, "assistants": { "type": "boolean" }, "currencies": { "type": "boolean" }
|
|
43
25
|
}
|
|
44
26
|
},
|
|
27
|
+
"capabilities": { "type": "array", "uniqueItems": true, "items": { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9][a-z0-9-]*)+$" } },
|
|
45
28
|
"compatibility": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"additionalProperties": false,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"type": "object",
|
|
52
|
-
"additionalProperties": false,
|
|
53
|
-
"required": ["minVersion"],
|
|
54
|
-
"properties": {
|
|
55
|
-
"minVersion": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$" },
|
|
56
|
-
"maxVersionExclusive": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$" }
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
29
|
+
"type": "object", "additionalProperties": false, "required": ["core"],
|
|
30
|
+
"properties": { "core": { "type": "object", "additionalProperties": false, "required": ["minVersion"], "properties": {
|
|
31
|
+
"minVersion": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$" },
|
|
32
|
+
"maxVersionExclusive": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$" }
|
|
33
|
+
} } }
|
|
60
34
|
},
|
|
61
|
-
"activation": {
|
|
62
|
-
"type": "
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"permissions": {
|
|
76
|
-
"type": "array",
|
|
77
|
-
"uniqueItems": true,
|
|
78
|
-
"items": { "type": "string", "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$" }
|
|
79
|
-
},
|
|
80
|
-
"invitationTtlHours": { "type": "integer", "minimum": 1, "maximum": 720 },
|
|
81
|
-
"roles": {
|
|
82
|
-
"type": "array",
|
|
83
|
-
"minItems": 1,
|
|
84
|
-
"items": {
|
|
85
|
-
"type": "object",
|
|
86
|
-
"additionalProperties": false,
|
|
87
|
-
"required": ["code", "name", "permissions"],
|
|
88
|
-
"properties": {
|
|
89
|
-
"code": { "type": "string", "pattern": "^[a-z][a-z0-9_-]*$" },
|
|
90
|
-
"name": { "type": "string", "minLength": 1 },
|
|
91
|
-
"description": { "type": "string" },
|
|
92
|
-
"admin": { "type": "boolean" },
|
|
93
|
-
"permissions": {
|
|
94
|
-
"type": "array",
|
|
95
|
-
"uniqueItems": true,
|
|
96
|
-
"items": {
|
|
97
|
-
"anyOf": [
|
|
98
|
-
{ "const": "*" },
|
|
99
|
-
{ "type": "string", "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$" }
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
35
|
+
"activation": { "type": "object", "additionalProperties": false, "properties": {
|
|
36
|
+
"enabled": { "type": "boolean" }, "configurationVersion": { "type": "integer", "minimum": 1 }, "fields": { "type": "array" }
|
|
37
|
+
} },
|
|
38
|
+
"rbac": { "type": "object", "additionalProperties": false, "required": ["roles"], "properties": {
|
|
39
|
+
"permissions": { "type": "array", "uniqueItems": true, "items": { "type": "string", "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$" } },
|
|
40
|
+
"invitationTtlHours": { "type": "integer", "minimum": 1, "maximum": 720 },
|
|
41
|
+
"roles": { "type": "array", "minItems": 1, "items": { "type": "object", "additionalProperties": false, "required": ["code", "name", "permissions"], "properties": {
|
|
42
|
+
"code": { "type": "string", "pattern": "^[a-z][a-z0-9_-]*$" }, "name": { "type": "string", "minLength": 1 },
|
|
43
|
+
"description": { "type": "string" }, "admin": { "type": "boolean" },
|
|
44
|
+
"permissions": { "type": "array", "uniqueItems": true, "items": { "anyOf": [
|
|
45
|
+
{ "const": "*" }, { "type": "string", "pattern": "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$" }
|
|
46
|
+
] } }
|
|
47
|
+
} } }
|
|
48
|
+
} }
|
|
108
49
|
}
|
|
109
50
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"sync:metadata": "oonCore-front sync:metadata"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@oondemand/oon-core-front": "^0.4.
|
|
13
|
+
"@oondemand/oon-core-front": "^0.4.1",
|
|
14
14
|
"@chakra-ui/react": "^3.13.0",
|
|
15
15
|
"@emotion/react": "^11.14.0",
|
|
16
16
|
"@tanstack/react-query": "^5.65.0",
|