@scalar/api-reference 0.6.2 → 0.6.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 +524 -0
- package/README.md +6 -0
- package/dist/browser/standalone.js +18815 -2572
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.d.ts +16 -4
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/{ReferenceTag.vue.d.ts → EndpointsOverview.vue.d.ts} +1 -1
- package/dist/components/Content/EndpointsOverview.vue.d.ts.map +1 -0
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/index.js +9416 -9377
- package/dist/stories/Card.stories.d.ts +1 -1
- package/dist/stories/Card.stories.d.ts.map +1 -1
- package/dist/stories/CardContent.stories.d.ts +1 -1
- package/dist/stories/CardContent.stories.d.ts.map +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +17 -15
- package/dist/components/Content/ReferenceTag.vue.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,UAAU,CAAA;AAKpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAsMzB,GAAG;0BACG,GAAG;;AAtMtC,wBAqN0G;AAG1G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import '@scalar/
|
|
2
|
-
import '@scalar/default-theme/theme.css';
|
|
1
|
+
import { type ThemeId } from '@scalar/themes';
|
|
3
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
3
|
spec: {
|
|
5
4
|
type: import("vue").PropType<string>;
|
|
@@ -7,6 +6,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
7
6
|
proxyUrl: {
|
|
8
7
|
type: import("vue").PropType<string>;
|
|
9
8
|
};
|
|
9
|
+
theme: {
|
|
10
|
+
type: import("vue").PropType<ThemeId>;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
10
13
|
isEditable: {
|
|
11
14
|
type: import("vue").PropType<boolean>;
|
|
12
15
|
default: boolean;
|
|
@@ -27,13 +30,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
30
|
hocuspocusConfiguration: {
|
|
28
31
|
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
29
32
|
};
|
|
30
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
changeTheme: (value: ThemeId) => void;
|
|
35
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
36
|
spec: {
|
|
32
37
|
type: import("vue").PropType<string>;
|
|
33
38
|
};
|
|
34
39
|
proxyUrl: {
|
|
35
40
|
type: import("vue").PropType<string>;
|
|
36
41
|
};
|
|
42
|
+
theme: {
|
|
43
|
+
type: import("vue").PropType<ThemeId>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
37
46
|
isEditable: {
|
|
38
47
|
type: import("vue").PropType<boolean>;
|
|
39
48
|
default: boolean;
|
|
@@ -54,7 +63,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
63
|
hocuspocusConfiguration: {
|
|
55
64
|
type: import("vue").PropType<import("@scalar/swagger-editor").HocuspocusConfigurationProp>;
|
|
56
65
|
};
|
|
57
|
-
}
|
|
66
|
+
}>> & {
|
|
67
|
+
onChangeTheme?: ((value: ThemeId) => any) | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
theme: ThemeId;
|
|
58
70
|
isEditable: boolean;
|
|
59
71
|
showSidebar: boolean;
|
|
60
72
|
}, {}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"ApiReference.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReference.vue.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,OAAO,EAAe,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqc1D,wBAA8G;AAuB9G,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":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;AA0PvC,wBAAkD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EndpointsOverview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/EndpointsOverview.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAa,GAAG,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;AAsRjD,wBAAkD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Introduction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Introduction.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;AA2TlD,wBAAkD"}
|