@mintlify/validation 0.1.44 → 0.1.45

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.
Files changed (60) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +55 -55
  3. package/dist/index.d.ts +7 -11
  4. package/dist/index.js +1 -1
  5. package/dist/mint-config/common.d.ts +6 -6
  6. package/dist/mint-config/flattenUnionErrorMessages.d.ts +7 -7
  7. package/dist/mint-config/hexadecimalPattern.d.ts +1 -1
  8. package/dist/mint-config/schemas/analytics.d.ts +275 -171
  9. package/dist/mint-config/schemas/anchorColors.d.ts +28 -14
  10. package/dist/mint-config/schemas/anchors.d.ts +108 -46
  11. package/dist/mint-config/schemas/apiReference.d.ts +77 -0
  12. package/dist/mint-config/schemas/basics.d.ts +80 -0
  13. package/dist/mint-config/schemas/colors.d.ts +62 -61
  14. package/dist/mint-config/schemas/config.d.ts +814 -895
  15. package/dist/mint-config/schemas/favicon.d.ts +2 -2
  16. package/dist/mint-config/schemas/integrations.d.ts +38 -0
  17. package/dist/mint-config/schemas/name.d.ts +2 -2
  18. package/dist/mint-config/schemas/navigation.d.ts +3 -3
  19. package/dist/mint-config/schemas/tabs.d.ts +31 -11
  20. package/dist/mint-config/schemas/versions.d.ts +24 -11
  21. package/dist/mint-config/types/analytics.d.ts +3 -3
  22. package/dist/mint-config/types/anchors.d.ts +4 -4
  23. package/dist/mint-config/types/colors.d.ts +3 -3
  24. package/dist/mint-config/types/config.d.ts +55 -4
  25. package/dist/mint-config/types/enums.d.ts +4 -0
  26. package/dist/mint-config/types/index.d.ts +12 -0
  27. package/dist/mint-config/types/navigation.d.ts +13 -6
  28. package/dist/mint-config/types/versions.d.ts +3 -3
  29. package/dist/mint-config/validateAnchorsWarnings.d.ts +4 -4
  30. package/dist/mint-config/validateVersionsInNavigation.d.ts +5 -5
  31. package/dist/openapi/convertOpenApi.d.ts +18 -18
  32. package/dist/openapi/convertParameters.d.ts +9 -9
  33. package/dist/openapi/convertSchema.d.ts +11 -11
  34. package/dist/openapi/convertSecurity.d.ts +14 -14
  35. package/dist/openapi/convertServers.d.ts +8 -8
  36. package/dist/openapi/types/endpoint.d.ts +128 -128
  37. package/package.json +75 -75
  38. package/dist/schemas/analytics.d.ts +0 -171
  39. package/dist/schemas/anchorColors.d.ts +0 -14
  40. package/dist/schemas/anchors.d.ts +0 -46
  41. package/dist/schemas/colors.d.ts +0 -61
  42. package/dist/schemas/config.d.ts +0 -799
  43. package/dist/schemas/favicon.d.ts +0 -2
  44. package/dist/schemas/name.d.ts +0 -2
  45. package/dist/schemas/navigation.d.ts +0 -3
  46. package/dist/schemas/tabs.d.ts +0 -11
  47. package/dist/schemas/versions.d.ts +0 -11
  48. package/dist/types/analytics.d.ts +0 -3
  49. package/dist/types/anchors.d.ts +0 -3
  50. package/dist/types/colors.d.ts +0 -3
  51. package/dist/types/config.d.ts +0 -3
  52. package/dist/types/endpoint.d.ts +0 -125
  53. package/dist/types/navigation.d.ts +0 -6
  54. package/dist/types/versions.d.ts +0 -3
  55. package/dist/utils/common.d.ts +0 -6
  56. package/dist/utils/convertOpenApi.d.ts +0 -43
  57. package/dist/utils/flattenUnionErrorMessages.d.ts +0 -7
  58. package/dist/utils/hexadecimalPattern.d.ts +0 -1
  59. package/dist/utils/validateAnchorsWarnings.d.ts +0 -4
  60. package/dist/utils/validateVersionsInNavigation.d.ts +0 -5
