@aws-amplify/data-schema-types
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -78,2 +78,3 @@ /** | ||
identifier?: string; | ||
sslCert?: BackendSecret; | ||
}; | ||
@@ -80,0 +81,0 @@ export type SchemaConfiguration<DE extends DatasourceEngine = DatasourceEngine, DC extends DataSourceConfiguration<DE> = DataSourceConfiguration<DE>> = { |
{ | ||
"name": "@aws-amplify/data-schema-types", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"license": "Apache-2.0", | ||
@@ -23,3 +23,3 @@ "main": "./dist/cjs/index.js", | ||
"docs:temp": "api-extractor run && api-documenter markdown --input-folder temp --output-folder temp/docs", | ||
"check-api": "rimraf temp && npm run docs:temp && node ../../scripts/shallow-dir-diff.js docs temp/docs", | ||
"check:api": "rimraf temp && npm run docs:temp && node ../../scripts/shallow-dir-diff.js docs temp/docs", | ||
"test": "echo \"No tests\"", | ||
@@ -26,0 +26,0 @@ "lint": "eslint ." |
@@ -94,2 +94,3 @@ /** | ||
identifier?: string; | ||
sslCert?: BackendSecret; | ||
}; | ||
@@ -96,0 +97,0 @@ |
@@ -59,7 +59,6 @@ /** | ||
export type IsFalse<T extends false> = T; | ||
export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends < | ||
T, | ||
>() => T extends Y ? 1 : 2 | ||
? true | ||
: false; | ||
export type Equal<X, Y> = | ||
(<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 | ||
? true | ||
: false; | ||
export type NotEqual<X, Y> = true extends Equal<X, Y> ? false : true; | ||
@@ -85,6 +84,7 @@ export type IsAny<T> = 0 extends 1 & T ? true : false; | ||
export type DeepReadOnlyObject<T> = T extends Array<infer U> | ||
? DeepReadOnlyObject<U>[] | ||
: T extends Record<any, any> | ||
? { readonly [k in keyof T]: DeepReadOnlyObject<T[k]> } | ||
: T; | ||
export type DeepReadOnlyObject<T> = | ||
T extends Array<infer U> | ||
? DeepReadOnlyObject<U>[] | ||
: T extends Record<any, any> | ||
? { readonly [k in keyof T]: DeepReadOnlyObject<T[k]> } | ||
: T; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
189971
1826