@aws-amplify/graphql-index-transformer 1.1.1-alpha.5 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/lib/types.d.ts +2 -2
- package/lib/types.d.ts.map +1 -1
- package/package.json +9 -10
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@1.1.0...@aws-amplify/graphql-index-transformer@1.1.1) (2023-03-15)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
|
+
|
6
10
|
# [1.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@0.14.10...@aws-amplify/graphql-index-transformer@1.1.0) (2023-03-01)
|
7
11
|
|
8
12
|
### Bug Fixes
|
package/lib/types.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DirectiveNode, FieldDefinitionNode, ObjectTypeDefinitionNode } from 'graphql';
|
2
|
-
export
|
2
|
+
export type PrimaryKeyDirectiveConfiguration = {
|
3
3
|
object: ObjectTypeDefinitionNode;
|
4
4
|
field: FieldDefinitionNode;
|
5
5
|
directive: DirectiveNode;
|
@@ -7,7 +7,7 @@ export declare type PrimaryKeyDirectiveConfiguration = {
|
|
7
7
|
sortKey: FieldDefinitionNode[];
|
8
8
|
modelDirective: DirectiveNode;
|
9
9
|
};
|
10
|
-
export
|
10
|
+
export type IndexDirectiveConfiguration = PrimaryKeyDirectiveConfiguration & {
|
11
11
|
name: string | null;
|
12
12
|
queryField: string | null;
|
13
13
|
primaryKeyField: FieldDefinitionNode;
|
package/lib/types.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEvF,
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEvF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,MAAM,EAAE,wBAAwB,CAAC;IACjC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,SAAS,EAAE,aAAa,CAAC;IACzB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,OAAO,EAAE,mBAAmB,EAAE,CAAC;IAC/B,cAAc,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,gCAAgC,GAAG;IAC3E,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,eAAe,EAAE,mBAAmB,CAAC;CACtC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-index-transformer",
|
3
|
-
"version": "1.1.1
|
3
|
+
"version": "1.1.1",
|
4
4
|
"description": "Amplify GraphQL index and key transformers",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -28,18 +28,17 @@
|
|
28
28
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
29
29
|
},
|
30
30
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-model-transformer": "1.1.1
|
32
|
-
"@aws-amplify/graphql-transformer-core": "1.1.1
|
33
|
-
"@aws-amplify/graphql-transformer-interfaces": "2.1.1
|
34
|
-
"
|
35
|
-
"aws-cdk-lib": "~2.53.0",
|
31
|
+
"@aws-amplify/graphql-model-transformer": "1.1.1",
|
32
|
+
"@aws-amplify/graphql-transformer-core": "1.1.1",
|
33
|
+
"@aws-amplify/graphql-transformer-interfaces": "2.1.1",
|
34
|
+
"aws-cdk-lib": "~2.68.0",
|
36
35
|
"constructs": "^10.0.5",
|
37
36
|
"graphql": "^15.5.0",
|
38
|
-
"graphql-mapping-template": "4.20.
|
39
|
-
"graphql-transformer-common": "4.24.
|
37
|
+
"graphql-mapping-template": "4.20.8",
|
38
|
+
"graphql-transformer-common": "4.24.5"
|
40
39
|
},
|
41
40
|
"peerDependencies": {
|
42
|
-
"amplify-cli-core": "^4.0.0
|
41
|
+
"amplify-cli-core": "^4.0.0"
|
43
42
|
},
|
44
43
|
"jest": {
|
45
44
|
"transform": {
|
@@ -56,5 +55,5 @@
|
|
56
55
|
],
|
57
56
|
"collectCoverage": true
|
58
57
|
},
|
59
|
-
"gitHead": "
|
58
|
+
"gitHead": "3ffb7888697cfaf1afb0751c53cfa9c36d9671c5"
|
60
59
|
}
|