@aws-amplify/graphql-index-transformer 0.14.5 → 0.14.6-circular-dep-fix.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/API.md +48 -0
  2. package/CHANGELOG.md +4 -0
  3. package/package.json +9 -8
package/API.md ADDED
@@ -0,0 +1,48 @@
1
+ ## API Report File for "@aws-amplify/graphql-index-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 { FieldDefinitionNode } from 'graphql';
9
+ import { InterfaceTypeDefinitionNode } from 'graphql';
10
+ import { ObjectTypeDefinitionNode } from 'graphql';
11
+ import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
12
+ import { TransformerPluginBase } from '@aws-amplify/graphql-transformer-core';
13
+ import { TransformerSchemaVisitStepContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
14
+ import { TransformerTransformSchemaStepContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
15
+ import { TypeNode } from 'graphql';
16
+
17
+ // @public (undocumented)
18
+ export function attributeTypeFromType(type: TypeNode, ctx: TransformerContextProvider): "S" | "N";
19
+
20
+ // @public (undocumented)
21
+ export class IndexTransformer extends TransformerPluginBase {
22
+ constructor();
23
+ // (undocumented)
24
+ after: (ctx: TransformerContextProvider) => void;
25
+ // (undocumented)
26
+ field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
27
+ // (undocumented)
28
+ generateResolvers: (ctx: TransformerContextProvider) => void;
29
+ // (undocumented)
30
+ transformSchema: (ctx: TransformerTransformSchemaStepContextProvider) => void;
31
+ }
32
+
33
+ // @public (undocumented)
34
+ export class PrimaryKeyTransformer extends TransformerPluginBase {
35
+ constructor();
36
+ // (undocumented)
37
+ after: (ctx: TransformerContextProvider) => void;
38
+ // (undocumented)
39
+ field: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void;
40
+ // (undocumented)
41
+ generateResolvers: (ctx: TransformerContextProvider) => void;
42
+ // (undocumented)
43
+ transformSchema: (ctx: TransformerTransformSchemaStepContextProvider) => void;
44
+ }
45
+
46
+ // (No @packageDocumentation comment for this package)
47
+
48
+ ```
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
+ ## [0.14.6-circular-dep-fix.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@0.14.5...@aws-amplify/graphql-index-transformer@0.14.6-circular-dep-fix.0) (2022-12-15)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-index-transformer
9
+
6
10
  ## [0.14.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@0.14.4...@aws-amplify/graphql-index-transformer@0.14.5) (2022-12-13)
7
11
 
8
12
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-index-transformer",
3
- "version": "0.14.5",
3
+ "version": "0.14.6-circular-dep-fix.0",
4
4
  "description": "Amplify GraphQL index and key transformers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,18 +24,19 @@
24
24
  "build": "tsc",
25
25
  "watch": "tsc -w",
26
26
  "clean": "rimraf ./lib",
27
- "test": "jest"
27
+ "test": "jest",
28
+ "extract-api": "ts-node ../../scripts/extract-api.ts"
28
29
  },
29
30
  "dependencies": {
30
- "@aws-amplify/graphql-model-transformer": "0.16.4",
31
- "@aws-amplify/graphql-transformer-core": "0.18.0",
32
- "@aws-amplify/graphql-transformer-interfaces": "1.14.9",
31
+ "@aws-amplify/graphql-model-transformer": "0.16.5-circular-dep-fix.0",
32
+ "@aws-amplify/graphql-transformer-core": "0.18.1-circular-dep-fix.0",
33
+ "@aws-amplify/graphql-transformer-interfaces": "1.14.10-circular-dep-fix.0",
33
34
  "@aws-cdk/aws-appsync": "~1.172.0",
34
35
  "@aws-cdk/aws-dynamodb": "~1.172.0",
35
36
  "@aws-cdk/core": "~1.172.0",
36
37
  "graphql": "^14.5.8",
37
- "graphql-mapping-template": "4.20.5",
38
- "graphql-transformer-common": "4.24.1"
38
+ "graphql-mapping-template": "4.20.6-circular-dep-fix.0",
39
+ "graphql-transformer-common": "4.24.2-circular-dep-fix.0"
39
40
  },
40
41
  "devDependencies": {
41
42
  "@aws-cdk/assert": "~1.172.0"
@@ -58,5 +59,5 @@
58
59
  ],
59
60
  "collectCoverage": true
60
61
  },
61
- "gitHead": "ff39687fa1a938b1152a962fb510995c645ac011"
62
+ "gitHead": "0d883702780b9c8abe252117ca786d41b1de3b93"
62
63
  }