@@ -1,128 +1,128 @@
1
- export type Endpoint = {
2
- description?: string;
3
- path: string;
4
- method: HttpMethod;
5
- servers?: Server[];
6
- request: RequestSchema;
7
- response: ResponseSchema;
8
- deprecated: boolean;
9
- };
10
- export type Server = {
11
- url: string;
12
- description?: string;
13
- variables?: {
14
- [variableName: string]: ServerVariableSchema;
15
- };
16
- };
17
- export type ServerVariableSchema = ServerVariableStringSchema | ServerVariableStringEnumSchema;
18
- export type ServerVariableStringSchema = {
19
- type: 'string';
20
- default: string;
21
- description?: string;
22
- };
23
- export type ServerVariableStringEnumSchema = {
24
- type: 'stringEnum';
25
- enum: string[];
26
- default: string;
27
- description?: string;
28
- };
29
- export type HttpMethod = 'get' | 'put' | 'post' | 'delete' | 'options' | 'head' | 'patch' | 'trace';
30
- export type RequestSchema = {
31
- security: SecurityOption[];
32
- parameters: ParameterSections;
33
- body: BodySchema;
34
- };
35
- export type SecurityOption = NonPathParameterSections & {
36
- title: string;
37
- };
38
- export type BodySchema = {
39
- [contentType: string]: DataSchemaArray;
40
- };
41
- export type ParameterSchema = {
42
- required?: boolean;
43
- description?: string;
44
- deprecated?: boolean;
45
- schema: DataSchemaArray | 'basic' | 'bearer';
46
- };
47
- export type PathParameterSchema = ParameterSchema & {
48
- required: true;
49
- };
50
- export type ParameterGroup = {
51
- [name: string]: ParameterSchema;
52
- };
53
- export type PathParameterGroup = {
54
- [name: string]: PathParameterSchema;
55
- };
56
- type NonPathParameterLocations = 'query' | 'header' | 'cookie';
57
- type PathParameterLocations = 'path';
58
- export type ParameterLocations = NonPathParameterLocations | PathParameterLocations;
59
- type NonPathParameterSections = Record<NonPathParameterLocations, ParameterGroup>;
60
- type PathParameterSections = Record<PathParameterLocations, PathParameterGroup>;
61
- export type ParameterSections = NonPathParameterSections & PathParameterSections;
62
- export type ResponseSchema = {
63
- [code: string]: BodySchema;
64
- };
65
- export type DataSchemaArray = [DataSchema, ...DataSchema[]];
66
- export declare const typeList: readonly ["boolean", "string", "number", "integer", "object", "array", "stringEnum", "numberEnum", "integerEnum", "null", "any"];
67
- export type SchemaType = (typeof typeList)[number];
68
- export type DataSchema = BooleanSchema | StringSchema | NumberSchema | ObjectSchema | ArraySchema | StringEnumSchema | NumberEnumSchema | NullSchema | AnySchema;
69
- export type BaseSchema<T> = {
70
- type: SchemaType;
71
- title?: string;
72
- description?: string;
73
- default?: T;
74
- example?: T;
75
- required?: boolean;
76
- readOnly?: boolean;
77
- writeOnly?: boolean;
78
- deprecated?: boolean;
79
- };
80
- export type BooleanSchema = {
81
- type: 'boolean';
82
- } & BaseSchema<boolean>;
83
- export type StringSchema = {
84
- type: 'string';
85
- format?: string;
86
- pattern?: string;
87
- maxLength?: number;
88
- minLength?: number;
89
- } & BaseSchema<string>;
90
- export type NumberSchema = {
91
- type: 'number' | 'integer';
92
- multipleOf?: number;
93
- maximum?: number;
94
- exclusiveMaximum?: boolean;
95
- minimum?: number;
96
- exclusiveMinimum?: boolean;
97
- } & BaseSchema<number>;
98
- export type ObjectSchema = {
99
- type: 'object';
100
- additionalProperties?: boolean | DataSchemaArray;
101
- maxProperties?: number;
102
- minProperties?: number;
103
- properties: {
104
- [key: string]: DataSchemaArray;
105
- };
106
- } & BaseSchema<object>;
107
- export type ArraySchema = {
108
- type: 'array';
109
- items: DataSchemaArray;
110
- maxItems?: number;
111
- minItems?: number;
112
- uniqueItems?: boolean;
113
- } & BaseSchema<unknown[]>;
114
- export type StringEnumSchema = {
115
- type: 'stringEnum';
116
- enum: string[];
117
- } & BaseSchema<string>;
118
- export type NumberEnumSchema = {
119
- type: 'numberEnum' | 'integerEnum';
120
- enum: number[];
121
- } & BaseSchema<number>;
122
- export type NullSchema = {
123
- type: 'null';
124
- } & BaseSchema<null>;
125
- export type AnySchema = {
126
- type: 'any';
127
- } & BaseSchema<unknown>;
128
- export {};
1
+ export type Endpoint = {
2
+ description?: string;
3
+ path: string;
4
+ method: HttpMethod;
5
+ servers?: Server[];
6
+ request: RequestSchema;
7
+ response: ResponseSchema;
8
+ deprecated: boolean;
9
+ };
10
+ export type Server = {
11
+ url: string;
12
+ description?: string;
13
+ variables?: {
14
+ [variableName: string]: ServerVariableSchema;
15
+ };
16
+ };
17
+ export type ServerVariableSchema = ServerVariableStringSchema | ServerVariableStringEnumSchema;
18
+ export type ServerVariableStringSchema = {
19
+ type: 'string';
20
+ default: string;
21
+ description?: string;
22
+ };
23
+ export type ServerVariableStringEnumSchema = {
24
+ type: 'stringEnum';
25
+ enum: string[];
26
+ default: string;
27
+ description?: string;
28
+ };
29
+ export type HttpMethod = 'get' | 'put' | 'post' | 'delete' | 'options' | 'head' | 'patch' | 'trace';
30
+ export type RequestSchema = {
31
+ security: SecurityOption[];
32
+ parameters: ParameterSections;
33
+ body: BodySchema;
34
+ };
35
+ export type SecurityOption = NonPathParameterSections & {
36
+ title: string;
37
+ };
38
+ export type BodySchema = {
39
+ [contentType: string]: DataSchemaArray;
40
+ };
41
+ export type ParameterSchema = {
42
+ required?: boolean;
43
+ description?: string;
44
+ deprecated?: boolean;
45
+ schema: DataSchemaArray | 'basic' | 'bearer';
46
+ };
47
+ export type PathParameterSchema = ParameterSchema & {
48
+ required: true;
49
+ };
50
+ export type ParameterGroup = {
51
+ [name: string]: ParameterSchema;
52
+ };
53
+ export type PathParameterGroup = {
54
+ [name: string]: PathParameterSchema;
55
+ };
56
+ type NonPathParameterLocations = 'query' | 'header' | 'cookie';
57
+ type PathParameterLocations = 'path';
58
+ export type ParameterLocations = NonPathParameterLocations | PathParameterLocations;
59
+ type NonPathParameterSections = Record<NonPathParameterLocations, ParameterGroup>;
60
+ type PathParameterSections = Record<PathParameterLocations, PathParameterGroup>;
61
+ export type ParameterSections = NonPathParameterSections & PathParameterSections;
62
+ export type ResponseSchema = {
63
+ [code: string]: BodySchema;
64
+ };
65
+ export type DataSchemaArray = [DataSchema, ...DataSchema[]];
66
+ export declare const typeList: readonly ["boolean", "string", "number", "integer", "object", "array", "stringEnum", "numberEnum", "integerEnum", "null", "any"];
67
+ export type SchemaType = (typeof typeList)[number];
68
+ export type DataSchema = BooleanSchema | StringSchema | NumberSchema | ObjectSchema | ArraySchema | StringEnumSchema | NumberEnumSchema | NullSchema | AnySchema;
69
+ export type BaseSchema<T> = {
70
+ type: SchemaType;
71
+ title?: string;
72
+ description?: string;
73
+ default?: T;
74
+ example?: T;
75
+ required?: boolean;
76
+ readOnly?: boolean;
77
+ writeOnly?: boolean;
78
+ deprecated?: boolean;
79
+ };
80
+ export type BooleanSchema = {
81
+ type: 'boolean';
82
+ } & BaseSchema<boolean>;
83
+ export type StringSchema = {
84
+ type: 'string';
85
+ format?: string;
86
+ pattern?: string;
87
+ maxLength?: number;
88
+ minLength?: number;
89
+ } & BaseSchema<string>;
90
+ export type NumberSchema = {
91
+ type: 'number' | 'integer';
92
+ multipleOf?: number;
93
+ maximum?: number;
94
+ exclusiveMaximum?: boolean;
95
+ minimum?: number;
96
+ exclusiveMinimum?: boolean;
97
+ } & BaseSchema<number>;
98
+ export type ObjectSchema = {
99
+ type: 'object';
100
+ additionalProperties?: boolean | DataSchemaArray;
101
+ maxProperties?: number;
102
+ minProperties?: number;
103
+ properties: {
104
+ [key: string]: DataSchemaArray;
105
+ };
106
+ } & BaseSchema<object>;
107
+ export type ArraySchema = {
108
+ type: 'array';
109
+ items: DataSchemaArray;
110
+ maxItems?: number;
111
+ minItems?: number;
112
+ uniqueItems?: boolean;
113
+ } & BaseSchema<unknown[]>;
114
+ export type StringEnumSchema = {
115
+ type: 'stringEnum';
116
+ enum: string[];
117
+ } & BaseSchema<string>;
118
+ export type NumberEnumSchema = {
119
+ type: 'numberEnum' | 'integerEnum';
120
+ enum: number[];
121
+ } & BaseSchema<number>;
122
+ export type NullSchema = {
123
+ type: 'null';
124
+ } & BaseSchema<null>;
125
+ export type AnySchema = {
126
+ type: 'any';
127
+ } & BaseSchema<unknown>;
128
+ export {};
package/package.json CHANGED
@@ -1,75 +1,75 @@
1
- {
2
- "name": "@mintlify/validation",
3
- "version": "0.1.44",
4
- "description": "Validates mint.json files",
5
- "author": "Mintlify, Inc.",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/mintlify/mint",
9
- "directory": "packages/mintlify-validation"
10
- },
11
- "bugs": {
12
- "url": "https://github.com/mintlify/mint/issues"
13
- },
14
- "license": "Elastic-2.0",
15
- "keywords": [
16
- "mintlify",
17
- "mint",
18
- "validation"
19
- ],
20
- "type": "commonjs",
21
- "publishConfig": {
22
- "access": "public",
23
- "registry": "https://registry.npmjs.org/"
24
- },
25
- "main": "./dist/index.js",
26
- "types": "./dist/index.d.ts",
27
- "files": [
28
- "dist"
29
- ],
30
- "jest": {
31
- "verbose": true,
32
- "moduleNameMapper": {
33
- "@/utils/(.*)": "<rootDir>/src/utils/$1",
34
- "@/schemas/(.*)": "<rootDir>/src/schemas/$1",
35
- "@/types/(.*)": "<rootDir>/src/types/$1"
36
- }
37
- },
38
- "scripts": {
39
- "prepare": "npm run build",
40
- "build": "webpack",
41
- "test": "jest",
42
- "lint": "eslint . --cache",
43
- "format": "prettier \"./src/**/*.ts\" --write",
44
- "format:check": "prettier \"./src/**/*.ts\" --check"
45
- },
46
- "dependencies": {
47
- "mathjs": "^11.8.0",
48
- "zod": "^3.20.6",
49
- "zod-to-json-schema": "^3.20.3"
50
- },
51
- "devDependencies": {
52
- "@babel/core": "^7.20.2",
53
- "@babel/preset-env": "^7.20.2",
54
- "@babel/preset-typescript": "^7.18.6",
55
- "@mintlify/eslint-config": "1.0.3",
56
- "@mintlify/eslint-config-typescript": "1.0.7",
57
- "@mintlify/prettier-config": "1.0.1",
58
- "@mintlify/ts-config": "1.0.7",
59
- "@trivago/prettier-plugin-sort-imports": "3.x",
60
- "@tsconfig/recommended": "1.x",
61
- "@typescript-eslint/eslint-plugin": "5.x",
62
- "@typescript-eslint/parser": "5.x",
63
- "babel-jest": "^29.3.1",
64
- "eslint": "8.x",
65
- "eslint-config-prettier": "8.x",
66
- "eslint-plugin-unused-imports": "2.x",
67
- "jest": "^29.3.1",
68
- "openapi-types": "^12.1.0",
69
- "prettier": "2.x",
70
- "ts-loader": "^9.4.2",
71
- "typescript": "^4.8.2",
72
- "webpack": "^5.75.0",
73
- "webpack-cli": "^5.0.1"
74
- }
75
- }
1
+ {
2
+ "name": "@mintlify/validation",
3
+ "version": "0.1.45",
4
+ "description": "Validates mint.json files",
5
+ "author": "Mintlify, Inc.",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/mintlify/mint",
9
+ "directory": "packages/mintlify-validation"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/mintlify/mint/issues"
13
+ },
14
+ "license": "Elastic-2.0",
15
+ "keywords": [
16
+ "mintlify",
17
+ "mint",
18
+ "validation"
19
+ ],
20
+ "type": "commonjs",
21
+ "publishConfig": {
22
+ "access": "public",
23
+ "registry": "https://registry.npmjs.org/"
24
+ },
25
+ "main": "./dist/index.js",
26
+ "types": "./dist/index.d.ts",
27
+ "files": [
28
+ "dist"
29
+ ],
30
+ "jest": {
31
+ "verbose": true,
32
+ "moduleNameMapper": {
33
+ "@/utils/(.*)": "<rootDir>/src/utils/$1",
34
+ "@/schemas/(.*)": "<rootDir>/src/schemas/$1",
35
+ "@/types/(.*)": "<rootDir>/src/types/$1"
36
+ }
37
+ },
38
+ "scripts": {
39
+ "prepare": "npm run build",
40
+ "build": "webpack",
41
+ "test": "jest",
42
+ "lint": "eslint . --cache",
43
+ "format": "prettier \"./src/**/*.ts\" --write",
44
+ "format:check": "prettier \"./src/**/*.ts\" --check"
45
+ },
46
+ "dependencies": {
47
+ "mathjs": "^11.8.0",
48
+ "zod": "^3.20.6",
49
+ "zod-to-json-schema": "^3.20.3"
50
+ },
51
+ "devDependencies": {
52
+ "@babel/core": "^7.20.2",
53
+ "@babel/preset-env": "^7.20.2",
54
+ "@babel/preset-typescript": "^7.18.6",
55
+ "@mintlify/eslint-config": "1.0.3",
56
+ "@mintlify/eslint-config-typescript": "1.0.7",
57
+ "@mintlify/prettier-config": "1.0.1",
58
+ "@mintlify/ts-config": "1.0.7",
59
+ "@trivago/prettier-plugin-sort-imports": "3.x",
60
+ "@tsconfig/recommended": "1.x",
61
+ "@typescript-eslint/eslint-plugin": "5.x",
62
+ "@typescript-eslint/parser": "5.x",
63
+ "babel-jest": "^29.3.1",
64
+ "eslint": "8.x",
65
+ "eslint-config-prettier": "8.x",
66
+ "eslint-plugin-unused-imports": "2.x",
67
+ "jest": "^29.3.1",
68
+ "openapi-types": "^12.1.0",
69
+ "prettier": "2.x",
70
+ "ts-loader": "^9.4.2",
71
+ "typescript": "^4.8.2",
72
+ "webpack": "^5.75.0",
73
+ "webpack-cli": "^5.0.1"
74
+ }
75
+ }
@@ -1,171 +0,0 @@
1
- import { z } from "zod";
2
- export declare const analyticsSchema: z.ZodObject<{
3
- amplitude: z.ZodOptional<z.ZodObject<{
4
- apiKey: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- apiKey: string;
7
- }, {
8
- apiKey: string;
9
- }>>;
10
- clearbit: z.ZodOptional<z.ZodObject<{
11
- publicApiKey: z.ZodString;
12
- }, "strip", z.ZodTypeAny, {
13
- publicApiKey: string;
14
- }, {
15
- publicApiKey: string;
16
- }>>;
17
- fathom: z.ZodOptional<z.ZodObject<{
18
- siteId: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- siteId: string;
21
- }, {
22
- siteId: string;
23
- }>>;
24
- ga4: z.ZodOptional<z.ZodObject<{
25
- measurementId: z.ZodString;
26
- }, "strip", z.ZodTypeAny, {
27
- measurementId: string;
28
- }, {
29
- measurementId: string;
30
- }>>;
31
- gtm: z.ZodOptional<z.ZodObject<{
32
- tagId: z.ZodString;
33
- }, "strip", z.ZodTypeAny, {
34
- tagId: string;
35
- }, {
36
- tagId: string;
37
- }>>;
38
- hotjar: z.ZodOptional<z.ZodObject<{
39
- hjid: z.ZodString;
40
- hjsv: z.ZodString;
41
- }, "strip", z.ZodTypeAny, {
42
- hjid: string;
43
- hjsv: string;
44
- }, {
45
- hjid: string;
46
- hjsv: string;
47
- }>>;
48
- koala: z.ZodOptional<z.ZodObject<{
49
- publicApiKey: z.ZodEffects<z.ZodString, string, string>;
50
- }, "strip", z.ZodTypeAny, {
51
- publicApiKey: string;
52
- }, {
53
- publicApiKey: string;
54
- }>>;
55
- logrocket: z.ZodOptional<z.ZodObject<{
56
- appId: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
58
- appId: string;
59
- }, {
60
- appId: string;
61
- }>>;
62
- mixpanel: z.ZodOptional<z.ZodObject<{
63
- projectToken: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- projectToken: string;
66
- }, {
67
- projectToken: string;
68
- }>>;
69
- pirsch: z.ZodOptional<z.ZodObject<{
70
- id: z.ZodString;
71
- }, "strip", z.ZodTypeAny, {
72
- id: string;
73
- }, {
74
- id: string;
75
- }>>;
76
- posthog: z.ZodOptional<z.ZodObject<{
77
- apiKey: z.ZodString;
78
- apiHost: z.ZodOptional<z.ZodString>;
79
- }, "strip", z.ZodTypeAny, {
80
- apiKey: string;
81
- apiHost?: string | undefined;
82
- }, {
83
- apiKey: string;
84
- apiHost?: string | undefined;
85
- }>>;
86
- plausible: z.ZodOptional<z.ZodObject<{
87
- domain: z.ZodEffects<z.ZodString, string, string>;
88
- }, "strip", z.ZodTypeAny, {
89
- domain: string;
90
- }, {
91
- domain: string;
92
- }>>;
93
- }, "strict", z.ZodTypeAny, {
94
- amplitude?: {
95
- apiKey: string;
96
- } | undefined;
97
- clearbit?: {
98
- publicApiKey: string;
99
- } | undefined;
100
- fathom?: {
101
- siteId: string;
102
- } | undefined;
103
- ga4?: {
104
- measurementId: string;
105
- } | undefined;
106
- gtm?: {
107
- tagId: string;
108
- } | undefined;
109
- hotjar?: {
110
- hjid: string;
111
- hjsv: string;
112
- } | undefined;
113
- koala?: {
114
- publicApiKey: string;
115
- } | undefined;
116
- logrocket?: {
117
- appId: string;
118
- } | undefined;
119
- mixpanel?: {
120
- projectToken: string;
121
- } | undefined;
122
- pirsch?: {
123
- id: string;
124
- } | undefined;
125
- posthog?: {
126
- apiKey: string;
127
- apiHost?: string | undefined;
128
- } | undefined;
129
- plausible?: {
130
- domain: string;
131
- } | undefined;
132
- }, {
133
- amplitude?: {
134
- apiKey: string;
135
- } | undefined;
136
- clearbit?: {
137
- publicApiKey: string;
138
- } | undefined;
139
- fathom?: {
140
- siteId: string;
141
- } | undefined;
142
- ga4?: {
143
- measurementId: string;
144
- } | undefined;
145
- gtm?: {
146
- tagId: string;
147
- } | undefined;
148
- hotjar?: {
149
- hjid: string;
150
- hjsv: string;
151
- } | undefined;
152
- koala?: {
153
- publicApiKey: string;
154
- } | undefined;
155
- logrocket?: {
156
- appId: string;
157
- } | undefined;
158
- mixpanel?: {
159
- projectToken: string;
160
- } | undefined;
161
- pirsch?: {
162
- id: string;
163
- } | undefined;
164
- posthog?: {
165
- apiKey: string;
166
- apiHost?: string | undefined;
167
- } | undefined;
168
- plausible?: {
169
- domain: string;
170
- } | undefined;
171
- }>;
@@ -1,14 +0,0 @@
1
- import { z } from "zod";
2
- export declare const anchorColorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3
- from: z.ZodString;
4
- via: z.ZodOptional<z.ZodString>;
5
- to: z.ZodString;
6
- }, "strict", z.ZodTypeAny, {
7
- from: string;
8
- to: string;
9
- via?: string | undefined;
10
- }, {
11
- from: string;
12
- to: string;
13
- via?: string | undefined;
14
- }>]>;
@@ -1,46 +0,0 @@
1
- import { z } from "zod";
2
- export declare const anchorsSchema: z.ZodArray<z.ZodObject<{
3
- name: z.ZodString;
4
- url: z.ZodString;
5
- icon: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
6
- iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
7
- color: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
8
- from: z.ZodString;
9
- via: z.ZodOptional<z.ZodString>;
10
- to: z.ZodString;
11
- }, "strict", z.ZodTypeAny, {
12
- from: string;
13
- to: string;
14
- via?: string | undefined;
15
- }, {
16
- from: string;
17
- to: string;
18
- via?: string | undefined;
19
- }>]>>;
20
- isDefaultHidden: z.ZodOptional<z.ZodBoolean>;
21
- version: z.ZodOptional<z.ZodString>;
22
- }, "strip", z.ZodTypeAny, {
23
- name: string;
24
- url: string;
25
- icon?: string | undefined;
26
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
27
- color?: string | {
28
- from: string;
29
- to: string;
30
- via?: string | undefined;
31
- } | undefined;
32
- isDefaultHidden?: boolean | undefined;
33
- version?: string | undefined;
34
- }, {
35
- name: string;
36
- url: string;
37
- icon?: string | undefined;
38
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
39
- color?: string | {
40
- from: string;
41
- to: string;
42
- via?: string | undefined;
43
- } | undefined;
44
- isDefaultHidden?: boolean | undefined;
45
- version?: string | undefined;
46
- }>, "many">;