@takeshape/schema 7.202.0 → 7.207.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/es/content-schema-transform.js +5 -1
- package/es/resolvers.js +1 -1
- package/es/schema-util.js +31 -2
- package/lib/content-schema-transform.d.ts +1 -0
- package/lib/content-schema-transform.d.ts.map +1 -1
- package/lib/content-schema-transform.js +7 -1
- package/lib/resolvers.d.ts +1 -1
- package/lib/resolvers.d.ts.map +1 -1
- package/lib/resolvers.js +1 -1
- package/lib/schema-util.d.ts +6 -0
- package/lib/schema-util.d.ts.map +1 -1
- package/lib/schema-util.js +35 -2
- package/package.json +4 -4
|
@@ -41,6 +41,10 @@ export function preferKey(name, schema) {
|
|
|
41
41
|
|
|
42
42
|
return (_getKey = getKey(schema)) !== null && _getKey !== void 0 ? _getKey : name;
|
|
43
43
|
}
|
|
44
|
+
export function preferSourceKey(name, schema) {
|
|
45
|
+
const key = getKey(schema);
|
|
46
|
+
return key ? [key, name] : [name];
|
|
47
|
+
}
|
|
44
48
|
export function findTransforms(pluginMap, schema, name, shape) {
|
|
45
49
|
const type = getType(schema);
|
|
46
50
|
|
|
@@ -57,7 +61,7 @@ export function getContentTransform({
|
|
|
57
61
|
transforms,
|
|
58
62
|
accumulators,
|
|
59
63
|
keyTransform = preferKey,
|
|
60
|
-
sourceKeyTransform =
|
|
64
|
+
sourceKeyTransform = preferSourceKey,
|
|
61
65
|
passThrough = true,
|
|
62
66
|
projectSchema
|
|
63
67
|
}) {
|
package/es/resolvers.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const modelResolvers = ['takeshape:get', 'takeshape:list', 'takeshape:create', 'takeshape:update', 'takeshape:delete', 'takeshape:duplicate', 'takeshape:find'];
|
|
2
|
-
export const resolverList = [...modelResolvers, 'graphql:query', 'graphql:mutation', 'rest:get', 'rest:head', 'rest:post', 'rest:put', 'rest:patch', 'rest:delete', 'debug:noop', 'util:wrap', 'awsLambda:invoke'];
|
|
2
|
+
export const resolverList = [...modelResolvers, 'graphql:query', 'graphql:mutation', 'rest:get', 'rest:head', 'rest:post', 'rest:put', 'rest:patch', 'rest:delete', 'debug:noop', 'util:wrap', 'awsLambda:invoke', 'takeshape:queryApiIndex'];
|
package/es/schema-util.js
CHANGED
|
@@ -353,8 +353,30 @@ export function mergeFormProperties(base, overrides) {
|
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
return result;
|
|
356
|
+
} // Dependencies of these built-in shapes are automatically added by getBuiltinsUsed
|
|
357
|
+
|
|
358
|
+
const requiredBuiltinShapes = ['Asset', 'TSRelationship', 'TsStaticSite'];
|
|
359
|
+
/**
|
|
360
|
+
* Get all built-in shapes that are depended on by the given project schema.
|
|
361
|
+
* Required built-in shapes are always included.
|
|
362
|
+
*/
|
|
363
|
+
|
|
364
|
+
export function getBuiltinsUsed(projectSchema) {
|
|
365
|
+
const builtinsUsed = {};
|
|
366
|
+
const shapeNames = uniq(requiredBuiltinShapes.concat(getAllRefs(projectSchema, refItem => refItem.serviceKey === 'local' && isBuiltinShape(refItem.typeName)).map(refItemToShapeName)));
|
|
367
|
+
const schemaWithAllBuiltins = { ...emptySchema('project-id', 'data-key'),
|
|
368
|
+
shapes: builtInShapes
|
|
369
|
+
};
|
|
370
|
+
shapeNames.forEach(builtinShapeName => {
|
|
371
|
+
builtinsUsed[builtinShapeName] = builtInShapes[builtinShapeName];
|
|
372
|
+
getShapeDependencies(schemaWithAllBuiltins, builtInShapes[builtinShapeName]).forEach(depShapeName => {
|
|
373
|
+
builtinsUsed[depShapeName] = builtInShapes[depShapeName];
|
|
374
|
+
});
|
|
375
|
+
});
|
|
376
|
+
return builtinsUsed;
|
|
356
377
|
}
|
|
357
378
|
export function applyDefaultsToSchema(projectSchema) {
|
|
379
|
+
const builtinsUsed = getBuiltinsUsed(projectSchema);
|
|
358
380
|
return { ...projectSchema,
|
|
359
381
|
workflows: { ...projectSchema.workflows,
|
|
360
382
|
...(workflowsEnabled(projectSchema.apiVersion) && {
|
|
@@ -367,10 +389,10 @@ export function applyDefaultsToSchema(projectSchema) {
|
|
|
367
389
|
mutations: { ...builtInQueriesAndMutations.mutations,
|
|
368
390
|
...projectSchema.mutations
|
|
369
391
|
},
|
|
370
|
-
shapes: mapValues({ ...
|
|
392
|
+
shapes: mapValues({ ...builtinsUsed,
|
|
371
393
|
...projectSchema.shapes
|
|
372
394
|
}, shape => {
|
|
373
|
-
const builtInShape =
|
|
395
|
+
const builtInShape = builtinsUsed[shape.name];
|
|
374
396
|
|
|
375
397
|
if (builtInShape && builtInShape !== shape) {
|
|
376
398
|
shape = { ...shape,
|
|
@@ -494,6 +516,13 @@ export function getShapeById(projectSchema, shapeId) {
|
|
|
494
516
|
export function isModelShape(shape) {
|
|
495
517
|
return Boolean(shape.model);
|
|
496
518
|
}
|
|
519
|
+
export function isIndexedRemoteShape(shape, projectSchema) {
|
|
520
|
+
return Object.values(projectSchema.queries).find(query => {
|
|
521
|
+
var _query$resolver$optio;
|
|
522
|
+
|
|
523
|
+
return isBasicResolver(query.resolver) && ((_query$resolver$optio = query.resolver.options) === null || _query$resolver$optio === void 0 ? void 0 : _query$resolver$optio.indexedShape) === shape.name;
|
|
524
|
+
}) !== undefined;
|
|
525
|
+
}
|
|
497
526
|
export function getArgsReference(projectSchema, argsSchema) {
|
|
498
527
|
var _argsSchema$Args;
|
|
499
528
|
|
|
@@ -26,6 +26,7 @@ export interface ContentTransformParams {
|
|
|
26
26
|
passThrough?: boolean;
|
|
27
27
|
}
|
|
28
28
|
export declare function preferKey(name: string, schema: ContentSchema): string;
|
|
29
|
+
export declare function preferSourceKey(name: string, schema: ContentSchema): string[];
|
|
29
30
|
export declare function findTransforms(pluginMap: PropertyTransformMap | undefined, schema: ContentSchema, name: string, shape?: Shape): PropertyTransform | undefined;
|
|
30
31
|
export declare function getContentTransform({ transforms, accumulators, keyTransform, sourceKeyTransform, passThrough, projectSchema }: ContentTransformParams): ContentTransform;
|
|
31
32
|
export interface PropertyInfo {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content-schema-transform.d.ts","sourceRoot":"","sources":["../../src/content-schema-transform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAE,aAAa,EAAE,KAAK,EAAC,MAAM,kBAAkB,CAAC;AAW1E,oBAAY,UAAU,GAAG,GAAG,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhG,wBAAgB,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,CAAC,GAAG,UAAU,CAqBvE;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3C;AAMD,oBAAY,gBAAgB,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC;AAE/F,oBAAY,kBAAkB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,KAAK,MAAM,GAAG,MAAM,EAAE,CAAC;AAE5F,oBAAY,YAAY,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,SAAS,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;AAE/F,MAAM,WAAW,iBAAiB;IAChC,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACpE,OAAO,CACL,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,KAAK,GAAG,SAAS,EACxB,IAAI,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,KAAK,OAAO,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C,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,aAAa,EAAE,aAAa,CAAC;IAC7B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,GAAG,MAAM,CAErE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,GAAG,MAAM,EAAE,CAG7E;AAED,wBAAgB,cAAc,CAC5B,SAAS,EAAE,oBAAoB,GAAG,SAAS,EAC3C,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,MAAM,EACZ,KAAK,CAAC,EAAE,KAAK,GACZ,iBAAiB,GAAG,SAAS,CAQ/B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,UAAU,EACV,YAAY,EACZ,YAAwB,EACxB,kBAAoC,EACpC,WAAkB,EAClB,aAAa,EACd,EAAE,sBAAsB,GAAG,gBAAgB,CAoE3C;AAgBD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,aAAa,CAAC;IACtB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,sBAAsB;IACrC,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAClC,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,YAAY,EAAE,CAkCpH"}
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getType = getType;
|
|
7
7
|
exports.toName = toName;
|
|
8
8
|
exports.preferKey = preferKey;
|
|
9
|
+
exports.preferSourceKey = preferSourceKey;
|
|
9
10
|
exports.findTransforms = findTransforms;
|
|
10
11
|
exports.getContentTransform = getContentTransform;
|
|
11
12
|
exports.getPropertyInfo = getPropertyInfo;
|
|
@@ -65,6 +66,11 @@ function preferKey(name, schema) {
|
|
|
65
66
|
return (_getKey = (0, _schemaUtil.getKey)(schema)) !== null && _getKey !== void 0 ? _getKey : name;
|
|
66
67
|
}
|
|
67
68
|
|
|
69
|
+
function preferSourceKey(name, schema) {
|
|
70
|
+
const key = (0, _schemaUtil.getKey)(schema);
|
|
71
|
+
return key ? [key, name] : [name];
|
|
72
|
+
}
|
|
73
|
+
|
|
68
74
|
function findTransforms(pluginMap, schema, name, shape) {
|
|
69
75
|
const type = getType(schema);
|
|
70
76
|
|
|
@@ -82,7 +88,7 @@ function getContentTransform({
|
|
|
82
88
|
transforms,
|
|
83
89
|
accumulators,
|
|
84
90
|
keyTransform = preferKey,
|
|
85
|
-
sourceKeyTransform =
|
|
91
|
+
sourceKeyTransform = preferSourceKey,
|
|
86
92
|
passThrough = true,
|
|
87
93
|
projectSchema
|
|
88
94
|
}) {
|
package/lib/resolvers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const modelResolvers: string[];
|
|
2
|
-
export declare const resolverList: readonly [...string[], "graphql:query", "graphql:mutation", "rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete", "debug:noop", "util:wrap", "awsLambda:invoke"];
|
|
2
|
+
export declare const resolverList: readonly [...string[], "graphql:query", "graphql:mutation", "rest:get", "rest:head", "rest:post", "rest:put", "rest:patch", "rest:delete", "debug:noop", "util:wrap", "awsLambda:invoke", "takeshape:queryApiIndex"];
|
|
3
3
|
export declare type ResolverName = typeof resolverList[number];
|
|
4
4
|
//# sourceMappingURL=resolvers.d.ts.map
|
package/lib/resolvers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../src/resolvers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,UAQ1B,CAAC;AACF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"resolvers.d.ts","sourceRoot":"","sources":["../../src/resolvers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc,UAQ1B,CAAC;AACF,eAAO,MAAM,YAAY,sNAcf,CAAC;AAEX,oBAAY,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC"}
|
package/lib/resolvers.js
CHANGED
|
@@ -6,5 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.resolverList = exports.modelResolvers = void 0;
|
|
7
7
|
const modelResolvers = ['takeshape:get', 'takeshape:list', 'takeshape:create', 'takeshape:update', 'takeshape:delete', 'takeshape:duplicate', 'takeshape:find'];
|
|
8
8
|
exports.modelResolvers = modelResolvers;
|
|
9
|
-
const resolverList = [...modelResolvers, 'graphql:query', 'graphql:mutation', 'rest:get', 'rest:head', 'rest:post', 'rest:put', 'rest:patch', 'rest:delete', 'debug:noop', 'util:wrap', 'awsLambda:invoke'];
|
|
9
|
+
const resolverList = [...modelResolvers, 'graphql:query', 'graphql:mutation', 'rest:get', 'rest:head', 'rest:post', 'rest:put', 'rest:patch', 'rest:delete', 'debug:noop', 'util:wrap', 'awsLambda:invoke', 'takeshape:queryApiIndex'];
|
|
10
10
|
exports.resolverList = resolverList;
|
package/lib/schema-util.d.ts
CHANGED
|
@@ -31,6 +31,11 @@ export declare const getBuiltInPropertyNames: (apiVersion?: string) => Set<strin
|
|
|
31
31
|
export declare function applyBuiltinPropertiesToShape(projectSchema: ProjectSchema, shape: Shape): Shape;
|
|
32
32
|
export declare function mergeSchemaProperties(base: ObjectSchema, overrides: ObjectSchema): ContentObjectSchema;
|
|
33
33
|
export declare function mergeFormProperties(base: FormConfig, overrides: FormConfig): FormConfig;
|
|
34
|
+
/**
|
|
35
|
+
* Get all built-in shapes that are depended on by the given project schema.
|
|
36
|
+
* Required built-in shapes are always included.
|
|
37
|
+
*/
|
|
38
|
+
export declare function getBuiltinsUsed(projectSchema: ProjectSchema): ShapeMap;
|
|
34
39
|
export declare function applyDefaultsToSchema(projectSchema: ProjectSchema): ProjectSchema;
|
|
35
40
|
/**
|
|
36
41
|
* Finds all relationships in the schema and returns an object indexed by shape.id that lists all of the shapes
|
|
@@ -53,6 +58,7 @@ export declare function parseQueryResolver(resolver: string): {
|
|
|
53
58
|
};
|
|
54
59
|
export declare function getShapeById(projectSchema: ProjectSchema, shapeId: string): Shape | undefined;
|
|
55
60
|
export declare function isModelShape(shape: Shape): boolean;
|
|
61
|
+
export declare function isIndexedRemoteShape(shape: Shape, projectSchema: ProjectSchema): boolean;
|
|
56
62
|
export declare function getArgsReference(projectSchema: ProjectSchemaV3X, argsSchema: SchemaWithArgs): Maybe<RefItem>;
|
|
57
63
|
export declare function getArgsReferenceWithPath(projectSchema: ProjectSchemaV3X, argsSchema: SchemaWithArgs, schemaPath?: SchemaPath): Maybe<RefItemWithPath>;
|
|
58
64
|
export declare function getArgsShapeSchema(projectSchema: ProjectSchema, argsSchema: SchemaWithArgs): Maybe<ContentObjectSchema>;
|
package/lib/schema-util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-util.d.ts","sourceRoot":"","sources":["../../src/schema-util.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,UAAU,EAEV,KAAK,EACL,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAe1B,OAAO,EAAC,KAAK,EAAuB,MAAM,iBAAiB,CAAC;AAO5D,OAAO,EACL,+BAA+B,EAC/B,UAAU,EACV,WAAW,EAEX,cAAc,EAOd,kBAAkB,EAClB,kBAAkB,EAGlB,gBAAgB,EAChB,UAAU,EACV,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,OAAO,EAQL,OAAO,EAIP,eAAe,EACf,qBAAqB,EACtB,M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sDAIhB,OAAO,KAAG,MAAM,aAAa,CAAC;qDAI/B,OAAO,KAAG,MAAM,kBAAkB,CAAC;2BAI7D,kBAAkB,KAAG,MAAM,MAAM,CAAC;EAcpE,CAAC;AAuBF;;GAEG;AACH,eAAO,MAAM,SAAS,kBAAmB,aAAa,aAAa,MAAM,YAAY,MAAM,KAAG,MAE7F,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,kBAAmB,aAAa,aAAa,MAAM,YAAY,MAAM,KAAG,MAEhG,CAAC;AAEF;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,GACf,KAAK,CAAC,UAAU,CAAC,CAEnB;AAED,oBAAY,2BAA2B,GACnC,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,sBAAsB,cAAe,MAAM,YAAY,2BAA2B,KAAG,MAGjG,CAAC"}
|
package/lib/schema-util.js
CHANGED
|
@@ -16,6 +16,7 @@ exports.getBuiltInProperties = getBuiltInProperties;
|
|
|
16
16
|
exports.applyBuiltinPropertiesToShape = applyBuiltinPropertiesToShape;
|
|
17
17
|
exports.mergeSchemaProperties = mergeSchemaProperties;
|
|
18
18
|
exports.mergeFormProperties = mergeFormProperties;
|
|
19
|
+
exports.getBuiltinsUsed = getBuiltinsUsed;
|
|
19
20
|
exports.applyDefaultsToSchema = applyDefaultsToSchema;
|
|
20
21
|
exports.findExistingRelationships = findExistingRelationships;
|
|
21
22
|
exports.stringifyQuerySource = stringifyQuerySource;
|
|
@@ -23,6 +24,7 @@ exports.parseQuerySource = parseQuerySource;
|
|
|
23
24
|
exports.parseQueryResolver = parseQueryResolver;
|
|
24
25
|
exports.getShapeById = getShapeById;
|
|
25
26
|
exports.isModelShape = isModelShape;
|
|
27
|
+
exports.isIndexedRemoteShape = isIndexedRemoteShape;
|
|
26
28
|
exports.getArgsReference = getArgsReference;
|
|
27
29
|
exports.getArgsReferenceWithPath = getArgsReferenceWithPath;
|
|
28
30
|
exports.getArgsShapeSchema = getArgsShapeSchema;
|
|
@@ -464,9 +466,32 @@ function mergeFormProperties(base, overrides) {
|
|
|
464
466
|
}
|
|
465
467
|
|
|
466
468
|
return result;
|
|
469
|
+
} // Dependencies of these built-in shapes are automatically added by getBuiltinsUsed
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
const requiredBuiltinShapes = ['Asset', 'TSRelationship', 'TsStaticSite'];
|
|
473
|
+
/**
|
|
474
|
+
* Get all built-in shapes that are depended on by the given project schema.
|
|
475
|
+
* Required built-in shapes are always included.
|
|
476
|
+
*/
|
|
477
|
+
|
|
478
|
+
function getBuiltinsUsed(projectSchema) {
|
|
479
|
+
const builtinsUsed = {};
|
|
480
|
+
const shapeNames = (0, _uniq.default)(requiredBuiltinShapes.concat(getAllRefs(projectSchema, refItem => refItem.serviceKey === 'local' && isBuiltinShape(refItem.typeName)).map(_refs.refItemToShapeName)));
|
|
481
|
+
const schemaWithAllBuiltins = { ...emptySchema('project-id', 'data-key'),
|
|
482
|
+
shapes: _builtinSchema.builtInShapes
|
|
483
|
+
};
|
|
484
|
+
shapeNames.forEach(builtinShapeName => {
|
|
485
|
+
builtinsUsed[builtinShapeName] = _builtinSchema.builtInShapes[builtinShapeName];
|
|
486
|
+
getShapeDependencies(schemaWithAllBuiltins, _builtinSchema.builtInShapes[builtinShapeName]).forEach(depShapeName => {
|
|
487
|
+
builtinsUsed[depShapeName] = _builtinSchema.builtInShapes[depShapeName];
|
|
488
|
+
});
|
|
489
|
+
});
|
|
490
|
+
return builtinsUsed;
|
|
467
491
|
}
|
|
468
492
|
|
|
469
493
|
function applyDefaultsToSchema(projectSchema) {
|
|
494
|
+
const builtinsUsed = getBuiltinsUsed(projectSchema);
|
|
470
495
|
return { ...projectSchema,
|
|
471
496
|
workflows: { ...projectSchema.workflows,
|
|
472
497
|
...((0, _apiVersion.workflowsEnabled)(projectSchema.apiVersion) && {
|
|
@@ -479,10 +504,10 @@ function applyDefaultsToSchema(projectSchema) {
|
|
|
479
504
|
mutations: { ...builtInQueriesAndMutations.mutations,
|
|
480
505
|
...projectSchema.mutations
|
|
481
506
|
},
|
|
482
|
-
shapes: (0, _mapValues.default)({ ...
|
|
507
|
+
shapes: (0, _mapValues.default)({ ...builtinsUsed,
|
|
483
508
|
...projectSchema.shapes
|
|
484
509
|
}, shape => {
|
|
485
|
-
const builtInShape =
|
|
510
|
+
const builtInShape = builtinsUsed[shape.name];
|
|
486
511
|
|
|
487
512
|
if (builtInShape && builtInShape !== shape) {
|
|
488
513
|
shape = { ...shape,
|
|
@@ -612,6 +637,14 @@ function isModelShape(shape) {
|
|
|
612
637
|
return Boolean(shape.model);
|
|
613
638
|
}
|
|
614
639
|
|
|
640
|
+
function isIndexedRemoteShape(shape, projectSchema) {
|
|
641
|
+
return Object.values(projectSchema.queries).find(query => {
|
|
642
|
+
var _query$resolver$optio;
|
|
643
|
+
|
|
644
|
+
return (0, _types.isBasicResolver)(query.resolver) && ((_query$resolver$optio = query.resolver.options) === null || _query$resolver$optio === void 0 ? void 0 : _query$resolver$optio.indexedShape) === shape.name;
|
|
645
|
+
}) !== undefined;
|
|
646
|
+
}
|
|
647
|
+
|
|
615
648
|
function getArgsReference(projectSchema, argsSchema) {
|
|
616
649
|
var _argsSchema$Args;
|
|
617
650
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@takeshape/schema",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.207.1",
|
|
4
4
|
"description": "TakeShape Schema",
|
|
5
5
|
"homepage": "https://www.takeshape.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"examples"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@takeshape/errors": "7.
|
|
25
|
-
"@takeshape/json-schema": "7.
|
|
26
|
-
"@takeshape/util": "7.
|
|
24
|
+
"@takeshape/errors": "7.207.1",
|
|
25
|
+
"@takeshape/json-schema": "7.207.1",
|
|
26
|
+
"@takeshape/util": "7.207.1",
|
|
27
27
|
"ajv": "^7.0.4",
|
|
28
28
|
"ajv-formats": "^1.5.1",
|
|
29
29
|
"lodash": "^4.17.20",
|