From fa4d5da306ef680fef78040b2010c2b1a3575b93 Mon Sep 17 00:00:00 2001 From: Tim Schmelter Date: Fri, 24 May 2024 07:21:34 -0700 Subject: [PATCH] chore: add a 'api contract' comment to MIS preamble (#850) --- .../src/interfaces/introspection/model-schema.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/appsync-modelgen-plugin/src/interfaces/introspection/model-schema.ts b/packages/appsync-modelgen-plugin/src/interfaces/introspection/model-schema.ts index eba55bca..146e78b9 100644 --- a/packages/appsync-modelgen-plugin/src/interfaces/introspection/model-schema.ts +++ b/packages/appsync-modelgen-plugin/src/interfaces/introspection/model-schema.ts @@ -1,3 +1,12 @@ +// This file defines the Model Introspection Schema contract between Amplify Data and its consumers, including: +// - Gen1 CLI +// - Gen1 Studio +// - Gen2 CLI +// - Gen2 Console +// - Gen2 data-client +// +// Any change to this file represents a change in that API, and must be reviewed as such. + /** * Root Schema Representation */ @@ -129,4 +138,4 @@ export type Argument = { isArray: boolean; isRequired: boolean; isArrayNullable?: boolean; -} \ No newline at end of file +}