@suss/contract-appsync 0.10.0 → 0.12.0

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/dist/index.cjs CHANGED
@@ -393,7 +393,9 @@ function parseSchema(sdl) {
393
393
  return index;
394
394
  }
395
395
  for (const def of doc.definitions) {
396
- if (def.kind !== import_graphql.Kind.OBJECT_TYPE_DEFINITION && def.kind !== import_graphql.Kind.OBJECT_TYPE_EXTENSION && def.kind !== import_graphql.Kind.INTERFACE_TYPE_DEFINITION) {
396
+ if (def.kind !== import_graphql.Kind.OBJECT_TYPE_DEFINITION && def.kind !== import_graphql.Kind.OBJECT_TYPE_EXTENSION && def.kind !== import_graphql.Kind.INTERFACE_TYPE_DEFINITION && // A schema splits an interface the same way it splits a type, so
397
+ // wherever an interface counts, so does an extension of one.
398
+ def.kind !== import_graphql.Kind.INTERFACE_TYPE_EXTENSION) {
397
399
  continue;
398
400
  }
399
401
  const typeName = def.name.value;
package/dist/index.js CHANGED
@@ -361,7 +361,9 @@ function parseSchema(sdl) {
361
361
  return index;
362
362
  }
363
363
  for (const def of doc.definitions) {
364
- if (def.kind !== Kind.OBJECT_TYPE_DEFINITION && def.kind !== Kind.OBJECT_TYPE_EXTENSION && def.kind !== Kind.INTERFACE_TYPE_DEFINITION) {
364
+ if (def.kind !== Kind.OBJECT_TYPE_DEFINITION && def.kind !== Kind.OBJECT_TYPE_EXTENSION && def.kind !== Kind.INTERFACE_TYPE_DEFINITION && // A schema splits an interface the same way it splits a type, so
365
+ // wherever an interface counts, so does an extension of one.
366
+ def.kind !== Kind.INTERFACE_TYPE_EXTENSION) {
365
367
  continue;
366
368
  }
367
369
  const typeName = def.name.value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/contract-appsync",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "type": "module",
5
5
  "description": "Generate suss behavioral summaries from AWS AppSync in CloudFormation (AWS::AppSync::*) and SAM (AWS::Serverless::GraphQLApi) templates, including external .graphql schema files (GraphQL schema-first).",
6
6
  "keywords": [
@@ -46,9 +46,9 @@
46
46
  "typecheck": "tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@suss/behavioral-ir": "0.10.0",
50
- "@suss/contract-graphql": "0.10.0",
51
- "@suss/manifest-aws": "0.10.0",
49
+ "@suss/behavioral-ir": "0.12.0",
50
+ "@suss/contract-graphql": "0.12.0",
51
+ "@suss/manifest-aws": "0.12.0",
52
52
  "graphql": "^16.8.0"
53
53
  },
54
54
  "devDependencies": {