@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oondemand/create-central-oon",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/oondemand/oon-platform.git",
@@ -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
- "documents": { "type": "boolean" },
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
- "required": ["core"],
49
- "properties": {
50
- "core": {
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": "object",
63
- "additionalProperties": false,
64
- "properties": {
65
- "enabled": { "type": "boolean" },
66
- "configurationVersion": { "type": "integer", "minimum": 1 },
67
- "fields": { "type": "array" }
68
- }
69
- },
70
- "rbac": {
71
- "type": "object",
72
- "additionalProperties": false,
73
- "required": ["roles"],
74
- "properties": {
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
  }
@@ -12,6 +12,6 @@
12
12
  "deploy": "oonCore-back deploy"
13
13
  },
14
14
  "dependencies": {
15
- "@oondemand/oon-core-back": "^0.4.0"
15
+ "@oondemand/oon-core-back": "^0.4.1"
16
16
  }
17
17
  }
@@ -10,7 +10,7 @@
10
10
  "sync:metadata": "oonCore-front sync:metadata"
11
11
  },
12
12
  "dependencies": {
13
- "@oondemand/oon-core-front": "^0.4.0",
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",
@@ -12,6 +12,6 @@
12
12
  "dev:frontend": "npm run dev --prefix frontend"
13
13
  },
14
14
  "devDependencies": {
15
- "@oondemand/create-central-oon": "0.3.45"
15
+ "@oondemand/create-central-oon": "0.4.1"
16
16
  }
17
17
  }