@aws-amplify/core 6.4.1-unstable.a76b594.0 → 6.4.1

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.
@@ -3,5 +3,5 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.version = void 0;
5
5
  // generated by genversion
6
- exports.version = '6.6.1-unstable.a76b594.0+a76b594';
6
+ exports.version = '6.6.1';
7
7
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../../src/Platform/version.ts"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.version = void 0;\n// generated by genversion\nexports.version = '6.6.1-unstable.a76b594.0+a76b594';\n"],"names":[],"mappings":";;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;AACzB;AACA,OAAO,CAAC,OAAO,GAAG,kCAAkC;;"}
1
+ {"version":3,"file":"version.js","sources":["../../../src/Platform/version.ts"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.version = void 0;\n// generated by genversion\nexports.version = '6.6.1';\n"],"names":[],"mappings":";;AACA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC9D,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,CAAC;AACzB;AACA,OAAO,CAAC,OAAO,GAAG,OAAO;;"}
@@ -1 +1 @@
1
- export declare const version = "6.6.1-unstable.a76b594.0+a76b594";
1
+ export declare const version = "6.6.1";
@@ -1,5 +1,5 @@
1
1
  // generated by genversion
2
- const version = '6.6.1-unstable.a76b594.0+a76b594';
2
+ const version = '6.6.1';
3
3
 
4
4
  export { version };
5
5
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../src/Platform/version.ts"],"sourcesContent":["// generated by genversion\nexport const version = '6.6.1-unstable.a76b594.0+a76b594';\n"],"names":[],"mappings":"AAAA;AACY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../src/Platform/version.ts"],"sourcesContent":["// generated by genversion\nexport const version = '6.6.1';\n"],"names":[],"mappings":"AAAA;AACY,MAAC,OAAO,GAAG;;;;"}
@@ -88,6 +88,8 @@ export interface ModelIntrospectionSchema {
88
88
  queries?: CustomOperations;
89
89
  mutations?: CustomOperations;
90
90
  subscriptions?: CustomOperations;
91
+ conversations?: SchemaConversationRoutes;
92
+ generations?: SchemaGenerationRoutes;
91
93
  }
92
94
  /**
93
95
  * Top-level Entities on a Schema
@@ -96,6 +98,24 @@ export type SchemaModels = Record<string, SchemaModel>;
96
98
  export type SchemaNonModels = Record<string, SchemaNonModel>;
97
99
  export type SchemaEnums = Record<string, SchemaEnum>;
98
100
  export type CustomOperations = Record<string, CustomOperation>;
101
+ type SchemaConversationRoutes = Record<string, SchemaConversationRoute>;
102
+ type SchemaGenerationRoutes = Record<string, CustomOperation>;
103
+ interface SchemaConversationRoute {
104
+ name: string;
105
+ models: SchemaModels;
106
+ nonModels: SchemaNonModels;
107
+ enums: SchemaEnums;
108
+ conversation: SchemaConversation;
109
+ message: SchemaConversationMessage;
110
+ }
111
+ interface SchemaConversation {
112
+ modelName: string;
113
+ }
114
+ interface SchemaConversationMessage {
115
+ modelName: string;
116
+ subscribe: CustomOperation;
117
+ send: CustomOperation;
118
+ }
99
119
  export interface SchemaModel {
100
120
  name: string;
101
121
  attributes?: ModelAttribute[];
@@ -134,7 +154,7 @@ export interface CustomOperation {
134
154
  export type CustomOperationArguments = Record<string, CustomOperationArgument>;
135
155
  export interface CustomOperationArgument {
136
156
  name: string;
137
- type: FieldType;
157
+ type: InputFieldType;
138
158
  isArray: boolean;
139
159
  isRequired: boolean;
140
160
  isArrayNullable?: boolean;
@@ -159,9 +179,15 @@ export interface ModelFieldType {
159
179
  export interface NonModelFieldType {
160
180
  nonModel: string;
161
181
  }
162
- export type FieldType = 'ID' | 'String' | 'Int' | 'Float' | 'AWSDate' | 'AWSTime' | 'AWSDateTime' | 'AWSTimestamp' | 'AWSEmail' | 'AWSURL' | 'AWSIPAddress' | 'Boolean' | 'AWSJSON' | 'AWSPhone' | {
182
+ interface EnumType {
163
183
  enum: string;
164
- } | ModelFieldType | NonModelFieldType;
184
+ }
185
+ interface InputType {
186
+ input: string;
187
+ }
188
+ type ScalarType = 'ID' | 'String' | 'Int' | 'Float' | 'AWSDate' | 'AWSTime' | 'AWSDateTime' | 'AWSTimestamp' | 'AWSEmail' | 'AWSURL' | 'AWSIPAddress' | 'Boolean' | 'AWSJSON' | 'AWSPhone';
189
+ type FieldType = ScalarType | EnumType | ModelFieldType | NonModelFieldType;
190
+ type InputFieldType = ScalarType | EnumType | InputType;
165
191
  export type FieldAttribute = ModelAttribute;
166
192
  /**
167
193
  * Field-level Relationship Definitions
@@ -193,3 +219,4 @@ export interface PrimaryKeyInfo {
193
219
  primaryKeyFieldName: string;
194
220
  sortKeyFieldNames: string[];
195
221
  }
222
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/core",
3
- "version": "6.4.1-unstable.a76b594.0+a76b594",
3
+ "version": "6.4.1",
4
4
  "description": "Core category of aws-amplify",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -60,7 +60,7 @@
60
60
  "uuid": "^9.0.0"
61
61
  },
62
62
  "devDependencies": {
63
- "@aws-amplify/react-native": "1.1.6-unstable.a76b594.0+a76b594",
63
+ "@aws-amplify/react-native": "1.1.5",
64
64
  "@types/js-cookie": "3.0.2",
65
65
  "genversion": "^2.2.0",
66
66
  "typescript": "5.0.2"
@@ -192,5 +192,5 @@
192
192
  ]
193
193
  }
194
194
  },
195
- "gitHead": "a76b594562430a85fd37f00bb2788959f7a69d6a"
195
+ "gitHead": "1c379970ce9e32c402b0c23f207c246eb8ffac24"
196
196
  }
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '6.6.1-unstable.a76b594.0+a76b594';
2
+ export const version = '6.6.1';
@@ -111,6 +111,8 @@ export interface ModelIntrospectionSchema {
111
111
  queries?: CustomOperations;
112
112
  mutations?: CustomOperations;
113
113
  subscriptions?: CustomOperations;
114
+ conversations?: SchemaConversationRoutes;
115
+ generations?: SchemaGenerationRoutes;
114
116
  }
115
117
 
116
118
  /**
@@ -120,6 +122,27 @@ export type SchemaModels = Record<string, SchemaModel>;
120
122
  export type SchemaNonModels = Record<string, SchemaNonModel>;
121
123
  export type SchemaEnums = Record<string, SchemaEnum>;
122
124
  export type CustomOperations = Record<string, CustomOperation>;
125
+ type SchemaConversationRoutes = Record<string, SchemaConversationRoute>;
126
+ type SchemaGenerationRoutes = Record<string, CustomOperation>;
127
+
128
+ interface SchemaConversationRoute {
129
+ name: string;
130
+ models: SchemaModels;
131
+ nonModels: SchemaNonModels;
132
+ enums: SchemaEnums;
133
+ conversation: SchemaConversation;
134
+ message: SchemaConversationMessage;
135
+ }
136
+
137
+ interface SchemaConversation {
138
+ modelName: string;
139
+ }
140
+
141
+ interface SchemaConversationMessage {
142
+ modelName: string;
143
+ subscribe: CustomOperation;
144
+ send: CustomOperation;
145
+ }
123
146
 
124
147
  export interface SchemaModel {
125
148
  name: string;
@@ -164,7 +187,7 @@ export type CustomOperationArguments = Record<string, CustomOperationArgument>;
164
187
 
165
188
  export interface CustomOperationArgument {
166
189
  name: string;
167
- type: FieldType;
190
+ type: InputFieldType;
168
191
  isArray: boolean;
169
192
  isRequired: boolean;
170
193
  isArrayNullable?: boolean;
@@ -192,7 +215,15 @@ export interface NonModelFieldType {
192
215
  nonModel: string;
193
216
  }
194
217
 
195
- export type FieldType =
218
+ interface EnumType {
219
+ enum: string;
220
+ }
221
+
222
+ interface InputType {
223
+ input: string;
224
+ }
225
+
226
+ type ScalarType =
196
227
  | 'ID'
197
228
  | 'String'
198
229
  | 'Int'
@@ -206,10 +237,12 @@ export type FieldType =
206
237
  | 'AWSIPAddress'
207
238
  | 'Boolean'
208
239
  | 'AWSJSON'
209
- | 'AWSPhone'
210
- | { enum: string }
211
- | ModelFieldType
212
- | NonModelFieldType;
240
+ | 'AWSPhone';
241
+
242
+ type FieldType = ScalarType | EnumType | ModelFieldType | NonModelFieldType;
243
+
244
+ type InputFieldType = ScalarType | EnumType | InputType;
245
+
213
246
  export type FieldAttribute = ModelAttribute;
214
247
 
215
248
  /**