@scalar/api-reference 1.10.2 → 1.10.3-alpha
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/dist/browser/standalone.js +12 -12
- package/dist/components/ApiReferenceBase.vue.d.ts +3 -0
- package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts +10 -20
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/Card/Card.vue.d.ts.map +1 -1
- package/dist/components/Content/EndpointsOverview.vue.d.ts.map +1 -1
- package/dist/{index-2aed8531.js → index-019dd72d.js} +13882 -21002
- package/dist/index-15e7c4d3.js +247 -0
- package/dist/index.js +17 -17
- package/dist/types.d.ts +0 -2
- package/dist/types.d.ts.map +1 -1
- package/package.json +30 -30
- package/LICENSE +0 -21
- package/dist/index-1f8d01d9.js +0 -8492
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type SwaggerEditorInputProps } from '@scalar/swagger-editor';
|
|
1
2
|
import { type ThemeId } from '@scalar/themes';
|
|
2
3
|
import { type ReferenceProps, type ReferenceSlotProps } from '../types';
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<ReferenceProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -13,6 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
13
14
|
"content-end": (props: ReferenceSlotProps) => any;
|
|
14
15
|
"sidebar-start": (props: ReferenceSlotProps) => any;
|
|
15
16
|
"sidebar-end": (props: ReferenceSlotProps) => any;
|
|
17
|
+
} & {
|
|
18
|
+
'editor-input': SwaggerEditorInputProps;
|
|
16
19
|
}>>;
|
|
17
20
|
export default _default;
|
|
18
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceBase.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceBase.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ApiReferenceBase.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceBase.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,KAAK,uBAAuB,EAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;AAQ1D,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAExB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;AAqYjB,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -10,7 +10,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
10
10
|
$data: {};
|
|
11
11
|
$props: {
|
|
12
12
|
readonly theme?: ThemeId | undefined;
|
|
13
|
-
readonly hocuspocusConfiguration?: import("@scalar/swagger-editor").HocuspocusConfigurationProp | undefined;
|
|
14
13
|
key?: string | number | symbol | undefined;
|
|
15
14
|
readonly value?: string | undefined;
|
|
16
15
|
style?: unknown;
|
|
@@ -79,9 +78,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
78
|
value: {
|
|
80
79
|
type: import("vue").PropType<string>;
|
|
81
80
|
};
|
|
82
|
-
hocuspocusConfiguration: {
|
|
83
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
84
|
-
};
|
|
85
81
|
theme: {
|
|
86
82
|
type: import("vue").PropType<ThemeId>;
|
|
87
83
|
};
|
|
@@ -125,9 +121,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
125
121
|
value: {
|
|
126
122
|
type: import("vue").PropType<string>;
|
|
127
123
|
};
|
|
128
|
-
hocuspocusConfiguration: {
|
|
129
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
130
|
-
};
|
|
131
124
|
theme: {
|
|
132
125
|
type: import("vue").PropType<ThemeId>;
|
|
133
126
|
};
|
|
@@ -151,9 +144,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
151
144
|
value: {
|
|
152
145
|
type: import("vue").PropType<string>;
|
|
153
146
|
};
|
|
154
|
-
hocuspocusConfiguration: {
|
|
155
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
156
|
-
};
|
|
157
147
|
theme: {
|
|
158
148
|
type: import("vue").PropType<ThemeId>;
|
|
159
149
|
};
|
|
@@ -176,6 +166,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
176
166
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
177
167
|
$slots: {
|
|
178
168
|
"tab-items"?(_: {}): any;
|
|
169
|
+
"editor-input"?(_: {
|
|
170
|
+
ref: string;
|
|
171
|
+
value: string | undefined;
|
|
172
|
+
contentUpdate: (value: string) => void;
|
|
173
|
+
}): any;
|
|
179
174
|
};
|
|
180
175
|
})) | null | undefined;
|
|
181
176
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -192,7 +187,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
192
187
|
$data: {};
|
|
193
188
|
$props: {
|
|
194
189
|
readonly theme?: ThemeId | undefined;
|
|
195
|
-
readonly hocuspocusConfiguration?: import("@scalar/swagger-editor").HocuspocusConfigurationProp | undefined;
|
|
196
190
|
key?: string | number | symbol | undefined;
|
|
197
191
|
readonly value?: string | undefined;
|
|
198
192
|
style?: unknown;
|
|
@@ -261,9 +255,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
261
255
|
value: {
|
|
262
256
|
type: import("vue").PropType<string>;
|
|
263
257
|
};
|
|
264
|
-
hocuspocusConfiguration: {
|
|
265
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
266
|
-
};
|
|
267
258
|
theme: {
|
|
268
259
|
type: import("vue").PropType<ThemeId>;
|
|
269
260
|
};
|
|
@@ -307,9 +298,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
307
298
|
value: {
|
|
308
299
|
type: import("vue").PropType<string>;
|
|
309
300
|
};
|
|
310
|
-
hocuspocusConfiguration: {
|
|
311
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
312
|
-
};
|
|
313
301
|
theme: {
|
|
314
302
|
type: import("vue").PropType<ThemeId>;
|
|
315
303
|
};
|
|
@@ -333,9 +321,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
333
321
|
value: {
|
|
334
322
|
type: import("vue").PropType<string>;
|
|
335
323
|
};
|
|
336
|
-
hocuspocusConfiguration: {
|
|
337
|
-
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
338
|
-
};
|
|
339
324
|
theme: {
|
|
340
325
|
type: import("vue").PropType<ThemeId>;
|
|
341
326
|
};
|
|
@@ -358,6 +343,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
358
343
|
}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
359
344
|
$slots: {
|
|
360
345
|
"tab-items"?(_: {}): any;
|
|
346
|
+
"editor-input"?(_: {
|
|
347
|
+
ref: string;
|
|
348
|
+
value: string | undefined;
|
|
349
|
+
contentUpdate: (value: string) => void;
|
|
350
|
+
}): any;
|
|
361
351
|
};
|
|
362
352
|
})) | null | undefined;
|
|
363
353
|
}>>> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EACV,sBAAsB,EAEtB,kBAAkB,EAClB,IAAI,EACL,MAAM,UAAU,CAAA
|
|
1
|
+
{"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EACV,sBAAsB,EAEtB,kBAAkB,EAClB,IAAI,EACL,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmgBjB,wBAAwG;AAGxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.vue.ts"],"names":[],"mappings":";;;AA8DA,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EndpointsOverview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/EndpointsOverview.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,aAAa,CAAA;;
|
|
1
|
+
{"version":3,"file":"EndpointsOverview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/EndpointsOverview.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,GAAG,EAAwB,MAAM,aAAa,CAAA;;SAyTV,GAAG;;SAAH,GAAG;;AADrD,wBAMG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|