Skip to content

Commit

Permalink
typealias schemagenerations to schemaqueries
Browse files Browse the repository at this point in the history
  • Loading branch information
atierian committed Sep 3, 2024
1 parent 9205ea4 commit 5c412eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"$ref": "#/definitions/SchemaInputs"
},
"generations": {
"$ref": "#/definitions/SchemaQueries"
"$ref": "#/definitions/SchemaGenerations"
}
},
"required": [
Expand Down Expand Up @@ -535,6 +535,9 @@
],
"additionalProperties": false,
"description": "Input Definition"
},
"SchemaGenerations": {
"$ref": "#/definitions/SchemaQueries"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
mutations?: SchemaMutations;
subscriptions?: SchemaSubscriptions;
inputs?: SchemaInputs;
generations?: SchemaQueries;
generations?: SchemaGenerations;
};
/**
* Top-level Entities on a Schema
Expand All @@ -31,6 +31,7 @@ export type SchemaQueries = Record<string, SchemaQuery>;
export type SchemaMutations = Record<string, SchemaMutation>;
export type SchemaSubscriptions = Record<string, SchemaSubscription>;
export type SchemaInputs = Record<string, Input>;
export type SchemaGenerations = SchemaQueries;

export type SchemaModel = {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/appsync-modelgen-plugin/src/validate-cjs.js

Large diffs are not rendered by default.

0 comments on commit 5c412eb

Please sign in to comment.