@aws-amplify/core 6.0.16-unstable.5e30055.0 → 6.0.16

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.0.16-unstable.5e30055.0+5e30055';
6
+ exports.version = '6.0.16';
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.0.16-unstable.5e30055.0+5e30055';\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,mCAAmC;;"}
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.0.16';\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,QAAQ;;"}
@@ -1 +1 @@
1
- export declare const version = "6.0.16-unstable.5e30055.0+5e30055";
1
+ export declare const version = "6.0.16";
@@ -1,5 +1,5 @@
1
1
  // generated by genversion
2
- const version = '6.0.16-unstable.5e30055.0+5e30055';
2
+ const version = '6.0.16';
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.0.16-unstable.5e30055.0+5e30055';\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.0.16';\n"],"names":[],"mappings":"AAAA;AACY,MAAC,OAAO,GAAG;;;;"}
@@ -7,7 +7,7 @@ export { amplifyUuid } from './utils/amplifyUuid';
7
7
  export { AmplifyUrl, AmplifyUrlSearchParams } from './utils/amplifyUrl';
8
8
  export { decodeJWT, assertTokenProviderConfig, assertIdentityPoolIdConfig, assertOAuthConfig, } from './singleton/Auth/utils';
9
9
  export { isTokenExpired } from './singleton/Auth';
10
- export { AssociationBelongsTo, AssociationHasMany, AssociationHasOne, DocumentType, GraphQLAuthMode, ModelFieldType, ModelIntrospectionSchema, SchemaModel, SchemaModels, } from './singleton/API/types';
10
+ export { AssociationBelongsTo, AssociationHasMany, AssociationHasOne, DocumentType, GraphQLAuthMode, ModelFieldType, ModelIntrospectionSchema, SchemaModel, SchemaModels, ModelAttribute, SecondaryIndexAttribute, } from './singleton/API/types';
11
11
  export { Signer } from './Signer';
12
12
  export { JWT, StrictUnion, CognitoIdentityPoolConfig, JwtPayload, AuthStandardAttributeKey, AuthVerifiableAttributeKey, AWSCredentials, } from './singleton/Auth/types';
13
13
  export { haveCredentialsChanged } from './utils/haveCredentialsChanged';
@@ -114,6 +114,14 @@ export type ModelAttribute = {
114
114
  [key: string]: any;
115
115
  };
116
116
  };
117
+ export type SecondaryIndexAttribute = {
118
+ type: 'key';
119
+ properties: {
120
+ name: string;
121
+ queryField: string;
122
+ fields: string[];
123
+ };
124
+ };
117
125
  /**
118
126
  * Field Definition
119
127
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/core",
3
- "version": "6.0.16-unstable.5e30055.0+5e30055",
3
+ "version": "6.0.16",
4
4
  "description": "Core category of aws-amplify",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.mjs",
@@ -59,7 +59,7 @@
59
59
  "uuid": "^9.0.0"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-amplify/react-native": "1.0.16-unstable.5e30055.0+5e30055",
62
+ "@aws-amplify/react-native": "1.0.16",
63
63
  "@types/js-cookie": "3.0.2",
64
64
  "genversion": "^2.2.0",
65
65
  "typescript": "5.0.2"
@@ -191,5 +191,5 @@
191
191
  ]
192
192
  }
193
193
  },
194
- "gitHead": "5e30055971598cb4972a5c913af906e86c16cd3f"
194
+ "gitHead": "0e919f6e759cb94d03e119162b530b32d48f1357"
195
195
  }
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '6.0.16-unstable.5e30055.0+5e30055';
2
+ export const version = '6.0.16';
@@ -43,6 +43,8 @@ export {
43
43
  ModelIntrospectionSchema,
44
44
  SchemaModel,
45
45
  SchemaModels,
46
+ ModelAttribute,
47
+ SecondaryIndexAttribute,
46
48
  } from './singleton/API/types';
47
49
  export { Signer } from './Signer';
48
50
  export {
@@ -137,6 +137,15 @@ export type ModelAttribute = {
137
137
  properties?: { [key: string]: any };
138
138
  };
139
139
 
140
+ export type SecondaryIndexAttribute = {
141
+ type: 'key';
142
+ properties: {
143
+ name: string;
144
+ queryField: string;
145
+ fields: string[];
146
+ };
147
+ };
148
+
140
149
  /**
141
150
  * Field Definition
142
151
  */