@mintlify/validation 0.1.49 → 0.1.51
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.
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* decimal.js v10.4.3
|
|
3
|
-
* An arbitrary-precision Decimal type for JavaScript.
|
|
4
|
-
* https://github.com/MikeMcl/decimal.js
|
|
5
|
-
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
6
|
-
* MIT Licence
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
10
|
-
|
|
11
1
|
/**
|
|
12
2
|
* @license
|
|
13
3
|
* Lodash <https://lodash.com/>
|
|
@@ -16,18 +6,3 @@
|
|
|
16
6
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
17
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
18
8
|
*/
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @license Complex.js v2.1.1 12/05/2020
|
|
22
|
-
*
|
|
23
|
-
* Copyright (c) 2020, Robert Eisele (robert@xarg.org)
|
|
24
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
25
|
-
**/
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @license Fraction.js v4.2.0 05/03/2022
|
|
29
|
-
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
|
|
30
|
-
*
|
|
31
|
-
* Copyright (c) 2021, Robert Eisele (robert@xarg.org)
|
|
32
|
-
* Dual licensed under the MIT or GPL Version 2 licenses.
|
|
33
|
-
**/
|
|
@@ -46,6 +46,13 @@ export declare const feedbackSchema: z.ZodObject<{
|
|
|
46
46
|
suggestEdit?: boolean | undefined;
|
|
47
47
|
raiseIssue?: boolean | undefined;
|
|
48
48
|
}>;
|
|
49
|
+
export declare const searchSchema: z.ZodObject<{
|
|
50
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
prompt?: string | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
prompt?: string | undefined;
|
|
55
|
+
}>;
|
|
49
56
|
export declare const createCtaButtonSchema: (ctaButtonName: string) => z.ZodUnion<[z.ZodObject<{
|
|
50
57
|
type: z.ZodOptional<z.ZodLiteral<"link">>;
|
|
51
58
|
name: z.ZodString;
|
|
@@ -507,6 +507,13 @@ export declare const configSchema: z.ZodObject<{
|
|
|
507
507
|
} | undefined;
|
|
508
508
|
}>>;
|
|
509
509
|
isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;
|
|
510
|
+
search: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
512
|
+
}, "strip", z.ZodTypeAny, {
|
|
513
|
+
prompt?: string | undefined;
|
|
514
|
+
}, {
|
|
515
|
+
prompt?: string | undefined;
|
|
516
|
+
}>>;
|
|
510
517
|
}, "strip", z.ZodTypeAny, {
|
|
511
518
|
$schema: string;
|
|
512
519
|
name: string;
|
|
@@ -659,6 +666,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
659
666
|
} | undefined;
|
|
660
667
|
} | undefined;
|
|
661
668
|
isWhiteLabeled?: boolean | undefined;
|
|
669
|
+
search?: {
|
|
670
|
+
prompt?: string | undefined;
|
|
671
|
+
} | undefined;
|
|
662
672
|
}, {
|
|
663
673
|
name: string;
|
|
664
674
|
favicon: string;
|
|
@@ -811,5 +821,8 @@ export declare const configSchema: z.ZodObject<{
|
|
|
811
821
|
} | undefined;
|
|
812
822
|
} | undefined;
|
|
813
823
|
isWhiteLabeled?: boolean | undefined;
|
|
824
|
+
search?: {
|
|
825
|
+
prompt?: string | undefined;
|
|
826
|
+
} | undefined;
|
|
814
827
|
}>;
|
|
815
828
|
export type ConfigType = z.infer<typeof configSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/validation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.51",
|
|
4
4
|
"description": "Validates mint.json files",
|
|
5
5
|
"author": "Mintlify, Inc.",
|
|
6
6
|
"bugs": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"format:check": "prettier \"./src/**/*.ts\" --check"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"
|
|
42
|
+
"lcm": "^0.0.3",
|
|
43
43
|
"zod": "^3.20.6",
|
|
44
44
|
"zod-to-json-schema": "^3.20.3"
|
|
45
45
|
},
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"@mintlify/ts-config": "1.0.7",
|
|
54
54
|
"@trivago/prettier-plugin-sort-imports": "3.x",
|
|
55
55
|
"@tsconfig/recommended": "1.x",
|
|
56
|
+
"@types/lcm": "^0.0.0",
|
|
56
57
|
"@typescript-eslint/eslint-plugin": "5.x",
|
|
57
58
|
"@typescript-eslint/parser": "5.x",
|
|
58
59
|
"babel-jest": "^29.3.1",
|
|
@@ -67,5 +68,5 @@
|
|
|
67
68
|
"webpack": "^5.75.0",
|
|
68
69
|
"webpack-cli": "^5.0.1"
|
|
69
70
|
},
|
|
70
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "eaaf51f6f807775206684a5727f403b423f7e310"
|
|
71
72
|
}
|