@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
|
@@ -25,15 +25,13 @@ export type EnvVariable = {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare const createActiveEntitiesStore: ({ collections, requestExamples, requests, router, servers, workspaces, }: CreateActiveEntitiesStoreParams) => {
|
|
27
27
|
activeCollection: import("vue").ComputedRef<{
|
|
28
|
-
uid: string & import("zod").BRAND<"collection">;
|
|
29
28
|
type: "collection";
|
|
30
|
-
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
31
29
|
openapi: string;
|
|
32
30
|
info: {
|
|
33
31
|
title: string;
|
|
34
32
|
version: string;
|
|
35
|
-
description?: string | undefined;
|
|
36
33
|
summary?: string | undefined;
|
|
34
|
+
description?: string | undefined;
|
|
37
35
|
termsOfService?: string | undefined;
|
|
38
36
|
contact?: {
|
|
39
37
|
name?: string | undefined;
|
|
@@ -45,27 +43,29 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
45
43
|
identifier?: string | undefined;
|
|
46
44
|
url?: string | undefined;
|
|
47
45
|
} | undefined;
|
|
48
|
-
|
|
46
|
+
'x-scalar-sdk-installation'?: {
|
|
49
47
|
lang: string;
|
|
50
|
-
description?: string | undefined;
|
|
51
48
|
source?: string | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
52
50
|
}[] | undefined;
|
|
53
51
|
};
|
|
54
52
|
security: Record<string, string[]>[];
|
|
55
53
|
'x-scalar-icon': string;
|
|
54
|
+
uid: string & import("zod").$brand<"collection">;
|
|
56
55
|
securitySchemes: string[];
|
|
57
|
-
selectedSecuritySchemeUids: ((string & import("zod")
|
|
58
|
-
servers: (string & import("zod")
|
|
59
|
-
requests: (string & import("zod")
|
|
60
|
-
tags: (string & import("zod")
|
|
56
|
+
selectedSecuritySchemeUids: ((string & import("zod").$brand<"securityScheme">) | (string & import("zod").$brand<"securityScheme">)[])[];
|
|
57
|
+
servers: (string & import("zod").$brand<"server">)[];
|
|
58
|
+
requests: (string & import("zod").$brand<"operation">)[];
|
|
59
|
+
tags: (string & import("zod").$brand<"tag">)[];
|
|
60
|
+
children: ((string & import("zod").$brand<"operation">) | (string & import("zod").$brand<"tag">))[];
|
|
61
61
|
watchMode: boolean;
|
|
62
62
|
useCollectionSecurity: boolean;
|
|
63
63
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
64
|
+
jsonSchemaDialect?: string | undefined;
|
|
64
65
|
externalDocs?: {
|
|
65
66
|
url: string;
|
|
66
67
|
description?: string | undefined;
|
|
67
68
|
} | undefined;
|
|
68
|
-
jsonSchemaDialect?: string | undefined;
|
|
69
69
|
components?: Record<string, unknown> | undefined;
|
|
70
70
|
webhooks?: Record<string, unknown> | undefined;
|
|
71
71
|
'x-scalar-active-environment'?: string | undefined;
|
|
@@ -74,128 +74,128 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
74
74
|
default: string;
|
|
75
75
|
description?: string | undefined;
|
|
76
76
|
}>;
|
|
77
|
-
color?: string | undefined;
|
|
78
77
|
description?: string | undefined;
|
|
78
|
+
color?: string | undefined;
|
|
79
79
|
}> | undefined;
|
|
80
80
|
'x-scalar-secrets'?: Record<string, {
|
|
81
81
|
description?: string | undefined;
|
|
82
82
|
example?: string | undefined;
|
|
83
83
|
}> | undefined;
|
|
84
|
-
selectedServerUid?: (string & import("zod")
|
|
84
|
+
selectedServerUid?: (string & import("zod").$brand<"server">) | undefined;
|
|
85
85
|
documentUrl?: string | undefined;
|
|
86
86
|
integration?: string | null | undefined;
|
|
87
87
|
} | undefined>;
|
|
88
|
-
activeCookieId: import("vue").ComputedRef<string & import("zod")
|
|
88
|
+
activeCookieId: import("vue").ComputedRef<string & import("zod").$brand<"cookie">>;
|
|
89
89
|
activeExample: import("vue").ComputedRef<{
|
|
90
|
-
uid: string & import("zod")
|
|
91
|
-
name: string;
|
|
90
|
+
uid: string & import("zod").$brand<"example">;
|
|
92
91
|
type: "requestExample";
|
|
92
|
+
name: string;
|
|
93
|
+
body: {
|
|
94
|
+
activeBody: "raw" | "formData" | "binary";
|
|
95
|
+
raw?: {
|
|
96
|
+
encoding: "html" | "xml" | "json" | "text" | "javascript" | "yaml" | "edn";
|
|
97
|
+
value: string;
|
|
98
|
+
mimeType?: string | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
formData?: {
|
|
101
|
+
encoding: "form-data" | "urlencoded";
|
|
102
|
+
value: {
|
|
103
|
+
key: string;
|
|
104
|
+
value: string;
|
|
105
|
+
enabled: boolean;
|
|
106
|
+
file?: any;
|
|
107
|
+
description?: string | undefined;
|
|
108
|
+
required?: boolean | undefined;
|
|
109
|
+
enum?: string[] | undefined;
|
|
110
|
+
examples?: any[] | undefined;
|
|
111
|
+
type?: string | string[] | undefined;
|
|
112
|
+
format?: string | undefined;
|
|
113
|
+
minimum?: number | undefined;
|
|
114
|
+
maximum?: number | undefined;
|
|
115
|
+
default?: any;
|
|
116
|
+
nullable?: boolean | undefined;
|
|
117
|
+
}[];
|
|
118
|
+
} | undefined;
|
|
119
|
+
binary?: Blob | undefined;
|
|
120
|
+
};
|
|
93
121
|
parameters: {
|
|
94
122
|
path: {
|
|
95
|
-
value: string;
|
|
96
123
|
key: string;
|
|
124
|
+
value: string;
|
|
97
125
|
enabled: boolean;
|
|
98
|
-
|
|
99
|
-
type?: string | string[] | undefined;
|
|
100
|
-
maximum?: number | undefined;
|
|
126
|
+
file?: any;
|
|
101
127
|
description?: string | undefined;
|
|
102
|
-
default?: any;
|
|
103
128
|
required?: boolean | undefined;
|
|
104
129
|
enum?: string[] | undefined;
|
|
105
130
|
examples?: any[] | undefined;
|
|
106
|
-
|
|
131
|
+
type?: string | string[] | undefined;
|
|
107
132
|
format?: string | undefined;
|
|
108
|
-
|
|
133
|
+
minimum?: number | undefined;
|
|
134
|
+
maximum?: number | undefined;
|
|
135
|
+
default?: any;
|
|
136
|
+
nullable?: boolean | undefined;
|
|
109
137
|
}[];
|
|
110
|
-
|
|
111
|
-
value: string;
|
|
138
|
+
query: {
|
|
112
139
|
key: string;
|
|
140
|
+
value: string;
|
|
113
141
|
enabled: boolean;
|
|
114
|
-
|
|
115
|
-
type?: string | string[] | undefined;
|
|
116
|
-
maximum?: number | undefined;
|
|
142
|
+
file?: any;
|
|
117
143
|
description?: string | undefined;
|
|
118
|
-
default?: any;
|
|
119
144
|
required?: boolean | undefined;
|
|
120
145
|
enum?: string[] | undefined;
|
|
121
146
|
examples?: any[] | undefined;
|
|
122
|
-
|
|
147
|
+
type?: string | string[] | undefined;
|
|
123
148
|
format?: string | undefined;
|
|
124
|
-
|
|
149
|
+
minimum?: number | undefined;
|
|
150
|
+
maximum?: number | undefined;
|
|
151
|
+
default?: any;
|
|
152
|
+
nullable?: boolean | undefined;
|
|
125
153
|
}[];
|
|
126
|
-
|
|
127
|
-
value: string;
|
|
154
|
+
headers: {
|
|
128
155
|
key: string;
|
|
156
|
+
value: string;
|
|
129
157
|
enabled: boolean;
|
|
130
|
-
|
|
131
|
-
type?: string | string[] | undefined;
|
|
132
|
-
maximum?: number | undefined;
|
|
158
|
+
file?: any;
|
|
133
159
|
description?: string | undefined;
|
|
134
|
-
default?: any;
|
|
135
160
|
required?: boolean | undefined;
|
|
136
161
|
enum?: string[] | undefined;
|
|
137
162
|
examples?: any[] | undefined;
|
|
138
|
-
|
|
163
|
+
type?: string | string[] | undefined;
|
|
139
164
|
format?: string | undefined;
|
|
140
|
-
|
|
165
|
+
minimum?: number | undefined;
|
|
166
|
+
maximum?: number | undefined;
|
|
167
|
+
default?: any;
|
|
168
|
+
nullable?: boolean | undefined;
|
|
141
169
|
}[];
|
|
142
170
|
cookies: {
|
|
143
|
-
value: string;
|
|
144
171
|
key: string;
|
|
172
|
+
value: string;
|
|
145
173
|
enabled: boolean;
|
|
146
|
-
|
|
147
|
-
type?: string | string[] | undefined;
|
|
148
|
-
maximum?: number | undefined;
|
|
174
|
+
file?: any;
|
|
149
175
|
description?: string | undefined;
|
|
150
|
-
default?: any;
|
|
151
176
|
required?: boolean | undefined;
|
|
152
177
|
enum?: string[] | undefined;
|
|
153
178
|
examples?: any[] | undefined;
|
|
154
|
-
|
|
179
|
+
type?: string | string[] | undefined;
|
|
155
180
|
format?: string | undefined;
|
|
156
|
-
|
|
181
|
+
minimum?: number | undefined;
|
|
182
|
+
maximum?: number | undefined;
|
|
183
|
+
default?: any;
|
|
184
|
+
nullable?: boolean | undefined;
|
|
157
185
|
}[];
|
|
158
186
|
};
|
|
159
|
-
|
|
160
|
-
activeBody: "binary" | "formData" | "raw";
|
|
161
|
-
binary?: Blob | undefined;
|
|
162
|
-
formData?: {
|
|
163
|
-
value: {
|
|
164
|
-
value: string;
|
|
165
|
-
key: string;
|
|
166
|
-
enabled: boolean;
|
|
167
|
-
minimum?: number | undefined;
|
|
168
|
-
type?: string | string[] | undefined;
|
|
169
|
-
maximum?: number | undefined;
|
|
170
|
-
description?: string | undefined;
|
|
171
|
-
default?: any;
|
|
172
|
-
required?: boolean | undefined;
|
|
173
|
-
enum?: string[] | undefined;
|
|
174
|
-
examples?: any[] | undefined;
|
|
175
|
-
nullable?: boolean | undefined;
|
|
176
|
-
format?: string | undefined;
|
|
177
|
-
file?: any;
|
|
178
|
-
}[];
|
|
179
|
-
encoding: "form-data" | "urlencoded";
|
|
180
|
-
} | undefined;
|
|
181
|
-
raw?: {
|
|
182
|
-
value: string;
|
|
183
|
-
encoding: "xml" | "json" | "text" | "html" | "javascript" | "yaml" | "edn";
|
|
184
|
-
mimeType?: string | undefined;
|
|
185
|
-
} | undefined;
|
|
186
|
-
};
|
|
187
|
-
requestUid?: (string & import("zod").BRAND<"operation">) | undefined;
|
|
187
|
+
requestUid?: (string & import("zod").$brand<"operation">) | undefined;
|
|
188
188
|
serverVariables?: Record<string, string[]> | undefined;
|
|
189
189
|
} | undefined>;
|
|
190
190
|
activeRequest: import("vue").ComputedRef<{
|
|
191
|
-
uid: string & import("zod").BRAND<"operation">;
|
|
192
|
-
path: string;
|
|
193
191
|
type: "request";
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
uid: string & import("zod").$brand<"operation">;
|
|
193
|
+
path: string;
|
|
194
|
+
method: "delete" | "get" | "connect" | "head" | "options" | "patch" | "post" | "put" | "trace";
|
|
195
|
+
servers: (string & import("zod").$brand<"server">)[];
|
|
196
|
+
selectedServerUid: (string & import("zod").$brand<"server">) | null;
|
|
197
|
+
examples: (string & import("zod").$brand<"example">)[];
|
|
198
|
+
selectedSecuritySchemeUids: ((string & import("zod").$brand<"securityScheme">) | (string & import("zod").$brand<"securityScheme">)[])[];
|
|
199
199
|
description?: string | undefined;
|
|
200
200
|
summary?: string | undefined;
|
|
201
201
|
externalDocs?: {
|
|
@@ -210,38 +210,38 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
210
210
|
operationId?: string | undefined;
|
|
211
211
|
requestBody?: any;
|
|
212
212
|
parameters?: {
|
|
213
|
+
in: "path" | "cookie" | "query" | "header";
|
|
213
214
|
name: string;
|
|
214
215
|
required: boolean;
|
|
215
216
|
deprecated: boolean;
|
|
216
|
-
in: "cookie" | "path" | "query" | "header";
|
|
217
217
|
description?: string | undefined;
|
|
218
|
-
example?: unknown;
|
|
219
|
-
content?: unknown;
|
|
220
218
|
schema?: unknown;
|
|
221
|
-
|
|
219
|
+
content?: unknown;
|
|
220
|
+
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
221
|
+
explode?: boolean | undefined;
|
|
222
|
+
example?: unknown;
|
|
223
|
+
examples?: Record<string, {
|
|
222
224
|
value?: unknown;
|
|
223
225
|
summary?: string | undefined;
|
|
224
226
|
externalValue?: string | undefined;
|
|
225
|
-
}> | undefined;
|
|
226
|
-
style?: "matrix" | "simple" | "form" | "label" | "spaceDelimited" | "pipeDelimited" | "deepObject" | undefined;
|
|
227
|
-
explode?: boolean | undefined;
|
|
227
|
+
}> | unknown[] | undefined;
|
|
228
228
|
}[] | undefined;
|
|
229
229
|
responses?: Record<string, any> | undefined;
|
|
230
230
|
callbacks?: Record<string, Record<string, Record<string, any>>> | undefined;
|
|
231
231
|
'x-codeSamples'?: {
|
|
232
232
|
source: string;
|
|
233
|
-
label?: string | undefined;
|
|
234
233
|
lang?: string | undefined;
|
|
234
|
+
label?: string | undefined;
|
|
235
235
|
}[] | undefined;
|
|
236
236
|
'x-code-samples'?: {
|
|
237
237
|
source: string;
|
|
238
|
-
label?: string | undefined;
|
|
239
238
|
lang?: string | undefined;
|
|
239
|
+
label?: string | undefined;
|
|
240
240
|
}[] | undefined;
|
|
241
241
|
'x-custom-examples'?: {
|
|
242
242
|
source: string;
|
|
243
|
-
label?: string | undefined;
|
|
244
243
|
lang?: string | undefined;
|
|
244
|
+
label?: string | undefined;
|
|
245
245
|
}[] | undefined;
|
|
246
246
|
'x-scalar-stability'?: import("@scalar/types").XScalarStability | undefined;
|
|
247
247
|
'x-post-response'?: string | undefined;
|
|
@@ -258,31 +258,31 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
258
258
|
readonly settings: string;
|
|
259
259
|
}>;
|
|
260
260
|
activeEnvironment: import("vue").ComputedRef<{
|
|
261
|
-
uid: string & import("zod")
|
|
261
|
+
uid: string & import("zod").$brand<"environment">;
|
|
262
262
|
name: string;
|
|
263
|
-
value: string;
|
|
264
263
|
color: string;
|
|
264
|
+
value: string;
|
|
265
265
|
isDefault?: boolean | undefined;
|
|
266
266
|
}>;
|
|
267
267
|
activeServer: import("vue").ComputedRef<{
|
|
268
|
-
uid: string & import("zod").BRAND<"server">;
|
|
269
268
|
url: string;
|
|
269
|
+
uid: string & import("zod").$brand<"server">;
|
|
270
270
|
description?: string | undefined;
|
|
271
271
|
variables?: Record<string, {
|
|
272
|
-
value?: string | undefined;
|
|
273
|
-
description?: string | undefined;
|
|
274
|
-
default?: string | undefined;
|
|
275
272
|
enum?: string[] | undefined;
|
|
273
|
+
default?: string | undefined;
|
|
274
|
+
description?: string | undefined;
|
|
275
|
+
value?: string | undefined;
|
|
276
276
|
}> | undefined;
|
|
277
277
|
} | undefined>;
|
|
278
278
|
activeWorkspace: import("vue").ComputedRef<{
|
|
279
|
-
uid: string & import("zod")
|
|
279
|
+
uid: string & import("zod").$brand<"workspace">;
|
|
280
280
|
name: string;
|
|
281
281
|
description: string;
|
|
282
|
-
|
|
283
|
-
collections: (string & import("zod").BRAND<"collection">)[];
|
|
282
|
+
collections: (string & import("zod").$brand<"collection">)[];
|
|
284
283
|
environments: Record<string, string>;
|
|
285
284
|
activeEnvironmentId: string;
|
|
285
|
+
cookies: (string & import("zod").$brand<"cookie">)[];
|
|
286
286
|
themeId: "default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none";
|
|
287
287
|
selectedHttpClient: {
|
|
288
288
|
targetKey: string;
|
|
@@ -290,7 +290,7 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
290
290
|
};
|
|
291
291
|
hotKeyConfig?: {
|
|
292
292
|
modifiers: ("default" | "Meta" | "Control" | "Shift" | "Alt")[];
|
|
293
|
-
hotKeys?: Partial<Record<"" | "
|
|
293
|
+
hotKeys?: Partial<Record<"" | "c" | "r" | "a" | "b" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z" | "0" | "Space" | "Backspace" | "Tab" | "Enter" | "Escape" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "End" | "Home" | "PageDown" | "PageUp" | "Delete" | "*" | "+" | "-" | "." | "/" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "F10" | "F11" | "F12" | ";" | "=" | "," | "`" | "[" | "\\" | "]" | "4" | "1" | "2" | "3" | "5" | "6" | "7" | "8" | "9", {
|
|
294
294
|
event: "addTopNav" | "closeModal" | "closeTopNav" | "createNew" | "executeRequest" | "focusAddressBar" | "focusRequestSearch" | "jumpToLastTab" | "jumpToTab" | "navigateSearchResultsDown" | "navigateSearchResultsUp" | "navigateTopNavLeft" | "navigateTopNavRight" | "openCommandPalette" | "selectSearchResult" | "toggleSidebar";
|
|
295
295
|
modifiers?: ("default" | "Meta" | "Control" | "Shift" | "Alt")[] | undefined;
|
|
296
296
|
}>> | undefined;
|
|
@@ -298,15 +298,13 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
298
298
|
proxyUrl?: string | undefined;
|
|
299
299
|
} | undefined>;
|
|
300
300
|
activeWorkspaceCollections: import("vue").ComputedRef<{
|
|
301
|
-
uid: string & import("zod").BRAND<"collection">;
|
|
302
301
|
type: "collection";
|
|
303
|
-
children: ((string & import("zod").BRAND<"tag">) | (string & import("zod").BRAND<"operation">))[];
|
|
304
302
|
openapi: string;
|
|
305
303
|
info: {
|
|
306
304
|
title: string;
|
|
307
305
|
version: string;
|
|
308
|
-
description?: string | undefined;
|
|
309
306
|
summary?: string | undefined;
|
|
307
|
+
description?: string | undefined;
|
|
310
308
|
termsOfService?: string | undefined;
|
|
311
309
|
contact?: {
|
|
312
310
|
name?: string | undefined;
|
|
@@ -318,27 +316,29 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
318
316
|
identifier?: string | undefined;
|
|
319
317
|
url?: string | undefined;
|
|
320
318
|
} | undefined;
|
|
321
|
-
|
|
319
|
+
'x-scalar-sdk-installation'?: {
|
|
322
320
|
lang: string;
|
|
323
|
-
description?: string | undefined;
|
|
324
321
|
source?: string | undefined;
|
|
322
|
+
description?: string | undefined;
|
|
325
323
|
}[] | undefined;
|
|
326
324
|
};
|
|
327
325
|
security: Record<string, string[]>[];
|
|
328
326
|
'x-scalar-icon': string;
|
|
327
|
+
uid: string & import("zod").$brand<"collection">;
|
|
329
328
|
securitySchemes: string[];
|
|
330
|
-
selectedSecuritySchemeUids: ((string & import("zod")
|
|
331
|
-
servers: (string & import("zod")
|
|
332
|
-
requests: (string & import("zod")
|
|
333
|
-
tags: (string & import("zod")
|
|
329
|
+
selectedSecuritySchemeUids: ((string & import("zod").$brand<"securityScheme">) | (string & import("zod").$brand<"securityScheme">)[])[];
|
|
330
|
+
servers: (string & import("zod").$brand<"server">)[];
|
|
331
|
+
requests: (string & import("zod").$brand<"operation">)[];
|
|
332
|
+
tags: (string & import("zod").$brand<"tag">)[];
|
|
333
|
+
children: ((string & import("zod").$brand<"operation">) | (string & import("zod").$brand<"tag">))[];
|
|
334
334
|
watchMode: boolean;
|
|
335
335
|
useCollectionSecurity: boolean;
|
|
336
336
|
watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
|
|
337
|
+
jsonSchemaDialect?: string | undefined;
|
|
337
338
|
externalDocs?: {
|
|
338
339
|
url: string;
|
|
339
340
|
description?: string | undefined;
|
|
340
341
|
} | undefined;
|
|
341
|
-
jsonSchemaDialect?: string | undefined;
|
|
342
342
|
components?: Record<string, unknown> | undefined;
|
|
343
343
|
webhooks?: Record<string, unknown> | undefined;
|
|
344
344
|
'x-scalar-active-environment'?: string | undefined;
|
|
@@ -347,30 +347,30 @@ export declare const createActiveEntitiesStore: ({ collections, requestExamples,
|
|
|
347
347
|
default: string;
|
|
348
348
|
description?: string | undefined;
|
|
349
349
|
}>;
|
|
350
|
-
color?: string | undefined;
|
|
351
350
|
description?: string | undefined;
|
|
351
|
+
color?: string | undefined;
|
|
352
352
|
}> | undefined;
|
|
353
353
|
'x-scalar-secrets'?: Record<string, {
|
|
354
354
|
description?: string | undefined;
|
|
355
355
|
example?: string | undefined;
|
|
356
356
|
}> | undefined;
|
|
357
|
-
selectedServerUid?: (string & import("zod")
|
|
357
|
+
selectedServerUid?: (string & import("zod").$brand<"server">) | undefined;
|
|
358
358
|
documentUrl?: string | undefined;
|
|
359
359
|
integration?: string | null | undefined;
|
|
360
360
|
}[]>;
|
|
361
361
|
activeWorkspaceServers: import("vue").ComputedRef<({
|
|
362
|
-
uid: string & import("zod").BRAND<"server">;
|
|
363
362
|
url: string;
|
|
363
|
+
uid: string & import("zod").$brand<"server">;
|
|
364
364
|
description?: string | undefined;
|
|
365
365
|
variables?: Record<string, {
|
|
366
|
-
value?: string | undefined;
|
|
367
|
-
description?: string | undefined;
|
|
368
|
-
default?: string | undefined;
|
|
369
366
|
enum?: string[] | undefined;
|
|
367
|
+
default?: string | undefined;
|
|
368
|
+
description?: string | undefined;
|
|
369
|
+
value?: string | undefined;
|
|
370
370
|
}> | undefined;
|
|
371
371
|
} | undefined)[]>;
|
|
372
372
|
activeEnvVariables: import("vue").ComputedRef<EnvVariable[]>;
|
|
373
|
-
activeWorkspaceRequests: import("vue").ComputedRef<(string & import("zod")
|
|
373
|
+
activeWorkspaceRequests: import("vue").ComputedRef<(string & import("zod").$brand<"operation">)[]>;
|
|
374
374
|
};
|
|
375
375
|
export type ActiveEntitiesStore = ReturnType<typeof createActiveEntitiesStore>;
|
|
376
376
|
export declare const ACTIVE_ENTITIES_SYMBOL: InjectionKey<ActiveEntitiesStore>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"active-entities.d.ts","sourceRoot":"","sources":["../../src/store/active-entities.ts"],"names":[],"mappings":"AAEA,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,wCAAwC,CAAA;AAC5F,OAAO,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAClG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAErE,OAAO,EAAE,KAAK,YAAY,EAAoB,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAGxC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mCAAmC,CAAA;AAE/D,KAAK,+BAA+B,GAAG;IACrC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;IACvC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;IACzC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IAC/C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,KA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