@scalar/api-client 2.6.0 → 2.7.0
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 +55 -0
- package/dist/analytics.d.ts +2 -18
- package/dist/analytics.d.ts.map +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts +1 -1
- package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts +66 -42
- package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
- package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
- package/dist/hooks/useAnalytics.d.ts +2 -18
- package/dist/hooks/useAnalytics.d.ts.map +1 -1
- package/dist/hooks/useClientConfig.d.ts +115 -112
- package/dist/hooks/useClientConfig.d.ts.map +1 -1
- package/dist/layouts/App/create-api-client-app.d.ts +1378 -1306
- package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
- package/dist/layouts/Modal/create-api-client-modal.d.ts +2752 -2608
- package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
- package/dist/layouts/Web/create-api-client-web.d.ts +1378 -1306
- package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
- package/dist/libs/create-client.d.ts +1378 -1306
- package/dist/libs/create-client.d.ts.map +1 -1
- package/dist/libs/find-request.d.ts +17 -17
- package/dist/libs/find-request.d.ts.map +1 -1
- package/dist/libs/hot-keys.d.ts +1 -1
- package/dist/libs/local-storage.d.ts.map +1 -1
- package/dist/libs/send-request/build-request-security.d.ts +1 -1
- package/dist/libs/send-request/create-fetch-body.d.ts +1 -1
- package/dist/libs/send-request/create-request-operation.test.d.ts +82 -82
- package/dist/libs/send-request/create-request-operation.test.d.ts.map +1 -1
- package/dist/plugins/plugin-manager.d.ts +1 -1
- package/dist/store/active-entities.d.ts +118 -118
- package/dist/store/active-entities.d.ts.map +1 -1
- package/dist/store/collections.d.ts +127 -127
- package/dist/store/collections.d.ts.map +1 -1
- package/dist/store/cookies.d.ts +14 -14
- package/dist/store/environment.d.ts +23 -23
- package/dist/store/request-example.d.ts +546 -546
- package/dist/store/request-example.d.ts.map +1 -1
- package/dist/store/requests.d.ts +194 -194
- package/dist/store/requests.d.ts.map +1 -1
- package/dist/store/security-schemes.d.ts +281 -281
- package/dist/store/security-schemes.d.ts.map +1 -1
- package/dist/store/servers.d.ts +45 -45
- package/dist/store/servers.d.ts.map +1 -1
- package/dist/store/store.d.ts +1378 -1306
- package/dist/store/store.d.ts.map +1 -1
- package/dist/store/store.js +18 -18
- package/dist/store/tags.d.ts +35 -35
- package/dist/store/tags.d.ts.map +1 -1
- package/dist/store/workspace.d.ts +47 -47
- package/dist/store/workspace.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts +2 -0
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.test.d.ts.map +1 -0
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts +25 -0
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.d.ts.map +1 -0
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue.js +30 -0
- package/dist/v2/blocks/operation-code-sample/components/HttpMethod.vue2.js +4 -0
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue.js +3 -3
- package/dist/v2/blocks/operation-code-sample/components/OperationCodeSample.vue2.js +102 -95
- package/dist/v2/blocks/operation-code-sample/helpers/find-client.js +16 -14
- package/dist/v2/blocks/operation-code-sample/helpers/generate-client-options.js +31 -2
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts +6 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/helpers/get-example-from-schema.js +198 -131
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts +2 -0
- package/dist/v2/blocks/operation-code-sample/helpers/operation-to-har/operation-to-har.bench.d.ts.map +1 -0
- package/dist/v2/blocks/operation-code-sample/index.d.ts +4 -1
- package/dist/v2/blocks/operation-code-sample/index.d.ts.map +1 -1
- package/dist/v2/blocks/operation-code-sample/index.js +10 -4
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +2 -6
- package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts +54 -54
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts +54 -54
- package/dist/views/Request/RequestSection/RequestAuth/RequestAuthDataTable.vue.d.ts.map +1 -1
- package/dist/views/Request/ResponseSection/RequestHeaders.vue.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
- package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +1 -1
- package/dist/views/Request/libs/auth.d.ts +2 -2
- package/dist/views/Request/libs/watch-mode.d.ts +4 -4
- package/dist/views/Request/libs/watch-mode.d.ts.map +1 -1
- package/dist/views/Request/libs/watch-mode.js +241 -186
- package/package.json +25 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 008a0f3: feat: migrate to Zod 4
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- f833196: fix: performance issues on references
|
|
12
|
+
- Updated dependencies [008a0f3]
|
|
13
|
+
- Updated dependencies [f833196]
|
|
14
|
+
- Updated dependencies [a9f8d56]
|
|
15
|
+
- @scalar/openapi-types@0.4.0
|
|
16
|
+
- @scalar/oas-utils@0.5.0
|
|
17
|
+
- @scalar/types@0.3.0
|
|
18
|
+
- @scalar/components@0.14.40
|
|
19
|
+
- @scalar/openapi-parser@0.22.1
|
|
20
|
+
- @scalar/postman-to-openapi@0.3.38
|
|
21
|
+
- @scalar/snippetz@0.4.11
|
|
22
|
+
- @scalar/themes@0.13.20
|
|
23
|
+
- @scalar/workspace-store@0.16.2
|
|
24
|
+
- @scalar/use-codemirror@0.12.41
|
|
25
|
+
- @scalar/import@0.4.29
|
|
26
|
+
|
|
27
|
+
## 2.6.2
|
|
28
|
+
|
|
29
|
+
### Patch Changes
|
|
30
|
+
|
|
31
|
+
- 8ad6af0: feat: integrate new code sample block
|
|
32
|
+
- a46a700: Export API reference content and simplify child components of layout
|
|
33
|
+
- Updated dependencies [2b98503]
|
|
34
|
+
- Updated dependencies [c6736fd]
|
|
35
|
+
- Updated dependencies [4951456]
|
|
36
|
+
- @scalar/workspace-store@0.16.1
|
|
37
|
+
- @scalar/openapi-parser@0.22.0
|
|
38
|
+
- @scalar/json-magic@0.6.0
|
|
39
|
+
- @scalar/oas-utils@0.4.34
|
|
40
|
+
- @scalar/import@0.4.28
|
|
41
|
+
- @scalar/components@0.14.39
|
|
42
|
+
- @scalar/postman-to-openapi@0.3.37
|
|
43
|
+
- @scalar/use-codemirror@0.12.40
|
|
44
|
+
|
|
45
|
+
## 2.6.1
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- eadd229: fix: long header names break the response headers table
|
|
50
|
+
- Updated dependencies [0b3c6fa]
|
|
51
|
+
- Updated dependencies [bbceb27]
|
|
52
|
+
- @scalar/components@0.14.38
|
|
53
|
+
- @scalar/themes@0.13.19
|
|
54
|
+
- @scalar/use-codemirror@0.12.39
|
|
55
|
+
- @scalar/oas-utils@0.4.33
|
|
56
|
+
- @scalar/postman-to-openapi@0.3.36
|
|
57
|
+
|
|
3
58
|
## 2.6.0
|
|
4
59
|
|
|
5
60
|
### Minor Changes
|
package/dist/analytics.d.ts
CHANGED
|
@@ -4,30 +4,14 @@ export declare const analytics: {
|
|
|
4
4
|
to: import("zod").ZodString;
|
|
5
5
|
from: import("zod").ZodString;
|
|
6
6
|
hostname: import("zod").ZodString;
|
|
7
|
-
},
|
|
8
|
-
to: string;
|
|
9
|
-
from: string;
|
|
10
|
-
hostname: string;
|
|
11
|
-
}, {
|
|
12
|
-
to: string;
|
|
13
|
-
from: string;
|
|
14
|
-
hostname: string;
|
|
15
|
-
}>;
|
|
7
|
+
}, import("zod/v4/core").$strip>;
|
|
16
8
|
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
17
9
|
}[E]> extends undefined ? [] : [import("zod").input<{
|
|
18
10
|
readonly 'page-view': import("zod").ZodObject<{
|
|
19
11
|
to: import("zod").ZodString;
|
|
20
12
|
from: import("zod").ZodString;
|
|
21
13
|
hostname: import("zod").ZodString;
|
|
22
|
-
},
|
|
23
|
-
to: string;
|
|
24
|
-
from: string;
|
|
25
|
-
hostname: string;
|
|
26
|
-
}, {
|
|
27
|
-
to: string;
|
|
28
|
-
from: string;
|
|
29
|
-
hostname: string;
|
|
30
|
-
}>;
|
|
14
|
+
}, import("zod/v4/core").$strip>;
|
|
31
15
|
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
32
16
|
}[E]>]) => Promise<void>;
|
|
33
17
|
};
|
package/dist/analytics.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;uEAIuX,GAAI
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../src/analytics.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;uEAIuX,GAAI;;;;;;;;;;;;;;;CADhZ,CAAA"}
|
|
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<{
|
|
|
76
76
|
onBlur?: ((v: string) => any) | undefined;
|
|
77
77
|
onCurl?: ((v: string) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
-
disabled: boolean;
|
|
80
79
|
nullable: boolean;
|
|
80
|
+
disabled: boolean;
|
|
81
81
|
colorPicker: boolean;
|
|
82
82
|
emitOnBlur: boolean;
|
|
83
83
|
extensions: Extension[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA2eA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAUxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;mBACZ,OAAO;;IAiMxB,0BAA0B;;0BArJC,MAAM;0BA0BN,MAAM;wBAOR,MAAM;;;;;;;;;;kBAtGf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;mBACZ,OAAO;;;;;;;
|
|
1
|
+
{"version":3,"file":"CodeInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CodeInput/CodeInput.vue"],"names":[],"mappings":"AA2eA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wCAAwC,CAAA;AACzE,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EAAyC,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAGrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;;kBAUxC,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;mBACZ,OAAO;;IAiMxB,0BAA0B;;0BArJC,MAAM;0BA0BN,MAAM;wBAOR,MAAM;;;;;;;;;;kBAtGf,OAAO;eACV,OAAO;gBACN,MAAM,GAAG,MAAM;YACnB,OAAO;iBACF,OAAO;iBACP,SAAS,EAAE;kBACV,OAAO;WACd,OAAO;uBACK,OAAO;eACf,kBAAkB;wBACT,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;wBACnB,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI;kBACzB,MAAM;eACT,OAAO;mBACH,OAAO;2BACC,OAAO;WACvB,MAAM,EAAE;eACJ,MAAM,EAAE;WACZ,MAAM,GAAG,MAAM,EAAE,GAAG,SAAS;eACzB,OAAO;oBACF,OAAO;iBACV,OAAO;cACV,MAAM,GAAG,MAAM;iBACZ,WAAW;kBACV,WAAW,EAAE;mBACZ,OAAO;;;;;;;cANX,OAAO;cAlBP,OAAO;iBADJ,OAAO;gBAIR,OAAO;gBACP,SAAS,EAAE;sBAGL,OAAO;kBAMX,OAAO;0BACC,OAAO;mBAKd,OAAO;kBAKR,OAAO;;cAkhBZ,CAAC,KAAK,IAAiB,KAAK,GAAG;;WAClC,CAAC,KAAK,IAAiB,KAAK,GAAG;;AA9iB1C,wBAmmBC;AAYD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -70,50 +70,62 @@ export declare const PaletteComponents: {
|
|
|
70
70
|
readonly 'Import from cURL': import("vue").DefineComponent<{
|
|
71
71
|
metaData: {
|
|
72
72
|
parsedCurl: {
|
|
73
|
-
uid?: string | undefined;
|
|
74
|
-
path?: string | undefined;
|
|
75
|
-
type?: "request" | undefined;
|
|
76
73
|
description?: string | undefined;
|
|
77
74
|
summary?: string | undefined;
|
|
78
75
|
externalDocs?: {
|
|
79
76
|
url: string;
|
|
80
|
-
description?:
|
|
77
|
+
description?: string | undefined;
|
|
81
78
|
} | undefined;
|
|
82
79
|
'x-internal'?: boolean | undefined;
|
|
83
80
|
'x-scalar-ignore'?: boolean | undefined;
|
|
84
81
|
security?: Record<string, string[] | undefined>[] | undefined;
|
|
85
|
-
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
86
|
-
selectedServerUid?: string | null | undefined;
|
|
87
|
-
servers?: string[] | undefined;
|
|
88
82
|
tags?: string[] | undefined;
|
|
89
|
-
examples?: string[] | undefined;
|
|
90
83
|
deprecated?: boolean | undefined;
|
|
91
84
|
operationId?: string | undefined;
|
|
92
85
|
requestBody?: any;
|
|
93
86
|
parameters?: {
|
|
87
|
+
in: "path" | "cookie" | "query" | "header";
|
|
94
88
|
name: string;
|
|
95
|
-
in: "cookie" | "path" | "query" | "header";
|
|
96
89
|
description?: string | undefined;
|
|
97
90
|
required?: boolean | undefined;
|
|
98
|
-
|
|
99
|
-
content?: unknown;
|
|
91
|
+
deprecated?: boolean | undefined;
|
|
100
92
|
schema?: unknown;
|
|
101
|
-
|
|
93
|
+
content?: unknown;
|
|
94
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
95
|
+
explode?: boolean | undefined;
|
|
96
|
+
example?: unknown;
|
|
97
|
+
examples?: Record<string, {
|
|
102
98
|
value?: unknown;
|
|
103
99
|
summary?: string | undefined;
|
|
104
100
|
externalValue?: string | undefined;
|
|
105
|
-
}> | undefined;
|
|
106
|
-
deprecated?: boolean | undefined;
|
|
107
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
108
|
-
explode?: boolean | undefined;
|
|
101
|
+
}> | unknown[] | undefined;
|
|
109
102
|
}[] | undefined;
|
|
110
103
|
responses?: Record<string, any> | undefined;
|
|
111
104
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
112
|
-
'x-codeSamples'?:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
'x-codeSamples'?: {
|
|
106
|
+
source: string;
|
|
107
|
+
lang?: string | undefined;
|
|
108
|
+
label?: string | undefined;
|
|
109
|
+
}[] | undefined;
|
|
110
|
+
'x-code-samples'?: {
|
|
111
|
+
source: string;
|
|
112
|
+
lang?: string | undefined;
|
|
113
|
+
label?: string | undefined;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
'x-custom-examples'?: {
|
|
116
|
+
source: string;
|
|
117
|
+
lang?: string | undefined;
|
|
118
|
+
label?: string | undefined;
|
|
119
|
+
}[] | undefined;
|
|
120
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
121
|
+
type?: "request" | undefined;
|
|
122
|
+
uid?: string | undefined;
|
|
123
|
+
path?: string | undefined;
|
|
124
|
+
method?: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace" | undefined;
|
|
125
|
+
servers?: string[] | undefined;
|
|
126
|
+
selectedServerUid?: string | null | undefined;
|
|
127
|
+
examples?: string[] | undefined;
|
|
128
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
117
129
|
'x-post-response'?: string | undefined;
|
|
118
130
|
} & {
|
|
119
131
|
url?: string;
|
|
@@ -126,50 +138,62 @@ export declare const PaletteComponents: {
|
|
|
126
138
|
}, string, import("vue").PublicProps, Readonly<{
|
|
127
139
|
metaData: {
|
|
128
140
|
parsedCurl: {
|
|
129
|
-
uid?: string | undefined;
|
|
130
|
-
path?: string | undefined;
|
|
131
|
-
type?: "request" | undefined;
|
|
132
141
|
description?: string | undefined;
|
|
133
142
|
summary?: string | undefined;
|
|
134
143
|
externalDocs?: {
|
|
135
144
|
url: string;
|
|
136
|
-
description?:
|
|
145
|
+
description?: string | undefined;
|
|
137
146
|
} | undefined;
|
|
138
147
|
'x-internal'?: boolean | undefined;
|
|
139
148
|
'x-scalar-ignore'?: boolean | undefined;
|
|
140
149
|
security?: Record<string, string[] | undefined>[] | undefined;
|
|
141
|
-
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
142
|
-
selectedServerUid?: string | null | undefined;
|
|
143
|
-
servers?: string[] | undefined;
|
|
144
150
|
tags?: string[] | undefined;
|
|
145
|
-
examples?: string[] | undefined;
|
|
146
151
|
deprecated?: boolean | undefined;
|
|
147
152
|
operationId?: string | undefined;
|
|
148
153
|
requestBody?: any;
|
|
149
154
|
parameters?: {
|
|
155
|
+
in: "path" | "cookie" | "query" | "header";
|
|
150
156
|
name: string;
|
|
151
|
-
in: "cookie" | "path" | "query" | "header";
|
|
152
157
|
description?: string | undefined;
|
|
153
158
|
required?: boolean | undefined;
|
|
154
|
-
|
|
155
|
-
content?: unknown;
|
|
159
|
+
deprecated?: boolean | undefined;
|
|
156
160
|
schema?: unknown;
|
|
157
|
-
|
|
161
|
+
content?: unknown;
|
|
162
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
163
|
+
explode?: boolean | undefined;
|
|
164
|
+
example?: unknown;
|
|
165
|
+
examples?: Record<string, {
|
|
158
166
|
value?: unknown;
|
|
159
167
|
summary?: string | undefined;
|
|
160
168
|
externalValue?: string | undefined;
|
|
161
|
-
}> | undefined;
|
|
162
|
-
deprecated?: boolean | undefined;
|
|
163
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
164
|
-
explode?: boolean | undefined;
|
|
169
|
+
}> | unknown[] | undefined;
|
|
165
170
|
}[] | undefined;
|
|
166
171
|
responses?: Record<string, any> | undefined;
|
|
167
172
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
168
|
-
'x-codeSamples'?:
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
+
'x-codeSamples'?: {
|
|
174
|
+
source: string;
|
|
175
|
+
lang?: string | undefined;
|
|
176
|
+
label?: string | undefined;
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
'x-code-samples'?: {
|
|
179
|
+
source: string;
|
|
180
|
+
lang?: string | undefined;
|
|
181
|
+
label?: string | undefined;
|
|
182
|
+
}[] | undefined;
|
|
183
|
+
'x-custom-examples'?: {
|
|
184
|
+
source: string;
|
|
185
|
+
lang?: string | undefined;
|
|
186
|
+
label?: string | undefined;
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
189
|
+
type?: "request" | undefined;
|
|
190
|
+
uid?: string | undefined;
|
|
191
|
+
path?: string | undefined;
|
|
192
|
+
method?: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace" | undefined;
|
|
193
|
+
servers?: string[] | undefined;
|
|
194
|
+
selectedServerUid?: string | null | undefined;
|
|
195
|
+
examples?: string[] | undefined;
|
|
196
|
+
selectedSecuritySchemeUids?: (string | string[])[] | undefined;
|
|
173
197
|
'x-post-response'?: string | undefined;
|
|
174
198
|
} & {
|
|
175
199
|
url?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAqfA;;;;GAIG;;AACH,wBA8lBI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;mBA7nB9B,CA5TmB;qBA4TnB,CA3Ta;;;;;;;mBA2Tb,CA5TmB;qBA4TnB,CA3Ta
|
|
1
|
+
{"version":3,"file":"TheCommandPalette.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CommandPalette/TheCommandPalette.vue"],"names":[],"mappings":"AAqfA;;;;GAIG;;AACH,wBA8lBI;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;mBA7nB9B,CA5TmB;qBA4TnB,CA3Ta;;;;;;;mBA2Tb,CA5TmB;qBA4TnB,CA3Ta;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAi8BH,CAAA;AAEV,yCAAyC;AACzC,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG;IAChC,8DAA8D;IAC9D,WAAW,CAAC,EAAE,YAAY,CAAA;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CACA"}
|
|
@@ -4,9 +4,9 @@ type __VLS_Props = {
|
|
|
4
4
|
isEditable?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
-
change: (value: "delete" | "get" | "
|
|
7
|
+
change: (value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
-
onChange?: ((value: "delete" | "get" | "
|
|
9
|
+
onChange?: ((value: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace") => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
isEditable: boolean;
|
|
12
12
|
isSquare: boolean;
|
|
@@ -5,30 +5,14 @@ export declare function useAnalytics(): {
|
|
|
5
5
|
to: import("zod").ZodString;
|
|
6
6
|
from: import("zod").ZodString;
|
|
7
7
|
hostname: import("zod").ZodString;
|
|
8
|
-
},
|
|
9
|
-
to: string;
|
|
10
|
-
from: string;
|
|
11
|
-
hostname: string;
|
|
12
|
-
}, {
|
|
13
|
-
to: string;
|
|
14
|
-
from: string;
|
|
15
|
-
hostname: string;
|
|
16
|
-
}>;
|
|
8
|
+
}, import("zod/v4/core").$strip>;
|
|
17
9
|
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
18
10
|
}[E]> extends undefined ? [] : [import("zod").input<{
|
|
19
11
|
readonly 'page-view': import("zod").ZodObject<{
|
|
20
12
|
to: import("zod").ZodString;
|
|
21
13
|
from: import("zod").ZodString;
|
|
22
14
|
hostname: import("zod").ZodString;
|
|
23
|
-
},
|
|
24
|
-
to: string;
|
|
25
|
-
from: string;
|
|
26
|
-
hostname: string;
|
|
27
|
-
}, {
|
|
28
|
-
to: string;
|
|
29
|
-
from: string;
|
|
30
|
-
hostname: string;
|
|
31
|
-
}>;
|
|
15
|
+
}, import("zod/v4/core").$strip>;
|
|
32
16
|
readonly 'client-send-request': import("zod").ZodUndefined;
|
|
33
17
|
}[E]>]) => Promise<void>;
|
|
34
18
|
} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAnalytics.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnalytics.ts"],"names":[],"mappings":"AAIA,6DAA6D;AAC7D,wBAAgB,YAAY;uEAW0G,GAAI
|
|
1
|
+
{"version":3,"file":"useAnalytics.d.ts","sourceRoot":"","sources":["../../src/hooks/useAnalytics.ts"],"names":[],"mappings":"AAIA,6DAA6D;AAC7D,wBAAgB,YAAY;uEAW0G,GAAI;;;;;;;;;;;;;;;cADzI"}
|