@scalar/api-reference 1.43.2 → 1.43.4
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 +71 -0
- package/dist/browser/standalone.js +9443 -9342
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyExamples.vue2.js +2 -2
- package/dist/features/Operation/Operation.vue.d.ts.map +1 -1
- package/dist/features/Operation/Operation.vue.js +1 -1
- package/dist/helpers/storage.d.ts +12 -16
- package/dist/helpers/storage.d.ts.map +1 -1
- package/dist/style.css +122 -187
- package/package.json +19 -19
- package/dist/features/Operation/helpers/combine-params.d.ts +0 -4
- package/dist/features/Operation/helpers/combine-params.d.ts.map +0 -1
- package/dist/features/Operation/helpers/combine-params.js +0 -14
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./SchemaPropertyExamples.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const SchemaPropertyExamples = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const SchemaPropertyExamples = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-72def0ea"]]);
|
|
5
5
|
export {
|
|
6
6
|
SchemaPropertyExamples as default
|
|
7
7
|
};
|
|
@@ -38,7 +38,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
38
|
createElementVNode("button", {
|
|
39
39
|
class: "property-example-value group",
|
|
40
40
|
type: "button",
|
|
41
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(copyToClipboard)(
|
|
41
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(copyToClipboard)(unref(formatExample)(_ctx.example)))
|
|
42
42
|
}, [
|
|
43
43
|
createElementVNode("span", null, toDisplayString(unref(formatExample)(_ctx.example)), 1),
|
|
44
44
|
createVNode(unref(ScalarIcon), {
|
|
@@ -59,7 +59,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
59
59
|
key,
|
|
60
60
|
class: "property-example-value group",
|
|
61
61
|
type: "button",
|
|
62
|
-
onClick: ($event) => unref(copyToClipboard)(
|
|
62
|
+
onClick: ($event) => unref(copyToClipboard)(unref(formatExample)(ex))
|
|
63
63
|
}, [
|
|
64
64
|
createElementVNode("span", null, toDisplayString(unref(formatExample)(ex)), 1),
|
|
65
65
|
createVNode(unref(ScalarIcon), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAgJA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAC3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;
|
|
1
|
+
{"version":3,"file":"Operation.vue.d.ts","sourceRoot":"","sources":["../../../src/features/Operation/Operation.vue"],"names":[],"mappings":"AAgJA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAC3F,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAA;AAEpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAA;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAEvE,OAAO,KAAK,EACV,eAAe,EACf,cAAc,EACd,YAAY,EACb,MAAM,8DAA8D,CAAA;AAUrE;;GAEG;;AACH,wBA+JI;AAEJ,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,UAAU,CAAA;IAClB,kFAAkF;IAClF,OAAO,EAAE,IAAI,CACX,4BAA4B,EAC1B,oBAAoB,GACpB,uBAAuB,GACvB,QAAQ,GACR,8BAA8B,GAC9B,yBAAyB,GACzB,iBAAiB,CACpB,CAAA;IACD,sBAAsB;IACtB,QAAQ,EAAE,eAAe,CAAA;IACzB,8DAA8D;IAC9D,IAAI,EAAE,MAAM,CAAA;IACZ,0DAA0D;IAC1D,SAAS,EAAE,cAAc,GAAG,SAAS,CAAA;IACrC,iDAAiD;IACjD,MAAM,EAAE,YAAY,GAAG,IAAI,CAAA;IAC3B,wFAAwF;IACxF,eAAe,EAAE,qBAAqB,CAAA;IACtC,+CAA+C;IAC/C,aAAa,EAAE,iBAAiB,EAAE,CAAA;IAClC,wDAAwD;IACxD,WAAW,EAAE,OAAO,CAAA;IACpB,SAAS,EAAE,OAAO,CAAA;IAClB,cAAc,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,yBAAyB,CAAC,CAAA;IACtE,QAAQ,EAAE,iBAAiB,CAAA;CAC5B,CACA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, createCommentVNode, openBlock, Fragment, createBlock } from "vue";
|
|
2
|
+
import { combineParams } from "@scalar/api-client/v2/features/operation";
|
|
2
3
|
import { getResolvedRef } from "@scalar/workspace-store/helpers/get-resolved-ref";
|
|
3
|
-
import { combineParams } from "./helpers/combine-params.js";
|
|
4
4
|
import { filterSelectedSecurity } from "./helpers/filter-selected-security.js";
|
|
5
5
|
import { getFirstServer } from "./helpers/get-first-server.js";
|
|
6
6
|
import ClassicLayout from "./layouts/ClassicLayout.vue.js";
|
|
@@ -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"}
|