@scalar/api-client 2.3.9 → 2.3.11
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 +37 -0
- package/dist/layouts/App/create-api-client-app.d.ts +38 -167
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +76 -334
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.js +4 -4
- package/dist/layouts/Web/create-api-client-web.d.ts +38 -167
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +38 -167
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/create-client.js +18 -20
- package/dist/libs/send-request/create-request-operation.d.ts +1 -0
- package/dist/libs/send-request/create-request-operation.d.ts.map +1 -1
- package/dist/store/active-entities.d.ts +2 -0
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +14 -4
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/import-spec.d.ts +2 -154
- package/dist/store/import-spec.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +16 -6
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/store.d.ts +38 -167
- package/dist/store/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionAuthentication.vue.js +5 -2
- package/dist/views/Collection/CollectionAuthentication.vue2.js +52 -11
- package/dist/views/Collection/CollectionNavigation.vue.js +34 -34
- package/dist/views/Collection/CollectionSettings.vue.d.ts.map +1 -1
- package/dist/views/Collection/CollectionSettings.vue.js +2 -2
- package/dist/views/Collection/CollectionSettings.vue2.js +1 -1
- package/dist/views/Request/Request.vue.d.ts +4 -0
- package/dist/views/Request/Request.vue.d.ts.map +1 -1
- package/dist/views/Request/Request.vue.js +2 -2
- package/dist/views/Request/Request.vue2.js +71 -73
- package/dist/views/Request/RequestRoot.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestRoot.vue.js +1 -1
- package/dist/views/Request/RequestRoot.vue2.js +65 -61
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +24 -24
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts +11 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.d.ts.map +1 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +81 -0
- package/dist/views/Request/ResponseSection/RequestHeaders.vue2.js +4 -0
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts +2 -0
- package/dist/views/Request/ResponseSection/ResponseSection.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/ResponseSection.vue.js +3 -3
- package/dist/views/Request/ResponseSection/ResponseSection.vue2.js +73 -60
- package/dist/views/Request/consts/mediaTypes.d.ts.map +1 -1
- package/dist/views/Request/consts/mediaTypes.js +1 -0
- package/package.json +13 -13
|
@@ -75,6 +75,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
75
75
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
76
76
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
77
77
|
watchMode: boolean;
|
|
78
|
+
useCollectionSecurity: boolean;
|
|
78
79
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
79
80
|
externalDocs?: {
|
|
80
81
|
url: string;
|
|
@@ -358,6 +359,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
358
359
|
} | undefined;
|
|
359
360
|
};
|
|
360
361
|
description?: string | undefined;
|
|
362
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
361
363
|
}>;
|
|
362
364
|
modalState: {
|
|
363
365
|
open: boolean;
|
|
@@ -417,9 +419,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
417
419
|
documentUrl?: string | undefined;
|
|
418
420
|
watchMode?: boolean | undefined;
|
|
419
421
|
integration?: string | null | undefined;
|
|
422
|
+
useCollectionSecurity?: boolean | undefined;
|
|
420
423
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
421
424
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
422
|
-
|
|
425
|
+
useCollectionSecurity?: boolean;
|
|
423
426
|
shouldLoad?: boolean;
|
|
424
427
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
425
428
|
error: false;
|
|
@@ -429,83 +432,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
429
432
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
430
433
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
431
434
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
432
|
-
securitySchemes: (
|
|
433
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
434
|
-
name: string;
|
|
435
|
-
value: string;
|
|
436
|
-
type: "apiKey";
|
|
437
|
-
in: "cookie" | "query" | "header";
|
|
438
|
-
nameKey: string;
|
|
439
|
-
description?: string | undefined;
|
|
440
|
-
} | {
|
|
441
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
442
|
-
type: "http";
|
|
443
|
-
password: string;
|
|
444
|
-
nameKey: string;
|
|
445
|
-
scheme: "basic" | "bearer";
|
|
446
|
-
bearerFormat: string;
|
|
447
|
-
username: string;
|
|
448
|
-
token: string;
|
|
449
|
-
description?: string | undefined;
|
|
450
|
-
} | {
|
|
451
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
452
|
-
type: "openIdConnect";
|
|
453
|
-
nameKey: string;
|
|
454
|
-
openIdConnectUrl: string;
|
|
455
|
-
description?: string | undefined;
|
|
456
|
-
} | {
|
|
457
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
458
|
-
type: "oauth2";
|
|
459
|
-
nameKey: string;
|
|
460
|
-
flows: {
|
|
461
|
-
password?: {
|
|
462
|
-
type: "password";
|
|
463
|
-
password: string;
|
|
464
|
-
username: string;
|
|
465
|
-
token: string;
|
|
466
|
-
refreshUrl: string;
|
|
467
|
-
scopes: Record<string, string>;
|
|
468
|
-
selectedScopes: string[];
|
|
469
|
-
"x-scalar-client-id": string;
|
|
470
|
-
tokenUrl: string;
|
|
471
|
-
clientSecret: string;
|
|
472
|
-
} | undefined;
|
|
473
|
-
implicit?: {
|
|
474
|
-
type: "implicit";
|
|
475
|
-
token: string;
|
|
476
|
-
refreshUrl: string;
|
|
477
|
-
scopes: Record<string, string>;
|
|
478
|
-
selectedScopes: string[];
|
|
479
|
-
"x-scalar-client-id": string;
|
|
480
|
-
authorizationUrl: string;
|
|
481
|
-
"x-scalar-redirect-uri": string;
|
|
482
|
-
} | undefined;
|
|
483
|
-
clientCredentials?: {
|
|
484
|
-
type: "clientCredentials";
|
|
485
|
-
token: string;
|
|
486
|
-
refreshUrl: string;
|
|
487
|
-
scopes: Record<string, string>;
|
|
488
|
-
selectedScopes: string[];
|
|
489
|
-
"x-scalar-client-id": string;
|
|
490
|
-
tokenUrl: string;
|
|
491
|
-
clientSecret: string;
|
|
492
|
-
} | undefined;
|
|
493
|
-
authorizationCode?: {
|
|
494
|
-
type: "authorizationCode";
|
|
495
|
-
token: string;
|
|
496
|
-
refreshUrl: string;
|
|
497
|
-
scopes: Record<string, string>;
|
|
498
|
-
selectedScopes: string[];
|
|
499
|
-
"x-scalar-client-id": string;
|
|
500
|
-
authorizationUrl: string;
|
|
501
|
-
"x-scalar-redirect-uri": string;
|
|
502
|
-
tokenUrl: string;
|
|
503
|
-
clientSecret: string;
|
|
504
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
505
|
-
} | undefined;
|
|
506
|
-
};
|
|
507
|
-
description?: string | undefined;
|
|
508
|
-
})[];
|
|
435
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
509
436
|
} | undefined>;
|
|
510
437
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
511
438
|
uid?: string | undefined;
|
|
@@ -544,9 +471,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
544
471
|
documentUrl?: string | undefined;
|
|
545
472
|
watchMode?: boolean | undefined;
|
|
546
473
|
integration?: string | null | undefined;
|
|
474
|
+
useCollectionSecurity?: boolean | undefined;
|
|
547
475
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
548
476
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
549
|
-
|
|
477
|
+
useCollectionSecurity?: boolean;
|
|
550
478
|
shouldLoad?: boolean;
|
|
551
479
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
552
480
|
uid?: string | undefined;
|
|
@@ -585,9 +513,10 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
585
513
|
documentUrl?: string | undefined;
|
|
586
514
|
watchMode?: boolean | undefined;
|
|
587
515
|
integration?: string | null | undefined;
|
|
516
|
+
useCollectionSecurity?: boolean | undefined;
|
|
588
517
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
589
518
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
590
|
-
|
|
519
|
+
useCollectionSecurity?: boolean;
|
|
591
520
|
shouldLoad?: boolean;
|
|
592
521
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
593
522
|
error: false;
|
|
@@ -597,83 +526,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
597
526
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
598
527
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
599
528
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
600
|
-
securitySchemes: (
|
|
601
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
602
|
-
name: string;
|
|
603
|
-
value: string;
|
|
604
|
-
type: "apiKey";
|
|
605
|
-
in: "cookie" | "query" | "header";
|
|
606
|
-
nameKey: string;
|
|
607
|
-
description?: string | undefined;
|
|
608
|
-
} | {
|
|
609
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
610
|
-
type: "http";
|
|
611
|
-
password: string;
|
|
612
|
-
nameKey: string;
|
|
613
|
-
scheme: "basic" | "bearer";
|
|
614
|
-
bearerFormat: string;
|
|
615
|
-
username: string;
|
|
616
|
-
token: string;
|
|
617
|
-
description?: string | undefined;
|
|
618
|
-
} | {
|
|
619
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
620
|
-
type: "openIdConnect";
|
|
621
|
-
nameKey: string;
|
|
622
|
-
openIdConnectUrl: string;
|
|
623
|
-
description?: string | undefined;
|
|
624
|
-
} | {
|
|
625
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
626
|
-
type: "oauth2";
|
|
627
|
-
nameKey: string;
|
|
628
|
-
flows: {
|
|
629
|
-
password?: {
|
|
630
|
-
type: "password";
|
|
631
|
-
password: string;
|
|
632
|
-
username: string;
|
|
633
|
-
token: string;
|
|
634
|
-
refreshUrl: string;
|
|
635
|
-
scopes: Record<string, string>;
|
|
636
|
-
selectedScopes: string[];
|
|
637
|
-
"x-scalar-client-id": string;
|
|
638
|
-
tokenUrl: string;
|
|
639
|
-
clientSecret: string;
|
|
640
|
-
} | undefined;
|
|
641
|
-
implicit?: {
|
|
642
|
-
type: "implicit";
|
|
643
|
-
token: string;
|
|
644
|
-
refreshUrl: string;
|
|
645
|
-
scopes: Record<string, string>;
|
|
646
|
-
selectedScopes: string[];
|
|
647
|
-
"x-scalar-client-id": string;
|
|
648
|
-
authorizationUrl: string;
|
|
649
|
-
"x-scalar-redirect-uri": string;
|
|
650
|
-
} | undefined;
|
|
651
|
-
clientCredentials?: {
|
|
652
|
-
type: "clientCredentials";
|
|
653
|
-
token: string;
|
|
654
|
-
refreshUrl: string;
|
|
655
|
-
scopes: Record<string, string>;
|
|
656
|
-
selectedScopes: string[];
|
|
657
|
-
"x-scalar-client-id": string;
|
|
658
|
-
tokenUrl: string;
|
|
659
|
-
clientSecret: string;
|
|
660
|
-
} | undefined;
|
|
661
|
-
authorizationCode?: {
|
|
662
|
-
type: "authorizationCode";
|
|
663
|
-
token: string;
|
|
664
|
-
refreshUrl: string;
|
|
665
|
-
scopes: Record<string, string>;
|
|
666
|
-
selectedScopes: string[];
|
|
667
|
-
"x-scalar-client-id": string;
|
|
668
|
-
authorizationUrl: string;
|
|
669
|
-
"x-scalar-redirect-uri": string;
|
|
670
|
-
tokenUrl: string;
|
|
671
|
-
clientSecret: string;
|
|
672
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
673
|
-
} | undefined;
|
|
674
|
-
};
|
|
675
|
-
description?: string | undefined;
|
|
676
|
-
})[];
|
|
529
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
677
530
|
} | undefined>>>>>;
|
|
678
531
|
cookieMutators: {
|
|
679
532
|
add: (item: {
|
|
@@ -764,6 +617,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
764
617
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
765
618
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
766
619
|
watchMode: boolean;
|
|
620
|
+
useCollectionSecurity: boolean;
|
|
767
621
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
768
622
|
externalDocs?: {
|
|
769
623
|
url: string;
|
|
@@ -819,6 +673,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
819
673
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
820
674
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
821
675
|
watchMode: boolean;
|
|
676
|
+
useCollectionSecurity: boolean;
|
|
822
677
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
823
678
|
externalDocs?: {
|
|
824
679
|
url: string;
|
|
@@ -877,6 +732,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
877
732
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
878
733
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
879
734
|
watchMode: boolean;
|
|
735
|
+
useCollectionSecurity: boolean;
|
|
880
736
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
881
737
|
externalDocs?: {
|
|
882
738
|
url: string;
|
|
@@ -902,7 +758,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
902
758
|
documentUrl?: string | undefined;
|
|
903
759
|
integration?: string | null | undefined;
|
|
904
760
|
}) => void;
|
|
905
|
-
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
761
|
+
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
906
762
|
uid: string & import("zod").BRAND<"collection">;
|
|
907
763
|
type: "collection";
|
|
908
764
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -932,6 +788,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
932
788
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
933
789
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
934
790
|
watchMode: boolean;
|
|
791
|
+
useCollectionSecurity: boolean;
|
|
935
792
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
936
793
|
externalDocs?: {
|
|
937
794
|
url: string;
|
|
@@ -956,7 +813,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
956
813
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
957
814
|
documentUrl?: string | undefined;
|
|
958
815
|
integration?: string | null | undefined;
|
|
959
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
816
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
960
817
|
uid: string & import("zod").BRAND<"collection">;
|
|
961
818
|
type: "collection";
|
|
962
819
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -986,6 +843,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
986
843
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
987
844
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
988
845
|
watchMode: boolean;
|
|
846
|
+
useCollectionSecurity: boolean;
|
|
989
847
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
990
848
|
externalDocs?: {
|
|
991
849
|
url: string;
|
|
@@ -1040,6 +898,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1040
898
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1041
899
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1042
900
|
watchMode: boolean;
|
|
901
|
+
useCollectionSecurity: boolean;
|
|
1043
902
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1044
903
|
externalDocs?: {
|
|
1045
904
|
url: string;
|
|
@@ -1065,7 +924,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1065
924
|
documentUrl?: string | undefined;
|
|
1066
925
|
integration?: string | null | undefined;
|
|
1067
926
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
1068
|
-
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
927
|
+
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
1069
928
|
uid: string & import("zod").BRAND<"collection">;
|
|
1070
929
|
type: "collection";
|
|
1071
930
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -1095,6 +954,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1095
954
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1096
955
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1097
956
|
watchMode: boolean;
|
|
957
|
+
useCollectionSecurity: boolean;
|
|
1098
958
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1099
959
|
externalDocs?: {
|
|
1100
960
|
url: string;
|
|
@@ -1119,7 +979,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1119
979
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
1120
980
|
documentUrl?: string | undefined;
|
|
1121
981
|
integration?: string | null | undefined;
|
|
1122
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
982
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
1123
983
|
uid: string & import("zod").BRAND<"collection">;
|
|
1124
984
|
type: "collection";
|
|
1125
985
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -1149,6 +1009,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1149
1009
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1150
1010
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1151
1011
|
watchMode: boolean;
|
|
1012
|
+
useCollectionSecurity: boolean;
|
|
1152
1013
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1153
1014
|
externalDocs?: {
|
|
1154
1015
|
url: string;
|
|
@@ -1203,6 +1064,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
1203
1064
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
1204
1065
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
1205
1066
|
watchMode: boolean;
|
|
1067
|
+
useCollectionSecurity: boolean;
|
|
1206
1068
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
1207
1069
|
externalDocs?: {
|
|
1208
1070
|
url: string;
|
|
@@ -2642,6 +2504,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2642
2504
|
} | undefined;
|
|
2643
2505
|
};
|
|
2644
2506
|
description?: string | undefined;
|
|
2507
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2645
2508
|
}) => void;
|
|
2646
2509
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
2647
2510
|
type: "apiKey";
|
|
@@ -2719,6 +2582,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2719
2582
|
} | undefined;
|
|
2720
2583
|
};
|
|
2721
2584
|
description?: string | undefined;
|
|
2585
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2722
2586
|
};
|
|
2723
2587
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
2724
2588
|
set: (item: {
|
|
@@ -2797,8 +2661,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2797
2661
|
} | undefined;
|
|
2798
2662
|
};
|
|
2799
2663
|
description?: string | undefined;
|
|
2664
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2800
2665
|
}) => void;
|
|
2801
|
-
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2666
|
+
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2802
2667
|
type: "apiKey";
|
|
2803
2668
|
value: string;
|
|
2804
2669
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -2870,7 +2735,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2870
2735
|
nameKey: string;
|
|
2871
2736
|
openIdConnectUrl: string;
|
|
2872
2737
|
description?: string | undefined;
|
|
2873
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2738
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
2874
2739
|
type: "oauth2";
|
|
2875
2740
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2876
2741
|
nameKey: string;
|
|
@@ -2922,7 +2787,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2922
2787
|
} | undefined;
|
|
2923
2788
|
};
|
|
2924
2789
|
description?: string | undefined;
|
|
2925
|
-
|
|
2790
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2791
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
2926
2792
|
type: "oauth2";
|
|
2927
2793
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
2928
2794
|
nameKey: string;
|
|
@@ -2974,6 +2840,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
2974
2840
|
} | undefined;
|
|
2975
2841
|
};
|
|
2976
2842
|
description?: string | undefined;
|
|
2843
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
2977
2844
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
2978
2845
|
type: "oauth2";
|
|
2979
2846
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3026,8 +2893,9 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3026
2893
|
} | undefined;
|
|
3027
2894
|
};
|
|
3028
2895
|
description?: string | undefined;
|
|
2896
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3029
2897
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3030
|
-
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
2898
|
+
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
3031
2899
|
type: "apiKey";
|
|
3032
2900
|
value: string;
|
|
3033
2901
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3099,7 +2967,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3099
2967
|
nameKey: string;
|
|
3100
2968
|
openIdConnectUrl: string;
|
|
3101
2969
|
description?: string | undefined;
|
|
3102
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
2970
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
3103
2971
|
type: "oauth2";
|
|
3104
2972
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3105
2973
|
nameKey: string;
|
|
@@ -3151,7 +3019,8 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3151
3019
|
} | undefined;
|
|
3152
3020
|
};
|
|
3153
3021
|
description?: string | undefined;
|
|
3154
|
-
|
|
3022
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3023
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
3155
3024
|
type: "oauth2";
|
|
3156
3025
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
3157
3026
|
nameKey: string;
|
|
@@ -3203,6 +3072,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3203
3072
|
} | undefined;
|
|
3204
3073
|
};
|
|
3205
3074
|
description?: string | undefined;
|
|
3075
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3206
3076
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
3207
3077
|
type: "oauth2";
|
|
3208
3078
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -3255,6 +3125,7 @@ export declare const createApiClientModal: ({ el, configuration, mountOnInitiali
|
|
|
3255
3125
|
} | undefined;
|
|
3256
3126
|
};
|
|
3257
3127
|
description?: string | undefined;
|
|
3128
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
3258
3129
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
3259
3130
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
3260
3131
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
@@ -3788,6 +3659,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
3788
3659
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
3789
3660
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
3790
3661
|
watchMode: boolean;
|
|
3662
|
+
useCollectionSecurity: boolean;
|
|
3791
3663
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
3792
3664
|
externalDocs?: {
|
|
3793
3665
|
url: string;
|
|
@@ -4071,6 +3943,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4071
3943
|
} | undefined;
|
|
4072
3944
|
};
|
|
4073
3945
|
description?: string | undefined;
|
|
3946
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
4074
3947
|
}>;
|
|
4075
3948
|
modalState: {
|
|
4076
3949
|
open: boolean;
|
|
@@ -4130,9 +4003,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4130
4003
|
documentUrl?: string | undefined;
|
|
4131
4004
|
watchMode?: boolean | undefined;
|
|
4132
4005
|
integration?: string | null | undefined;
|
|
4006
|
+
useCollectionSecurity?: boolean | undefined;
|
|
4133
4007
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4134
4008
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
4135
|
-
|
|
4009
|
+
useCollectionSecurity?: boolean;
|
|
4136
4010
|
shouldLoad?: boolean;
|
|
4137
4011
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
4138
4012
|
error: false;
|
|
@@ -4142,83 +4016,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4142
4016
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4143
4017
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4144
4018
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4145
|
-
securitySchemes: (
|
|
4146
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4147
|
-
name: string;
|
|
4148
|
-
value: string;
|
|
4149
|
-
type: "apiKey";
|
|
4150
|
-
in: "cookie" | "query" | "header";
|
|
4151
|
-
nameKey: string;
|
|
4152
|
-
description?: string | undefined;
|
|
4153
|
-
} | {
|
|
4154
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4155
|
-
type: "http";
|
|
4156
|
-
password: string;
|
|
4157
|
-
nameKey: string;
|
|
4158
|
-
scheme: "basic" | "bearer";
|
|
4159
|
-
bearerFormat: string;
|
|
4160
|
-
username: string;
|
|
4161
|
-
token: string;
|
|
4162
|
-
description?: string | undefined;
|
|
4163
|
-
} | {
|
|
4164
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4165
|
-
type: "openIdConnect";
|
|
4166
|
-
nameKey: string;
|
|
4167
|
-
openIdConnectUrl: string;
|
|
4168
|
-
description?: string | undefined;
|
|
4169
|
-
} | {
|
|
4170
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4171
|
-
type: "oauth2";
|
|
4172
|
-
nameKey: string;
|
|
4173
|
-
flows: {
|
|
4174
|
-
password?: {
|
|
4175
|
-
type: "password";
|
|
4176
|
-
password: string;
|
|
4177
|
-
username: string;
|
|
4178
|
-
token: string;
|
|
4179
|
-
refreshUrl: string;
|
|
4180
|
-
scopes: Record<string, string>;
|
|
4181
|
-
selectedScopes: string[];
|
|
4182
|
-
"x-scalar-client-id": string;
|
|
4183
|
-
tokenUrl: string;
|
|
4184
|
-
clientSecret: string;
|
|
4185
|
-
} | undefined;
|
|
4186
|
-
implicit?: {
|
|
4187
|
-
type: "implicit";
|
|
4188
|
-
token: string;
|
|
4189
|
-
refreshUrl: string;
|
|
4190
|
-
scopes: Record<string, string>;
|
|
4191
|
-
selectedScopes: string[];
|
|
4192
|
-
"x-scalar-client-id": string;
|
|
4193
|
-
authorizationUrl: string;
|
|
4194
|
-
"x-scalar-redirect-uri": string;
|
|
4195
|
-
} | undefined;
|
|
4196
|
-
clientCredentials?: {
|
|
4197
|
-
type: "clientCredentials";
|
|
4198
|
-
token: string;
|
|
4199
|
-
refreshUrl: string;
|
|
4200
|
-
scopes: Record<string, string>;
|
|
4201
|
-
selectedScopes: string[];
|
|
4202
|
-
"x-scalar-client-id": string;
|
|
4203
|
-
tokenUrl: string;
|
|
4204
|
-
clientSecret: string;
|
|
4205
|
-
} | undefined;
|
|
4206
|
-
authorizationCode?: {
|
|
4207
|
-
type: "authorizationCode";
|
|
4208
|
-
token: string;
|
|
4209
|
-
refreshUrl: string;
|
|
4210
|
-
scopes: Record<string, string>;
|
|
4211
|
-
selectedScopes: string[];
|
|
4212
|
-
"x-scalar-client-id": string;
|
|
4213
|
-
authorizationUrl: string;
|
|
4214
|
-
"x-scalar-redirect-uri": string;
|
|
4215
|
-
tokenUrl: string;
|
|
4216
|
-
clientSecret: string;
|
|
4217
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
4218
|
-
} | undefined;
|
|
4219
|
-
};
|
|
4220
|
-
description?: string | undefined;
|
|
4221
|
-
})[];
|
|
4019
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
4222
4020
|
} | undefined>;
|
|
4223
4021
|
importSpecFromUrl: (url: string, workspaceUid: string, { proxyUrl, ...options }?: Omit<Pick<{
|
|
4224
4022
|
uid?: string | undefined;
|
|
@@ -4257,9 +4055,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4257
4055
|
documentUrl?: string | undefined;
|
|
4258
4056
|
watchMode?: boolean | undefined;
|
|
4259
4057
|
integration?: string | null | undefined;
|
|
4058
|
+
useCollectionSecurity?: boolean | undefined;
|
|
4260
4059
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4261
4060
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
4262
|
-
|
|
4061
|
+
useCollectionSecurity?: boolean;
|
|
4263
4062
|
shouldLoad?: boolean;
|
|
4264
4063
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">, "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "proxyUrl">) => Promise<import("../../libs").ErrorResponse<Awaited<ReturnType<(_spec: string | Record<string, any>, workspaceUid: string, options?: Pick<{
|
|
4265
4064
|
uid?: string | undefined;
|
|
@@ -4298,9 +4097,10 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4298
4097
|
documentUrl?: string | undefined;
|
|
4299
4098
|
watchMode?: boolean | undefined;
|
|
4300
4099
|
integration?: string | null | undefined;
|
|
4100
|
+
useCollectionSecurity?: boolean | undefined;
|
|
4301
4101
|
watchModeStatus?: "IDLE" | "WATCHING" | "ERROR" | undefined;
|
|
4302
4102
|
}, "watchMode" | "documentUrl"> & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers" | "authentication" | "slug" | "baseServerURL"> & {
|
|
4303
|
-
|
|
4103
|
+
useCollectionSecurity?: boolean;
|
|
4304
4104
|
shouldLoad?: boolean;
|
|
4305
4105
|
} & Pick<import("@scalar/types/api-reference").ApiReferenceConfiguration, "servers">) => Promise<{
|
|
4306
4106
|
error: false;
|
|
@@ -4310,83 +4110,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4310
4110
|
examples: import("@scalar/oas-utils/entities/spec").RequestExample[];
|
|
4311
4111
|
servers: import("@scalar/oas-utils/entities/spec").Server[];
|
|
4312
4112
|
tags: import("@scalar/oas-utils/entities/spec").Tag[];
|
|
4313
|
-
securitySchemes: (
|
|
4314
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4315
|
-
name: string;
|
|
4316
|
-
value: string;
|
|
4317
|
-
type: "apiKey";
|
|
4318
|
-
in: "cookie" | "query" | "header";
|
|
4319
|
-
nameKey: string;
|
|
4320
|
-
description?: string | undefined;
|
|
4321
|
-
} | {
|
|
4322
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4323
|
-
type: "http";
|
|
4324
|
-
password: string;
|
|
4325
|
-
nameKey: string;
|
|
4326
|
-
scheme: "basic" | "bearer";
|
|
4327
|
-
bearerFormat: string;
|
|
4328
|
-
username: string;
|
|
4329
|
-
token: string;
|
|
4330
|
-
description?: string | undefined;
|
|
4331
|
-
} | {
|
|
4332
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4333
|
-
type: "openIdConnect";
|
|
4334
|
-
nameKey: string;
|
|
4335
|
-
openIdConnectUrl: string;
|
|
4336
|
-
description?: string | undefined;
|
|
4337
|
-
} | {
|
|
4338
|
-
uid: string & import("zod").BRAND<"securityScheme">;
|
|
4339
|
-
type: "oauth2";
|
|
4340
|
-
nameKey: string;
|
|
4341
|
-
flows: {
|
|
4342
|
-
password?: {
|
|
4343
|
-
type: "password";
|
|
4344
|
-
password: string;
|
|
4345
|
-
username: string;
|
|
4346
|
-
token: string;
|
|
4347
|
-
refreshUrl: string;
|
|
4348
|
-
scopes: Record<string, string>;
|
|
4349
|
-
selectedScopes: string[];
|
|
4350
|
-
"x-scalar-client-id": string;
|
|
4351
|
-
tokenUrl: string;
|
|
4352
|
-
clientSecret: string;
|
|
4353
|
-
} | undefined;
|
|
4354
|
-
implicit?: {
|
|
4355
|
-
type: "implicit";
|
|
4356
|
-
token: string;
|
|
4357
|
-
refreshUrl: string;
|
|
4358
|
-
scopes: Record<string, string>;
|
|
4359
|
-
selectedScopes: string[];
|
|
4360
|
-
"x-scalar-client-id": string;
|
|
4361
|
-
authorizationUrl: string;
|
|
4362
|
-
"x-scalar-redirect-uri": string;
|
|
4363
|
-
} | undefined;
|
|
4364
|
-
clientCredentials?: {
|
|
4365
|
-
type: "clientCredentials";
|
|
4366
|
-
token: string;
|
|
4367
|
-
refreshUrl: string;
|
|
4368
|
-
scopes: Record<string, string>;
|
|
4369
|
-
selectedScopes: string[];
|
|
4370
|
-
"x-scalar-client-id": string;
|
|
4371
|
-
tokenUrl: string;
|
|
4372
|
-
clientSecret: string;
|
|
4373
|
-
} | undefined;
|
|
4374
|
-
authorizationCode?: {
|
|
4375
|
-
type: "authorizationCode";
|
|
4376
|
-
token: string;
|
|
4377
|
-
refreshUrl: string;
|
|
4378
|
-
scopes: Record<string, string>;
|
|
4379
|
-
selectedScopes: string[];
|
|
4380
|
-
"x-scalar-client-id": string;
|
|
4381
|
-
authorizationUrl: string;
|
|
4382
|
-
"x-scalar-redirect-uri": string;
|
|
4383
|
-
tokenUrl: string;
|
|
4384
|
-
clientSecret: string;
|
|
4385
|
-
"x-usePkce": "SHA-256" | "plain" | "no";
|
|
4386
|
-
} | undefined;
|
|
4387
|
-
};
|
|
4388
|
-
description?: string | undefined;
|
|
4389
|
-
})[];
|
|
4113
|
+
securitySchemes: import("@scalar/types/entities").SecurityScheme[];
|
|
4390
4114
|
} | undefined>>>>>;
|
|
4391
4115
|
cookieMutators: {
|
|
4392
4116
|
add: (item: {
|
|
@@ -4477,6 +4201,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4477
4201
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4478
4202
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4479
4203
|
watchMode: boolean;
|
|
4204
|
+
useCollectionSecurity: boolean;
|
|
4480
4205
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4481
4206
|
externalDocs?: {
|
|
4482
4207
|
url: string;
|
|
@@ -4532,6 +4257,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4532
4257
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4533
4258
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4534
4259
|
watchMode: boolean;
|
|
4260
|
+
useCollectionSecurity: boolean;
|
|
4535
4261
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4536
4262
|
externalDocs?: {
|
|
4537
4263
|
url: string;
|
|
@@ -4590,6 +4316,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4590
4316
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4591
4317
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4592
4318
|
watchMode: boolean;
|
|
4319
|
+
useCollectionSecurity: boolean;
|
|
4593
4320
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4594
4321
|
externalDocs?: {
|
|
4595
4322
|
url: string;
|
|
@@ -4615,7 +4342,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4615
4342
|
documentUrl?: string | undefined;
|
|
4616
4343
|
integration?: string | null | undefined;
|
|
4617
4344
|
}) => void;
|
|
4618
|
-
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
4345
|
+
edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: (string & import("zod").BRAND<"collection">) | null | undefined, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
4619
4346
|
uid: string & import("zod").BRAND<"collection">;
|
|
4620
4347
|
type: "collection";
|
|
4621
4348
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -4645,6 +4372,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4645
4372
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4646
4373
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4647
4374
|
watchMode: boolean;
|
|
4375
|
+
useCollectionSecurity: boolean;
|
|
4648
4376
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4649
4377
|
externalDocs?: {
|
|
4650
4378
|
url: string;
|
|
@@ -4669,7 +4397,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4669
4397
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4670
4398
|
documentUrl?: string | undefined;
|
|
4671
4399
|
integration?: string | null | undefined;
|
|
4672
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4400
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4673
4401
|
uid: string & import("zod").BRAND<"collection">;
|
|
4674
4402
|
type: "collection";
|
|
4675
4403
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -4699,6 +4427,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4699
4427
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4700
4428
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4701
4429
|
watchMode: boolean;
|
|
4430
|
+
useCollectionSecurity: boolean;
|
|
4702
4431
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4703
4432
|
externalDocs?: {
|
|
4704
4433
|
url: string;
|
|
@@ -4753,6 +4482,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4753
4482
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4754
4483
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4755
4484
|
watchMode: boolean;
|
|
4485
|
+
useCollectionSecurity: boolean;
|
|
4756
4486
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4757
4487
|
externalDocs?: {
|
|
4758
4488
|
url: string;
|
|
@@ -4778,7 +4508,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4778
4508
|
documentUrl?: string | undefined;
|
|
4779
4509
|
integration?: string | null | undefined;
|
|
4780
4510
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
|
|
4781
|
-
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
4511
|
+
untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `requests.${number}` | `x-scalar-environments.${string}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `selectedSecuritySchemeUids.${number}` | `selectedSecuritySchemeUids.${number}.${number}` | `servers.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-secrets.${string}`>(uid: string & import("zod").BRAND<"collection">, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? {
|
|
4782
4512
|
uid: string & import("zod").BRAND<"collection">;
|
|
4783
4513
|
type: "collection";
|
|
4784
4514
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -4808,6 +4538,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4808
4538
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4809
4539
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4810
4540
|
watchMode: boolean;
|
|
4541
|
+
useCollectionSecurity: boolean;
|
|
4811
4542
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4812
4543
|
externalDocs?: {
|
|
4813
4544
|
url: string;
|
|
@@ -4832,7 +4563,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4832
4563
|
selectedServerUid?: (string & import("zod").BRAND<"server">) | undefined;
|
|
4833
4564
|
documentUrl?: string | undefined;
|
|
4834
4565
|
integration?: string | null | undefined;
|
|
4835
|
-
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4566
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "x-scalar-environments" | "children" | "openapi" | "info" | "x-scalar-icon" | "securitySchemes" | "selectedSecuritySchemeUids" | "servers" | "watchMode" | "useCollectionSecurity" | "watchModeStatus" | "jsonSchemaDialect" | "components" | "webhooks" | "x-scalar-active-environment" | "x-scalar-secrets" | "selectedServerUid" | "documentUrl" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
4836
4567
|
uid: string & import("zod").BRAND<"collection">;
|
|
4837
4568
|
type: "collection";
|
|
4838
4569
|
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
@@ -4862,6 +4593,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4862
4593
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4863
4594
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4864
4595
|
watchMode: boolean;
|
|
4596
|
+
useCollectionSecurity: boolean;
|
|
4865
4597
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4866
4598
|
externalDocs?: {
|
|
4867
4599
|
url: string;
|
|
@@ -4916,6 +4648,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
4916
4648
|
requests: (string & import("zod").BRAND<"operation">)[];
|
|
4917
4649
|
tags: (string & import("zod").BRAND<"tag">)[];
|
|
4918
4650
|
watchMode: boolean;
|
|
4651
|
+
useCollectionSecurity: boolean;
|
|
4919
4652
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
4920
4653
|
externalDocs?: {
|
|
4921
4654
|
url: string;
|
|
@@ -6355,6 +6088,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6355
6088
|
} | undefined;
|
|
6356
6089
|
};
|
|
6357
6090
|
description?: string | undefined;
|
|
6091
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6358
6092
|
}) => void;
|
|
6359
6093
|
add: (payload: import("@scalar/types/entities").SecuritySchemePayload, collectionUid: import("@scalar/oas-utils/entities/spec").Collection["uid"]) => {
|
|
6360
6094
|
type: "apiKey";
|
|
@@ -6432,6 +6166,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6432
6166
|
} | undefined;
|
|
6433
6167
|
};
|
|
6434
6168
|
description?: string | undefined;
|
|
6169
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6435
6170
|
};
|
|
6436
6171
|
delete: (schemeUid: import("@scalar/types/entities").SecurityScheme["uid"]) => void;
|
|
6437
6172
|
set: (item: {
|
|
@@ -6510,8 +6245,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6510
6245
|
} | undefined;
|
|
6511
6246
|
};
|
|
6512
6247
|
description?: string | undefined;
|
|
6248
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6513
6249
|
}) => void;
|
|
6514
|
-
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6250
|
+
edit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: (string & import("zod").BRAND<"securityScheme">) | null | undefined, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6515
6251
|
type: "apiKey";
|
|
6516
6252
|
value: string;
|
|
6517
6253
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6583,7 +6319,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6583
6319
|
nameKey: string;
|
|
6584
6320
|
openIdConnectUrl: string;
|
|
6585
6321
|
description?: string | undefined;
|
|
6586
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6322
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
6587
6323
|
type: "oauth2";
|
|
6588
6324
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6589
6325
|
nameKey: string;
|
|
@@ -6635,7 +6371,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6635
6371
|
} | undefined;
|
|
6636
6372
|
};
|
|
6637
6373
|
description?: string | undefined;
|
|
6638
|
-
|
|
6374
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6375
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6639
6376
|
type: "oauth2";
|
|
6640
6377
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6641
6378
|
nameKey: string;
|
|
@@ -6687,6 +6424,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6687
6424
|
} | undefined;
|
|
6688
6425
|
};
|
|
6689
6426
|
description?: string | undefined;
|
|
6427
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6690
6428
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6691
6429
|
type: "oauth2";
|
|
6692
6430
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6739,8 +6477,9 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6739
6477
|
} | undefined;
|
|
6740
6478
|
};
|
|
6741
6479
|
description?: string | undefined;
|
|
6480
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6742
6481
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6743
|
-
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "flows" | "password" | "username" | "token" | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6482
|
+
untrackedEdit: <P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" | "scheme" | "bearerFormat" | "openIdConnectUrl" | "x-default-scopes" | "flows" | "password" | "username" | "token" | `x-default-scopes.${number}` | "flows.password" | "flows.implicit" | "flows.clientCredentials" | "flows.authorizationCode" | "flows.password.type" | "flows.password.password" | "flows.password.username" | "flows.password.token" | "flows.password.refreshUrl" | "flows.password.scopes" | "flows.password.selectedScopes" | "flows.password.x-scalar-client-id" | "flows.password.tokenUrl" | "flows.password.clientSecret" | `flows.password.scopes.${string}` | `flows.password.selectedScopes.${number}` | "flows.implicit.type" | "flows.implicit.token" | "flows.implicit.refreshUrl" | "flows.implicit.scopes" | "flows.implicit.selectedScopes" | "flows.implicit.x-scalar-client-id" | `flows.implicit.scopes.${string}` | `flows.implicit.selectedScopes.${number}` | "flows.implicit.authorizationUrl" | "flows.implicit.x-scalar-redirect-uri" | "flows.clientCredentials.type" | "flows.clientCredentials.token" | "flows.clientCredentials.refreshUrl" | "flows.clientCredentials.scopes" | "flows.clientCredentials.selectedScopes" | "flows.clientCredentials.x-scalar-client-id" | "flows.clientCredentials.tokenUrl" | "flows.clientCredentials.clientSecret" | `flows.clientCredentials.scopes.${string}` | `flows.clientCredentials.selectedScopes.${number}` | "flows.authorizationCode.type" | "flows.authorizationCode.token" | "flows.authorizationCode.refreshUrl" | "flows.authorizationCode.scopes" | "flows.authorizationCode.selectedScopes" | "flows.authorizationCode.x-scalar-client-id" | "flows.authorizationCode.tokenUrl" | "flows.authorizationCode.clientSecret" | `flows.authorizationCode.scopes.${string}` | `flows.authorizationCode.selectedScopes.${number}` | "flows.authorizationCode.authorizationUrl" | "flows.authorizationCode.x-scalar-redirect-uri" | "flows.authorizationCode.x-usePkce">(uid: string & import("zod").BRAND<"securityScheme">, path: P, value: (P extends "value" | "description" | "type" | "name" | "in" | "uid" | "nameKey" ? {
|
|
6744
6483
|
type: "apiKey";
|
|
6745
6484
|
value: string;
|
|
6746
6485
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6812,7 +6551,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6812
6551
|
nameKey: string;
|
|
6813
6552
|
openIdConnectUrl: string;
|
|
6814
6553
|
description?: string | undefined;
|
|
6815
|
-
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "flows" ? {
|
|
6554
|
+
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) | (P extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? {
|
|
6816
6555
|
type: "oauth2";
|
|
6817
6556
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6818
6557
|
nameKey: string;
|
|
@@ -6864,7 +6603,8 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6864
6603
|
} | undefined;
|
|
6865
6604
|
};
|
|
6866
6605
|
description?: string | undefined;
|
|
6867
|
-
|
|
6606
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6607
|
+
}[P] : P extends `${infer K}.${infer R}` ? K extends "description" | "type" | "uid" | "nameKey" | "x-default-scopes" | "flows" ? R extends import("@scalar/object-utils/nested").Path<{
|
|
6868
6608
|
type: "oauth2";
|
|
6869
6609
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
6870
6610
|
nameKey: string;
|
|
@@ -6916,6 +6656,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6916
6656
|
} | undefined;
|
|
6917
6657
|
};
|
|
6918
6658
|
description?: string | undefined;
|
|
6659
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6919
6660
|
}[K]> ? import("@scalar/object-utils/nested").PathValue<{
|
|
6920
6661
|
type: "oauth2";
|
|
6921
6662
|
uid: string & import("zod").BRAND<"securityScheme">;
|
|
@@ -6968,6 +6709,7 @@ export declare const createApiClientModalSync: ({ el, configuration, mountOnInit
|
|
|
6968
6709
|
} | undefined;
|
|
6969
6710
|
};
|
|
6970
6711
|
description?: string | undefined;
|
|
6712
|
+
'x-default-scopes'?: string | string[] | undefined;
|
|
6971
6713
|
}[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never)) => void;
|
|
6972
6714
|
undo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|
|
6973
6715
|
redo: (uid: string & import("zod").BRAND<"securityScheme">) => void;
|