@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.
- package/dist/cjs/Platform/version.js +1 -1
- package/dist/cjs/Platform/version.js.map +1 -1
- package/dist/esm/Platform/version.d.ts +1 -1
- package/dist/esm/Platform/version.mjs +1 -1
- package/dist/esm/Platform/version.mjs.map +1 -1
- package/dist/esm/libraryUtils.d.ts +1 -1
- package/dist/esm/singleton/API/types.d.ts +8 -0
- package/package.json +3 -3
- package/src/Platform/version.ts +1 -1
- package/src/libraryUtils.ts +2 -0
- package/src/singleton/API/types.ts +9 -0
|
@@ -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
|
|
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
|
|
1
|
+
export declare const version = "6.0.16";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../src/Platform/version.ts"],"sourcesContent":["// generated by genversion\nexport const version = '6.0.16
|
|
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
|
|
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
|
|
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": "
|
|
194
|
+
"gitHead": "0e919f6e759cb94d03e119162b530b32d48f1357"
|
|
195
195
|
}
|
package/src/Platform/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// generated by genversion
|
|
2
|
-
export const version = '6.0.16
|
|
2
|
+
export const version = '6.0.16';
|
package/src/libraryUtils.ts
CHANGED
|
@@ -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
|
*/
|