@takeshape/schema 9.51.1 → 9.51.2

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.
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectId": "project-id",
3
+ "defaultLocale": "en-us",
4
+ "locales": ["en-us"],
5
+ "queries": {
6
+ "getSimpleModelShape": {
7
+ "shape": "SimpleModelShape",
8
+ "resolver": {
9
+ "name": "shapedb:get",
10
+ "service": "shapedb",
11
+ "shapeName": "SimpleModelShape"
12
+ },
13
+ "description": "Get a SimpleModelShape by ID",
14
+ "args": "TSGetSingletonArgs<SimpleModelShape>"
15
+ }
16
+ },
17
+ "mutations": {
18
+ "updateSimpleModelShape": {
19
+ "shape": "UpdateResult<SimpleModelShape>",
20
+ "resolver": {
21
+ "name": "shapedb:update",
22
+ "service": "shapedb",
23
+ "shapeName": "SimpleModelShape"
24
+ },
25
+ "description": "Update SimpleModelShape",
26
+ "args": "UpdateArgs<SimpleModelShape>"
27
+ }
28
+ },
29
+ "shapes": {
30
+ "SimpleModelShape": {
31
+ "id": "rs0QQJm8l",
32
+ "name": "SimpleModelShape",
33
+ "title": "Simple Model Shape",
34
+ "model": {"type": "single"},
35
+ "workflow": "exampleWorkflow",
36
+ "schema": {
37
+ "type": "object",
38
+ "properties": {
39
+ "string": {
40
+ "@mapping": "shapedb:SimpleModelShape.LLNWONaCB",
41
+ "type": "string",
42
+ "title": "String"
43
+ },
44
+ "object": {
45
+ "@mapping": "shapedb:SimpleModelShape.q1ybXy5d8",
46
+ "type": "object",
47
+ "title": "Object"
48
+ }
49
+ },
50
+ "required": ["object"]
51
+ }
52
+ }
53
+ },
54
+ "workflows": {
55
+ "exampleWorkflow": {
56
+ "name": "exampleWorkflow",
57
+ "title": "Example Workflow",
58
+ "steps": [
59
+ {
60
+ "name": "step1",
61
+ "title": "Step 1",
62
+ "color": "#f25f5c",
63
+ "live": false,
64
+ "key": "L-0Qk4rnD"
65
+ },
66
+ {
67
+ "name": "step2",
68
+ "title": "Step 2",
69
+ "color": "#5cd79b",
70
+ "live": true,
71
+ "key": "q9ND3SYJQJ"
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ "forms": {
77
+ "SimpleModelShape": {
78
+ "default": {
79
+ "properties": {
80
+ "string": {"widget": "singleLineText"},
81
+ "object": {"widget": "shapeObject"}
82
+ },
83
+ "order": ["string", "object"]
84
+ }
85
+ }
86
+ },
87
+ "schemaVersion": "3.35.0",
88
+ "apiVersion": "2"
89
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "projectId": "project-id",
3
+ "defaultLocale": "en-us",
4
+ "locales": ["en-us"],
5
+ "queries": {
6
+ "getSimpleModelShape": {
7
+ "shape": "SimpleModelShape",
8
+ "resolver": {
9
+ "name": "shapedb:get",
10
+ "service": "shapedb",
11
+ "shapeName": "SimpleModelShape"
12
+ },
13
+ "description": "Get a SimpleModelShape by ID",
14
+ "args": "TSGetSingletonArgs<SimpleModelShape>"
15
+ }
16
+ },
17
+ "mutations": {
18
+ "updateSimpleModelShape": {
19
+ "shape": "UpdateResult<SimpleModelShape>",
20
+ "resolver": {
21
+ "name": "shapedb:update",
22
+ "service": "shapedb",
23
+ "shapeName": "SimpleModelShape"
24
+ },
25
+ "description": "Update SimpleModelShape",
26
+ "args": "UpdateArgs<SimpleModelShape>"
27
+ }
28
+ },
29
+ "shapes": {
30
+ "SimpleModelShape": {
31
+ "id": "rs0QQJm8l",
32
+ "name": "SimpleModelShape",
33
+ "title": "Simple Model Shape",
34
+ "model": {"type": "single"},
35
+ "workflow": "exampleWorkflow",
36
+ "schema": {
37
+ "type": "object",
38
+ "properties": {
39
+ "string": {
40
+ "@mapping": "shapedb:SimpleModelShape.LLNWONaCB",
41
+ "type": "string",
42
+ "title": "String"
43
+ },
44
+ "object": {
45
+ "@mapping": "shapedb:SimpleModelShape.q1ybXy5d8",
46
+ "type": "object",
47
+ "title": "Object"
48
+ }
49
+ },
50
+ "required": ["object"]
51
+ }
52
+ }
53
+ },
54
+ "workflows": {
55
+ "exampleWorkflow": {
56
+ "name": "exampleWorkflow",
57
+ "title": "Example Workflow",
58
+ "steps": [
59
+ {
60
+ "name": "step1",
61
+ "title": "Step 1",
62
+ "color": "#f25f5c",
63
+ "live": false,
64
+ "key": "L-0Qk4rnD"
65
+ },
66
+ {
67
+ "name": "step2",
68
+ "title": "Step 2",
69
+ "color": "#5cd79b",
70
+ "live": true,
71
+ "key": "q9ND3SYJQJ"
72
+ }
73
+ ]
74
+ }
75
+ },
76
+ "forms": {
77
+ "SimpleModelShape": {
78
+ "default": {
79
+ "properties": {
80
+ "string": {"widget": "singleLineText"},
81
+ "object": {"widget": "shapeObject"}
82
+ },
83
+ "order": ["string", "object"]
84
+ }
85
+ }
86
+ },
87
+ "schemaVersion": "3.35.0",
88
+ "apiVersion": "2"
89
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeshape/schema",
3
- "version": "9.51.1",
3
+ "version": "9.51.2",
4
4
  "description": "TakeShape Schema",
5
5
  "homepage": "https://www.takeshape.io",
6
6
  "repository": {
@@ -28,9 +28,9 @@
28
28
  "p-reduce": "^2.1.0",
29
29
  "semver": "^7.3.2",
30
30
  "tiny-invariant": "^1.2.0",
31
- "@takeshape/errors": "9.51.1",
32
- "@takeshape/json-schema": "9.51.1",
33
- "@takeshape/util": "9.51.1"
31
+ "@takeshape/json-schema": "9.51.2",
32
+ "@takeshape/util": "9.51.2",
33
+ "@takeshape/errors": "9.51.2"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@takeshape/json-schema-to-typescript": "^11.0.0",
@@ -46,7 +46,7 @@
46
46
  "meow": "^9.0.0",
47
47
  "p-map": "^5.0.0",
48
48
  "shortid": "^2.2.15",
49
- "@takeshape/typescript-jest-junit-reporter": "9.51.1"
49
+ "@takeshape/typescript-jest-junit-reporter": "9.51.2"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">=16"