@takeshape/schema 8.256.0 → 8.260.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/dist/flatten-templates.d.ts +1 -1
- package/dist/flatten-templates.d.ts.map +1 -1
- package/dist/migration/index.d.ts +1 -0
- package/dist/migration/index.d.ts.map +1 -1
- package/dist/migration/index.js +4 -1
- package/dist/migration/to/v3.24.0.d.ts +5 -0
- package/dist/migration/to/v3.24.0.d.ts.map +1 -0
- package/dist/migration/to/v3.24.0.js +24 -0
- package/dist/project-schema/index.d.ts +4 -1
- package/dist/project-schema/index.d.ts.map +1 -1
- package/dist/project-schema/index.js +20 -3
- package/dist/project-schema/latest.d.ts +1 -13
- package/dist/project-schema/latest.d.ts.map +1 -1
- package/dist/project-schema/migrate.d.ts.map +1 -1
- package/dist/project-schema/migrate.js +4 -0
- package/dist/project-schema/v3.24.0.d.ts +1365 -0
- package/dist/project-schema/v3.24.0.d.ts.map +1 -0
- package/dist/project-schema/v3.24.0.js +5 -0
- package/dist/schema-util.d.ts +1 -1
- package/dist/schema-util.d.ts.map +1 -1
- package/dist/schema-util.js +0 -4
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +6 -4
- package/dist/schemas/index.ts +4 -2
- package/dist/schemas/project-schema/latest.json +617 -162
- package/dist/schemas/project-schema/v3.24.0.json +2907 -0
- package/dist/schemas/project-schema.json +3 -0
- package/dist/types/types.d.ts +4 -3
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/types.js +1 -1
- package/dist/util/merge.d.ts +10 -1
- package/dist/util/merge.d.ts.map +1 -1
- package/dist/util/merge.js +257 -0
- package/dist/util/patch-schema.d.ts +1 -1
- package/dist/util/patch-schema.d.ts.map +1 -1
- package/dist/util/patch-schema.js +3 -5
- package/dist/workflows.d.ts.map +1 -1
- package/dist/workflows.js +6 -1
- package/es/migration/index.js +3 -1
- package/es/migration/to/v3.24.0.js +16 -0
- package/es/project-schema/index.js +3 -1
- package/es/project-schema/migrate.js +5 -1
- package/es/project-schema/v3.24.0.js +1 -0
- package/es/schema-util.js +0 -4
- package/es/schemas/index.js +4 -3
- package/es/schemas/index.ts +4 -2
- package/es/schemas/project-schema/latest.json +617 -162
- package/es/schemas/project-schema/v3.24.0.json +2907 -0
- package/es/schemas/project-schema.json +3 -0
- package/es/types/types.js +1 -1
- package/es/util/merge.js +244 -1
- package/es/util/patch-schema.js +3 -5
- package/es/workflows.js +6 -1
- package/examples/latest/betzino.json +1 -4
- package/examples/latest/blog-schema.json +1 -4
- package/examples/latest/brewery-schema.json +1 -4
- package/examples/latest/complex-project-schema.json +1 -4
- package/examples/latest/complex-schema.json +1 -4
- package/examples/latest/fabric-ecommerce.json +1 -4
- package/examples/latest/frank-and-fred-schema.json +1 -4
- package/examples/latest/klirr-schema.json +1 -4
- package/examples/latest/massive-schema.json +1 -4
- package/examples/latest/mill-components-schema.json +1 -4
- package/examples/latest/one-earth.json +1 -4
- package/examples/latest/pet-oneof-array.json +1 -4
- package/examples/latest/post-schema.json +1 -4
- package/examples/latest/pruned-shopify-product-schema.json +1 -4
- package/examples/latest/real-world-schema.json +1 -4
- package/examples/latest/recursive-repeater-schema.json +1 -4
- package/examples/latest/recursive-schema.json +1 -4
- package/examples/latest/rick-and-morty-ast.json +1 -4
- package/examples/latest/rick-and-morty-graphql.json +1 -4
- package/examples/latest/rick-and-morty-rest.json +1 -4
- package/examples/latest/schema-with-repeater-draftjs.json +1 -4
- package/examples/latest/shape-books-v3_2_0.json +1 -4
- package/examples/latest/shape-books.json +1 -4
- package/examples/latest/shopify-lookbook.json +1 -4
- package/examples/latest/shopify-product-2022-07.json +1 -4
- package/examples/latest/shopify-store-with-widget.json +1 -4
- package/examples/latest/stripe-product-runtime-schema.json +1 -4
- package/examples/latest/stripe-starter-resolved.json +1 -4
- package/examples/latest/user-schema-no-required.json +1 -4
- package/examples/latest/user-schema-with-defaults.json +1 -4
- package/package.json +5 -4
package/es/types/types.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* only type used in most runtime code. Updating this to a new version should
|
|
4
4
|
* trigger type errors that clue you in to code that needs review.
|
|
5
5
|
*/
|
|
6
|
-
export const projectSchemaImportOptionalProps = ['projectId', '
|
|
6
|
+
export const projectSchemaImportOptionalProps = ['projectId', 'dataKey', 'locales', 'defaultLocale', 'author'];
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Types of refs
|
package/es/util/merge.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import { isDefined } from '@takeshape/util';
|
|
1
|
+
import { deepClone, isDefined, rebaseArray, rebaseObject } from '@takeshape/util';
|
|
2
2
|
import union from 'lodash/union';
|
|
3
|
+
import difference from 'lodash/difference';
|
|
4
|
+
import isEqual from 'lodash/isEqual';
|
|
5
|
+
import unset from 'lodash/unset';
|
|
6
|
+
import set from 'lodash/set';
|
|
7
|
+
import last from 'lodash/last';
|
|
8
|
+
import omit from 'lodash/omit';
|
|
9
|
+
import { isExtendsSchema, isObjectSchema } from '../types';
|
|
10
|
+
import invariant from 'tiny-invariant';
|
|
3
11
|
export function mergeObjectSchemas(...args) {
|
|
4
12
|
return args.filter(isDefined).reduce(mergeSchemaProperties, {
|
|
5
13
|
type: 'object',
|
|
@@ -20,6 +28,34 @@ export function mergeSchemaProperties(base, overrides) {
|
|
|
20
28
|
|
|
21
29
|
return result;
|
|
22
30
|
}
|
|
31
|
+
export function rebaseSchemaProperties(to, base, from) {
|
|
32
|
+
const {
|
|
33
|
+
properties: toProperties,
|
|
34
|
+
required: toRequired,
|
|
35
|
+
...toOther
|
|
36
|
+
} = to;
|
|
37
|
+
const {
|
|
38
|
+
properties: baseProperties,
|
|
39
|
+
required: baseRequired,
|
|
40
|
+
...baseOther
|
|
41
|
+
} = base;
|
|
42
|
+
const {
|
|
43
|
+
properties: fromProperties,
|
|
44
|
+
required: fromRequired,
|
|
45
|
+
...fromOther
|
|
46
|
+
} = from;
|
|
47
|
+
const newSchema = { ...rebaseObject(toOther, baseOther, fromOther),
|
|
48
|
+
type: 'object',
|
|
49
|
+
properties: rebaseObject(toProperties, baseProperties, fromProperties)
|
|
50
|
+
};
|
|
51
|
+
const required = rebaseArray(toRequired ?? [], baseRequired ?? [], fromRequired ?? []);
|
|
52
|
+
|
|
53
|
+
if (required.length) {
|
|
54
|
+
newSchema.required = required;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return newSchema;
|
|
58
|
+
}
|
|
23
59
|
export function mergeFormProperties(base, overrides) {
|
|
24
60
|
const result = { ...base,
|
|
25
61
|
properties: { ...base.properties,
|
|
@@ -34,9 +70,216 @@ export function mergeFormProperties(base, overrides) {
|
|
|
34
70
|
|
|
35
71
|
return result;
|
|
36
72
|
}
|
|
73
|
+
export function rebaseFormProperties(to, base, from) {
|
|
74
|
+
const {
|
|
75
|
+
properties: toProperties,
|
|
76
|
+
order: toOrder,
|
|
77
|
+
...toOther
|
|
78
|
+
} = to;
|
|
79
|
+
const {
|
|
80
|
+
properties: baseProperties,
|
|
81
|
+
order: baseOrder,
|
|
82
|
+
...baseOther
|
|
83
|
+
} = base;
|
|
84
|
+
const {
|
|
85
|
+
properties: fromProperties,
|
|
86
|
+
order: fromOrder,
|
|
87
|
+
...fromOther
|
|
88
|
+
} = from;
|
|
89
|
+
const newForm = { ...rebaseObject(toOther, baseOther, fromOther),
|
|
90
|
+
properties: rebaseObject(toProperties, baseProperties, fromProperties)
|
|
91
|
+
};
|
|
92
|
+
const order = rebaseArray(toOrder ?? [], baseOrder ?? [], fromOrder ?? []);
|
|
93
|
+
|
|
94
|
+
if (order.length) {
|
|
95
|
+
newForm.order = order;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return newForm;
|
|
99
|
+
}
|
|
37
100
|
export function mergeFormConfigs(...configs) {
|
|
38
101
|
return configs.reduce(mergeFormProperties, {
|
|
39
102
|
properties: {},
|
|
40
103
|
order: []
|
|
41
104
|
});
|
|
105
|
+
}
|
|
106
|
+
const mergeableSections = ['shapes', 'mutations', 'queries', 'forms', 'services'];
|
|
107
|
+
|
|
108
|
+
function compareSection(section, original, updated) {
|
|
109
|
+
const changes = [];
|
|
110
|
+
const originalKeys = Object.keys(original);
|
|
111
|
+
const updatedKeys = Object.keys(updated);
|
|
112
|
+
|
|
113
|
+
for (const removedKey of difference(originalKeys, updatedKeys)) {
|
|
114
|
+
changes.push({
|
|
115
|
+
path: [section, removedKey],
|
|
116
|
+
section,
|
|
117
|
+
op: 'remove'
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
for (const [key, value] of Object.entries(updated)) {
|
|
122
|
+
if (!original[key]) {
|
|
123
|
+
changes.push({
|
|
124
|
+
path: [section, key],
|
|
125
|
+
section,
|
|
126
|
+
op: 'add',
|
|
127
|
+
value
|
|
128
|
+
});
|
|
129
|
+
} else if (!isEqual(original[key], updated[key])) {
|
|
130
|
+
changes.push({
|
|
131
|
+
path: [section, key],
|
|
132
|
+
section,
|
|
133
|
+
op: 'update',
|
|
134
|
+
value
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
return changes;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
function compareSections(base, branch) {
|
|
143
|
+
return mergeableSections.flatMap(section => base[section] || branch[section] ? compareSection(section, base[section] ?? {}, branch[section] ?? {}) : []);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
function findChangedShape(schema, change) {
|
|
147
|
+
return schema.shapes[change.path[1]];
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function getChangedShape(schema, change) {
|
|
151
|
+
const shape = findChangedShape(schema, change);
|
|
152
|
+
invariant(shape, 'Expected shape not found');
|
|
153
|
+
return shape;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function attemptToMerge(to, base, from, change) {
|
|
157
|
+
const toShape = getChangedShape(to, change);
|
|
158
|
+
const fromShape = getChangedShape(from, change);
|
|
159
|
+
const toSchema = toShape.schema;
|
|
160
|
+
const fromSchema = fromShape.schema;
|
|
161
|
+
|
|
162
|
+
if (isObjectSchema(toSchema) && isObjectSchema(fromSchema)) {
|
|
163
|
+
const baseShape = findChangedShape(base, change);
|
|
164
|
+
const baseSchema = baseShape === null || baseShape === void 0 ? void 0 : baseShape.schema;
|
|
165
|
+
return { ...(baseShape ? rebaseObject(omit(toShape, 'schema'), omit(baseShape, 'schema'), omit(fromShape, 'schema')) : { ...toShape,
|
|
166
|
+
...fromShape
|
|
167
|
+
}),
|
|
168
|
+
schema: change.op === 'update' && baseSchema && isObjectSchema(baseSchema) ? rebaseSchemaProperties(toSchema, baseSchema, fromSchema) : mergeSchemaProperties(toSchema, fromSchema)
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
if (isExtendsSchema(toSchema) && isExtendsSchema(fromSchema) && toSchema.extends.length === fromSchema.extends.length) {
|
|
173
|
+
const fromExtends = fromSchema.extends;
|
|
174
|
+
const toObj = last(toSchema.extends);
|
|
175
|
+
const fromObj = last(fromSchema.extends);
|
|
176
|
+
|
|
177
|
+
if (toObj && isObjectSchema(toObj) && fromObj && isObjectSchema(fromObj) && toSchema.extends.slice(0, toSchema.extends.length - 1).every((item, i) => isEqual(item, fromExtends[i]))) {
|
|
178
|
+
var _findChangedShape;
|
|
179
|
+
|
|
180
|
+
let mergedObjSchema;
|
|
181
|
+
const baseSchema = (_findChangedShape = findChangedShape(base, change)) === null || _findChangedShape === void 0 ? void 0 : _findChangedShape.schema;
|
|
182
|
+
|
|
183
|
+
if (change.op === 'update' && baseSchema && isExtendsSchema(baseSchema)) {
|
|
184
|
+
const baseObj = last(baseSchema.extends);
|
|
185
|
+
|
|
186
|
+
if (baseObj && isObjectSchema(baseObj)) {
|
|
187
|
+
mergedObjSchema = rebaseSchemaProperties(toObj, baseObj, fromObj);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (!mergedObjSchema) {
|
|
192
|
+
mergedObjSchema = mergeSchemaProperties(toObj, fromObj);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
return { ...fromShape,
|
|
196
|
+
schema: {
|
|
197
|
+
extends: [...toSchema.extends.slice(0, toSchema.extends.length - 1), mergedObjSchema]
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
function applyChange(to, base, from, change) {
|
|
205
|
+
if (change.op === 'remove') {
|
|
206
|
+
unset(to, change.path);
|
|
207
|
+
} else if (change.op === 'add') {
|
|
208
|
+
set(to, change.path, change.value);
|
|
209
|
+
} else if (change.op === 'update') {
|
|
210
|
+
if (change.section === 'shapes') {
|
|
211
|
+
const mergedShape = attemptToMerge(to, base, from, change);
|
|
212
|
+
|
|
213
|
+
if (mergedShape) {
|
|
214
|
+
set(to, change.path, mergedShape);
|
|
215
|
+
return;
|
|
216
|
+
}
|
|
217
|
+
} else if (change.section === 'forms') {
|
|
218
|
+
var _to$forms, _to$forms$shapeName, _from$forms, _from$forms$shapeName;
|
|
219
|
+
|
|
220
|
+
const shapeName = change.path[1];
|
|
221
|
+
const toForm = (_to$forms = to.forms) === null || _to$forms === void 0 ? void 0 : (_to$forms$shapeName = _to$forms[shapeName]) === null || _to$forms$shapeName === void 0 ? void 0 : _to$forms$shapeName.default;
|
|
222
|
+
const fromForm = (_from$forms = from.forms) === null || _from$forms === void 0 ? void 0 : (_from$forms$shapeName = _from$forms[shapeName]) === null || _from$forms$shapeName === void 0 ? void 0 : _from$forms$shapeName.default;
|
|
223
|
+
|
|
224
|
+
if (toForm && fromForm) {
|
|
225
|
+
var _base$forms, _base$forms$shapeName;
|
|
226
|
+
|
|
227
|
+
const baseForm = (_base$forms = base.forms) === null || _base$forms === void 0 ? void 0 : (_base$forms$shapeName = _base$forms[shapeName]) === null || _base$forms$shapeName === void 0 ? void 0 : _base$forms$shapeName.default;
|
|
228
|
+
set(to, change.path, {
|
|
229
|
+
default: baseForm ? rebaseFormProperties(toForm, baseForm, fromForm) : mergeFormConfigs(toForm, fromForm)
|
|
230
|
+
});
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
set(to, change.path, change.value);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export function mergeProjectSchemas(to, base, from) {
|
|
240
|
+
const changesTo = compareSections(base, to);
|
|
241
|
+
const changesFrom = compareSections(base, from);
|
|
242
|
+
const mergedSchema = deepClone(to);
|
|
243
|
+
|
|
244
|
+
for (let change of changesFrom) {
|
|
245
|
+
const potentialConflict = changesTo.find(changeTo => isEqual(changeTo.path, change.path));
|
|
246
|
+
|
|
247
|
+
if (potentialConflict) {
|
|
248
|
+
if (potentialConflict.op === 'remove' && change.op !== 'remove') {
|
|
249
|
+
return {
|
|
250
|
+
error: `Attempting to ${change.op} ${change.path.join('.')} which has already been removed`,
|
|
251
|
+
mergedSchema: undefined
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
if (potentialConflict.op === 'add' && change.op === 'add' || potentialConflict.op === 'update' && change.op === 'update') {
|
|
256
|
+
if (change.section === 'shapes') {
|
|
257
|
+
const mergedValue = attemptToMerge(to, base, from, change);
|
|
258
|
+
|
|
259
|
+
if (!mergedValue) {
|
|
260
|
+
return {
|
|
261
|
+
error: `Unable to merge ${change.path.join('.')} schemas conflict`,
|
|
262
|
+
mergedSchema: undefined
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
change = { ...change,
|
|
267
|
+
op: 'add',
|
|
268
|
+
value: mergedValue
|
|
269
|
+
};
|
|
270
|
+
} else if (change.section === 'forms') {
|
|
271
|
+
change = { ...change,
|
|
272
|
+
op: 'update'
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
applyChange(mergedSchema, base, from, change);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
return {
|
|
282
|
+
error: undefined,
|
|
283
|
+
mergedSchema
|
|
284
|
+
};
|
|
42
285
|
}
|
package/es/util/patch-schema.js
CHANGED
|
@@ -24,12 +24,10 @@ export function shallowMerge(original, update) {
|
|
|
24
24
|
* Resulting schema is not assumed to be valid and should be validated if appropriate.
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
export function patchSchema(projectSchema, update
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
export function patchSchema(projectSchema, update) {
|
|
28
|
+
// Patch old schema with update
|
|
30
29
|
const updatedSchema = { ...projectSchema,
|
|
31
|
-
...omit(update, schemaUpdateMergedKeys)
|
|
32
|
-
version: incrementVersion ? version + 1 : version
|
|
30
|
+
...omit(update, schemaUpdateMergedKeys)
|
|
33
31
|
};
|
|
34
32
|
|
|
35
33
|
for (const key of schemaUpdateMergedKeys) {
|
package/es/workflows.js
CHANGED
|
@@ -20,7 +20,12 @@ export function getWorkflow(projectSchema, shapeId) {
|
|
|
20
20
|
var _getShapeById;
|
|
21
21
|
|
|
22
22
|
const workflow = (_getShapeById = getShapeById(projectSchema, shapeId)) === null || _getShapeById === void 0 ? void 0 : _getShapeById.workflow;
|
|
23
|
-
|
|
23
|
+
|
|
24
|
+
if (workflow) {
|
|
25
|
+
return projectSchema.workflows[workflow] ?? defaultWorkflow;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return defaultWorkflow;
|
|
24
29
|
}
|
|
25
30
|
export function statusFallback(workflow, enabled) {
|
|
26
31
|
return workflow.steps.find(workflow => workflow.live === enabled) ?? workflow.steps[0];
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
],
|
|
8
8
|
"workflows": {},
|
|
9
9
|
"projectId": "7c8c0ccf-7e4f-4dc8-89c1-8604d028f7ba",
|
|
10
|
-
"version": 80,
|
|
11
|
-
"created": "2019-06-20T12:58:43.119Z",
|
|
12
|
-
"updated": "2021-12-21T18:07:43.962Z",
|
|
13
10
|
"forms": {
|
|
14
11
|
"ProfileForm": {
|
|
15
12
|
"default": {
|
|
@@ -52529,6 +52526,6 @@
|
|
|
52529
52526
|
}
|
|
52530
52527
|
}
|
|
52531
52528
|
},
|
|
52532
|
-
"schemaVersion": "3.
|
|
52529
|
+
"schemaVersion": "3.24.0",
|
|
52533
52530
|
"services": {}
|
|
52534
52531
|
}
|
|
@@ -6,12 +6,9 @@
|
|
|
6
6
|
"en",
|
|
7
7
|
"es"
|
|
8
8
|
],
|
|
9
|
-
"version": 1,
|
|
10
9
|
"apiVersion": "2",
|
|
11
10
|
"author": "<userId>",
|
|
12
11
|
"workflows": {},
|
|
13
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
14
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
15
12
|
"forms": {
|
|
16
13
|
"Homepage": {
|
|
17
14
|
"default": {
|
|
@@ -403,6 +400,6 @@
|
|
|
403
400
|
}
|
|
404
401
|
}
|
|
405
402
|
},
|
|
406
|
-
"schemaVersion": "3.
|
|
403
|
+
"schemaVersion": "3.24.0",
|
|
407
404
|
"services": {}
|
|
408
405
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://takeshape.io/schemas/project-schema#",
|
|
3
|
-
"version": 1,
|
|
4
3
|
"author": "<userId>",
|
|
5
4
|
"apiVersion": "2",
|
|
6
5
|
"projectId": "project-id",
|
|
@@ -9,8 +8,6 @@
|
|
|
9
8
|
"en-us"
|
|
10
9
|
],
|
|
11
10
|
"workflows": {},
|
|
12
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
13
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
14
11
|
"forms": {
|
|
15
12
|
"Brewery": {
|
|
16
13
|
"default": {
|
|
@@ -386,6 +383,6 @@
|
|
|
386
383
|
}
|
|
387
384
|
}
|
|
388
385
|
},
|
|
389
|
-
"schemaVersion": "3.
|
|
386
|
+
"schemaVersion": "3.24.0",
|
|
390
387
|
"services": {}
|
|
391
388
|
}
|
|
@@ -4,13 +4,10 @@
|
|
|
4
4
|
"en"
|
|
5
5
|
],
|
|
6
6
|
"projectId": "427aa129-8807-4e88-ac87-447419838d1b",
|
|
7
|
-
"version": 57,
|
|
8
7
|
"$schema": "http://takeshape.io/schemas/project-schema#",
|
|
9
8
|
"author": "<userId>",
|
|
10
9
|
"apiVersion": "2",
|
|
11
10
|
"workflows": {},
|
|
12
|
-
"created": "2019-05-08T11:35:24.053Z",
|
|
13
|
-
"updated": "2019-05-09T21:54:37.425Z",
|
|
14
11
|
"forms": {
|
|
15
12
|
"Purpose": {
|
|
16
13
|
"default": {
|
|
@@ -4189,6 +4186,6 @@
|
|
|
4189
4186
|
}
|
|
4190
4187
|
}
|
|
4191
4188
|
},
|
|
4192
|
-
"schemaVersion": "3.
|
|
4189
|
+
"schemaVersion": "3.24.0",
|
|
4193
4190
|
"services": {}
|
|
4194
4191
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"dataKey": "supersecret",
|
|
3
3
|
"workflows": {},
|
|
4
4
|
"projectId": "f1679577-e89a-449b-9313-e2edac0a5bf0",
|
|
5
|
-
"version": 578,
|
|
6
5
|
"defaultLocale": "en",
|
|
7
6
|
"locales": [
|
|
8
7
|
"en",
|
|
@@ -17,9 +16,7 @@
|
|
|
17
16
|
"apiVersion": "1",
|
|
18
17
|
"queries": {},
|
|
19
18
|
"mutations": {},
|
|
20
|
-
"schemaVersion": "3.
|
|
21
|
-
"created": "2019-06-20T12:58:43.119Z",
|
|
22
|
-
"updated": "2020-04-29T10:10:28.182Z",
|
|
19
|
+
"schemaVersion": "3.24.0",
|
|
23
20
|
"shapes": {
|
|
24
21
|
"DocumentUploadForm": {
|
|
25
22
|
"id": "HJPFlRKkr",
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"projectId": "4c54da75-a240-4e50-8343-bd1e8eafcdbb",
|
|
3
3
|
"dataKey": "secret",
|
|
4
|
-
"version": 16,
|
|
5
|
-
"created": "2021-09-22T21:40:56.849Z",
|
|
6
|
-
"updated": "2021-09-24T18:42:24.966Z",
|
|
7
4
|
"defaultLocale": "en-us",
|
|
8
5
|
"locales": [
|
|
9
6
|
"en-us"
|
|
@@ -10509,5 +10506,5 @@
|
|
|
10509
10506
|
}
|
|
10510
10507
|
}
|
|
10511
10508
|
},
|
|
10512
|
-
"schemaVersion": "3.
|
|
10509
|
+
"schemaVersion": "3.24.0"
|
|
10513
10510
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflows": {},
|
|
3
3
|
"projectId": "f1679577-e89a-449b-9313-e2edac0a5bf0",
|
|
4
|
-
"version": 578,
|
|
5
4
|
"defaultLocale": "en",
|
|
6
5
|
"locales": [
|
|
7
6
|
"en",
|
|
@@ -14,8 +13,6 @@
|
|
|
14
13
|
"pt-br"
|
|
15
14
|
],
|
|
16
15
|
"apiVersion": "1",
|
|
17
|
-
"created": "2019-06-20T12:58:43.119Z",
|
|
18
|
-
"updated": "2020-04-29T10:10:28.182Z",
|
|
19
16
|
"forms": {
|
|
20
17
|
"DocumentUploadForm": {
|
|
21
18
|
"default": {
|
|
@@ -23255,6 +23252,6 @@
|
|
|
23255
23252
|
}
|
|
23256
23253
|
}
|
|
23257
23254
|
},
|
|
23258
|
-
"schemaVersion": "3.
|
|
23255
|
+
"schemaVersion": "3.24.0",
|
|
23259
23256
|
"services": {}
|
|
23260
23257
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
"dataKey": "supersecret",
|
|
3
3
|
"workflows": {},
|
|
4
4
|
"projectId": "190a2592-08ff-466f-bb4a-78eb9bcb69c6",
|
|
5
|
-
"version": 172,
|
|
6
5
|
"defaultLocale": "en",
|
|
7
6
|
"locales": [
|
|
8
7
|
"en",
|
|
@@ -10,8 +9,6 @@
|
|
|
10
9
|
"fi"
|
|
11
10
|
],
|
|
12
11
|
"apiVersion": "2",
|
|
13
|
-
"created": "2019-06-20T12:58:43.119Z",
|
|
14
|
-
"updated": "2021-01-30T20:32:32.017Z",
|
|
15
12
|
"forms": {
|
|
16
13
|
"ProfileForm": {
|
|
17
14
|
"default": {
|
|
@@ -34790,6 +34787,6 @@
|
|
|
34790
34787
|
}
|
|
34791
34788
|
}
|
|
34792
34789
|
},
|
|
34793
|
-
"schemaVersion": "3.
|
|
34790
|
+
"schemaVersion": "3.24.0",
|
|
34794
34791
|
"services": {}
|
|
34795
34792
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflows": {},
|
|
3
3
|
"projectId": "fd194db7-7b25-4b5a-8cc7-da7f31fab475",
|
|
4
|
-
"version": 463,
|
|
5
4
|
"defaultLocale": "en",
|
|
6
5
|
"locales": [
|
|
7
6
|
"en"
|
|
8
7
|
],
|
|
9
8
|
"apiVersion": "1",
|
|
10
|
-
"created": "2017-02-23T01:14:12.093Z",
|
|
11
|
-
"updated": "2020-03-17T14:30:03.886Z",
|
|
12
9
|
"forms": {
|
|
13
10
|
"ResourceNavigation": {
|
|
14
11
|
"default": {
|
|
@@ -7841,6 +7838,6 @@
|
|
|
7841
7838
|
}
|
|
7842
7839
|
}
|
|
7843
7840
|
},
|
|
7844
|
-
"schemaVersion": "3.
|
|
7841
|
+
"schemaVersion": "3.24.0",
|
|
7845
7842
|
"services": {}
|
|
7846
7843
|
}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"workflows": {},
|
|
3
3
|
"projectId": "0ffaf7c3-289e-4df3-a6aa-4c513d356c76",
|
|
4
|
-
"version": 39,
|
|
5
4
|
"defaultLocale": "en",
|
|
6
5
|
"locales": [
|
|
7
6
|
"en"
|
|
8
7
|
],
|
|
9
8
|
"apiVersion": "2",
|
|
10
|
-
"created": "2019-10-10T21:52:02.940Z",
|
|
11
|
-
"updated": "2021-10-03T13:50:40.571Z",
|
|
12
9
|
"forms": {
|
|
13
10
|
"Notification": {
|
|
14
11
|
"default": {
|
|
@@ -1888,6 +1885,6 @@
|
|
|
1888
1885
|
}
|
|
1889
1886
|
}
|
|
1890
1887
|
},
|
|
1891
|
-
"schemaVersion": "3.
|
|
1888
|
+
"schemaVersion": "3.24.0",
|
|
1892
1889
|
"services": {}
|
|
1893
1890
|
}
|
|
@@ -2,14 +2,11 @@
|
|
|
2
2
|
"dataKey": "supersecret",
|
|
3
3
|
"workflows": {},
|
|
4
4
|
"projectId": "86ce9525-f5f2-4e97-81ba-54e8ce933da7",
|
|
5
|
-
"version": 530,
|
|
6
5
|
"defaultLocale": "en",
|
|
7
6
|
"locales": [
|
|
8
7
|
"en"
|
|
9
8
|
],
|
|
10
9
|
"apiVersion": "1",
|
|
11
|
-
"created": "2018-11-01T21:30:46.180Z",
|
|
12
|
-
"updated": "2020-10-14T19:24:11.935Z",
|
|
13
10
|
"forms": {
|
|
14
11
|
"Science": {
|
|
15
12
|
"default": {
|
|
@@ -14220,6 +14217,6 @@
|
|
|
14220
14217
|
}
|
|
14221
14218
|
}
|
|
14222
14219
|
},
|
|
14223
|
-
"schemaVersion": "3.
|
|
14220
|
+
"schemaVersion": "3.24.0",
|
|
14224
14221
|
"services": {}
|
|
14225
14222
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apiVersion": "2",
|
|
3
3
|
"projectId": "ac06e342-afe2-40f8-864b-1345d3fed493",
|
|
4
|
-
"version": 31,
|
|
5
|
-
"created": "2021-07-01T18:24:33.290Z",
|
|
6
|
-
"updated": "2021-07-12T22:07:46.153Z",
|
|
7
4
|
"defaultLocale": "en-us",
|
|
8
5
|
"locales": [
|
|
9
6
|
"en-us"
|
|
@@ -392,6 +389,6 @@
|
|
|
392
389
|
}
|
|
393
390
|
}
|
|
394
391
|
},
|
|
395
|
-
"schemaVersion": "3.
|
|
392
|
+
"schemaVersion": "3.24.0",
|
|
396
393
|
"services": {}
|
|
397
394
|
}
|
|
@@ -5,12 +5,9 @@
|
|
|
5
5
|
"en",
|
|
6
6
|
"es"
|
|
7
7
|
],
|
|
8
|
-
"version": 1,
|
|
9
8
|
"apiVersion": "2",
|
|
10
9
|
"author": "<userId>",
|
|
11
10
|
"workflows": {},
|
|
12
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
13
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
14
11
|
"forms": {
|
|
15
12
|
"Post": {
|
|
16
13
|
"default": {
|
|
@@ -230,6 +227,6 @@
|
|
|
230
227
|
}
|
|
231
228
|
}
|
|
232
229
|
},
|
|
233
|
-
"schemaVersion": "3.
|
|
230
|
+
"schemaVersion": "3.24.0",
|
|
234
231
|
"services": {}
|
|
235
232
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"apiVersion": "2",
|
|
3
3
|
"projectId": "a895a9e2-4627-424d-8f0c-145fd84ed1de",
|
|
4
|
-
"version": 8,
|
|
5
|
-
"created": "2021-02-04T15:45:32.300Z",
|
|
6
|
-
"updated": "2021-09-23T18:41:15.899Z",
|
|
7
4
|
"defaultLocale": "en-us",
|
|
8
5
|
"locales": [
|
|
9
6
|
"en-us"
|
|
@@ -9760,5 +9757,5 @@
|
|
|
9760
9757
|
}
|
|
9761
9758
|
}
|
|
9762
9759
|
},
|
|
9763
|
-
"schemaVersion": "3.
|
|
9760
|
+
"schemaVersion": "3.24.0"
|
|
9764
9761
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://takeshape.io/schemas/project-schema#",
|
|
3
|
-
"version": 1,
|
|
4
3
|
"author": "<userId>",
|
|
5
4
|
"apiVersion": "2",
|
|
6
5
|
"projectId": "project-id",
|
|
@@ -9,8 +8,6 @@
|
|
|
9
8
|
"en-us"
|
|
10
9
|
],
|
|
11
10
|
"workflows": {},
|
|
12
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
13
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
14
11
|
"forms": {
|
|
15
12
|
"Beer": {
|
|
16
13
|
"default": {
|
|
@@ -1045,6 +1042,6 @@
|
|
|
1045
1042
|
}
|
|
1046
1043
|
}
|
|
1047
1044
|
},
|
|
1048
|
-
"schemaVersion": "3.
|
|
1045
|
+
"schemaVersion": "3.24.0",
|
|
1049
1046
|
"services": {}
|
|
1050
1047
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://takeshape.io/schemas/project-schema#",
|
|
3
|
-
"version": 1,
|
|
4
3
|
"author": "<userId>",
|
|
5
4
|
"apiVersion": "2",
|
|
6
5
|
"projectId": "project-id",
|
|
@@ -9,8 +8,6 @@
|
|
|
9
8
|
"en-us"
|
|
10
9
|
],
|
|
11
10
|
"workflows": {},
|
|
12
|
-
"created": "2016-06-21T15:16:19.051Z",
|
|
13
|
-
"updated": "2016-06-21T15:16:19.051Z",
|
|
14
11
|
"forms": {
|
|
15
12
|
"Post": {
|
|
16
13
|
"default": {
|
|
@@ -146,6 +143,6 @@
|
|
|
146
143
|
}
|
|
147
144
|
}
|
|
148
145
|
},
|
|
149
|
-
"schemaVersion": "3.
|
|
146
|
+
"schemaVersion": "3.24.0",
|
|
150
147
|
"services": {}
|
|
151
148
|
}
|