@aws-amplify/datastore 4.7.20 → 4.7.22
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/lib/types.d.ts +1 -1
- package/lib-esm/types.d.ts +1 -1
- package/package.json +8 -7
package/lib/types.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare enum GraphQLScalarType {
|
|
|
165
165
|
AWSIPAddress = 13
|
|
166
166
|
}
|
|
167
167
|
export declare namespace GraphQLScalarType {
|
|
168
|
-
function getJSType(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): "
|
|
168
|
+
function getJSType(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): "string" | "number" | "boolean" | "object";
|
|
169
169
|
function getValidationFunction(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): ((val: string) => boolean) | ((val: number) => boolean) | undefined;
|
|
170
170
|
}
|
|
171
171
|
export declare type AuthorizationRule = {
|
package/lib-esm/types.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare enum GraphQLScalarType {
|
|
|
165
165
|
AWSIPAddress = 13
|
|
166
166
|
}
|
|
167
167
|
export declare namespace GraphQLScalarType {
|
|
168
|
-
function getJSType(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): "
|
|
168
|
+
function getJSType(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): "string" | "number" | "boolean" | "object";
|
|
169
169
|
function getValidationFunction(scalar: keyof Omit<typeof GraphQLScalarType, 'getJSType' | 'getValidationFunction'>): ((val: string) => boolean) | ((val: number) => boolean) | undefined;
|
|
170
170
|
}
|
|
171
171
|
export declare type AuthorizationRule = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/datastore",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.22",
|
|
4
4
|
"description": "AppSyncLocal support for aws-amplify",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"ssr"
|
|
56
56
|
],
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@aws-amplify/api": "5.4.
|
|
59
|
-
"@aws-amplify/auth": "5.6.
|
|
60
|
-
"@aws-amplify/core": "5.8.
|
|
61
|
-
"@aws-amplify/pubsub": "5.6.
|
|
58
|
+
"@aws-amplify/api": "5.4.21",
|
|
59
|
+
"@aws-amplify/auth": "5.6.19",
|
|
60
|
+
"@aws-amplify/core": "5.8.16",
|
|
61
|
+
"@aws-amplify/pubsub": "5.6.6",
|
|
62
62
|
"amazon-cognito-identity-js": "6.3.16",
|
|
63
63
|
"buffer": "4.9.2",
|
|
64
64
|
"idb": "5.0.6",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"name": "DataStore (top-level class)",
|
|
74
74
|
"path": "./lib-esm/index.js",
|
|
75
75
|
"import": "{ Amplify, DataStore }",
|
|
76
|
-
"limit": "
|
|
76
|
+
"limit": "150 kB"
|
|
77
77
|
}
|
|
78
78
|
],
|
|
79
79
|
"jest": {
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
+
"resolver": "<rootDir>/../../scripts/jest-node-resolver.js",
|
|
106
107
|
"transform": {
|
|
107
108
|
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
|
|
108
109
|
},
|
|
@@ -137,5 +138,5 @@
|
|
|
137
138
|
"lib-esm"
|
|
138
139
|
]
|
|
139
140
|
},
|
|
140
|
-
"gitHead": "
|
|
141
|
+
"gitHead": "3883ed405f94ef64b264ef3ca0ab8687ad74a707"
|
|
141
142
|
}
|