@scalar/types 0.1.13 → 0.1.15
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/CHANGELOG.md +19 -0
- package/dist/api-reference/api-reference-configuration.d.ts +41 -11
- package/dist/api-reference/api-reference-configuration.d.ts.map +1 -1
- package/dist/api-reference/api-reference-configuration.js +274 -290
- package/dist/api-reference/api-reference-configuration.js.map +7 -0
- package/dist/api-reference/api-reference-configuration.test.js +224 -0
- package/dist/api-reference/api-reference-configuration.test.js.map +7 -0
- package/dist/api-reference/api-reference-plugin.d.ts +16 -2
- package/dist/api-reference/api-reference-plugin.d.ts.map +1 -1
- package/dist/api-reference/api-reference-plugin.js +28 -22
- package/dist/api-reference/api-reference-plugin.js.map +7 -0
- package/dist/api-reference/authentication-configuration.d.ts +2 -2
- package/dist/api-reference/authentication-configuration.d.ts.map +1 -1
- package/dist/api-reference/authentication-configuration.js +1 -0
- package/dist/api-reference/authentication-configuration.js.map +7 -0
- package/dist/api-reference/authentication-configuration.test-d.js +45 -0
- package/dist/api-reference/authentication-configuration.test-d.js.map +7 -0
- package/dist/api-reference/html-api.d.ts +1 -1
- package/dist/api-reference/html-api.d.ts.map +1 -1
- package/dist/api-reference/html-api.js +1 -0
- package/dist/api-reference/html-api.js.map +7 -0
- package/dist/api-reference/html-rendering-configuration.d.ts +1 -1
- package/dist/api-reference/html-rendering-configuration.d.ts.map +1 -1
- package/dist/api-reference/html-rendering-configuration.js +19 -21
- package/dist/api-reference/html-rendering-configuration.js.map +7 -0
- package/dist/api-reference/index.d.ts +4 -5
- package/dist/api-reference/index.d.ts.map +1 -1
- package/dist/api-reference/index.js +17 -3
- package/dist/api-reference/index.js.map +7 -0
- package/dist/entities/index.d.ts +1 -1
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +21 -1
- package/dist/entities/index.js.map +7 -0
- package/dist/entities/security-scheme.d.ts +104 -0
- package/dist/entities/security-scheme.d.ts.map +1 -1
- package/dist/entities/security-scheme.js +118 -157
- package/dist/entities/security-scheme.js.map +7 -0
- package/dist/entities/security-scheme.test.js +318 -0
- package/dist/entities/security-scheme.test.js.map +7 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +7 -0
- package/dist/legacy/index.d.ts +1 -1
- package/dist/legacy/index.d.ts.map +1 -1
- package/dist/legacy/index.js +2 -1
- package/dist/legacy/index.js.map +7 -0
- package/dist/legacy/reference-config.d.ts +2 -2
- package/dist/legacy/reference-config.d.ts.map +1 -1
- package/dist/legacy/reference-config.js +10 -8
- package/dist/legacy/reference-config.js.map +7 -0
- package/dist/snippetz/index.d.ts +1 -1
- package/dist/snippetz/index.d.ts.map +1 -1
- package/dist/snippetz/index.js +2 -1
- package/dist/snippetz/index.js.map +7 -0
- package/dist/snippetz/snippetz.d.ts +1 -1
- package/dist/snippetz/snippetz.d.ts.map +1 -1
- package/dist/snippetz/snippetz.js +39 -40
- package/dist/snippetz/snippetz.js.map +7 -0
- package/dist/snippetz/snippetz.test-d.js +28 -0
- package/dist/snippetz/snippetz.test-d.js.map +7 -0
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +5 -1
- package/dist/utils/index.js.map +7 -0
- package/dist/utils/nanoid.js +7 -11
- package/dist/utils/nanoid.js.map +7 -0
- package/dist/utils/nanoid.test.js +29 -0
- package/dist/utils/nanoid.test.js.map +7 -0
- package/dist/utils/utility-types.js +1 -0
- package/dist/utils/utility-types.js.map +7 -0
- package/package.json +6 -10
- package/dist/api-reference/helpers/migrate-theme-variables.d.ts +0 -10
- package/dist/api-reference/helpers/migrate-theme-variables.d.ts.map +0 -1
- package/dist/api-reference/helpers/migrate-theme-variables.js +0 -22
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @scalar/types
|
|
2
2
|
|
|
3
|
+
## 0.1.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f711ab5: feat: add auth persistance to references
|
|
8
|
+
- 0222ad4: feat: render specification extensions with React
|
|
9
|
+
- cb9428c: Support additional query parameters for the OAuth authorization request (prompt, audience, anything), and handle OAuth authorization denials
|
|
10
|
+
- 67aa0f4: fix: render correct queries with form data
|
|
11
|
+
- Updated dependencies [cb9428c]
|
|
12
|
+
- @scalar/openapi-types@0.2.3
|
|
13
|
+
|
|
14
|
+
## 0.1.14
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 8c7bad8: chore: move build tooling to esbuild
|
|
19
|
+
- Updated dependencies [8c7bad8]
|
|
20
|
+
- @scalar/openapi-types@0.2.2
|
|
21
|
+
|
|
3
22
|
## 0.1.13
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type { AuthenticationConfiguration } from './authentication-configuration.
|
|
2
|
+
import type { AuthenticationConfiguration } from './authentication-configuration.js';
|
|
3
3
|
/** Configuration for the OpenAPI/Swagger specification */
|
|
4
4
|
export declare const specConfigurationSchema: z.ZodObject<{
|
|
5
5
|
/**
|
|
@@ -208,10 +208,13 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
|
|
|
208
208
|
_integration: z.ZodOptional<z.ZodNullable<z.ZodEnum<["adonisjs", "docusaurus", "dotnet", "elysiajs", "express", "fastapi", "fastify", "go", "hono", "html", "laravel", "litestar", "nestjs", "nextjs", "nitro", "nuxt", "platformatic", "react", "rust", "svelte", "vue"]>>>;
|
|
209
209
|
/** onRequestSent is fired when a request is sent */
|
|
210
210
|
onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
|
|
211
|
+
/** Whether to persist auth to local storage */
|
|
212
|
+
persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
211
213
|
}, "strip", z.ZodTypeAny, {
|
|
212
214
|
hideClientButton: boolean;
|
|
213
215
|
showSidebar: boolean;
|
|
214
216
|
theme: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
217
|
+
persistAuth: boolean;
|
|
215
218
|
url?: string | undefined;
|
|
216
219
|
content?: string | Record<string, any> | ((...args: unknown[]) => Record<string, any>) | null | undefined;
|
|
217
220
|
title?: string | undefined;
|
|
@@ -225,7 +228,7 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
|
|
|
225
228
|
authentication?: any;
|
|
226
229
|
baseServerURL?: string | undefined;
|
|
227
230
|
proxyUrl?: string | undefined;
|
|
228
|
-
searchHotKey?: "
|
|
231
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
229
232
|
servers?: any[] | undefined;
|
|
230
233
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
231
234
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
@@ -244,12 +247,13 @@ export declare const apiClientConfigurationSchema: z.ZodObject<{
|
|
|
244
247
|
baseServerURL?: string | undefined;
|
|
245
248
|
hideClientButton?: unknown;
|
|
246
249
|
proxyUrl?: string | undefined;
|
|
247
|
-
searchHotKey?: "
|
|
250
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
248
251
|
servers?: any[] | undefined;
|
|
249
252
|
showSidebar?: unknown;
|
|
250
253
|
theme?: unknown;
|
|
251
254
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
252
255
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
256
|
+
persistAuth?: unknown;
|
|
253
257
|
}>;
|
|
254
258
|
export type ApiClientConfiguration = z.infer<typeof apiClientConfigurationSchema>;
|
|
255
259
|
/** Configuration for the Api Client without the transform since it cannot be merged */
|
|
@@ -385,6 +389,8 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
385
389
|
_integration: z.ZodOptional<z.ZodNullable<z.ZodEnum<["adonisjs", "docusaurus", "dotnet", "elysiajs", "express", "fastapi", "fastify", "go", "hono", "html", "laravel", "litestar", "nestjs", "nextjs", "nitro", "nuxt", "platformatic", "react", "rust", "svelte", "vue"]>>>;
|
|
386
390
|
/** onRequestSent is fired when a request is sent */
|
|
387
391
|
onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
|
|
392
|
+
/** Whether to persist auth to local storage */
|
|
393
|
+
persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
388
394
|
}, {
|
|
389
395
|
/**
|
|
390
396
|
* The layout to use for the references
|
|
@@ -404,28 +410,33 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
404
410
|
extensions: z.ZodArray<z.ZodObject<{
|
|
405
411
|
name: z.ZodString;
|
|
406
412
|
component: z.ZodUnknown;
|
|
413
|
+
renderer: z.ZodOptional<z.ZodUnknown>;
|
|
407
414
|
}, "strip", z.ZodTypeAny, {
|
|
408
415
|
name: string;
|
|
409
416
|
component?: unknown;
|
|
417
|
+
renderer?: unknown;
|
|
410
418
|
}, {
|
|
411
419
|
name: string;
|
|
412
420
|
component?: unknown;
|
|
421
|
+
renderer?: unknown;
|
|
413
422
|
}>, "many">;
|
|
414
423
|
}, "strip", z.ZodTypeAny, {
|
|
415
424
|
name: string;
|
|
416
425
|
extensions: {
|
|
417
426
|
name: string;
|
|
418
427
|
component?: unknown;
|
|
428
|
+
renderer?: unknown;
|
|
419
429
|
}[];
|
|
420
430
|
}, {
|
|
421
431
|
name: string;
|
|
422
432
|
extensions: {
|
|
423
433
|
name: string;
|
|
424
434
|
component?: unknown;
|
|
435
|
+
renderer?: unknown;
|
|
425
436
|
}[];
|
|
426
437
|
}>>, "many">>;
|
|
427
438
|
/**
|
|
428
|
-
*
|
|
439
|
+
* Allows the user to inject an editor for the spec
|
|
429
440
|
* @default false
|
|
430
441
|
*/
|
|
431
442
|
isEditable: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
@@ -643,6 +654,7 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
643
654
|
hideClientButton: boolean;
|
|
644
655
|
showSidebar: boolean;
|
|
645
656
|
theme: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
657
|
+
persistAuth: boolean;
|
|
646
658
|
layout: "modern" | "classic";
|
|
647
659
|
isEditable: boolean;
|
|
648
660
|
isLoading: boolean;
|
|
@@ -665,7 +677,7 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
665
677
|
authentication?: any;
|
|
666
678
|
baseServerURL?: string | undefined;
|
|
667
679
|
proxyUrl?: string | undefined;
|
|
668
|
-
searchHotKey?: "
|
|
680
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
669
681
|
servers?: any[] | undefined;
|
|
670
682
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
671
683
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
@@ -675,6 +687,7 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
675
687
|
extensions: {
|
|
676
688
|
name: string;
|
|
677
689
|
component?: unknown;
|
|
690
|
+
renderer?: unknown;
|
|
678
691
|
}[];
|
|
679
692
|
})[] | undefined;
|
|
680
693
|
darkMode?: boolean | undefined;
|
|
@@ -734,12 +747,13 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
734
747
|
baseServerURL?: string | undefined;
|
|
735
748
|
hideClientButton?: unknown;
|
|
736
749
|
proxyUrl?: string | undefined;
|
|
737
|
-
searchHotKey?: "
|
|
750
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
738
751
|
servers?: any[] | undefined;
|
|
739
752
|
showSidebar?: unknown;
|
|
740
753
|
theme?: unknown;
|
|
741
754
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
742
755
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
756
|
+
persistAuth?: unknown;
|
|
743
757
|
layout?: unknown;
|
|
744
758
|
proxy?: string | undefined;
|
|
745
759
|
plugins?: ((...args: unknown[]) => {
|
|
@@ -747,6 +761,7 @@ declare const _apiReferenceConfigurationSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
747
761
|
extensions: {
|
|
748
762
|
name: string;
|
|
749
763
|
component?: unknown;
|
|
764
|
+
renderer?: unknown;
|
|
750
765
|
}[];
|
|
751
766
|
})[] | undefined;
|
|
752
767
|
isEditable?: unknown;
|
|
@@ -933,6 +948,8 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
933
948
|
_integration: z.ZodOptional<z.ZodNullable<z.ZodEnum<["adonisjs", "docusaurus", "dotnet", "elysiajs", "express", "fastapi", "fastify", "go", "hono", "html", "laravel", "litestar", "nestjs", "nextjs", "nitro", "nuxt", "platformatic", "react", "rust", "svelte", "vue"]>>>;
|
|
934
949
|
/** onRequestSent is fired when a request is sent */
|
|
935
950
|
onRequestSent: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
|
|
951
|
+
/** Whether to persist auth to local storage */
|
|
952
|
+
persistAuth: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
936
953
|
}, {
|
|
937
954
|
/**
|
|
938
955
|
* The layout to use for the references
|
|
@@ -952,28 +969,33 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
952
969
|
extensions: z.ZodArray<z.ZodObject<{
|
|
953
970
|
name: z.ZodString;
|
|
954
971
|
component: z.ZodUnknown;
|
|
972
|
+
renderer: z.ZodOptional<z.ZodUnknown>;
|
|
955
973
|
}, "strip", z.ZodTypeAny, {
|
|
956
974
|
name: string;
|
|
957
975
|
component?: unknown;
|
|
976
|
+
renderer?: unknown;
|
|
958
977
|
}, {
|
|
959
978
|
name: string;
|
|
960
979
|
component?: unknown;
|
|
980
|
+
renderer?: unknown;
|
|
961
981
|
}>, "many">;
|
|
962
982
|
}, "strip", z.ZodTypeAny, {
|
|
963
983
|
name: string;
|
|
964
984
|
extensions: {
|
|
965
985
|
name: string;
|
|
966
986
|
component?: unknown;
|
|
987
|
+
renderer?: unknown;
|
|
967
988
|
}[];
|
|
968
989
|
}, {
|
|
969
990
|
name: string;
|
|
970
991
|
extensions: {
|
|
971
992
|
name: string;
|
|
972
993
|
component?: unknown;
|
|
994
|
+
renderer?: unknown;
|
|
973
995
|
}[];
|
|
974
996
|
}>>, "many">>;
|
|
975
997
|
/**
|
|
976
|
-
*
|
|
998
|
+
* Allows the user to inject an editor for the spec
|
|
977
999
|
* @default false
|
|
978
1000
|
*/
|
|
979
1001
|
isEditable: z.ZodCatch<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
|
|
@@ -1191,6 +1213,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1191
1213
|
hideClientButton: boolean;
|
|
1192
1214
|
showSidebar: boolean;
|
|
1193
1215
|
theme: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
1216
|
+
persistAuth: boolean;
|
|
1194
1217
|
layout: "modern" | "classic";
|
|
1195
1218
|
isEditable: boolean;
|
|
1196
1219
|
isLoading: boolean;
|
|
@@ -1213,7 +1236,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1213
1236
|
authentication?: any;
|
|
1214
1237
|
baseServerURL?: string | undefined;
|
|
1215
1238
|
proxyUrl?: string | undefined;
|
|
1216
|
-
searchHotKey?: "
|
|
1239
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
1217
1240
|
servers?: any[] | undefined;
|
|
1218
1241
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
1219
1242
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
@@ -1223,6 +1246,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1223
1246
|
extensions: {
|
|
1224
1247
|
name: string;
|
|
1225
1248
|
component?: unknown;
|
|
1249
|
+
renderer?: unknown;
|
|
1226
1250
|
}[];
|
|
1227
1251
|
})[] | undefined;
|
|
1228
1252
|
darkMode?: boolean | undefined;
|
|
@@ -1282,12 +1306,13 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1282
1306
|
baseServerURL?: string | undefined;
|
|
1283
1307
|
hideClientButton?: unknown;
|
|
1284
1308
|
proxyUrl?: string | undefined;
|
|
1285
|
-
searchHotKey?: "
|
|
1309
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
1286
1310
|
servers?: any[] | undefined;
|
|
1287
1311
|
showSidebar?: unknown;
|
|
1288
1312
|
theme?: unknown;
|
|
1289
1313
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
1290
1314
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
1315
|
+
persistAuth?: unknown;
|
|
1291
1316
|
layout?: unknown;
|
|
1292
1317
|
proxy?: string | undefined;
|
|
1293
1318
|
plugins?: ((...args: unknown[]) => {
|
|
@@ -1295,6 +1320,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1295
1320
|
extensions: {
|
|
1296
1321
|
name: string;
|
|
1297
1322
|
component?: unknown;
|
|
1323
|
+
renderer?: unknown;
|
|
1298
1324
|
}[];
|
|
1299
1325
|
})[] | undefined;
|
|
1300
1326
|
isEditable?: unknown;
|
|
@@ -1351,6 +1377,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1351
1377
|
hideClientButton: boolean;
|
|
1352
1378
|
showSidebar: boolean;
|
|
1353
1379
|
theme: "alternate" | "default" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
1380
|
+
persistAuth: boolean;
|
|
1354
1381
|
layout: "modern" | "classic";
|
|
1355
1382
|
isEditable: boolean;
|
|
1356
1383
|
isLoading: boolean;
|
|
@@ -1373,7 +1400,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1373
1400
|
authentication?: any;
|
|
1374
1401
|
baseServerURL?: string | undefined;
|
|
1375
1402
|
proxyUrl?: string | undefined;
|
|
1376
|
-
searchHotKey?: "
|
|
1403
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
1377
1404
|
servers?: any[] | undefined;
|
|
1378
1405
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
1379
1406
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
@@ -1383,6 +1410,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1383
1410
|
extensions: {
|
|
1384
1411
|
name: string;
|
|
1385
1412
|
component?: unknown;
|
|
1413
|
+
renderer?: unknown;
|
|
1386
1414
|
}[];
|
|
1387
1415
|
})[] | undefined;
|
|
1388
1416
|
darkMode?: boolean | undefined;
|
|
@@ -1442,12 +1470,13 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1442
1470
|
baseServerURL?: string | undefined;
|
|
1443
1471
|
hideClientButton?: unknown;
|
|
1444
1472
|
proxyUrl?: string | undefined;
|
|
1445
|
-
searchHotKey?: "
|
|
1473
|
+
searchHotKey?: "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | undefined;
|
|
1446
1474
|
servers?: any[] | undefined;
|
|
1447
1475
|
showSidebar?: unknown;
|
|
1448
1476
|
theme?: unknown;
|
|
1449
1477
|
_integration?: "go" | "elysiajs" | "fastify" | "adonisjs" | "docusaurus" | "dotnet" | "express" | "fastapi" | "hono" | "html" | "laravel" | "litestar" | "nestjs" | "nextjs" | "nitro" | "nuxt" | "platformatic" | "react" | "rust" | "svelte" | "vue" | null | undefined;
|
|
1450
1478
|
onRequestSent?: ((args_0: string, ...args: unknown[]) => void) | undefined;
|
|
1479
|
+
persistAuth?: unknown;
|
|
1451
1480
|
layout?: unknown;
|
|
1452
1481
|
proxy?: string | undefined;
|
|
1453
1482
|
plugins?: ((...args: unknown[]) => {
|
|
@@ -1455,6 +1484,7 @@ export declare const apiReferenceConfigurationSchema: z.ZodEffects<z.ZodObject<z
|
|
|
1455
1484
|
extensions: {
|
|
1456
1485
|
name: string;
|
|
1457
1486
|
component?: unknown;
|
|
1487
|
+
renderer?: unknown;
|
|
1458
1488
|
}[];
|
|
1459
1489
|
})[] | undefined;
|
|
1460
1490
|
isEditable?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api-reference-configuration.d.ts","sourceRoot":"","sources":["../../src/api-reference/api-reference-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"api-reference-configuration.d.ts","sourceRoot":"","sources":["../../src/api-reference/api-reference-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,gCAAgC,CAAA;AA6EjF,0DAA0D;AAC1D,eAAO,MAAM,uBAAuB;IAClC;;;;;;;;;;;;;;;;;QAiBI;;IAEJ;;;;;;;;;;;;;;;;;;;;QAoBI;;IAEJ;;;;;;OAMG;;IAEH;;;;;;;;;;OAUG;;;;;;;;;;;;EAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAQvE,uCAAuC;AACvC,eAAO,MAAM,4BAA4B;IACvC;;QAEI;;IAEJ;;;;;QAKI;;IAEJ;;;;OAIG;;IAEH;;;;;;;;OAQG;;IAEH;;;;QAII;;QAvGJ;;;;;;;;;;;;;;;;;YAiBI;;QAEJ;;;;;;;;;;;;;;;;;;;;YAoBI;;QAEJ;;;;;;WAMG;;QAEH;;;;;;;;;;WAUG;;;;;;;;;;;;;IA8CH,6BAA6B;;IAE7B,kCAAkC;;IAElC;;;OAGG;;IAEH,gDAAgD;;IAEhD,mFAAmF;;IAEnF,qCAAqC;;IAErC;;;OAGG;;IAEH,+CAA+C;;IAE/C,kCAAkC;;IAElC,oDAAoD;;IAEpD,+CAA+C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/C,CAAA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