@sanity/validation 6.24.0-next.18 → 6.24.0-next.78
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/_internal.d.ts
CHANGED
|
@@ -97,5 +97,4 @@ export declare function getTypeChain(type: SchemaType | undefined, visited?: Set
|
|
|
97
97
|
export declare function normalizeValidationRules(typeDef: SchemaType | undefined, context?: ValidationContext$1): Rule$1[];
|
|
98
98
|
export declare function pathToString(path?: Path | undefined): string;
|
|
99
99
|
export declare function typeString(obj: unknown): string;
|
|
100
|
-
export { type LocaleSource, type ValidateDocumentInternalOptions, type ValidateDocumentObservableOptions, type ValidateItemOptions, type ValidationContext, type ValidationScheduling, accepts, evaluateDocumentInternal, evaluateDocumentObservable, resolveTypeForArrayItem, validateDocumentInternal, validateDocumentObservable, validateItem };
|
|
101
|
-
//# sourceMappingURL=_internal.d.ts.map
|
|
100
|
+
export { type LocaleSource, type ValidateDocumentInternalOptions, type ValidateDocumentObservableOptions, type ValidateItemOptions, type ValidationContext, type ValidationScheduling, accepts, evaluateDocumentInternal, evaluateDocumentObservable, resolveTypeForArrayItem, validateDocumentInternal, validateDocumentObservable, validateItem };
|
package/lib/index.d.ts
CHANGED
|
@@ -21,5 +21,4 @@ interface ReleaseReferenceOptions {
|
|
|
21
21
|
* @beta
|
|
22
22
|
*/
|
|
23
23
|
export declare function withReleaseReferences({ document, getDocumentExists, isUnpublished }: ReleaseReferenceOptions): DocumentCheck;
|
|
24
|
-
export { type BuiltInValidationMarkerCode, type DocumentValidationMarker, type DocumentValidationResult, type ReleaseReferenceOptions, type ValidateDocumentOptions, type ValidateDocumentWorkspaceOptions, type ValidateDocumentsOptions, type ValidationClient, type ValidationLocaleSource, type ValidationMarkerCode, type ValidationSchema, type ValidationSource, validateDocument, validateDocumentWithWorkspace, validateDocuments, validationMarkerCodes };
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
24
|
+
export { type BuiltInValidationMarkerCode, type DocumentValidationMarker, type DocumentValidationResult, type ReleaseReferenceOptions, type ValidateDocumentOptions, type ValidateDocumentWorkspaceOptions, type ValidateDocumentsOptions, type ValidationClient, type ValidationLocaleSource, type ValidationMarkerCode, type ValidationSchema, type ValidationSource, validateDocument, validateDocumentWithWorkspace, validateDocuments, validationMarkerCodes };
|
|
@@ -400,5 +400,4 @@ type ValidateItemOptions = {
|
|
|
400
400
|
__internal?: InternalValidationContext['__internal'];
|
|
401
401
|
} & Pick<ValidationContext$1, 'currentUser'> & ExplicitUndefined<Omit<ValidationContext$1, 'hidden' | 'signal' | 'currentUser'>>;
|
|
402
402
|
declare function validateItem(opts: ValidateItemOptions): Promise<ValidationMarker[]>;
|
|
403
|
-
export { validationMarkerCodes as C, ValidationLocaleSource as D, LocaleSource as E, ValidationMarkerCode as S, ValidationScheduling as T, validateDocumentWithWorkspace as _, ValidateDocumentWorkspaceOptions as a, BuiltInValidationMarkerCode as b, ValidationClient as c, evaluateDocumentInternal as d, evaluateDocumentObservable as f, validateDocumentObservable as g, validateDocumentInternal as h, ValidateDocumentOptions as i, ValidationSchema as l, validateDocument as m, ValidateDocumentInternalOptions as n, ValidateDocumentsOptions as o, resolveTypeForArrayItem as p, ValidateDocumentObservableOptions as r, ValidateItemOptions as s, DocumentValidationResult as t, ValidationSource as u, validateDocuments as v, ValidationContext$1 as w, DocumentValidationMarker as x, validateItem as y };
|
|
404
|
-
//# sourceMappingURL=validateDocument-DESiHtPx.d.ts.map
|
|
403
|
+
export { validationMarkerCodes as C, ValidationLocaleSource as D, LocaleSource as E, ValidationMarkerCode as S, ValidationScheduling as T, validateDocumentWithWorkspace as _, ValidateDocumentWorkspaceOptions as a, BuiltInValidationMarkerCode as b, ValidationClient as c, evaluateDocumentInternal as d, evaluateDocumentObservable as f, validateDocumentObservable as g, validateDocumentInternal as h, ValidateDocumentOptions as i, ValidationSchema as l, validateDocument as m, ValidateDocumentInternalOptions as n, ValidateDocumentsOptions as o, resolveTypeForArrayItem as p, ValidateDocumentObservableOptions as r, ValidateItemOptions as s, DocumentValidationResult as t, ValidationSource as u, validateDocuments as v, ValidationContext$1 as w, DocumentValidationMarker as x, validateItem as y };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/validation",
|
|
3
|
-
"version": "6.24.0-next.
|
|
3
|
+
"version": "6.24.0-next.78",
|
|
4
4
|
"description": "Document validation for Sanity schemas",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@sanity/client": "^8.15.1",
|
|
46
46
|
"@sanity/id-utils": "^1.1.0",
|
|
47
|
-
"@sanity/schema": "6.24.0-next.
|
|
48
|
-
"@sanity/types": "6.24.0-next.
|
|
49
|
-
"@sanity/util": "6.24.0-next.
|
|
47
|
+
"@sanity/schema": "6.24.0-next.78+2d8a197982",
|
|
48
|
+
"@sanity/types": "6.24.0-next.78+2d8a197982",
|
|
49
|
+
"@sanity/util": "6.24.0-next.78+2d8a197982",
|
|
50
50
|
"dequal": "^2.0.3",
|
|
51
|
-
"i18next": "^26.
|
|
51
|
+
"i18next": "^26.7.2",
|
|
52
52
|
"lodash-es": "^4.18.1",
|
|
53
53
|
"rxjs": "^7.8.2"
|
|
54
54
|
},
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"tsdown": "^0.23.2",
|
|
62
62
|
"typescript": "^7.0.2",
|
|
63
63
|
"vite": "^8.3.5",
|
|
64
|
-
"vitest": "^5.0
|
|
64
|
+
"vitest": "^5.1.0"
|
|
65
65
|
},
|
|
66
66
|
"browserslist": [
|
|
67
67
|
"node >=22.12",
|