@aws-amplify/graphql-maps-to-transformer 2.1.0-cdkv2.3 → 2.1.1-alpha.5

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/API.md ADDED
@@ -0,0 +1,27 @@
1
+ ## API Report File for "@aws-amplify/graphql-maps-to-transformer"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { DirectiveNode } from 'graphql';
8
+ import { ObjectTypeDefinitionNode } from 'graphql';
9
+ import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
10
+ import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
11
+ import { TransformerPreProcessContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
12
+ import { TransformerSchemaVisitStepContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
13
+
14
+ // @public (undocumented)
15
+ export class MapsToTransformer extends TransformerPluginBase {
16
+ constructor();
17
+ // (undocumented)
18
+ after: (context: TransformerContextProvider) => void;
19
+ // (undocumented)
20
+ object: (definition: ObjectTypeDefinitionNode, directive: DirectiveNode, ctx: TransformerSchemaVisitStepContextProvider) => void;
21
+ // (undocumented)
22
+ preMutateSchema: (context: TransformerPreProcessContextProvider) => void;
23
+ }
24
+
25
+ // (No @packageDocumentation comment for this package)
26
+
27
+ ```
package/CHANGELOG.md CHANGED
@@ -3,6 +3,78 @@
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.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.43...@aws-amplify/graphql-maps-to-transformer@2.1.0) (2023-03-01)
7
+
8
+ ### Bug Fixes
9
+
10
+ - lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
11
+ - preserve logical id patterns for dynamodb tables and search domain ([#894](https://github.com/aws-amplify/amplify-category-api/issues/894)) ([7530fc2](https://github.com/aws-amplify/amplify-category-api/commit/7530fc2e9254b621dc3782271318dd3f5c97d2b8))
12
+
13
+ ### Features
14
+
15
+ - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
16
+ - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
17
+
18
+ # [2.1.0-beta.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.42...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.6) (2023-02-21)
19
+
20
+ ### Bug Fixes
21
+
22
+ - lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
23
+ - preserve logical id patterns for dynamodb tables and search domain ([#894](https://github.com/aws-amplify/amplify-category-api/issues/894)) ([7530fc2](https://github.com/aws-amplify/amplify-category-api/commit/7530fc2e9254b621dc3782271318dd3f5c97d2b8))
24
+
25
+ ### Features
26
+
27
+ - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
28
+ - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
29
+
30
+ # [2.1.0-beta.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.42...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.5) (2023-02-15)
31
+
32
+ ### Bug Fixes
33
+
34
+ - lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
35
+ - preserve logical id patterns for dynamodb tables and search domain ([#894](https://github.com/aws-amplify/amplify-category-api/issues/894)) ([7530fc2](https://github.com/aws-amplify/amplify-category-api/commit/7530fc2e9254b621dc3782271318dd3f5c97d2b8))
36
+
37
+ ### Features
38
+
39
+ - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
40
+ - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
41
+
42
+ # [2.1.0-beta.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.41...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.4) (2023-02-03)
43
+
44
+ ### Bug Fixes
45
+
46
+ - lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
47
+ - preserve logical id patterns for dynamodb tables and search domain ([#894](https://github.com/aws-amplify/amplify-category-api/issues/894)) ([7530fc2](https://github.com/aws-amplify/amplify-category-api/commit/7530fc2e9254b621dc3782271318dd3f5c97d2b8))
48
+
49
+ ### Features
50
+
51
+ - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
52
+ - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
53
+
54
+ # [2.1.0-beta.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.38...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.3) (2022-12-27)
55
+
56
+ ### Bug Fixes
57
+
58
+ - lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
59
+ - preserve logical id patterns for dynamodb tables and search domain ([#894](https://github.com/aws-amplify/amplify-category-api/issues/894)) ([7530fc2](https://github.com/aws-amplify/amplify-category-api/commit/7530fc2e9254b621dc3782271318dd3f5c97d2b8))
60
+
61
+ ### Features
62
+
63
+ - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
64
+ - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
65
+
66
+ # [2.1.0-beta.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.0...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.2) (2022-12-12)
67
+
68
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
69
+
70
+ # [2.1.0-beta.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.0...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.1) (2022-11-30)
71
+
72
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
73
+
74
+ # [2.1.0-beta.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@2.1.0-cdkv2.3...@aws-amplify/graphql-maps-to-transformer@2.1.0-beta.0) (2022-11-18)
75
+
76
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
77
+
6
78
  # [2.1.0-cdkv2.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.35...@aws-amplify/graphql-maps-to-transformer@2.1.0-cdkv2.3) (2022-11-15)
7
79
 
8
80
  ### Bug Fixes
@@ -36,6 +108,38 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
36
108
  - migrate auth, maps-to, relational, default value transformer to CDK v2 ([#875](https://github.com/aws-amplify/amplify-category-api/issues/875)) ([5c714a9](https://github.com/aws-amplify/amplify-category-api/commit/5c714a9a8436be343477574cb5523c23c96c9338))
37
109
  - migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
38
110
 
111
+ ## [1.1.43](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.42...@aws-amplify/graphql-maps-to-transformer@1.1.43) (2023-02-27)
112
+
113
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
114
+
115
+ ## [1.1.42](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.41...@aws-amplify/graphql-maps-to-transformer@1.1.42) (2023-02-10)
116
+
117
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
118
+
119
+ ## [1.1.41](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.40...@aws-amplify/graphql-maps-to-transformer@1.1.41) (2023-01-26)
120
+
121
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
122
+
123
+ ## [1.1.40](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.39...@aws-amplify/graphql-maps-to-transformer@1.1.40) (2023-01-12)
124
+
125
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
126
+
127
+ ## [1.1.39](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.38...@aws-amplify/graphql-maps-to-transformer@1.1.39) (2023-01-12)
128
+
129
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
130
+
131
+ ## [1.1.38](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.37...@aws-amplify/graphql-maps-to-transformer@1.1.38) (2022-12-13)
132
+
133
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
134
+
135
+ ## [1.1.37](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.36...@aws-amplify/graphql-maps-to-transformer@1.1.37) (2022-12-09)
136
+
137
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
138
+
139
+ ## [1.1.36](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.35...@aws-amplify/graphql-maps-to-transformer@1.1.36) (2022-12-03)
140
+
141
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
142
+
39
143
  ## [1.1.35](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@1.1.34...@aws-amplify/graphql-maps-to-transformer@1.1.35) (2022-11-08)
40
144
 
41
145
  **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-maps-to-transformer",
3
- "version": "2.1.0-cdkv2.3",
3
+ "version": "2.1.1-alpha.5+d226d0be4",
4
4
  "description": "Amplify GraphQL @mapsTo transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,23 +26,24 @@
26
26
  "build": "tsc && mkdirp lib/assets && cd resources/mapping-lambda-function && bestzip --force node ../../lib/assets/mapping-lambda.zip index.js",
27
27
  "watch": "tsc -w",
28
28
  "clean": "rimraf ./lib tsconfig.tsbuildinfo",
29
- "test": "jest"
29
+ "test": "jest",
30
+ "extract-api": "ts-node ../../scripts/extract-api.ts"
30
31
  },
31
32
  "dependencies": {
32
- "@aws-amplify/graphql-transformer-core": "1.1.0-cdkv2.2",
33
- "@aws-amplify/graphql-transformer-interfaces": "2.1.0-cdkv2.2",
34
- "@aws-cdk/aws-appsync-alpha": "~2.44.0-alpha.0",
35
- "aws-cdk-lib": "~2.44.0",
33
+ "@aws-amplify/graphql-transformer-core": "1.1.1-alpha.5+d226d0be4",
34
+ "@aws-amplify/graphql-transformer-interfaces": "2.1.1-alpha.5+d226d0be4",
35
+ "@aws-cdk/aws-appsync-alpha": "~2.53.0-alpha.0",
36
+ "aws-cdk-lib": "~2.53.0",
36
37
  "constructs": "^10.0.5",
37
- "graphql-mapping-template": "4.20.5",
38
- "graphql-transformer-common": "4.24.0"
38
+ "graphql-mapping-template": "4.20.9-alpha.5+d226d0be4",
39
+ "graphql-transformer-common": "4.24.6-alpha.5+d226d0be4"
39
40
  },
40
41
  "devDependencies": {
41
- "@aws-amplify/graphql-index-transformer": "1.1.0-cdkv2.3",
42
- "@aws-amplify/graphql-model-transformer": "1.1.0-cdkv2.2",
43
- "@aws-amplify/graphql-relational-transformer": "1.1.0-cdkv2.3",
44
- "@aws-amplify/graphql-searchable-transformer": "1.1.0-cdkv2.2",
45
- "graphql": "^14.5.8",
42
+ "@aws-amplify/graphql-index-transformer": "1.1.1-alpha.5+d226d0be4",
43
+ "@aws-amplify/graphql-model-transformer": "1.1.1-alpha.5+d226d0be4",
44
+ "@aws-amplify/graphql-relational-transformer": "1.1.1-alpha.5+d226d0be4",
45
+ "@aws-amplify/graphql-searchable-transformer": "1.1.1-alpha.5+d226d0be4",
46
+ "graphql": "^15.5.0",
46
47
  "mkdirp": "^0.5.5"
47
48
  },
48
49
  "jest": {
@@ -60,5 +61,5 @@
60
61
  ],
61
62
  "collectCoverage": true
62
63
  },
63
- "gitHead": "a0a013970efc5e149997bdf1b6d67c22e8b7a3c8"
64
+ "gitHead": "d226d0be4bd07c92594122137b45b09a1954d525"
64
65
  }