@aws-cdk/aws-appsync-alpha
Advanced tools
Comparing version 2.34.0-alpha.0 to 2.34.1-alpha.0
@@ -71,3 +71,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
AppsyncFunction[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.AppsyncFunction", version: "2.34.0-alpha.0" }; | ||
AppsyncFunction[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.AppsyncFunction", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwc3luYy1mdW5jdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcHN5bmMtZnVuY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsNkNBQTREO0FBRTVELHlEQUFtRTtBQTJFbkU7Ozs7OztHQU1HO0FBQ0gsTUFBYSxlQUFnQixTQUFRLHNCQUFRO0lBNEMzQyxZQUFtQixLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUEyQjtRQUMxRSxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDOzs7Ozs7K0NBN0NSLGVBQWU7Ozs7UUE4Q3hCLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxzQ0FBd0IsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQzdELElBQUksRUFBRSxLQUFLLENBQUMsSUFBSTtZQUNoQixXQUFXLEVBQUUsS0FBSyxDQUFDLFdBQVc7WUFDOUIsS0FBSyxFQUFFLEtBQUssQ0FBQyxHQUFHLENBQUMsS0FBSztZQUN0QixjQUFjLEVBQUUsS0FBSyxDQUFDLFVBQVUsQ0FBQyxJQUFJO1lBQ3JDLGVBQWUsRUFBRSxZQUFZO1lBQzdCLHNCQUFzQixFQUFFLEtBQUssQ0FBQyxzQkFBc0IsRUFBRSxjQUFjLEVBQUU7WUFDdEUsd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dW5jdGlvbkFybjtcbiAgICB0aGlzLmZ1bmN0aW9uSWQgPSB0aGlzLmZ1bmN0aW9uLmF0dHJGdW5jdGlvbklkO1xuICAgIHRoaXMuZGF0YVNvdXJjZSA9IHByb3BzLmRhdGFTb3VyY2U7XG5cbiAgICB0aGlzLmZ1bmN0aW9uLmFkZERlcGVuZHNPbih0aGlzLmRhdGFTb3VyY2UuZHMpO1xuICAgIHByb3BzLmFwaS5hZGRTY2hlbWFEZXBlbmRlbmN5KHRoaXMuZnVuY3Rpb24pO1xuICB9XG59Il19 |
@@ -85,3 +85,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
BaseDataSource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.BaseDataSource", version: "2.34.0-alpha.0" }; | ||
BaseDataSource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.BaseDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -108,3 +108,3 @@ * Abstract AppSync datasource implementation. Do not use directly but use subclasses for resource backed datasources | ||
_b = JSII_RTTI_SYMBOL_1; | ||
BackedDataSource[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.BackedDataSource", version: "2.34.0-alpha.0" }; | ||
BackedDataSource[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.BackedDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -131,3 +131,3 @@ * An AppSync dummy datasource | ||
_c = JSII_RTTI_SYMBOL_1; | ||
NoneDataSource[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.NoneDataSource", version: "2.34.0-alpha.0" }; | ||
NoneDataSource[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.NoneDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -165,3 +165,3 @@ * An AppSync datasource backed by a DynamoDB table | ||
_d = JSII_RTTI_SYMBOL_1; | ||
DynamoDbDataSource[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.DynamoDbDataSource", version: "2.34.0-alpha.0" }; | ||
DynamoDbDataSource[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.DynamoDbDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -196,3 +196,3 @@ * An AppSync datasource backed by a http endpoint | ||
_e = JSII_RTTI_SYMBOL_1; | ||
HttpDataSource[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.HttpDataSource", version: "2.34.0-alpha.0" }; | ||
HttpDataSource[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.HttpDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -223,3 +223,3 @@ * An AppSync datasource backed by a Lambda function | ||
_f = JSII_RTTI_SYMBOL_1; | ||
LambdaDataSource[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.LambdaDataSource", version: "2.34.0-alpha.0" }; | ||
LambdaDataSource[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.LambdaDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -281,3 +281,3 @@ * An AppSync datasource backed by RDS | ||
_g = JSII_RTTI_SYMBOL_1; | ||
RdsDataSource[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.RdsDataSource", version: "2.34.0-alpha.0" }; | ||
RdsDataSource[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.RdsDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -312,3 +312,3 @@ * An Appsync datasource backed by Elasticsearch | ||
_h = JSII_RTTI_SYMBOL_1; | ||
ElasticsearchDataSource[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.ElasticsearchDataSource", version: "2.34.0-alpha.0" }; | ||
ElasticsearchDataSource[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.ElasticsearchDataSource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -340,3 +340,3 @@ * An Appsync datasource backed by OpenSearch | ||
_j = JSII_RTTI_SYMBOL_1; | ||
OpenSearchDataSource[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.OpenSearchDataSource", version: "2.34.0-alpha.0" }; | ||
OpenSearchDataSource[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.OpenSearchDataSource", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS1zb3VyY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkYXRhLXNvdXJjZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFFQSxpREFBbUc7QUFLbkcsNkNBQXVEO0FBQ3ZELDJDQUF1QztBQUN2Qyx5REFBK0U7QUFDL0UseURBQXdEO0FBRXhELHlDQUF5RDtBQW1GekQ7O0dBRUc7QUFDSCxNQUFzQixjQUFlLFNBQVEsc0JBQVM7SUFhcEQsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUE0QixFQUFFLFFBQWlDO1FBQ3ZHLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxDQUFDLENBQUM7Ozs7Ozs7K0NBZEMsY0FBYzs7OztRQWdCaEMsSUFBSSxRQUFRLENBQUMsSUFBSSxLQUFLLE1BQU0sRUFBRTtZQUM1QixJQUFJLENBQUMsV0FBVyxHQUFHLEtBQUssQ0FBQyxXQUFXLElBQUksSUFBSSxjQUFJLENBQUMsSUFBSSxFQUFFLGFBQWEsRUFBRSxFQUFFLFNBQVMsRUFBRSxJQUFJLDBCQUFnQixDQUFDLFNBQVMsQ0FBQyxFQUFFLENBQUMsQ0FBQztTQUN2SDtRQUNELDZHQUE2RztRQUM3RyxNQUFNLElBQUksR0FBRyxDQUFDLEtBQUssQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLFFBQVEsRUFBRSxFQUFFLENBQUMsQ0FBQztRQUN0RCxJQUFJLENBQUMsRUFBRSxHQUFHLElBQUksMkJBQWEsQ0FBQyxJQUFJLEVBQUUsVUFBVSxFQUFFO1lBQzVDLEtBQUssRUFBR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ciB0aGUgZGF0YSBzb3VyY2VcbiAgICovXG4gIHJlYWRvbmx5IGRvbWFpbjogSU9wZW5TZWFyY2hEb21haW47XG59XG5cbi8qKlxuICogQW4gQXBwc3luYyBkYXRhc291cmNlIGJhY2tlZCBieSBPcGVuU2VhcmNoXG4gKi9cbmV4cG9ydCBjbGFzcyBPcGVuU2VhcmNoRGF0YVNvdXJjZSBleHRlbmRzIEJhY2tlZERhdGFTb3VyY2Uge1xuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBwcm9wczogT3BlblNlYXJjaERhdGFTb3VyY2VQcm9wcykge1xuICAgIHN1cGVyKHNjb3BlLCBpZCwgcHJvcHMsIHtcbiAgICAgIHR5cGU6ICdBTUFaT05fT1BFTlNFQVJDSF9TRVJWSUNFJyxcbiAgICAgIG9wZW5TZWFyY2hTZXJ2aWNlQ29uZmlnOiB7XG4gICAgICAgIGF3c1JlZ2lvbjogcHJvcHMuZG9tYWluLmVudi5yZWdpb24sXG4gICAgICAgIGVuZHBvaW50OiBgaHR0cHM6Ly8ke3Byb3BzLmRvbWFpbi5kb21haW5FbmRwb2ludH1gLFxuICAgICAgfSxcbiAgICB9KTtcblxuICAgIHByb3BzLmRvbWFpbi5ncmFudFJlYWRXcml0ZSh0aGlzKTtcbiAgfVxufVxuIl19 |
@@ -217,3 +217,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
GraphqlApiBase[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApiBase", version: "2.34.0-alpha.0" }; | ||
GraphqlApiBase[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApiBase", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbGFwaS1iYXNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZ3JhcGhxbGFwaS1iYXNlLnRzIl0s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RGF0YVNvdXJjZSh0aGlzLCBpZCwge1xuICAgICAgYXBpOiB0aGlzLFxuICAgICAgbmFtZTogb3B0aW9ucz8ubmFtZSxcbiAgICAgIGRlc2NyaXB0aW9uOiBvcHRpb25zPy5kZXNjcmlwdGlvbixcbiAgICAgIGRvbWFpbixcbiAgICB9KTtcbiAgfVxuXG4gIC8qKlxuICAgKiBjcmVhdGVzIGEgbmV3IHJlc29sdmVyIGZvciB0aGlzIGRhdGFzb3VyY2UgYW5kIEFQSSB1c2luZyB0aGUgZ2l2ZW4gcHJvcGVydGllc1xuICAgKi9cbiAgcHVibGljIGNyZWF0ZVJlc29sdmVyKHByb3BzOiBFeHRlbmRlZFJlc29sdmVyUHJvcHMpOiBSZXNvbHZlciB7XG4gICAgcmV0dXJuIG5ldyBSZXNvbHZlcih0aGlzLCBgJHtwcm9wcy50eXBlTmFtZX0ke3Byb3BzLmZpZWxkTmFtZX1SZXNvbHZlcmAsIHtcbiAgICAgIGFwaTogdGhpcyxcbiAgICAgIC4uLnByb3BzLFxuICAgIH0pO1xuICB9XG5cbiAgLyoqXG4gICAqIEFkZCBzY2hlbWEgZGVwZW5kZW5jeSBpZiBub3QgaW1wb3J0ZWRcbiAgICpcbiAgICogQHBhcmFtIGNvbnN0cnVjdCB0aGUgZGVwZW5kZWVcbiAgICovXG4gIHB1YmxpYyBhZGRTY2hlbWFEZXBlbmRlbmN5KGNvbnN0cnVjdDogQ2ZuUmVzb3VyY2UpOiBib29sZWFuIHtcbiAgICBjb25zdHJ1Y3Q7XG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG59XG4iXX0= |
@@ -133,3 +133,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
IamResource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.IamResource", version: "2.34.0-alpha.0" }; | ||
IamResource[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.IamResource", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -489,3 +489,3 @@ * An AppSync GraphQL API | ||
_b = JSII_RTTI_SYMBOL_1; | ||
GraphqlApi[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApi", version: "2.34.0-alpha.0" }; | ||
GraphqlApi[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlApi", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JhcGhxbGFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImdyYXBocWxhcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBRUEsaURBQXNHO0FBRXRHLDZDQUErRjtBQUUvRix5REFBaUk7QUFDakksdURBQWdFO0FBQ2hFLHFDQUFrQztBQUtsQzs7R0FFRztBQUNILElBQVksaUJBcUJYO0FBckJELFdBQVksaUJBQWlCO0lBQzNCOztPQUVHO0lBQ0gsd0NBQW1CLENBQUE7SUFDbkI7O09BRUc7SUFDSCxvQ0FBZSxDQUFBO0lBQ2Y7O09BRUc7SUFDSCw0REFBdUMsQ0FBQTtJQUN2Qzs7T0FFRztJQUNILDRDQUF1QixDQUFBO0lBQ3ZCOztPQUVHO0lBQ0gsMENBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQXJCVyxpQkFBaUIsR0FBakIseUJBQWlCLEtBQWpCLHlCQUFpQixRQXFCNUI7QUFvQ0Q7O0dBRUc7QUFDSCxJQUFZLHFCQVNYO0FBVEQsV0FBWSxxQkFBcUI7SUFDL0I7O09BRUc7SUFDSCx3Q0FBZSxDQUFBO0lBQ2Y7O09BRUc7SUFDSCxzQ0FBYSxDQUFBO0FBQ2YsQ0FBQyxFQVRXLHFCQUFxQixHQUFyQiw2QkFBcUIsS0FBckIsNkJBQXFCLFFBU2hDO0FBNEhEOztHQUVHO0FBQ0gsSUFBWSxhQWFYO0FBYkQsV0FBWSxhQUFhO0lBQ3ZCOztPQUVHO0lBQ0gsOE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b25cbiAgICogQHBhcmFtIGZpZWxkIHRoZSByZXNvbHZhYmxlIGZpZWxkIHRvIGZvciB0aGlzIFN1YnNjcmlwdGlvblxuICAgKi9cbiAgcHVibGljIGFkZFN1YnNjcmlwdGlvbihmaWVsZE5hbWU6IHN0cmluZywgZmllbGQ6IFJlc29sdmFibGVGaWVsZCk6IE9iamVjdFR5cGUge1xuICAgIHJldHVybiB0aGlzLnNjaGVtYS5hZGRTdWJzY3JpcHRpb24oZmllbGROYW1lLCBmaWVsZCk7XG4gIH1cbn1cbiJdfQ== |
@@ -89,3 +89,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
KeyCondition[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.KeyCondition", version: "2.34.0-alpha.0" }; | ||
KeyCondition[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.KeyCondition", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -114,3 +114,3 @@ * Utility class representing the assigment of a value to an attribute. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
Assign[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Assign", version: "2.34.0-alpha.0" }; | ||
Assign[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Assign", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -139,3 +139,3 @@ * Utility class to allow assigning a value or an auto-generated id | ||
_c = JSII_RTTI_SYMBOL_1; | ||
PartitionKeyStep[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKeyStep", version: "2.34.0-alpha.0" }; | ||
PartitionKeyStep[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKeyStep", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -174,3 +174,3 @@ * Utility class to allow assigning a value or an auto-generated id | ||
_d = JSII_RTTI_SYMBOL_1; | ||
SortKeyStep[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.SortKeyStep", version: "2.34.0-alpha.0" }; | ||
SortKeyStep[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.SortKeyStep", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -216,3 +216,3 @@ * Specifies the assignment to the primary key. It either | ||
_e = JSII_RTTI_SYMBOL_1; | ||
PrimaryKey[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.PrimaryKey", version: "2.34.0-alpha.0" }; | ||
PrimaryKey[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.PrimaryKey", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -244,3 +244,3 @@ * Specifies the assignment to the partition key. It can be | ||
_f = JSII_RTTI_SYMBOL_1; | ||
PartitionKey[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKey", version: "2.34.0-alpha.0" }; | ||
PartitionKey[_f] = { fqn: "@aws-cdk/aws-appsync-alpha.PartitionKey", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -276,3 +276,3 @@ * Specifies the attribute value assignments. | ||
_g = JSII_RTTI_SYMBOL_1; | ||
AttributeValues[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValues", version: "2.34.0-alpha.0" }; | ||
AttributeValues[_g] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValues", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -297,3 +297,3 @@ * Utility class to allow assigning a value to an attribute. | ||
_h = JSII_RTTI_SYMBOL_1; | ||
AttributeValuesStep[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValuesStep", version: "2.34.0-alpha.0" }; | ||
AttributeValuesStep[_h] = { fqn: "@aws-cdk/aws-appsync-alpha.AttributeValuesStep", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -321,3 +321,3 @@ * Factory class for attribute value assignments. | ||
_j = JSII_RTTI_SYMBOL_1; | ||
Values[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.Values", version: "2.34.0-alpha.0" }; | ||
Values[_j] = { fqn: "@aws-cdk/aws-appsync-alpha.Values", version: "2.34.1-alpha.0" }; | ||
//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OL_1; | ||
MappingTemplate[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.MappingTemplate", version: "2.34.0-alpha.0" }; | ||
MappingTemplate[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.MappingTemplate", version: "2.34.1-alpha.0" }; | ||
class StringMappingTemplate extends MappingTemplate { | ||
@@ -125,0 +125,0 @@ constructor(template) { |
@@ -67,3 +67,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Resolver[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Resolver", version: "2.34.0-alpha.0" }; | ||
Resolver[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Resolver", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXNvbHZlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSw2Q0FBb0M7QUFDcEMsMkNBQXVDO0FBRXZDLHlEQUFzRDtBQUV0RCwrQ0FBa0Q7QUF3RWxEOztHQUVHO0FBQ0gsTUFBYSxRQUFTLFNBQVEsc0JBQVM7SUFRckMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxLQUFvQjtRQUM1RCxLQUFLLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDOzs7Ozs7K0NBVFIsUUFBUTs7OztRQVdqQixNQUFNLGNBQWMsR0FBRyxLQUFLLENBQUMsY0FBYyxJQUFJLEtBQUssQ0FBQyxjQUFjLENBQUMsTUFBTSxDQUFDLENBQUM7WUFDMUUsRUFBRSxTQUFTLEVBQUUsS0FBSyxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUMsRUFBRTtZQUNsRSxDQUFDLENBQUMsU0FBUyx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-alpha.0" }; | ||
Directive[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Directive", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -104,0 +104,0 @@ * Enum containing the Types that can be used to define ObjectTypes |
@@ -383,3 +383,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
GraphqlType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlType", version: "2.34.0-alpha.0" }; | ||
GraphqlType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.GraphqlType", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -430,3 +430,3 @@ * Fields build upon Graphql Types and provide typing | ||
_b = JSII_RTTI_SYMBOL_1; | ||
Field[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Field", version: "2.34.0-alpha.0" }; | ||
Field[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.Field", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -457,3 +457,3 @@ * Resolvable Fields build upon Graphql Types and provide fields | ||
_c = JSII_RTTI_SYMBOL_1; | ||
ResolvableField[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.ResolvableField", version: "2.34.0-alpha.0" }; | ||
ResolvableField[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.ResolvableField", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWZpZWxkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2NoZW1hLWZpZWxkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUlBLCtDQUEyRTtBQXNEM0U7Ozs7Ozs7O0dBUUc7QUFDSCxNQUFhLFdBQVc7SUFtT3RCLFlBQXNCLElBQVUsRUFBRSxPQUE0Qjs7Ozs7OzsrQ0FuT25ELFdBQVc7Ozs7UUFvT3BCLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFD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
_a = JSII_RTTI_SYMBOL_1; | ||
InterfaceType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.InterfaceType", version: "2.34.0-alpha.0" }; | ||
InterfaceType[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.InterfaceType", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -212,3 +212,3 @@ * Object Types are types declared by you. | ||
_b = JSII_RTTI_SYMBOL_1; | ||
ObjectType[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.ObjectType", version: "2.34.0-alpha.0" }; | ||
ObjectType[_b] = { fqn: "@aws-cdk/aws-appsync-alpha.ObjectType", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -300,3 +300,3 @@ * Input Types are abstract types that define complex objects. | ||
_c = JSII_RTTI_SYMBOL_1; | ||
InputType[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.InputType", version: "2.34.0-alpha.0" }; | ||
InputType[_c] = { fqn: "@aws-cdk/aws-appsync-alpha.InputType", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -395,3 +395,3 @@ * Union Types are abstract types that are similar to Interface Types, | ||
_d = JSII_RTTI_SYMBOL_1; | ||
UnionType[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.UnionType", version: "2.34.0-alpha.0" }; | ||
UnionType[_d] = { fqn: "@aws-cdk/aws-appsync-alpha.UnionType", version: "2.34.1-alpha.0" }; | ||
/** | ||
@@ -489,3 +489,3 @@ * Enum Types are abstract types that includes a set of fields | ||
_e = JSII_RTTI_SYMBOL_1; | ||
EnumType[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.EnumType", version: "2.34.0-alpha.0" }; | ||
EnumType[_e] = { fqn: "@aws-cdk/aws-appsync-alpha.EnumType", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLWludGVybWVkaWF0ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNja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bXVzdCBjb25maWd1cmUgdGhlIGZpZWxkTmFtZSBvcHRpb24uJyk7XG4gICAgfVxuICAgIGlmIChvcHRpb25zLmZpZWxkTmFtZS5pbmRleE9mKCcgJykgPiAtMSkge1xuICAgICAgdGhyb3cgbmV3IEVycm9yKGBFbnVtIFR5cGUgdmFsdWVzIGNhbm5vdCBoYXZlIHdoaXRlc3BhY2UuIFJlY2VpdmVkOiAke29wdGlvbnMuZmllbGROYW1lfWApO1xuICAgIH1cbiAgICB0aGlzLmRlZmluaXRpb25bb3B0aW9ucy5maWVsZE5hbWVdID0gR3JhcGhxbFR5cGUuc3RyaW5nKCk7XG4gIH1cblxuICAvKipcbiAgICogTWV0aG9kIGNhbGxlZCB3aGVuIHRoZSBzdHJpbmdpZnlpbmcgSW50ZXJtZWRpYXRlIFR5cGVzIGZvciBzY2hlbWEgZ2VuZXJhdGlvblxuICAgKlxuICAgKiBAaW50ZXJuYWxcbiAgICovXG4gIHB1YmxpYyBfYmluZFRvR3JhcGhxbEFwaShhcGk6IEdyYXBocWxBcGkpOiBJSW50ZXJtZWRpYXRlVHlwZSB7XG4gICAgdGhpcy5tb2RlcyA9IGFwaS5tb2RlcztcbiAgICByZXR1cm4gdGhpcztcbiAgfVxufVxuIl19 |
@@ -238,3 +238,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
Schema[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Schema", version: "2.34.0-alpha.0" }; | ||
Schema[_a] = { fqn: "@aws-cdk/aws-appsync-alpha.Schema", version: "2.34.1-alpha.0" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2NoZW1hLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic2NoZW1hLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDJCQUFrQztBQUNsQyw2Q0FBbUM7QUFDbkMseURBQTJEO0FBRTNELHVDQUF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ICAgfVxuICAgIHR5cGUgcm9vdCA9ICdtdXRhdGlvbicgfCAncXVlcnknIHwgJ3N1YnNjcmlwdGlvbic7XG4gICAgY29uc3QgbGlzdDogcm9vdFtdID0gWydxdWVyeScsICdtdXRhdGlvbicsICdzdWJzY3JpcHRpb24nXTtcbiAgICByZXR1cm4gc2hhcGVBZGRpdGlvbih7XG4gICAgICBwcmVmaXg6ICdzY2hlbWEnLFxuICAgICAgZmllbGRzOiBsaXN0Lm1hcCgoa2V5OiByb290KSA9PiB0aGlzW2tleV0gPyBgJHtrZXl9OiAke3RoaXNba2V5XT8ubmFtZX1gIDogJycpXG4gICAgICAgIC5maWx0ZXIoKGZpZWxkKSA9PiBmaWVsZCAhPSAnJyksXG4gICAgfSkgKyAnXFxuJztcbiAgfVxufSJdfQ== |
{ | ||
"name": "@aws-cdk/aws-appsync-alpha", | ||
"version": "2.34.0-alpha.0", | ||
"version": "2.34.1-alpha.0", | ||
"private": false, | ||
@@ -84,9 +84,9 @@ "description": "The CDK Construct Library for AWS::AppSync", | ||
"devDependencies": { | ||
"@aws-cdk/cdk-build-tools": "2.34.0", | ||
"@aws-cdk/integ-runner": "2.34.0", | ||
"@aws-cdk/cfn2ts": "2.34.0", | ||
"@aws-cdk/pkglint": "2.34.0", | ||
"@aws-cdk/cdk-build-tools": "2.34.1", | ||
"@aws-cdk/integ-runner": "2.34.1", | ||
"@aws-cdk/cfn2ts": "2.34.1", | ||
"@aws-cdk/pkglint": "2.34.1", | ||
"@types/jest": "^27.5.2", | ||
"jest": "^27.5.1", | ||
"aws-cdk-lib": "2.34.0", | ||
"aws-cdk-lib": "2.34.1", | ||
"constructs": "^10.0.0" | ||
@@ -97,3 +97,3 @@ }, | ||
"peerDependencies": { | ||
"aws-cdk-lib": "^2.34.0", | ||
"aws-cdk-lib": "^2.34.1", | ||
"constructs": "^10.0.0" | ||
@@ -100,0 +100,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package