@mintlify/validation 0.1.32 → 0.1.33
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.
|
@@ -63,9 +63,9 @@ export type ResponseSchema = {
|
|
|
63
63
|
[code: string]: BodySchema;
|
|
64
64
|
};
|
|
65
65
|
export type DataSchemaArray = [DataSchema, ...DataSchema[]];
|
|
66
|
-
export declare const typeList: readonly ["boolean", "string", "number", "integer", "object", "array", "stringEnum", "numberEnum", "integerEnum", "null"];
|
|
66
|
+
export declare const typeList: readonly ["boolean", "string", "number", "integer", "object", "array", "stringEnum", "numberEnum", "integerEnum", "null", "any"];
|
|
67
67
|
export type SchemaType = typeof typeList[number];
|
|
68
|
-
export type DataSchema = BooleanSchema | StringSchema | NumberSchema | ObjectSchema | ArraySchema | StringEnumSchema | NumberEnumSchema | NullSchema;
|
|
68
|
+
export type DataSchema = BooleanSchema | StringSchema | NumberSchema | ObjectSchema | ArraySchema | StringEnumSchema | NumberEnumSchema | NullSchema | AnySchema;
|
|
69
69
|
export type BaseSchema<T> = {
|
|
70
70
|
type: SchemaType;
|
|
71
71
|
title?: string;
|
|
@@ -122,4 +122,7 @@ export type NumberEnumSchema = {
|
|
|
122
122
|
export type NullSchema = {
|
|
123
123
|
type: 'null';
|
|
124
124
|
} & BaseSchema<null>;
|
|
125
|
+
export type AnySchema = {
|
|
126
|
+
type: 'any';
|
|
127
|
+
} & BaseSchema<unknown>;
|
|
125
128
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/validation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
4
4
|
"description": "Validates mint.json files",
|
|
5
5
|
"author": "Mintlify, Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"webpack": "^5.75.0",
|
|
69
69
|
"webpack-cli": "^5.0.1"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "499c04a31113ecd31c5a72c1ad58f0cfdfeb25b7"
|
|
72
72
|
}
|