@aws-amplify/graphql-api-construct 1.9.0-gen2-release-0423.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +19 -19
- package/CHANGELOG.md +1 -1
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +1 -1
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/sql-model-datasource-strategy.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +3 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +3 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -14
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-directives/package.json +2 -2
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +4 -2
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +12 -12
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +2 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js +10 -10
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/mutation.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js +5 -5
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/query.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +0 -8
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +5 -36
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +3 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js +2 -2
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts +2 -2
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +9 -5
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -10
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/package.json +15 -15
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +19 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +5 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +14 -8
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js +7 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.d.ts +9 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.js +34 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/rds-util.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/package.json +6 -5
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -2
- package/node_modules/graphql-mapping-template/API.md +14 -1
- package/node_modules/graphql-mapping-template/CHANGELOG.md +6 -0
- package/node_modules/graphql-mapping-template/LICENSE +201 -0
- package/node_modules/graphql-mapping-template/lib/ast.d.ts +7 -1
- package/node_modules/graphql-mapping-template/lib/ast.d.ts.map +1 -1
- package/node_modules/graphql-mapping-template/lib/ast.js +9 -1
- package/node_modules/graphql-mapping-template/lib/ast.js.map +1 -1
- package/node_modules/graphql-mapping-template/lib/print.d.ts.map +1 -1
- package/node_modules/graphql-mapping-template/lib/print.js +5 -0
- package/node_modules/graphql-mapping-template/lib/print.js.map +1 -1
- package/node_modules/graphql-mapping-template/package.json +5 -4
- package/node_modules/graphql-transformer-common/CHANGELOG.md +1 -1
- package/node_modules/graphql-transformer-common/package.json +3 -3
- package/package.json +20 -20
package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js
CHANGED
@@ -25,11 +25,11 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
25
25
|
connectionCondition.push((0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('lambdaInput.args.filter.put'), (0, graphql_mapping_template_1.str)(r), (0, graphql_mapping_template_1.obj)({ eq: (0, graphql_mapping_template_1.ref)(`util.defaultIfNull($ctx.source.${primaryKeys[index]}, "")`) }))));
|
26
26
|
});
|
27
27
|
const resolverResourceId = graphql_transformer_common_1.ResolverResourceIDs.ResolverResourceID(object.name.value, field.name.value);
|
28
|
-
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasManyLambdaRequestTemplate(mappedTableName, 'LIST', 'ConnectionQuery', connectionCondition), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateListConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
28
|
+
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasManyLambdaRequestTemplate(mappedTableName, 'LIST', 'ConnectionQuery', connectionCondition, ctx), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateListConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
29
29
|
resolver.setScope(ctx.stackManager.getScopeFor(resolverResourceId, CONNECTION_STACK));
|
30
30
|
ctx.resolvers.addResolver(object.name.value, field.name.value, resolver);
|
31
31
|
};
|
32
|
-
this.generateHasManyLambdaRequestTemplate = (tableName, operation, operationName, joinCondition) => {
|
32
|
+
this.generateHasManyLambdaRequestTemplate = (tableName, operation, operationName, joinCondition, ctx) => {
|
33
33
|
return (0, graphql_mapping_template_1.printBlock)('Invoke RDS Lambda data source')((0, graphql_mapping_template_1.compoundExpression)([
|
34
34
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.ref)('ctx.stash.deniedField'), (0, graphql_mapping_template_1.raw)('#return($util.toJson(null))')),
|
35
35
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput'), (0, graphql_mapping_template_1.obj)({})),
|
@@ -39,6 +39,8 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
39
39
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.operationName'), (0, graphql_mapping_template_1.str)(operationName)),
|
40
40
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.metadata'), (0, graphql_mapping_template_1.obj)({})),
|
41
41
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.metadata.keys'), (0, graphql_mapping_template_1.list)([])),
|
42
|
+
(0, graphql_transformer_core_1.constructArrayFieldsStatement)(tableName, ctx),
|
43
|
+
(0, graphql_transformer_core_1.constructNonScalarFieldsStatement)(tableName, ctx),
|
42
44
|
this.constructFieldMappingInput(),
|
43
45
|
(0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('lambdaInput.args.putAll'), (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.defaultIfNull'), (0, graphql_mapping_template_1.ref)('context.arguments'), (0, graphql_mapping_template_1.obj)({})))),
|
44
46
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)('lambdaInput.args.filter')), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.filter'), (0, graphql_mapping_template_1.obj)({}))),
|
@@ -52,7 +54,7 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
52
54
|
}),
|
53
55
|
]));
|
54
56
|
};
|
55
|
-
this.generateHasOneLambdaRequestTemplate = (tableName, operation, operationName, joinCondition, relatedTypePrimaryKeys) => {
|
57
|
+
this.generateHasOneLambdaRequestTemplate = (tableName, operation, operationName, joinCondition, relatedTypePrimaryKeys, ctx) => {
|
56
58
|
return (0, graphql_mapping_template_1.printBlock)('Invoke RDS Lambda data source')((0, graphql_mapping_template_1.compoundExpression)([
|
57
59
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.ref)('ctx.stash.deniedField'), (0, graphql_mapping_template_1.raw)('#return($util.toJson(null))')),
|
58
60
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput'), (0, graphql_mapping_template_1.obj)({})),
|
@@ -62,6 +64,8 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
62
64
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.operationName'), (0, graphql_mapping_template_1.str)(operationName)),
|
63
65
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.metadata'), (0, graphql_mapping_template_1.obj)({})),
|
64
66
|
(0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.metadata.keys'), (0, graphql_mapping_template_1.list)(relatedTypePrimaryKeys.map((key) => (0, graphql_mapping_template_1.str)(key)))),
|
67
|
+
(0, graphql_transformer_core_1.constructArrayFieldsStatement)(tableName, ctx),
|
68
|
+
(0, graphql_transformer_core_1.constructNonScalarFieldsStatement)(tableName, ctx),
|
65
69
|
this.constructFieldMappingInput(),
|
66
70
|
(0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('lambdaInput.args.putAll'), (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.defaultIfNull'), (0, graphql_mapping_template_1.ref)('context.arguments'), (0, graphql_mapping_template_1.obj)({})))),
|
67
71
|
(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)('lambdaInput.args.input')), (0, graphql_mapping_template_1.set)((0, graphql_mapping_template_1.ref)('lambdaInput.args.input'), (0, graphql_mapping_template_1.obj)({}))),
|
@@ -109,7 +113,7 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
109
113
|
connectionCondition.push((0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('lambdaInput.args.input.put'), (0, graphql_mapping_template_1.str)(r), (0, graphql_mapping_template_1.obj)({ eq: (0, graphql_mapping_template_1.ref)(`util.defaultIfNull($ctx.source.${primaryKeys[index]}, "")`) }))));
|
110
114
|
});
|
111
115
|
const resolverResourceId = graphql_transformer_common_1.ResolverResourceIDs.ResolverResourceID(object.name.value, field.name.value);
|
112
|
-
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasOneLambdaRequestTemplate(mappedTableName, 'GET_FIRST', 'GetItemConnectionQuery', connectionCondition, relatedTypePrimaryKeys), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateSingleItemConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
116
|
+
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasOneLambdaRequestTemplate(mappedTableName, 'GET_FIRST', 'GetItemConnectionQuery', connectionCondition, relatedTypePrimaryKeys, ctx), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateSingleItemConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
113
117
|
resolver.setScope(ctx.stackManager.getScopeFor(resolverResourceId, CONNECTION_STACK));
|
114
118
|
ctx.resolvers.addResolver(object.name.value, field.name.value, resolver);
|
115
119
|
};
|
@@ -128,7 +132,7 @@ class RDSRelationalResolverGenerator extends generator_1.RelationalResolverGener
|
|
128
132
|
connectionCondition.push((0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('lambdaInput.args.input.put'), (0, graphql_mapping_template_1.str)(primaryKeys[index]), (0, graphql_mapping_template_1.ref)(`util.defaultIfNull($ctx.source.${r}, "")`))));
|
129
133
|
});
|
130
134
|
const resolverResourceId = graphql_transformer_common_1.ResolverResourceIDs.ResolverResourceID(object.name.value, field.name.value);
|
131
|
-
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasOneLambdaRequestTemplate(mappedTableName, 'GET', 'BelongsToConnectionQuery', connectionCondition, primaryKeys), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateSingleItemConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
135
|
+
const resolver = ctx.resolvers.generateQueryResolver(object.name.value, field.name.value, resolverResourceId, dataSource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateHasOneLambdaRequestTemplate(mappedTableName, 'GET', 'BelongsToConnectionQuery', connectionCondition, primaryKeys, ctx), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(this.generateSingleItemConnectionLambdaResponseMappingTemplate(), `${object.name.value}.${field.name.value}.res.vtl`));
|
132
136
|
resolver.setScope(ctx.stackManager.getScopeFor(resolverResourceId, CONNECTION_STACK));
|
133
137
|
ctx.resolvers.addResolver(object.name.value, field.name.value, resolver);
|
134
138
|
};
|
package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rds-generator.js","sourceRoot":"","sources":["../../src/resolver/rds-generator.ts"],"names":[],"mappings":";;;AACA,2EAAiE;AACjE,oFAM+C;AAC/C,uEAmBkC;AAClC,sFAAuE;AAEvE,2CAA0D;AAE1D,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;AAE3C,MAAa,8BAA+B,SAAQ,uCAA2B;IAA/E;;QAME,iDAA4C,GAAG,CAAC,MAAqC,EAAE,GAA+B,EAAQ,EAAE;YAC9H,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;YAC1D,MAAM,eAAe,GAAG,IAAA,qDAA0B,EAAC,GAAG,EAAE,WAAW,CAAC,I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,CAAC,CAAC,CAAC;YACtF,GAAG,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;QAC3E,CAAC,CAAC;QAEF,+BAA0B,GAAG,GAAe,EAAE;YAC5C,OAAO,IAAA,6CAAkB,EAAC;gBACxB,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,oCAAoC,CAAC,EAAE,IAAA,8BAAG,EAAC,EAAE,CAAC,CAAC;gBACvD,IAAA,+BAAI,EACF,IAAA,qCAAU,EACR,IAAA,8BAAG,EAAC,2CAA2C,CAAC,EAChD,IAAA,qCAAU,EAAC,IAAA,8BAAG,EAAC,oBAAoB,CAAC,EAAE,IAAA,8BAAG,EAAC,wBAAwB,CAAC,EAAE,IAAA,8BAAG,EAAC,EAAE,CAAC,CAAC,CAC9E,CACF;aACF,CAAC,CAAC;QACL,CAAC,CAAC;QAEF,gDAA2C,GAAG,CAAC,OAAe,EAAc,EAAE,CAC5E,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,IAAA,qCAAU,EAAC,IAAA,8BAAG,EAAC,oBAAoB,CAAC,EAAE,IAAA,8BAAG,EAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,IAAA,8BAAG,EAAC,IAAA,8BAAG,EAAC,OAAO,CAAC,EAAE,IAAA,8BAAG,EAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC;IACjI,CAAC;CAAA;AArRD,wEAqRC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-relational-transformer",
|
3
|
-
"version": "2.5.0
|
3
|
+
"version": "2.5.0",
|
4
4
|
"description": "Amplify GraphQL relational modeling transformers",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,18 +28,18 @@
|
|
28
28
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-directives": "1.1.0
|
32
|
-
"@aws-amplify/graphql-index-transformer": "2.4.0
|
33
|
-
"@aws-amplify/graphql-model-transformer": "2.9.0
|
34
|
-
"@aws-amplify/graphql-transformer-core": "2.7.0
|
35
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.7.0
|
31
|
+
"@aws-amplify/graphql-directives": "1.1.0",
|
32
|
+
"@aws-amplify/graphql-index-transformer": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-model-transformer": "2.9.0",
|
34
|
+
"@aws-amplify/graphql-transformer-core": "2.7.0",
|
35
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.7.0",
|
36
36
|
"graphql": "^15.5.0",
|
37
|
-
"graphql-mapping-template": "4.20.
|
38
|
-
"graphql-transformer-common": "4.30.1
|
37
|
+
"graphql-mapping-template": "4.20.16",
|
38
|
+
"graphql-transformer-common": "4.30.1",
|
39
39
|
"immer": "^9.0.12"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@aws-amplify/graphql-transformer-test-utils": "0.5.1
|
42
|
+
"@aws-amplify/graphql-transformer-test-utils": "0.5.1"
|
43
43
|
},
|
44
44
|
"peerDependencies": {
|
45
45
|
"aws-cdk-lib": "^2.80.0",
|
@@ -79,5 +79,5 @@
|
|
79
79
|
"/__tests__/"
|
80
80
|
]
|
81
81
|
},
|
82
|
-
"gitHead": "
|
82
|
+
"gitHead": "ef703418f9e1b9af08a746c602bc67ee1d3baaab"
|
83
83
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
# [2.7.0
|
6
|
+
# [2.7.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-searchable-transformer@2.6.3...@aws-amplify/graphql-searchable-transformer@2.7.0) (2024-04-26)
|
7
7
|
|
8
8
|
### Bug Fixes
|
9
9
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-searchable-transformer",
|
3
|
-
"version": "2.7.0
|
3
|
+
"version": "2.7.0",
|
4
4
|
"description": "Amplfy GraphQL @searchable transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,20 +28,20 @@
|
|
28
28
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-directives": "1.1.0
|
32
|
-
"@aws-amplify/graphql-model-transformer": "2.9.0
|
33
|
-
"@aws-amplify/graphql-transformer-core": "2.7.0
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.7.0
|
31
|
+
"@aws-amplify/graphql-directives": "1.1.0",
|
32
|
+
"@aws-amplify/graphql-model-transformer": "2.9.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "2.7.0",
|
34
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.7.0",
|
35
35
|
"graphql": "^15.5.0",
|
36
|
-
"graphql-mapping-template": "4.20.
|
37
|
-
"graphql-transformer-common": "4.30.1
|
36
|
+
"graphql-mapping-template": "4.20.16",
|
37
|
+
"graphql-transformer-common": "4.30.1"
|
38
38
|
},
|
39
39
|
"peerDependencies": {
|
40
40
|
"aws-cdk-lib": "^2.80.0",
|
41
41
|
"constructs": "^10.0.5"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
|
-
"@aws-amplify/graphql-transformer-test-utils": "0.5.1
|
44
|
+
"@aws-amplify/graphql-transformer-test-utils": "0.5.1",
|
45
45
|
"@types/node": "^12.12.6"
|
46
46
|
},
|
47
47
|
"jest": {
|
@@ -82,5 +82,5 @@
|
|
82
82
|
"/__tests__/"
|
83
83
|
]
|
84
84
|
},
|
85
|
-
"gitHead": "
|
85
|
+
"gitHead": "ef703418f9e1b9af08a746c602bc67ee1d3baaab"
|
86
86
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
# [0.3.0
|
6
|
+
# [0.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-sql-transformer@0.2.9...@aws-amplify/graphql-sql-transformer@0.3.0) (2024-04-26)
|
7
7
|
|
8
8
|
### Features
|
9
9
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-sql-transformer",
|
3
|
-
"version": "0.3.0
|
3
|
+
"version": "0.3.0",
|
4
4
|
"description": "Amplify GraphQL @sql transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,16 +28,16 @@
|
|
28
28
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-directives": "1.1.0
|
32
|
-
"@aws-amplify/graphql-model-transformer": "2.9.0
|
33
|
-
"@aws-amplify/graphql-transformer-core": "2.7.0
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.7.0
|
31
|
+
"@aws-amplify/graphql-directives": "1.1.0",
|
32
|
+
"@aws-amplify/graphql-model-transformer": "2.9.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "2.7.0",
|
34
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.7.0",
|
35
35
|
"graphql": "^15.5.0",
|
36
|
-
"graphql-mapping-template": "4.20.
|
37
|
-
"graphql-transformer-common": "4.30.1
|
36
|
+
"graphql-mapping-template": "4.20.16",
|
37
|
+
"graphql-transformer-common": "4.30.1"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "0.5.1
|
40
|
+
"@aws-amplify/graphql-transformer-test-utils": "0.5.1"
|
41
41
|
},
|
42
42
|
"peerDependencies": {
|
43
43
|
"aws-cdk-lib": "^2.80.0",
|
@@ -80,5 +80,5 @@
|
|
80
80
|
"/__tests__/"
|
81
81
|
]
|
82
82
|
},
|
83
|
-
"gitHead": "
|
83
|
+
"gitHead": "ef703418f9e1b9af08a746c602bc67ee1d3baaab"
|
84
84
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
## [1.5.2
|
6
|
+
## [1.5.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer@1.5.1...@aws-amplify/graphql-transformer@1.5.2) (2024-04-26)
|
7
7
|
|
8
8
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer
|
9
9
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-transformer",
|
3
|
-
"version": "1.5.2
|
3
|
+
"version": "1.5.2",
|
4
4
|
"description": "Amplify GraphQL Transformer Root Package",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,19 +28,19 @@
|
|
28
28
|
"access": "public"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-auth-transformer": "3.5.0
|
32
|
-
"@aws-amplify/graphql-default-value-transformer": "2.3.4
|
33
|
-
"@aws-amplify/graphql-function-transformer": "2.1.21
|
34
|
-
"@aws-amplify/graphql-http-transformer": "2.1.21
|
35
|
-
"@aws-amplify/graphql-index-transformer": "2.4.0
|
36
|
-
"@aws-amplify/graphql-maps-to-transformer": "3.4.12
|
37
|
-
"@aws-amplify/graphql-model-transformer": "2.9.0
|
38
|
-
"@aws-amplify/graphql-predictions-transformer": "2.1.21
|
39
|
-
"@aws-amplify/graphql-relational-transformer": "2.5.0
|
40
|
-
"@aws-amplify/graphql-searchable-transformer": "2.7.0
|
41
|
-
"@aws-amplify/graphql-sql-transformer": "0.3.0
|
42
|
-
"@aws-amplify/graphql-transformer-core": "2.7.0
|
43
|
-
"@aws-amplify/graphql-transformer-interfaces": "3.7.0
|
31
|
+
"@aws-amplify/graphql-auth-transformer": "3.5.0",
|
32
|
+
"@aws-amplify/graphql-default-value-transformer": "2.3.4",
|
33
|
+
"@aws-amplify/graphql-function-transformer": "2.1.21",
|
34
|
+
"@aws-amplify/graphql-http-transformer": "2.1.21",
|
35
|
+
"@aws-amplify/graphql-index-transformer": "2.4.0",
|
36
|
+
"@aws-amplify/graphql-maps-to-transformer": "3.4.12",
|
37
|
+
"@aws-amplify/graphql-model-transformer": "2.9.0",
|
38
|
+
"@aws-amplify/graphql-predictions-transformer": "2.1.21",
|
39
|
+
"@aws-amplify/graphql-relational-transformer": "2.5.0",
|
40
|
+
"@aws-amplify/graphql-searchable-transformer": "2.7.0",
|
41
|
+
"@aws-amplify/graphql-sql-transformer": "0.3.0",
|
42
|
+
"@aws-amplify/graphql-transformer-core": "2.7.0",
|
43
|
+
"@aws-amplify/graphql-transformer-interfaces": "3.7.0"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@types/node": "^12.12.6",
|
@@ -87,5 +87,5 @@
|
|
87
87
|
"/__tests__/"
|
88
88
|
]
|
89
89
|
},
|
90
|
-
"gitHead": "
|
90
|
+
"gitHead": "ef703418f9e1b9af08a746c602bc67ee1d3baaab"
|
91
91
|
}
|
@@ -29,6 +29,7 @@ import { DocumentNode } from 'graphql/language';
|
|
29
29
|
import { DocumentNode as DocumentNode_2 } from 'graphql';
|
30
30
|
import { EnumTypeDefinitionNode } from 'graphql';
|
31
31
|
import { EnumTypeExtensionNode } from 'graphql';
|
32
|
+
import { Expression } from 'graphql-mapping-template';
|
32
33
|
import { FieldDefinitionNode } from 'graphql';
|
33
34
|
import { FieldNode } from 'graphql';
|
34
35
|
import { Grant } from 'aws-cdk-lib/aws-iam';
|
@@ -121,9 +122,21 @@ export const enum ConflictHandlerType {
|
|
121
122
|
OPTIMISTIC = "OPTIMISTIC_CONCURRENCY"
|
122
123
|
}
|
123
124
|
|
125
|
+
// @public (undocumented)
|
126
|
+
export const constructArrayFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
|
127
|
+
|
128
|
+
// @public (undocumented)
|
129
|
+
export const constructAuthFilterStatement: (keyName: string) => Expression;
|
130
|
+
|
124
131
|
// @public (undocumented)
|
125
132
|
export const constructDataSourceStrategies: (schema: string, dataSourceStrategy: ModelDataSourceStrategy) => Record<string, ModelDataSourceStrategy>;
|
126
133
|
|
134
|
+
// @public (undocumented)
|
135
|
+
export const constructFieldMappingInput: () => Expression;
|
136
|
+
|
137
|
+
// @public (undocumented)
|
138
|
+
export const constructNonScalarFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
|
139
|
+
|
127
140
|
// @public (undocumented)
|
128
141
|
export const constructSqlDirectiveDataSourceStrategies: (schema: string, dataSourceStrategy: ModelDataSourceStrategy, customSqlStatements?: Record<string, string>) => SqlDirectiveDataSourceStrategy[];
|
129
142
|
|
@@ -201,6 +214,9 @@ export type GetArgumentsOptions = {
|
|
201
214
|
deepMergeArguments?: boolean;
|
202
215
|
};
|
203
216
|
|
217
|
+
// @public (undocumented)
|
218
|
+
export const getArrayFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
|
219
|
+
|
204
220
|
// @public (undocumented)
|
205
221
|
export const getConditionInputName: (modelName: string) => string;
|
206
222
|
|
@@ -233,6 +249,9 @@ export const getModelDataSourceStrategy: (ctx: DataSourceStrategiesProvider, typ
|
|
233
249
|
// @public (undocumented)
|
234
250
|
export const getModelTypeNames: (schema: string) => string[];
|
235
251
|
|
252
|
+
// @public (undocumented)
|
253
|
+
export const getNonScalarFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
|
254
|
+
|
236
255
|
// @public (undocumented)
|
237
256
|
export const getParameterStoreSecretPath: (secret: string, secretsKey: string, apiName: string, environmentName: string, appId: string) => string;
|
238
257
|
|
@@ -3,7 +3,11 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
# [2.7.0
|
6
|
+
# [2.7.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@2.6.0...@aws-amplify/graphql-transformer-core@2.7.0) (2024-04-26)
|
7
|
+
|
8
|
+
### Bug Fixes
|
9
|
+
|
10
|
+
- add non-scalar and array fields to SQL relations ([#2501](https://github.com/aws-amplify/amplify-category-api/issues/2501)) ([511f020](https://github.com/aws-amplify/amplify-category-api/commit/511f0202583e3e2110a2c22f3bfd24845ea038c0))
|
7
11
|
|
8
12
|
### Features
|
9
13
|
|
@@ -2,7 +2,7 @@ export { constructDataSourceStrategies, constructSqlDirectiveDataSourceStrategie
|
|
2
2
|
export { UserDefinedSlot, UserDefinedResolver } from './transformation/types';
|
3
3
|
export { validateModelSchema } from './transformation/validation';
|
4
4
|
export { ConflictDetectionType, ConflictHandlerType, ResolverConfig, SyncConfig, SyncConfigOptimistic, SyncConfigServer, SyncConfigLambda, TransformConfig, } from './config/index';
|
5
|
-
export { APICategory, collectDirectives, collectDirectivesByTypeNames, DirectiveWrapper, fieldsWithSqlDirective, generateGetArgumentsInput, GetArgumentsOptions,
|
5
|
+
export { APICategory, collectDirectives, collectDirectivesByTypeNames, constructArrayFieldsStatement, constructAuthFilterStatement, constructFieldMappingInput, constructNonScalarFieldsStatement, DirectiveWrapper, fieldsWithSqlDirective, generateGetArgumentsInput, GetArgumentsOptions, getArrayFields, getConditionInputName, getConnectionName, getDefaultStrategyNameForDbType, getFilterInputName, getImportedRDSTypeFromStrategyDbType, getKeySchema, getModelDataSourceNameForTypeName, getModelDataSourceStrategy, getNonScalarFields, getParameterStoreSecretPath, getPrimaryKeyFields, getResourceName, getResourceNamesForStrategy, getResourceNamesForStrategyName, getSortKeyFieldNames, getStrategyDbTypeFromModel, getStrategyDbTypeFromTypeNode, getSubscriptionFilterInputName, getTable, isAmplifyDynamoDbModelDataSourceStrategy, isBuiltInGraphqlNode, isDefaultDynamoDbModelDataSourceStrategy, isDynamoDbModel, isDynamoDbType, isModelType, isMutationNode, isObjectTypeDefinitionNode, isQueryNode, isSqlDbType, isSqlModel, isSqlStrategy, normalizeDbType, setResourceName, SQLLambdaResourceNames, } from './utils';
|
6
6
|
export type { SetResourceNameProps } from './utils';
|
7
7
|
export * from './utils/operation-names';
|
8
8
|
export * from './errors';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,6BAA6B,EAC7B,yCAAyC,EACzC,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,6BAA6B,EAC7B,yCAAyC,EACzC,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,oBAAoB,E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CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,sCAAsC,CAAC"}
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.
|
18
|
-
exports.ObjectDefinitionWrapper = exports.InputObjectDefinitionWrapper = exports.InputFieldWrapper = exports.FieldWrapper = exports.EnumWrapper = exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.SQL_SCHEMA_FILE_NAME = exports.POSTGRES_DB_TYPE = exports.MYSQL_DB_TYPE = exports.ImportedRDSType = exports.DDB_DEFAULT_DATASOURCE_STRATEGY = exports.DDB_DB_TYPE = exports.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY = exports.StackManager = void 0;
|
17
|
+
exports.normalizeDbType = exports.isSqlStrategy = exports.isSqlModel = exports.isSqlDbType = exports.isQueryNode = exports.isObjectTypeDefinitionNode = exports.isMutationNode = exports.isModelType = exports.isDynamoDbType = exports.isDynamoDbModel = exports.isDefaultDynamoDbModelDataSourceStrategy = exports.isBuiltInGraphqlNode = exports.isAmplifyDynamoDbModelDataSourceStrategy = exports.getTable = exports.getSubscriptionFilterInputName = exports.getStrategyDbTypeFromTypeNode = exports.getStrategyDbTypeFromModel = exports.getSortKeyFieldNames = exports.getResourceNamesForStrategyName = exports.getResourceNamesForStrategy = exports.getResourceName = exports.getPrimaryKeyFields = exports.getParameterStoreSecretPath = exports.getNonScalarFields = exports.getModelDataSourceStrategy = exports.getModelDataSourceNameForTypeName = exports.getKeySchema = exports.getImportedRDSTypeFromStrategyDbType = exports.getFilterInputName = exports.getDefaultStrategyNameForDbType = exports.getConnectionName = exports.getConditionInputName = exports.getArrayFields = exports.generateGetArgumentsInput = exports.fieldsWithSqlDirective = exports.DirectiveWrapper = exports.constructNonScalarFieldsStatement = exports.constructFieldMappingInput = exports.constructAuthFilterStatement = exports.constructArrayFieldsStatement = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.APICategory = exports.ConflictHandlerType = exports.validateModelSchema = exports.SyncUtils = exports.GraphQLTransform = exports.getModelTypeNames = exports.constructSqlDirectiveDataSourceStrategies = exports.constructDataSourceStrategies = void 0;
|
18
|
+
exports.ObjectDefinitionWrapper = exports.InputObjectDefinitionWrapper = exports.InputFieldWrapper = exports.FieldWrapper = exports.EnumWrapper = exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.SQL_SCHEMA_FILE_NAME = exports.POSTGRES_DB_TYPE = exports.MYSQL_DB_TYPE = exports.ImportedRDSType = exports.DDB_DEFAULT_DATASOURCE_STRATEGY = exports.DDB_DB_TYPE = exports.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY = exports.StackManager = exports.TransformerResolver = exports.TransformerAuthBase = exports.TransformerPluginBase = exports.TransformerModelEnhancerBase = exports.TransformerModelBase = exports.setResourceName = void 0;
|
19
19
|
const graphql_1 = require("graphql");
|
20
20
|
const validation_1 = require("./transformation/validation");
|
21
21
|
var transformation_1 = require("./transformation");
|
@@ -32,21 +32,32 @@ var utils_1 = require("./utils");
|
|
32
32
|
Object.defineProperty(exports, "APICategory", { enumerable: true, get: function () { return utils_1.APICategory; } });
|
33
33
|
Object.defineProperty(exports, "collectDirectives", { enumerable: true, get: function () { return utils_1.collectDirectives; } });
|
34
34
|
Object.defineProperty(exports, "collectDirectivesByTypeNames", { enumerable: true, get: function () { return utils_1.collectDirectivesByTypeNames; } });
|
35
|
+
Object.defineProperty(exports, "constructArrayFieldsStatement", { enumerable: true, get: function () { return utils_1.constructArrayFieldsStatement; } });
|
36
|
+
Object.defineProperty(exports, "constructAuthFilterStatement", { enumerable: true, get: function () { return utils_1.constructAuthFilterStatement; } });
|
37
|
+
Object.defineProperty(exports, "constructFieldMappingInput", { enumerable: true, get: function () { return utils_1.constructFieldMappingInput; } });
|
38
|
+
Object.defineProperty(exports, "constructNonScalarFieldsStatement", { enumerable: true, get: function () { return utils_1.constructNonScalarFieldsStatement; } });
|
35
39
|
Object.defineProperty(exports, "DirectiveWrapper", { enumerable: true, get: function () { return utils_1.DirectiveWrapper; } });
|
36
40
|
Object.defineProperty(exports, "fieldsWithSqlDirective", { enumerable: true, get: function () { return utils_1.fieldsWithSqlDirective; } });
|
37
41
|
Object.defineProperty(exports, "generateGetArgumentsInput", { enumerable: true, get: function () { return utils_1.generateGetArgumentsInput; } });
|
38
|
-
Object.defineProperty(exports, "
|
42
|
+
Object.defineProperty(exports, "getArrayFields", { enumerable: true, get: function () { return utils_1.getArrayFields; } });
|
43
|
+
Object.defineProperty(exports, "getConditionInputName", { enumerable: true, get: function () { return utils_1.getConditionInputName; } });
|
44
|
+
Object.defineProperty(exports, "getConnectionName", { enumerable: true, get: function () { return utils_1.getConnectionName; } });
|
39
45
|
Object.defineProperty(exports, "getDefaultStrategyNameForDbType", { enumerable: true, get: function () { return utils_1.getDefaultStrategyNameForDbType; } });
|
46
|
+
Object.defineProperty(exports, "getFilterInputName", { enumerable: true, get: function () { return utils_1.getFilterInputName; } });
|
40
47
|
Object.defineProperty(exports, "getImportedRDSTypeFromStrategyDbType", { enumerable: true, get: function () { return utils_1.getImportedRDSTypeFromStrategyDbType; } });
|
41
48
|
Object.defineProperty(exports, "getKeySchema", { enumerable: true, get: function () { return utils_1.getKeySchema; } });
|
49
|
+
Object.defineProperty(exports, "getModelDataSourceNameForTypeName", { enumerable: true, get: function () { return utils_1.getModelDataSourceNameForTypeName; } });
|
42
50
|
Object.defineProperty(exports, "getModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.getModelDataSourceStrategy; } });
|
51
|
+
Object.defineProperty(exports, "getNonScalarFields", { enumerable: true, get: function () { return utils_1.getNonScalarFields; } });
|
43
52
|
Object.defineProperty(exports, "getParameterStoreSecretPath", { enumerable: true, get: function () { return utils_1.getParameterStoreSecretPath; } });
|
44
53
|
Object.defineProperty(exports, "getPrimaryKeyFields", { enumerable: true, get: function () { return utils_1.getPrimaryKeyFields; } });
|
45
54
|
Object.defineProperty(exports, "getResourceName", { enumerable: true, get: function () { return utils_1.getResourceName; } });
|
46
55
|
Object.defineProperty(exports, "getResourceNamesForStrategy", { enumerable: true, get: function () { return utils_1.getResourceNamesForStrategy; } });
|
47
56
|
Object.defineProperty(exports, "getResourceNamesForStrategyName", { enumerable: true, get: function () { return utils_1.getResourceNamesForStrategyName; } });
|
48
57
|
Object.defineProperty(exports, "getSortKeyFieldNames", { enumerable: true, get: function () { return utils_1.getSortKeyFieldNames; } });
|
58
|
+
Object.defineProperty(exports, "getStrategyDbTypeFromModel", { enumerable: true, get: function () { return utils_1.getStrategyDbTypeFromModel; } });
|
49
59
|
Object.defineProperty(exports, "getStrategyDbTypeFromTypeNode", { enumerable: true, get: function () { return utils_1.getStrategyDbTypeFromTypeNode; } });
|
60
|
+
Object.defineProperty(exports, "getSubscriptionFilterInputName", { enumerable: true, get: function () { return utils_1.getSubscriptionFilterInputName; } });
|
50
61
|
Object.defineProperty(exports, "getTable", { enumerable: true, get: function () { return utils_1.getTable; } });
|
51
62
|
Object.defineProperty(exports, "isAmplifyDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isAmplifyDynamoDbModelDataSourceStrategy; } });
|
52
63
|
Object.defineProperty(exports, "isBuiltInGraphqlNode", { enumerable: true, get: function () { return utils_1.isBuiltInGraphqlNode; } });
|
@@ -62,11 +73,6 @@ Object.defineProperty(exports, "isSqlModel", { enumerable: true, get: function (
|
|
62
73
|
Object.defineProperty(exports, "isSqlStrategy", { enumerable: true, get: function () { return utils_1.isSqlStrategy; } });
|
63
74
|
Object.defineProperty(exports, "normalizeDbType", { enumerable: true, get: function () { return utils_1.normalizeDbType; } });
|
64
75
|
Object.defineProperty(exports, "setResourceName", { enumerable: true, get: function () { return utils_1.setResourceName; } });
|
65
|
-
Object.defineProperty(exports, "getFilterInputName", { enumerable: true, get: function () { return utils_1.getFilterInputName; } });
|
66
|
-
Object.defineProperty(exports, "getConditionInputName", { enumerable: true, get: function () { return utils_1.getConditionInputName; } });
|
67
|
-
Object.defineProperty(exports, "getSubscriptionFilterInputName", { enumerable: true, get: function () { return utils_1.getSubscriptionFilterInputName; } });
|
68
|
-
Object.defineProperty(exports, "getConnectionName", { enumerable: true, get: function () { return utils_1.getConnectionName; } });
|
69
|
-
Object.defineProperty(exports, "getStrategyDbTypeFromModel", { enumerable: true, get: function () { return utils_1.getStrategyDbTypeFromModel; } });
|
70
76
|
__exportStar(require("./utils/operation-names"), exports);
|
71
77
|
__exportStar(require("./errors"), exports);
|
72
78
|
var transformer_plugin_base_1 = require("./transformation/transformer-plugin-base");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,4DAAwE;AAExE,mDAO0B;AANxB,+HAAA,6BAA6B,OAAA;AAC7B,2IAAA,yCAAyC,OAAA;AACzC,mHAAA,iBAAiB,OAAA;AACjB,kHAAA,gBAAgB,OAAA;AAEhB,2GAAA,SAAS,OAAA;AAGX,0DAAkE;AAAzD,iHAAA,mBAAmB,OAAA;AAC5B,wCASwB;AAPtB,4GAAA,mBAAmB,OAAA;AAQrB,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,4DAAwE;AAExE,mDAO0B;AANxB,+HAAA,6BAA6B,OAAA;AAC7B,2IAAA,yCAAyC,OAAA;AACzC,mHAAA,iBAAiB,OAAA;AACjB,kHAAA,gBAAgB,OAAA;AAEhB,2GAAA,SAAS,OAAA;AAGX,0DAAkE;AAAzD,iHAAA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OAAA;AACf,wGAAA,eAAe,OAAA;AAIjB,0DAAwC;AACxC,2CAAyB;AACzB,oFAKkD;AAJhD,+HAAA,oBAAoB,OAAA;AACpB,uIAAA,4BAA4B,OAAA;AAC5B,gIAAA,qBAAqB,OAAA;AACrB,8HAAA,mBAAmB,OAAA;AAErB,6DAA0E;AAAjE,0HAAA,mBAAmB,OAAA;AAAE,mHAAA,YAAY,OAAA;AAC1C,iCAaiB;AAZf,gIAAA,uCAAuC,OAAA;AACvC,oGAAA,WAAW,OAAA;AACX,wHAAA,+BAA+B,OAAA;AAI/B,wGAAA,eAAe,OAAA;AACf,sGAAA,aAAa,OAAA;AACb,yGAAA,gBAAgB,OAAA;AAGhB,6GAAA,oBAAoB,OAAA;AAKf,MAAM,gCAAgC,GAAG,GAAW,EAAE;IAC3D,OAAO,IAAA,eAAK,EAAC,sCAAyB,CAAC,CAAC;AAC1C,CAAC,CAAC;AAFW,QAAA,gCAAgC,oCAE3C;AAEF,2CAA+C;AAAtC,6GAAA,eAAe,OAAA;AACxB,kFAM8C;AAL5C,wHAAA,WAAW,OAAA;AACX,yHAAA,YAAY,OAAA;AACZ,8HAAA,iBAAiB,OAAA;AACjB,yIAAA,4BAA4B,OAAA;AAC5B,oIAAA,uBAAuB,OAAA"}
|
@@ -4,7 +4,7 @@ export { collectDirectives, collectDirectivesByTypeNames } from './type-map-util
|
|
4
4
|
export { stripDirectives } from './strip-directives';
|
5
5
|
export { getTable, getKeySchema, getSortKeyFieldNames, getStrategyDbTypeFromTypeNode } from './schema-utils';
|
6
6
|
export { DEFAULT_SCHEMA_DEFINITION } from './defaultSchema';
|
7
|
-
export { getParameterStoreSecretPath } from './rds-util';
|
7
|
+
export { constructArrayFieldsStatement, constructAuthFilterStatement, constructFieldMappingInput, constructNonScalarFieldsStatement, getArrayFields, getNonScalarFields, getParameterStoreSecretPath, } from './rds-util';
|
8
8
|
export declare const APICategory = "api";
|
9
9
|
export { setResourceName, getDefaultStrategyNameForDbType, getResourceName, getResourceNamesForStrategy, getResourceNamesForStrategyName, SQLLambdaResourceNames, } from './resource-name';
|
10
10
|
export type { SetResourceNameProps } from './resource-name';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,8BAA8B,EAC9B,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,8BAA8B,EAC9B,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,oBAAoB,EAAE,6BAA6B,EAAE,MAAM,gBAAgB,CAAC;AAC7G,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EACL,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,iCAAiC,EACjC,cAAc,EACd,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,YAAY,CAAC;AACpB,eAAO,MAAM,WAAW,QAAQ,CAAC;AACjC,OAAO,EACL,eAAe,EACf,+BAA+B,EAC/B,eAAe,EACf,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,iBAAiB,CAAC;AACzB,YAAY,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,cAAc,mCAAmC,CAAC;AAClD,cAAc,iBAAiB,CAAC"}
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.getResourceNamesForStrategyName = exports.getResourceNamesForStrategy = exports.getResourceName = exports.getDefaultStrategyNameForDbType = exports.setResourceName = exports.APICategory = exports.getParameterStoreSecretPath = exports.DEFAULT_SCHEMA_DEFINITION = exports.getStrategyDbTypeFromTypeNode = exports.getSortKeyFieldNames = exports.getKeySchema = exports.getTable = exports.stripDirectives = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.generateGetArgumentsInput = exports.DirectiveWrapper = exports.getConnectionName = exports.getSubscriptionFilterInputName = exports.getConditionInputName = exports.getFilterInputName = exports.getPrimaryKeyFields = void 0;
|
17
|
+
exports.getResourceNamesForStrategyName = exports.getResourceNamesForStrategy = exports.getResourceName = exports.getDefaultStrategyNameForDbType = exports.setResourceName = exports.APICategory = exports.getParameterStoreSecretPath = exports.getNonScalarFields = exports.getArrayFields = exports.constructNonScalarFieldsStatement = exports.constructFieldMappingInput = exports.constructAuthFilterStatement = exports.constructArrayFieldsStatement = exports.DEFAULT_SCHEMA_DEFINITION = exports.getStrategyDbTypeFromTypeNode = exports.getSortKeyFieldNames = exports.getKeySchema = exports.getTable = exports.stripDirectives = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.generateGetArgumentsInput = exports.DirectiveWrapper = exports.getConnectionName = exports.getSubscriptionFilterInputName = exports.getConditionInputName = exports.getFilterInputName = exports.getPrimaryKeyFields = void 0;
|
18
18
|
var model_util_1 = require("./model-util");
|
19
19
|
Object.defineProperty(exports, "getPrimaryKeyFields", { enumerable: true, get: function () { return model_util_1.getPrimaryKeyFields; } });
|
20
20
|
Object.defineProperty(exports, "getFilterInputName", { enumerable: true, get: function () { return model_util_1.getFilterInputName; } });
|
@@ -37,6 +37,12 @@ Object.defineProperty(exports, "getStrategyDbTypeFromTypeNode", { enumerable: tr
|
|
37
37
|
var defaultSchema_1 = require("./defaultSchema");
|
38
38
|
Object.defineProperty(exports, "DEFAULT_SCHEMA_DEFINITION", { enumerable: true, get: function () { return defaultSchema_1.DEFAULT_SCHEMA_DEFINITION; } });
|
39
39
|
var rds_util_1 = require("./rds-util");
|
40
|
+
Object.defineProperty(exports, "constructArrayFieldsStatement", { enumerable: true, get: function () { return rds_util_1.constructArrayFieldsStatement; } });
|
41
|
+
Object.defineProperty(exports, "constructAuthFilterStatement", { enumerable: true, get: function () { return rds_util_1.constructAuthFilterStatement; } });
|
42
|
+
Object.defineProperty(exports, "constructFieldMappingInput", { enumerable: true, get: function () { return rds_util_1.constructFieldMappingInput; } });
|
43
|
+
Object.defineProperty(exports, "constructNonScalarFieldsStatement", { enumerable: true, get: function () { return rds_util_1.constructNonScalarFieldsStatement; } });
|
44
|
+
Object.defineProperty(exports, "getArrayFields", { enumerable: true, get: function () { return rds_util_1.getArrayFields; } });
|
45
|
+
Object.defineProperty(exports, "getNonScalarFields", { enumerable: true, get: function () { return rds_util_1.getNonScalarFields; } });
|
40
46
|
Object.defineProperty(exports, "getParameterStoreSecretPath", { enumerable: true, get: function () { return rds_util_1.getParameterStoreSecretPath; } });
|
41
47
|
exports.APICategory = 'api';
|
42
48
|
var resource_name_1 = require("./resource-name");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAMsB;AALpB,iHAAA,mBAAmB,OAAA;AACnB,gHAAA,kBAAkB,OAAA;AAClB,mHAAA,qBAAqB,OAAA;AACrB,4HAAA,8BAA8B,OAAA;AAC9B,+GAAA,iBAAiB,OAAA;AAEnB,yDAAuG;AAA9F,qHAAA,gBAAgB,OAAA;AAAuB,8HAAA,yBAAyB,OAAA;AACzE,mDAAmF;AAA1E,mHAAA,iBAAiB,OAAA;AAAE,8HAAA,4BAA4B,OAAA;AACxD,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,+CAA6G;AAApG,wGAAA,QAAQ,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,oHAAA,oBAAoB,OAAA;AAAE,6HAAA,6BAA6B,OAAA;AACpF,iDAA4D;AAAnD,0HAAA,yBAAyB,OAAA;AAClC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAMsB;AALpB,iHAAA,mBAAmB,OAAA;AACnB,gHAAA,kBAAkB,OAAA;AAClB,mHAAA,qBAAqB,OAAA;AACrB,4HAAA,8BAA8B,OAAA;AAC9B,+GAAA,iBAAiB,OAAA;AAEnB,yDAAuG;AAA9F,qHAAA,gBAAgB,OAAA;AAAuB,8HAAA,yBAAyB,OAAA;AACzE,mDAAmF;AAA1E,mHAAA,iBAAiB,OAAA;AAAE,8HAAA,4BAA4B,OAAA;AACxD,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,+CAA6G;AAApG,wGAAA,QAAQ,OAAA;AAAE,4GAAA,YAAY,OAAA;AAAE,oHAAA,oBAAoB,OAAA;AAAE,6HAAA,6BAA6B,OAAA;AACpF,iDAA4D;AAAnD,0HAAA,yBAAyB,OAAA;AAClC,uCAQoB;AAPlB,yHAAA,6BAA6B,OAAA;AAC7B,wHAAA,4BAA4B,OAAA;AAC5B,sHAAA,0BAA0B,OAAA;AAC1B,6HAAA,iCAAiC,OAAA;AACjC,0GAAA,cAAc,OAAA;AACd,8GAAA,kBAAkB,OAAA;AAClB,uHAAA,2BAA2B,OAAA;AAEhB,QAAA,WAAW,GAAG,KAAK,CAAC;AACjC,iDAOyB;AANvB,gHAAA,eAAe,OAAA;AACf,gIAAA,+BAA+B,OAAA;AAC/B,gHAAA,eAAe,OAAA;AACf,4HAAA,2BAA2B,OAAA;AAC3B,gIAAA,+BAA+B,OAAA;AAIjC,oEAAkD;AAClD,kDAAgC"}
|
@@ -1,2 +1,11 @@
|
|
1
|
+
import { ObjectTypeDefinitionNode } from 'graphql';
|
2
|
+
import { Expression } from 'graphql-mapping-template';
|
3
|
+
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
1
4
|
export declare const getParameterStoreSecretPath: (secret: string, secretsKey: string, apiName: string, environmentName: string, appId: string) => string;
|
5
|
+
export declare const getNonScalarFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
|
6
|
+
export declare const getArrayFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
|
7
|
+
export declare const constructNonScalarFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
|
8
|
+
export declare const constructArrayFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
|
9
|
+
export declare const constructFieldMappingInput: () => Expression;
|
10
|
+
export declare const constructAuthFilterStatement: (keyName: string) => Expression;
|
2
11
|
//# sourceMappingURL=rds-util.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rds-util.d.ts","sourceRoot":"","sources":["../../src/utils/rds-util.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"rds-util.d.ts","sourceRoot":"","sources":["../../src/utils/rds-util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqD,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACtG,OAAO,EAAsB,UAAU,EAAwD,MAAM,0BAA0B,CAAC;AAEhI,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAYzF,eAAO,MAAM,2BAA2B,WAC9B,MAAM,cACF,MAAM,WACT,MAAM,mBACE,MAAM,SAChB,MAAM,KACZ,MAWF,CAAC;AAEF,eAAO,MAAM,kBAAkB,WAAY,wBAAwB,GAAG,SAAS,OAAO,0BAA0B,KAAG,MAAM,EAMxH,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,wBAAwB,GAAG,SAAS,OAAO,0BAA0B,KAAG,MAAM,EAKpH,CAAC;AAEF,eAAO,MAAM,iCAAiC,cAAe,MAAM,OAAO,0BAA0B,KAAG,UACyB,CAAC;AAEjI,eAAO,MAAM,6BAA6B,cAAe,MAAM,OAAO,0BAA0B,KAAG,UACqB,CAAC;AAEzH,eAAO,MAAM,0BAA0B,QAAO,UAU7C,CAAC;AAEF,eAAO,MAAM,4BAA4B,YAAa,MAAM,KAAG,UAC+D,CAAC"}
|