@contember/schema
Advanced tools
Comparing version 1.3.5 to 1.4.0-alpha.1
@@ -138,4 +138,6 @@ import { Input } from './input'; | ||
type UniqueConstraints = readonly UniqueConstraint[]; | ||
type ConstraintTiming = 'deferrable' | 'deferred'; | ||
type UniqueConstraint = { | ||
readonly fields: readonly string[]; | ||
readonly timing?: ConstraintTiming; | ||
readonly name?: string; | ||
@@ -142,0 +144,0 @@ }; |
@@ -5,7 +5,15 @@ export declare namespace Settings { | ||
}; | ||
type ContentSettings = { | ||
readonly shortDateResponse?: boolean; | ||
readonly useExistsInHasManyFilter?: boolean; | ||
}; | ||
type Schema = { | ||
readonly tenant?: TenantSettings; | ||
readonly content?: ContentSettings; | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly useExistsInHasManyFilter?: boolean; | ||
readonly tenant?: TenantSettings; | ||
}; | ||
} | ||
//# sourceMappingURL=settings.d.ts.map |
{ | ||
"name": "@contember/schema", | ||
"version": "1.3.5", | ||
"version": "1.4.0-alpha.1", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -205,4 +205,6 @@ import { Input } from './input' | ||
export type ConstraintTiming = 'deferrable' | 'deferred' | ||
export type UniqueConstraint = { | ||
readonly fields: readonly string[] | ||
readonly timing?: ConstraintTiming // empty means not deferrable | ||
readonly name?: string | ||
@@ -209,0 +211,0 @@ } |
@@ -6,6 +6,16 @@ export namespace Settings { | ||
export type ContentSettings = { | ||
readonly shortDateResponse?: boolean | ||
readonly useExistsInHasManyFilter?: boolean | ||
} | ||
export type Schema = { | ||
readonly tenant?: TenantSettings | ||
readonly content?: ContentSettings | ||
/** | ||
* @deprecated | ||
*/ | ||
readonly useExistsInHasManyFilter?: boolean | ||
readonly tenant?: TenantSettings | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130706
1750
3