@scalar/api-reference 1.0.3 → 1.0.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.
@@ -86,8 +86,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
86
86
  };
87
87
  }>> & {
88
88
  onChangeTheme?: ((value: ThemeId) => any) | undefined;
89
- onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
90
89
  onUpdateContent?: ((value: string) => any) | undefined;
90
+ onStartAIWriter?: ((value: string[], swaggerData: string, swaggerType: "json" | "yaml") => any) | undefined;
91
91
  }, {
92
92
  showSidebar: boolean;
93
93
  footerBelowSidebar: boolean;
@@ -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;AAQ1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgW5E,wBAA8G;AA2B9G,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;AAQ1D,OAAO,KAAK,EAAE,sBAAsB,EAAwB,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuW5E,wBAA8G;AA2B9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -42,7 +42,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
42
42
  };
43
43
  }, {
44
44
  handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
45
- handleChangeExample: (example: import("@scalar/swagger-editor").GettingStartedExamples) => Promise<void>;
46
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
46
  contentUpdate: (value: string) => void;
48
47
  import: (value: string) => void;
@@ -79,6 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
79
78
  };
80
79
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
81
80
  changeTheme: (value: ThemeId) => void;
81
+ updateContent: (value: string) => void;
82
82
  toggleDarkMode: () => void;
83
83
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
84
84
  currentConfiguration: {
@@ -122,7 +122,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
122
122
  };
123
123
  }, {
124
124
  handleOpenSwaggerEditor: (action?: import("@scalar/swagger-editor").OpenSwaggerEditorActions | undefined) => void;
125
- handleChangeExample: (example: import("@scalar/swagger-editor").GettingStartedExamples) => Promise<void>;
126
125
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
127
126
  contentUpdate: (value: string) => void;
128
127
  import: (value: string) => void;
@@ -160,6 +159,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
160
159
  }>> & {
161
160
  onToggleDarkMode?: (() => any) | undefined;
162
161
  onChangeTheme?: ((value: ThemeId) => any) | undefined;
162
+ onUpdateContent?: ((value: string) => any) | undefined;
163
163
  }, {}, {}>, {
164
164
  "search-modal"?(_: {}): any;
165
165
  header?(_: {}): any;
@@ -1 +1 @@
1
- {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4c5D,wBAA8G;AAmB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ApiReferenceLayout.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiReferenceLayout.vue.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAK7C,OAAO,KAAK,EAAE,sBAAsB,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8c5D,wBAA8G;AAqB9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,12 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  value: {
3
3
  type: import("vue").PropType<string>;
4
- required: true;
5
4
  };
6
5
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
6
  value: {
8
7
  type: import("vue").PropType<string>;
9
- required: true;
10
8
  };
11
9
  }>>, {}, {}>;
12
10
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AA2IA,wBAAkD"}
1
+ {"version":3,"file":"Description.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/Description.vue.ts"],"names":[],"mappings":";;;;;;;;;AAiJA,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ServerList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/ServerList.vue.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;;;AA8b5C,wBAAkD"}
1
+ {"version":3,"file":"ServerList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/ServerList.vue.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAiB,MAAM,gBAAgB,CAAA;;;;;;;;;;;;AA0T3D,wBAAkD"}
@@ -0,0 +1,12 @@
1
+ import type { Variable } from '../../../types';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ value: {
4
+ type: import("vue").PropType<Variable[]>;
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<Variable[]>;
9
+ };
10
+ }>>, {}, {}>;
11
+ export default _default;
12
+ //# sourceMappingURL=ServerVariables.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServerVariables.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/Introduction/ServerVariables.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;;;AAwL9C,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectExample.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AAiOA,wBAAkD"}
1
+ {"version":3,"file":"SelectExample.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Content/ReferenceEndpoint/ExampleResponses/SelectExample.vue.ts"],"names":[],"mappings":";;;;;;;;;;;AAyOA,wBAAkD"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/SearchModal.vue.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,IAAI,EAA6B,MAAM,UAAU,CAAA;;;;;;;;;;;;AA2b/D,wBAAkD"}
1
+ {"version":3,"file":"SearchModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/SearchModal.vue.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,IAAI,EAA6B,MAAM,UAAU,CAAA;;;;;;;;;;;;AA8b/D,wBAAkD"}
@@ -107,11 +107,7 @@ export declare function useParser({ input, }: {
107
107
  servers: {
108
108
  url: string;
109
109
  description?: string | undefined;
110
- variables?: Record<string, {
111
- default?: string | number | undefined;
112
- description?: string | undefined;
113
- enum?: (string | number)[] | undefined;
114
- }> | undefined;
110
+ variables?: import("../types").ServerVariables | undefined;
115
111
  }[];
116
112
  components?: {
117
113
  schemas?: {
@@ -1 +1 @@
1
- {"version":3,"file":"useParser.d.ts","sourceRoot":"","sources":["../../src/hooks/useParser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAA+B,MAAM,KAAK,CAAA;AAE7E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AA4BpC;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,GACN,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2CwC,IAAI;;EAS5C"}
1
+ {"version":3,"file":"useParser.d.ts","sourceRoot":"","sources":["../../src/hooks/useParser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,GAAG,EAA+B,MAAM,KAAK,CAAA;AAE7E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AA4BpC;;GAEG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,GACN,EAAE;IACD,KAAK,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CACnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA6CwC,IAAI;;EAS5C"}