@scalar/api-reference 0.8.4 → 0.8.5

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.
@@ -29,6 +29,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
29
29
  type: import("vue").PropType<boolean>;
30
30
  default: undefined;
31
31
  };
32
+ footerBelowSidebar: {
33
+ type: import("vue").PropType<boolean>;
34
+ default: undefined;
35
+ };
32
36
  isEditable: {
33
37
  type: import("vue").PropType<boolean>;
34
38
  default: undefined;
@@ -68,6 +72,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
68
72
  type: import("vue").PropType<boolean>;
69
73
  default: undefined;
70
74
  };
75
+ footerBelowSidebar: {
76
+ type: import("vue").PropType<boolean>;
77
+ default: undefined;
78
+ };
71
79
  isEditable: {
72
80
  type: import("vue").PropType<boolean>;
73
81
  default: undefined;
@@ -80,6 +88,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
80
88
  onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
81
89
  }, {
82
90
  showSidebar: boolean;
91
+ footerBelowSidebar: boolean;
83
92
  isEditable: boolean;
84
93
  }, {}>, {
85
94
  "search-modal"?(_: {}): any;
@@ -1 +1 @@
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;AAc1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAylB5E,wBAA8G;AAyB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
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;AAc1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqmB5E,wBAA8G;AAyB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -4,19 +4,27 @@ declare const _default: import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<boolean>;
5
5
  required: true;
6
6
  };
7
- spec: {
7
+ parsedSpec: {
8
8
  type: import("vue").PropType<Spec>;
9
9
  required: true;
10
10
  };
11
+ rawSpec: {
12
+ type: import("vue").PropType<string>;
13
+ required: true;
14
+ };
11
15
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
16
  ready: {
13
17
  type: import("vue").PropType<boolean>;
14
18
  required: true;
15
19
  };
16
- spec: {
20
+ parsedSpec: {
17
21
  type: import("vue").PropType<Spec>;
18
22
  required: true;
19
23
  };
24
+ rawSpec: {
25
+ type: import("vue").PropType<string>;
26
+ required: true;
27
+ };
20
28
  }>>, {}, {}>;
21
29
  export default _default;
22
30
  //# sourceMappingURL=Content.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;AAkS5C,wBAAkD"}
1
+ {"version":3,"file":"Content.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/Content.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyS5C,wBAAkD"}
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ value: {
8
+ type: import("vue").PropType<string>;
9
+ required: true;
10
+ };
11
+ }>>, {}, {}>;
12
+ export default _default;
13
+ //# sourceMappingURL=DownloadSpec.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DownloadSpec.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/DownloadSpec.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AAmHA,wBAAkD"}
@@ -8,10 +8,14 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: import("vue").PropType<Server[]>;
9
9
  required: true;
10
10
  };
11
- spec: {
11
+ parsedSpec: {
12
12
  type: import("vue").PropType<Spec>;
13
13
  required: true;
14
14
  };
15
+ rawSpec: {
16
+ type: import("vue").PropType<string>;
17
+ required: true;
18
+ };
15
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
20
  info: {
17
21
  type: import("vue").PropType<Info>;
@@ -21,10 +25,14 @@ declare const _default: import("vue").DefineComponent<{
21
25
  type: import("vue").PropType<Server[]>;
22
26
  required: true;
23
27
  };
24
- spec: {
28
+ parsedSpec: {
25
29
  type: import("vue").PropType<Spec>;
26
30
  required: true;
27
31
  };
32
+ rawSpec: {
33
+ type: import("vue").PropType<string>;
34
+ required: true;
35
+ };
28
36
  }>>, {}, {}>;
29
37
  export default _default;
30
38
  //# sourceMappingURL=Introduction.vue.d.ts.map
@@ -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,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2VxD,wBAAkD"}
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,IAAI,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2WxD,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;AA2mB7D,wBAAkD"}
1
+ {"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/ReferenceEndpoint/ExampleResponses/ExampleResponses.vue.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;AAimB7D,wBAAkD"}
@@ -0,0 +1,13 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ value: {
3
+ type: import("vue").PropType<string>;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ value: {
8
+ type: import("vue").PropType<string>;
9
+ required: true;
10
+ };
11
+ }>>, {}, {}>;
12
+ export default _default;
13
+ //# sourceMappingURL=SpecDownload.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpecDownload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Content/SpecDownload.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AAyJA,wBAAkD"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Deep merge for objects
3
+ **/
4
+ export declare function deepMerge(source: Record<any, any>, target: Record<any, any>): Record<any, any>;
5
+ //# sourceMappingURL=deepMerge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepMerge.d.ts","sourceRoot":"","sources":["../../src/helpers/deepMerge.ts"],"names":[],"mappings":"AAAA;;IAEI;AACJ,wBAAgB,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,oBAW3E"}
@@ -1,3 +1,4 @@
1
+ export * from './deepMerge';
1
2
  export * from './generateRequest';
2
3
  export * from './getExampleFromSchema';
3
4
  export * from './getHeadingId';
@@ -7,8 +8,10 @@ export * from './getOperationSectionId';
7
8
  export * from './getTagSectionId';
8
9
  export * from './hasModels';
9
10
  export * from './hasSecuritySchemes';
11
+ export * from './isJsonString';
10
12
  export * from './mapFromObject';
11
13
  export * from './objectMerge';
14
+ export * from './prettyPrintJson';
12
15
  export * from './scrollToId';
13
16
  export * from './transformToJson';
14
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,2BAA2B,CAAA;AACzC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,mBAAmB,CAAA;AACjC,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Check if value is a valid JSON string
3
+ */
4
+ export declare const isJsonString: (value?: any) => boolean;
5
+ //# sourceMappingURL=isJsonString.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isJsonString.d.ts","sourceRoot":"","sources":["../../src/helpers/isJsonString.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,YAAY,WAAY,GAAG,YAYvC,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Takes JSON and formats it.
3
+ **/
4
+ export declare const prettyPrintJson: (value: any) => any;
5
+ //# sourceMappingURL=prettyPrintJson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prettyPrintJson.d.ts","sourceRoot":"","sources":["../../src/helpers/prettyPrintJson.ts"],"names":[],"mappings":"AAAA;;IAEI;AACJ,eAAO,MAAM,eAAe,UAAW,GAAG,QAYzC,CAAA"}