@scalar/api-reference 1.43.2 → 1.43.3
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 +22 -0
- package/dist/browser/standalone.js +1239 -1174
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/helpers/storage.d.ts +12 -16
- package/dist/helpers/storage.d.ts.map +1 -1
- package/dist/style.css +8 -76
- package/package.json +14 -14
|
@@ -68,8 +68,6 @@ export declare const authStorage: () => {
|
|
|
68
68
|
} | undefined;
|
|
69
69
|
} & {
|
|
70
70
|
'x-tokenName'?: string | undefined;
|
|
71
|
-
} & {
|
|
72
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
73
71
|
} & {
|
|
74
72
|
tokenUrl: string;
|
|
75
73
|
} & {
|
|
@@ -77,6 +75,8 @@ export declare const authStorage: () => {
|
|
|
77
75
|
'x-scalar-secret-password': string;
|
|
78
76
|
} & {
|
|
79
77
|
'x-scalar-secret-client-secret': string;
|
|
78
|
+
} & {
|
|
79
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
80
80
|
}) | undefined;
|
|
81
81
|
implicit?: ({
|
|
82
82
|
refreshUrl: string;
|
|
@@ -97,8 +97,6 @@ export declare const authStorage: () => {
|
|
|
97
97
|
} | undefined;
|
|
98
98
|
} & {
|
|
99
99
|
'x-tokenName'?: string | undefined;
|
|
100
|
-
} & {
|
|
101
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
102
100
|
} & {
|
|
103
101
|
authorizationUrl: string;
|
|
104
102
|
} & {
|
|
@@ -123,12 +121,12 @@ export declare const authStorage: () => {
|
|
|
123
121
|
} | undefined;
|
|
124
122
|
} & {
|
|
125
123
|
'x-tokenName'?: string | undefined;
|
|
126
|
-
} & {
|
|
127
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
128
124
|
} & {
|
|
129
125
|
tokenUrl: string;
|
|
130
126
|
} & {
|
|
131
127
|
'x-scalar-secret-client-secret': string;
|
|
128
|
+
} & {
|
|
129
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
132
130
|
}) | undefined;
|
|
133
131
|
authorizationCode?: ({
|
|
134
132
|
refreshUrl: string;
|
|
@@ -149,8 +147,6 @@ export declare const authStorage: () => {
|
|
|
149
147
|
} | undefined;
|
|
150
148
|
} & {
|
|
151
149
|
'x-tokenName'?: string | undefined;
|
|
152
|
-
} & {
|
|
153
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
154
150
|
} & {
|
|
155
151
|
authorizationUrl: string;
|
|
156
152
|
tokenUrl: string;
|
|
@@ -160,6 +156,8 @@ export declare const authStorage: () => {
|
|
|
160
156
|
'x-scalar-secret-redirect-uri': string;
|
|
161
157
|
} & {
|
|
162
158
|
'x-usePkce': "SHA-256" | "plain" | "no";
|
|
159
|
+
} & {
|
|
160
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
163
161
|
}) | undefined;
|
|
164
162
|
};
|
|
165
163
|
} & {
|
|
@@ -220,8 +218,6 @@ export declare const authStorage: () => {
|
|
|
220
218
|
} | undefined;
|
|
221
219
|
} & {
|
|
222
220
|
'x-tokenName'?: string | undefined;
|
|
223
|
-
} & {
|
|
224
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
225
221
|
} & {
|
|
226
222
|
tokenUrl: string;
|
|
227
223
|
} & {
|
|
@@ -229,6 +225,8 @@ export declare const authStorage: () => {
|
|
|
229
225
|
'x-scalar-secret-password': string;
|
|
230
226
|
} & {
|
|
231
227
|
'x-scalar-secret-client-secret': string;
|
|
228
|
+
} & {
|
|
229
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
232
230
|
}) | undefined;
|
|
233
231
|
implicit?: ({
|
|
234
232
|
refreshUrl: string;
|
|
@@ -249,8 +247,6 @@ export declare const authStorage: () => {
|
|
|
249
247
|
} | undefined;
|
|
250
248
|
} & {
|
|
251
249
|
'x-tokenName'?: string | undefined;
|
|
252
|
-
} & {
|
|
253
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
254
250
|
} & {
|
|
255
251
|
authorizationUrl: string;
|
|
256
252
|
} & {
|
|
@@ -275,12 +271,12 @@ export declare const authStorage: () => {
|
|
|
275
271
|
} | undefined;
|
|
276
272
|
} & {
|
|
277
273
|
'x-tokenName'?: string | undefined;
|
|
278
|
-
} & {
|
|
279
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
280
274
|
} & {
|
|
281
275
|
tokenUrl: string;
|
|
282
276
|
} & {
|
|
283
277
|
'x-scalar-secret-client-secret': string;
|
|
278
|
+
} & {
|
|
279
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
284
280
|
}) | undefined;
|
|
285
281
|
authorizationCode?: ({
|
|
286
282
|
refreshUrl: string;
|
|
@@ -301,8 +297,6 @@ export declare const authStorage: () => {
|
|
|
301
297
|
} | undefined;
|
|
302
298
|
} & {
|
|
303
299
|
'x-tokenName'?: string | undefined;
|
|
304
|
-
} & {
|
|
305
|
-
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
306
300
|
} & {
|
|
307
301
|
authorizationUrl: string;
|
|
308
302
|
tokenUrl: string;
|
|
@@ -312,6 +306,8 @@ export declare const authStorage: () => {
|
|
|
312
306
|
'x-scalar-secret-redirect-uri': string;
|
|
313
307
|
} & {
|
|
314
308
|
'x-usePkce': "SHA-256" | "plain" | "no";
|
|
309
|
+
} & {
|
|
310
|
+
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
315
311
|
}) | undefined;
|
|
316
312
|
};
|
|
317
313
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/helpers/storage.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,gFAAgF,CAAA;AAEvF,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,8DAA8D,CAAA;AAKrE;;;GAGG;AACH,eAAO,MAAM,aAAa;IAGtB;;OAEG;;IAIH;;;OAGG;iBACU,MAAM;CAItB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;IAIpB;;OAEG
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../src/helpers/storage.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,gFAAgF,CAAA;AAEvF,OAAO,EACL,KAAK,eAAe,EAErB,MAAM,8DAA8D,CAAA;AAKrE;;;GAGG;AACH,eAAO,MAAM,aAAa;IAGtB;;OAEG;;IAIH;;;OAGG;iBACU,MAAM;CAItB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;IAIpB;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKH;;;OAGG;yBACkB,MAAM,SAAS,eAAe;IAGnD;;OAEG;;;;;;;IAKH;;;OAGG;iCAC0B,MAAM,SAAS,uBAAuB;CAItE,CAAA"}
|
package/dist/style.css
CHANGED
|
@@ -10116,6 +10116,14 @@ to {
|
|
|
10116
10116
|
[data-v-cbed7b55] .cm-content {
|
|
10117
10117
|
font-size: var(--scalar-small);
|
|
10118
10118
|
}
|
|
10119
|
+
.form-group[data-v-43df1726] {
|
|
10120
|
+
margin-bottom: 1rem;
|
|
10121
|
+
}
|
|
10122
|
+
.modal-actions[data-v-43df1726] {
|
|
10123
|
+
justify-content: flex-end;
|
|
10124
|
+
gap: 1rem;
|
|
10125
|
+
display: flex;
|
|
10126
|
+
}
|
|
10119
10127
|
[data-v-d6948ce7] .cm-editor {
|
|
10120
10128
|
padding: 0;
|
|
10121
10129
|
}
|
|
@@ -10338,25 +10346,6 @@ to {
|
|
|
10338
10346
|
width: 100%;
|
|
10339
10347
|
display: flex;
|
|
10340
10348
|
}
|
|
10341
|
-
.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d] {
|
|
10342
|
-
background: var(--scalar-color-red);
|
|
10343
|
-
}
|
|
10344
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10345
|
-
.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d] {
|
|
10346
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 95%);
|
|
10347
|
-
}
|
|
10348
|
-
}
|
|
10349
|
-
.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d] {
|
|
10350
|
-
color: var(--scalar-color-red);
|
|
10351
|
-
}
|
|
10352
|
-
.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:hover, .scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:focus {
|
|
10353
|
-
background: var(--scalar-color-red);
|
|
10354
|
-
}
|
|
10355
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10356
|
-
.scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:hover, .scalar-modal-layout .scalar-button-danger[data-v-b4497d3d]:focus {
|
|
10357
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 90%);
|
|
10358
|
-
}
|
|
10359
|
-
}
|
|
10360
10349
|
.resizer[data-v-e2c54c18] {
|
|
10361
10350
|
cursor: col-resize;
|
|
10362
10351
|
z-index: 100;
|
|
@@ -10476,25 +10465,6 @@ to {
|
|
|
10476
10465
|
transform: translate3d(-50%, 0, 0);
|
|
10477
10466
|
}
|
|
10478
10467
|
}
|
|
10479
|
-
.scalar-modal-layout .scalar-button-danger[data-v-98703c3c] {
|
|
10480
|
-
background: var(--scalar-color-red);
|
|
10481
|
-
}
|
|
10482
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10483
|
-
.scalar-modal-layout .scalar-button-danger[data-v-98703c3c] {
|
|
10484
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 95%);
|
|
10485
|
-
}
|
|
10486
|
-
}
|
|
10487
|
-
.scalar-modal-layout .scalar-button-danger[data-v-98703c3c] {
|
|
10488
|
-
color: var(--scalar-color-red);
|
|
10489
|
-
}
|
|
10490
|
-
.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:hover, .scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:focus {
|
|
10491
|
-
background: var(--scalar-color-red);
|
|
10492
|
-
}
|
|
10493
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10494
|
-
.scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:hover, .scalar-modal-layout .scalar-button-danger[data-v-98703c3c]:focus {
|
|
10495
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 90%);
|
|
10496
|
-
}
|
|
10497
|
-
}
|
|
10498
10468
|
.empty-sidebar-item-content[data-v-75aacdc4] {
|
|
10499
10469
|
display: none;
|
|
10500
10470
|
}
|
|
@@ -10727,25 +10697,6 @@ to {
|
|
|
10727
10697
|
max-width: 100%;
|
|
10728
10698
|
overflow: auto hidden;
|
|
10729
10699
|
}
|
|
10730
|
-
.scalar-button-danger[data-v-cda64f02] {
|
|
10731
|
-
background: var(--scalar-color-red);
|
|
10732
|
-
}
|
|
10733
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10734
|
-
.scalar-button-danger[data-v-cda64f02] {
|
|
10735
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 95%);
|
|
10736
|
-
}
|
|
10737
|
-
}
|
|
10738
|
-
.scalar-button-danger[data-v-cda64f02] {
|
|
10739
|
-
color: var(--scalar-color-red);
|
|
10740
|
-
}
|
|
10741
|
-
.scalar-button-danger[data-v-cda64f02]:hover, .scalar-button-danger[data-v-cda64f02]:focus {
|
|
10742
|
-
background: var(--scalar-color-red);
|
|
10743
|
-
}
|
|
10744
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
10745
|
-
.scalar-button-danger[data-v-cda64f02]:hover, .scalar-button-danger[data-v-cda64f02]:focus {
|
|
10746
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 90%);
|
|
10747
|
-
}
|
|
10748
|
-
}
|
|
10749
10700
|
.group-hover-input[data-v-5a23cb87] {
|
|
10750
10701
|
border-width: var(--scalar-border-width);
|
|
10751
10702
|
border-color: #0000;
|
|
@@ -11340,25 +11291,6 @@ to {
|
|
|
11340
11291
|
border-radius: var(--scalar-radius-lg);
|
|
11341
11292
|
overflow: hidden;
|
|
11342
11293
|
}
|
|
11343
|
-
.scalar-button-danger[data-v-f353959a] {
|
|
11344
|
-
background: var(--scalar-color-red);
|
|
11345
|
-
}
|
|
11346
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
11347
|
-
.scalar-button-danger[data-v-f353959a] {
|
|
11348
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 95%);
|
|
11349
|
-
}
|
|
11350
|
-
}
|
|
11351
|
-
.scalar-button-danger[data-v-f353959a] {
|
|
11352
|
-
color: var(--scalar-color-red);
|
|
11353
|
-
}
|
|
11354
|
-
.scalar-button-danger[data-v-f353959a]:hover, .scalar-button-danger[data-v-f353959a]:focus {
|
|
11355
|
-
background: var(--scalar-color-red);
|
|
11356
|
-
}
|
|
11357
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
11358
|
-
.scalar-button-danger[data-v-f353959a]:hover, .scalar-button-danger[data-v-f353959a]:focus {
|
|
11359
|
-
background: color-mix(in srgb, var(--scalar-color-red), transparent 90%);
|
|
11360
|
-
}
|
|
11361
|
-
}
|
|
11362
11294
|
.dragover-asChild[data-v-a89d6a6e], .dragover-above[data-v-a89d6a6e], .dragover-below[data-v-a89d6a6e] {
|
|
11363
11295
|
position: relative;
|
|
11364
11296
|
}
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.43.
|
|
23
|
+
"version": "1.43.3",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=20"
|
|
26
26
|
},
|
|
@@ -89,24 +89,24 @@
|
|
|
89
89
|
"type-fest": "5.0.0",
|
|
90
90
|
"vue": "^3.5.21",
|
|
91
91
|
"zod": "^4.1.11",
|
|
92
|
-
"@scalar/api-client": "2.17.
|
|
92
|
+
"@scalar/api-client": "2.17.8",
|
|
93
|
+
"@scalar/components": "0.16.18",
|
|
94
|
+
"@scalar/icons": "0.5.2",
|
|
93
95
|
"@scalar/code-highlight": "0.2.2",
|
|
94
|
-
"@scalar/components": "0.16.17",
|
|
95
96
|
"@scalar/helpers": "0.2.6",
|
|
96
|
-
"@scalar/icons": "0.5.2",
|
|
97
|
-
"@scalar/object-utils": "1.2.20",
|
|
98
|
-
"@scalar/oas-utils": "0.6.14",
|
|
99
97
|
"@scalar/json-magic": "0.8.10",
|
|
98
|
+
"@scalar/object-utils": "1.2.20",
|
|
99
|
+
"@scalar/oas-utils": "0.6.15",
|
|
100
100
|
"@scalar/openapi-types": "0.5.3",
|
|
101
|
-
"@scalar/openapi-parser": "0.23.
|
|
101
|
+
"@scalar/openapi-parser": "0.23.12",
|
|
102
102
|
"@scalar/openapi-upgrader": "0.1.6",
|
|
103
|
-
"@scalar/sidebar": "0.7.
|
|
104
|
-
"@scalar/snippetz": "0.6.3",
|
|
103
|
+
"@scalar/sidebar": "0.7.8",
|
|
105
104
|
"@scalar/themes": "0.13.26",
|
|
106
|
-
"@scalar/use-hooks": "0.3.5",
|
|
107
105
|
"@scalar/types": "0.5.6",
|
|
106
|
+
"@scalar/snippetz": "0.6.3",
|
|
108
107
|
"@scalar/use-toasts": "0.9.1",
|
|
109
|
-
"@scalar/workspace-store": "0.24.
|
|
108
|
+
"@scalar/workspace-store": "0.24.5",
|
|
109
|
+
"@scalar/use-hooks": "0.3.5"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@hono/node-server": "1.19.5",
|
|
@@ -126,10 +126,10 @@
|
|
|
126
126
|
"vite-plugin-banner": "^0.7.1",
|
|
127
127
|
"vite-plugin-css-injected-by-js": "^3.4.0",
|
|
128
128
|
"vitest": "3.2.4",
|
|
129
|
-
"@scalar/build-tooling": "0.4.1",
|
|
130
|
-
"@scalar/galaxy": "0.5.12",
|
|
131
129
|
"@scalar/core": "0.3.30",
|
|
132
|
-
"@scalar/
|
|
130
|
+
"@scalar/galaxy": "0.5.12",
|
|
131
|
+
"@scalar/react-renderer": "0.3.0",
|
|
132
|
+
"@scalar/build-tooling": "0.4.1"
|
|
133
133
|
},
|
|
134
134
|
"scripts": {
|
|
135
135
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
|