@scalar/api-client 2.1.51 → 2.2.0

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.
Files changed (201) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/components/AddressBar/AddressBar.vue.d.ts.map +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  4. package/dist/components/AddressBar/AddressBar.vue2.js +35 -42
  5. package/dist/components/AddressBar/AddressBarHistory.vue.d.ts.map +1 -1
  6. package/dist/components/AddressBar/AddressBarHistory.vue.js +2 -2
  7. package/dist/components/AddressBar/AddressBarHistory.vue2.js +25 -24
  8. package/dist/components/AddressBar/AddressBarServer.vue.d.ts.map +1 -1
  9. package/dist/components/AddressBar/AddressBarServer.vue.js +32 -39
  10. package/dist/components/AddressBar/AddressBarServerItem.vue.d.ts.map +1 -1
  11. package/dist/components/AddressBar/AddressBarServerItem.vue.js +10 -15
  12. package/dist/components/CodeInput/CodeInput.vue.d.ts.map +1 -1
  13. package/dist/components/CodeInput/CodeInput.vue.js +1 -1
  14. package/dist/components/CodeInput/CodeInput.vue2.js +48 -47
  15. package/dist/components/CodeInput/codeVariableWidget.d.ts +3 -2
  16. package/dist/components/CodeInput/codeVariableWidget.d.ts.map +1 -1
  17. package/dist/components/CommandPalette/CommandPaletteCollection.vue.d.ts.map +1 -1
  18. package/dist/components/CommandPalette/CommandPaletteCollection.vue.js +16 -15
  19. package/dist/components/CommandPalette/CommandPaletteExample.vue.d.ts.map +1 -1
  20. package/dist/components/CommandPalette/CommandPaletteExample.vue.js +18 -23
  21. package/dist/components/CommandPalette/CommandPaletteImport.vue.d.ts.map +1 -1
  22. package/dist/components/CommandPalette/CommandPaletteImport.vue.js +27 -26
  23. package/dist/components/CommandPalette/CommandPaletteRequest.vue.d.ts.map +1 -1
  24. package/dist/components/CommandPalette/CommandPaletteRequest.vue.js +19 -20
  25. package/dist/components/CommandPalette/CommandPaletteServer.vue.d.ts.map +1 -1
  26. package/dist/components/CommandPalette/CommandPaletteServer.vue.js +19 -24
  27. package/dist/components/CommandPalette/CommandPaletteTag.vue.d.ts.map +1 -1
  28. package/dist/components/CommandPalette/CommandPaletteTag.vue.js +23 -22
  29. package/dist/components/CommandPalette/TheCommandPalette.vue.d.ts.map +1 -1
  30. package/dist/components/CommandPalette/TheCommandPalette.vue.js +4 -4
  31. package/dist/components/CommandPalette/TheCommandPalette.vue2.js +47 -46
  32. package/dist/components/DataTable/DataTableInput.vue.d.ts +1 -1
  33. package/dist/components/DataTable/DataTableInput.vue.d.ts.map +1 -1
  34. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.d.ts.map +1 -1
  35. package/dist/components/EnvironmentSelector/EnvironmentSelector.vue.js +23 -28
  36. package/dist/components/HttpMethod/HttpMethod.vue.d.ts +2 -2
  37. package/dist/components/IconSelector.vue.js +2 -2
  38. package/dist/components/ImportCollection/ImportCollectionModal.vue.d.ts.map +1 -1
  39. package/dist/components/ImportCollection/ImportCollectionModal.vue.js +127 -96
  40. package/dist/components/ImportCollection/ImportNowButton.vue.d.ts.map +1 -1
  41. package/dist/components/ImportCollection/ImportNowButton.vue.js +28 -27
  42. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts +1 -1
  43. package/dist/components/ImportCollection/IntegrationLogo.vue.d.ts.map +1 -1
  44. package/dist/components/ImportCollection/IntegrationLogo.vue.js +14 -18
  45. package/dist/components/ImportCollection/WorkspaceSelector.vue.d.ts.map +1 -1
  46. package/dist/components/ImportCollection/WorkspaceSelector.vue.js +15 -14
  47. package/dist/components/Search/useSearch.d.ts.map +1 -1
  48. package/dist/components/Search/useSearch.js +20 -19
  49. package/dist/components/SideNav/SideNavRouterLink.vue.js +9 -9
  50. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  51. package/dist/components/Sidebar/Sidebar.vue.js +2 -2
  52. package/dist/components/Sidebar/Sidebar.vue2.js +37 -39
  53. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  54. package/dist/components/TopNav/TopNav.vue.js +1 -1
  55. package/dist/components/TopNav/TopNav.vue2.js +20 -19
  56. package/dist/components/TopNav/TopNavItem.vue.d.ts +2 -2
  57. package/dist/hooks/index.js +3 -2
  58. package/dist/hooks/useLayout.d.ts +2 -0
  59. package/dist/hooks/useLayout.d.ts.map +1 -1
  60. package/dist/hooks/useLayout.js +4 -3
  61. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  62. package/dist/layouts/App/ApiClientApp.vue.js +38 -37
  63. package/dist/layouts/App/MainLayout.vue.d.ts.map +1 -1
  64. package/dist/layouts/App/MainLayout.vue.js +3 -3
  65. package/dist/layouts/App/create-api-client-app.d.ts +670 -1232
  66. package/dist/layouts/App/create-api-client-app.d.ts.map +1 -1
  67. package/dist/layouts/Modal/ApiClientModal.vue.d.ts.map +1 -1
  68. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  69. package/dist/layouts/Modal/ApiClientModal.vue2.js +24 -23
  70. package/dist/layouts/Modal/create-api-client-modal.d.ts +1384 -2508
  71. package/dist/layouts/Modal/create-api-client-modal.d.ts.map +1 -1
  72. package/dist/layouts/Web/ApiClientWeb.vue.d.ts.map +1 -1
  73. package/dist/layouts/Web/ApiClientWeb.vue.js +34 -33
  74. package/dist/layouts/Web/create-api-client-web.d.ts +670 -1232
  75. package/dist/layouts/Web/create-api-client-web.d.ts.map +1 -1
  76. package/dist/libs/create-client.d.ts +675 -1236
  77. package/dist/libs/create-client.d.ts.map +1 -1
  78. package/dist/libs/create-client.js +100 -95
  79. package/dist/libs/hot-keys.d.ts +1 -1
  80. package/dist/libs/send-request.d.ts +3 -7
  81. package/dist/libs/send-request.d.ts.map +1 -1
  82. package/dist/libs/send-request.js +126 -119
  83. package/dist/libs/string-template.d.ts.map +1 -1
  84. package/dist/libs/string-template.js +23 -22
  85. package/dist/store/active-entities.d.ts +333 -0
  86. package/dist/store/active-entities.d.ts.map +1 -0
  87. package/dist/store/active-entities.js +97 -0
  88. package/dist/store/collections.d.ts +4 -274
  89. package/dist/store/collections.d.ts.map +1 -1
  90. package/dist/store/cookies.d.ts +4 -4
  91. package/dist/store/environment.d.ts +4 -4
  92. package/dist/store/import-spec.d.ts +0 -54
  93. package/dist/store/import-spec.d.ts.map +1 -1
  94. package/dist/store/index.js +4 -3
  95. package/dist/store/request-example.d.ts +4 -4
  96. package/dist/store/requests.d.ts +15 -15
  97. package/dist/store/security-schemes.d.ts +527 -317
  98. package/dist/store/security-schemes.d.ts.map +1 -1
  99. package/dist/store/security-schemes.js +33 -41
  100. package/dist/store/servers.d.ts +4 -4
  101. package/dist/store/store-context.d.ts +0 -3
  102. package/dist/store/store-context.d.ts.map +1 -1
  103. package/dist/store/store.d.ts +640 -5297
  104. package/dist/store/store.d.ts.map +1 -1
  105. package/dist/store/store.js +111 -189
  106. package/dist/store/tags.d.ts +4 -4
  107. package/dist/store/workspace.d.ts +14 -24
  108. package/dist/store/workspace.d.ts.map +1 -1
  109. package/dist/style.css +1 -1
  110. package/dist/views/Cookies/CookieForm.vue.d.ts.map +1 -1
  111. package/dist/views/Cookies/CookieForm.vue.js +14 -13
  112. package/dist/views/Cookies/CookieRaw.vue.d.ts.map +1 -1
  113. package/dist/views/Cookies/CookieRaw.vue.js +14 -13
  114. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts +3 -3
  115. package/dist/views/Environment/EnvironmentVariableDropdown.vue.d.ts.map +1 -1
  116. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  117. package/dist/views/Request/Request.vue.js +2 -2
  118. package/dist/views/Request/Request.vue2.js +94 -94
  119. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts +2 -2
  120. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.d.ts.map +1 -1
  121. package/dist/views/Request/RequestSection/RequestAuth/OAuth2.vue.js +96 -99
  122. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts +2 -2
  123. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.d.ts.map +1 -1
  124. package/dist/views/Request/RequestSection/RequestAuth/OAuthScopesInput.vue.js +49 -46
  125. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.d.ts.map +1 -1
  126. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue.js +2 -2
  127. package/dist/views/Request/RequestSection/RequestAuth/RequestAuth.vue2.js +94 -100
  128. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.d.ts.map +1 -1
  129. package/dist/views/Request/RequestSection/RequestAuth/RequestExampleAuth.vue.js +60 -67
  130. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts +1 -1
  131. package/dist/views/Request/RequestSection/RequestAuthDataTableInput.vue.d.ts.map +1 -1
  132. package/dist/views/Request/RequestSection/RequestBody.vue.d.ts.map +1 -1
  133. package/dist/views/Request/RequestSection/RequestBody.vue.js +2 -2
  134. package/dist/views/Request/RequestSection/RequestBody.vue2.js +29 -28
  135. package/dist/views/Request/RequestSection/RequestParams.vue.d.ts.map +1 -1
  136. package/dist/views/Request/RequestSection/RequestParams.vue.js +11 -10
  137. package/dist/views/Request/RequestSection/RequestPathParams.vue.d.ts.map +1 -1
  138. package/dist/views/Request/RequestSection/RequestPathParams.vue.js +24 -28
  139. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  140. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  141. package/dist/views/Request/RequestSection/RequestSection.vue2.js +19 -18
  142. package/dist/views/Request/RequestSection/RequestTable.vue.d.ts +2 -2
  143. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.d.ts.map +1 -1
  144. package/dist/views/Request/RequestSection/RequestTableTooltip.vue.js +27 -27
  145. package/dist/views/Request/RequestSidebar.vue.d.ts.map +1 -1
  146. package/dist/views/Request/RequestSidebar.vue.js +1 -1
  147. package/dist/views/Request/RequestSidebar.vue2.js +74 -75
  148. package/dist/views/Request/RequestSidebarItem.vue.d.ts.map +1 -1
  149. package/dist/views/Request/RequestSidebarItem.vue.js +1 -1
  150. package/dist/views/Request/RequestSidebarItem.vue2.js +111 -109
  151. package/dist/views/Request/RequestSidebarItemMenu.vue.d.ts.map +1 -1
  152. package/dist/views/Request/RequestSidebarItemMenu.vue.js +2 -2
  153. package/dist/views/Request/RequestSidebarItemMenu.vue2.js +15 -16
  154. package/dist/views/Request/RequestSubpageHeader.vue.js +1 -1
  155. package/dist/views/Request/RequestSubpageHeader.vue2.js +14 -14
  156. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  157. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +2 -2
  158. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +35 -15
  159. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.d.ts.map +1 -1
  160. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +1 -1
  161. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +23 -22
  162. package/dist/views/Request/components/WorkspaceDropdown.vue.d.ts.map +1 -1
  163. package/dist/views/Request/components/WorkspaceDropdown.vue.js +32 -31
  164. package/dist/views/Request/consts/new-auth-options.d.ts +16 -8
  165. package/dist/views/Request/consts/new-auth-options.d.ts.map +1 -1
  166. package/dist/views/Request/consts/new-auth-options.js +16 -8
  167. package/dist/views/Request/handle-drag.d.ts +2 -1
  168. package/dist/views/Request/handle-drag.d.ts.map +1 -1
  169. package/dist/views/Request/handle-drag.js +23 -25
  170. package/dist/views/Request/hooks/useOpenApiWatcher.d.ts.map +1 -1
  171. package/dist/views/Request/hooks/useOpenApiWatcher.js +40 -39
  172. package/dist/views/Request/libs/auth.d.ts +1 -29
  173. package/dist/views/Request/libs/auth.d.ts.map +1 -1
  174. package/dist/views/Request/libs/auth.js +2 -9
  175. package/dist/views/Request/libs/index.js +6 -8
  176. package/dist/views/Request/libs/live-sync.d.ts +6 -5
  177. package/dist/views/Request/libs/live-sync.d.ts.map +1 -1
  178. package/dist/views/Request/libs/live-sync.js +164 -185
  179. package/dist/views/Request/libs/oauth2.d.ts +6 -10
  180. package/dist/views/Request/libs/oauth2.d.ts.map +1 -1
  181. package/dist/views/Request/libs/oauth2.js +54 -69
  182. package/dist/views/Servers/ServerForm.vue.d.ts.map +1 -1
  183. package/dist/views/Servers/ServerForm.vue.js +14 -13
  184. package/dist/views/Servers/Servers.vue.d.ts.map +1 -1
  185. package/dist/views/Servers/Servers.vue2.js +18 -17
  186. package/dist/views/Settings/SettingsGeneral.vue.d.ts.map +1 -1
  187. package/dist/views/Settings/SettingsGeneral.vue.js +218 -126
  188. package/dist/views/Settings/{SettingsGeneralMode.vue.d.ts → components/SettingsAppearance.vue.d.ts} +2 -2
  189. package/dist/views/Settings/components/SettingsAppearance.vue.d.ts.map +1 -0
  190. package/dist/views/Settings/components/SettingsAppearance.vue.js +74 -0
  191. package/dist/views/Settings/components/SettingsAppearance.vue2.js +4 -0
  192. package/dist/views/Settings/components/SettingsSection.vue.d.ts +24 -0
  193. package/dist/views/Settings/components/SettingsSection.vue.d.ts.map +1 -0
  194. package/dist/views/Settings/components/SettingsSection.vue.js +24 -0
  195. package/dist/views/Settings/components/SettingsSection.vue2.js +4 -0
  196. package/package.json +12 -12
  197. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts +0 -16
  198. package/dist/views/Request/RequestSection/RequestAuth/RequestAuthModal.vue.d.ts.map +0 -1
  199. package/dist/views/Settings/SettingsGeneralMode.vue.d.ts.map +0 -1
  200. package/dist/views/Settings/SettingsGeneralMode.vue.js +0 -78
  201. package/dist/views/Settings/SettingsGeneralMode.vue2.js +0 -4
@@ -16,33 +16,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
16
16
  servers: string[];
17
17
  requests: string[];
18
18
  tags: string[];
19
- auth: Record<string, {
20
- type: "apiKey";
21
- value: string;
22
- name: string;
23
- } | {
24
- type: "http";
25
- username: string;
26
- password: string;
27
- token: string;
28
- } | {
29
- type: "oauth-implicit";
30
- token: string;
31
- } | {
32
- type: "oauth-password";
33
- username: string;
34
- password: string;
35
- token: string;
36
- clientSecret: string;
37
- } | {
38
- type: "oauth-clientCredentials";
39
- token: string;
40
- clientSecret: string;
41
- } | {
42
- type: "oauth-authorizationCode";
43
- token: string;
44
- clientSecret: string;
45
- }>;
46
19
  watchMode: boolean;
47
20
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
48
21
  externalDocs?: {
@@ -99,33 +72,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
99
72
  servers: string[];
100
73
  requests: string[];
101
74
  tags: string[];
102
- auth: Record<string, {
103
- type: "apiKey";
104
- value: string;
105
- name: string;
106
- } | {
107
- type: "http";
108
- username: string;
109
- password: string;
110
- token: string;
111
- } | {
112
- type: "oauth-implicit";
113
- token: string;
114
- } | {
115
- type: "oauth-password";
116
- username: string;
117
- password: string;
118
- token: string;
119
- clientSecret: string;
120
- } | {
121
- type: "oauth-clientCredentials";
122
- token: string;
123
- clientSecret: string;
124
- } | {
125
- type: "oauth-authorizationCode";
126
- token: string;
127
- clientSecret: string;
128
- }>;
129
75
  watchMode: boolean;
130
76
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
131
77
  externalDocs?: {
@@ -182,33 +128,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
182
128
  servers: string[];
183
129
  requests: string[];
184
130
  tags: string[];
185
- auth: Record<string, {
186
- type: "apiKey";
187
- value: string;
188
- name: string;
189
- } | {
190
- type: "http";
191
- username: string;
192
- password: string;
193
- token: string;
194
- } | {
195
- type: "oauth-implicit";
196
- token: string;
197
- } | {
198
- type: "oauth-password";
199
- username: string;
200
- password: string;
201
- token: string;
202
- clientSecret: string;
203
- } | {
204
- type: "oauth-clientCredentials";
205
- token: string;
206
- clientSecret: string;
207
- } | {
208
- type: "oauth-authorizationCode";
209
- token: string;
210
- clientSecret: string;
211
- }>;
212
131
  watchMode: boolean;
213
132
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
214
133
  externalDocs?: {
@@ -251,7 +170,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
251
170
  documentUrl?: string | undefined;
252
171
  integration?: string | null | undefined;
253
172
  }) => void;
254
- edit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
173
+ edit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
255
174
  type: "collection";
256
175
  uid: string;
257
176
  children: string[];
@@ -264,33 +183,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
264
183
  servers: string[];
265
184
  requests: string[];
266
185
  tags: string[];
267
- auth: Record<string, {
268
- type: "apiKey";
269
- value: string;
270
- name: string;
271
- } | {
272
- type: "http";
273
- username: string;
274
- password: string;
275
- token: string;
276
- } | {
277
- type: "oauth-implicit";
278
- token: string;
279
- } | {
280
- type: "oauth-password";
281
- username: string;
282
- password: string;
283
- token: string;
284
- clientSecret: string;
285
- } | {
286
- type: "oauth-clientCredentials";
287
- token: string;
288
- clientSecret: string;
289
- } | {
290
- type: "oauth-authorizationCode";
291
- token: string;
292
- clientSecret: string;
293
- }>;
294
186
  watchMode: boolean;
295
187
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
296
188
  externalDocs?: {
@@ -332,7 +224,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
332
224
  }> | undefined;
333
225
  documentUrl?: string | undefined;
334
226
  integration?: string | null | undefined;
335
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
227
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
336
228
  type: "collection";
337
229
  uid: string;
338
230
  children: string[];
@@ -345,33 +237,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
345
237
  servers: string[];
346
238
  requests: string[];
347
239
  tags: string[];
348
- auth: Record<string, {
349
- type: "apiKey";
350
- value: string;
351
- name: string;
352
- } | {
353
- type: "http";
354
- username: string;
355
- password: string;
356
- token: string;
357
- } | {
358
- type: "oauth-implicit";
359
- token: string;
360
- } | {
361
- type: "oauth-password";
362
- username: string;
363
- password: string;
364
- token: string;
365
- clientSecret: string;
366
- } | {
367
- type: "oauth-clientCredentials";
368
- token: string;
369
- clientSecret: string;
370
- } | {
371
- type: "oauth-authorizationCode";
372
- token: string;
373
- clientSecret: string;
374
- }>;
375
240
  watchMode: boolean;
376
241
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
377
242
  externalDocs?: {
@@ -426,33 +291,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
426
291
  servers: string[];
427
292
  requests: string[];
428
293
  tags: string[];
429
- auth: Record<string, {
430
- type: "apiKey";
431
- value: string;
432
- name: string;
433
- } | {
434
- type: "http";
435
- username: string;
436
- password: string;
437
- token: string;
438
- } | {
439
- type: "oauth-implicit";
440
- token: string;
441
- } | {
442
- type: "oauth-password";
443
- username: string;
444
- password: string;
445
- token: string;
446
- clientSecret: string;
447
- } | {
448
- type: "oauth-clientCredentials";
449
- token: string;
450
- clientSecret: string;
451
- } | {
452
- type: "oauth-authorizationCode";
453
- token: string;
454
- clientSecret: string;
455
- }>;
456
294
  watchMode: boolean;
457
295
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
458
296
  externalDocs?: {
@@ -495,7 +333,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
495
333
  documentUrl?: string | undefined;
496
334
  integration?: string | null | undefined;
497
335
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
498
- untrackedEdit: <P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `children.${number}` | "info.summary" | "info.title" | "info.description" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.email" | "info.contact.url" | "info.license.name" | "info.license.url" | "info.license.identifier" | `auth.${string}` | `securitySchemes.${number}` | `requests.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
336
+ untrackedEdit: <P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | `tags.${number}` | `security.${number}` | `security.${number}.${string}` | "externalDocs.description" | "externalDocs.url" | `servers.${number}` | `selectedSecuritySchemeUids.${number}` | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" | `requests.${number}` | `children.${number}` | "info.summary" | "info.description" | "info.title" | "info.version" | "info.termsOfService" | "info.contact" | "info.license" | "info.contact.name" | "info.contact.url" | "info.contact.email" | "info.license.name" | "info.license.url" | "info.license.identifier" | `securitySchemes.${number}` | `components.${string}` | `webhooks.${string}` | `x-scalar-environments.${string}` | `x-scalar-secrets.${string}`>(uid: string, path: P, value: P extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? {
499
337
  type: "collection";
500
338
  uid: string;
501
339
  children: string[];
@@ -508,33 +346,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
508
346
  servers: string[];
509
347
  requests: string[];
510
348
  tags: string[];
511
- auth: Record<string, {
512
- type: "apiKey";
513
- value: string;
514
- name: string;
515
- } | {
516
- type: "http";
517
- username: string;
518
- password: string;
519
- token: string;
520
- } | {
521
- type: "oauth-implicit";
522
- token: string;
523
- } | {
524
- type: "oauth-password";
525
- username: string;
526
- password: string;
527
- token: string;
528
- clientSecret: string;
529
- } | {
530
- type: "oauth-clientCredentials";
531
- token: string;
532
- clientSecret: string;
533
- } | {
534
- type: "oauth-authorizationCode";
535
- token: string;
536
- clientSecret: string;
537
- }>;
538
349
  watchMode: boolean;
539
350
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
540
351
  externalDocs?: {
@@ -576,7 +387,7 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
576
387
  }> | undefined;
577
388
  documentUrl?: string | undefined;
578
389
  integration?: string | null | undefined;
579
- }[P] : P extends `${infer K}.${infer R}` ? K extends "type" | "children" | "tags" | "security" | "externalDocs" | "info" | "servers" | "uid" | "auth" | "securitySchemes" | "selectedSecuritySchemeUids" | "requests" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
390
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "tags" | "security" | "externalDocs" | "type" | "uid" | "requests" | "children" | "info" | "servers" | "securitySchemes" | "selectedSecuritySchemeUids" | "documentUrl" | "watchMode" | "components" | "selectedServerUid" | "openapi" | "x-scalar-icon" | "watchModeStatus" | "jsonSchemaDialect" | "webhooks" | "x-scalar-environment" | "x-scalar-environments" | "x-scalar-secrets" | "integration" ? R extends import("@scalar/object-utils/nested").Path<{
580
391
  type: "collection";
581
392
  uid: string;
582
393
  children: string[];
@@ -589,33 +400,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
589
400
  servers: string[];
590
401
  requests: string[];
591
402
  tags: string[];
592
- auth: Record<string, {
593
- type: "apiKey";
594
- value: string;
595
- name: string;
596
- } | {
597
- type: "http";
598
- username: string;
599
- password: string;
600
- token: string;
601
- } | {
602
- type: "oauth-implicit";
603
- token: string;
604
- } | {
605
- type: "oauth-password";
606
- username: string;
607
- password: string;
608
- token: string;
609
- clientSecret: string;
610
- } | {
611
- type: "oauth-clientCredentials";
612
- token: string;
613
- clientSecret: string;
614
- } | {
615
- type: "oauth-authorizationCode";
616
- token: string;
617
- clientSecret: string;
618
- }>;
619
403
  watchMode: boolean;
620
404
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
621
405
  externalDocs?: {
@@ -670,33 +454,6 @@ export declare function createStoreCollections(useLocalStorage: boolean): {
670
454
  servers: string[];
671
455
  requests: string[];
672
456
  tags: string[];
673
- auth: Record<string, {
674
- type: "apiKey";
675
- value: string;
676
- name: string;
677
- } | {
678
- type: "http";
679
- username: string;
680
- password: string;
681
- token: string;
682
- } | {
683
- type: "oauth-implicit";
684
- token: string;
685
- } | {
686
- type: "oauth-password";
687
- username: string;
688
- password: string;
689
- token: string;
690
- clientSecret: string;
691
- } | {
692
- type: "oauth-clientCredentials";
693
- token: string;
694
- clientSecret: string;
695
- } | {
696
- type: "oauth-authorizationCode";
697
- token: string;
698
- clientSecret: string;
699
- }>;
700
457
  watchMode: boolean;
701
458
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
702
459
  externalDocs?: {
@@ -759,33 +516,6 @@ export declare function extendedCollectionDataFactory({ requests, requestMutator
759
516
  servers: string[];
760
517
  requests: string[];
761
518
  tags: string[];
762
- auth: Record<string, {
763
- type: "apiKey";
764
- value: string;
765
- name: string;
766
- } | {
767
- type: "http";
768
- username: string;
769
- password: string;
770
- token: string;
771
- } | {
772
- type: "oauth-implicit";
773
- token: string;
774
- } | {
775
- type: "oauth-password";
776
- username: string;
777
- password: string;
778
- token: string;
779
- clientSecret: string;
780
- } | {
781
- type: "oauth-clientCredentials";
782
- token: string;
783
- clientSecret: string;
784
- } | {
785
- type: "oauth-authorizationCode";
786
- token: string;
787
- clientSecret: string;
788
- }>;
789
519
  watchMode: boolean;
790
520
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
791
521
  externalDocs?: {
@@ -1 +1 @@
1
- {"version":3,"file":"collections.d.ts","sourceRoot":"","sources":["../../src/store/collections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EACL,KAAK,UAA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C,CAAC;8BAA4C,CAAC;uBAAqC,CAAC;wBAAoB,CAAC;uBAAqC,CAAC;yBAAuC,CAAC;;uBAA4D,CAAC;;8BAAoD,CAAC;uBAAqC,CAAC;;;;;;;;;+BAA2W,CAAC;;2BAAqD,CAAC;qBAAmC,CAAC;;;2BAAuG,CAAC;uBAAqC,CAAC;;;;;;;;;EAtEpriB;AAED,gFAAgF;AAChF,wBAAgB,6BAA6B,CAAC,EAC5C,QAAQ,EACR,eAAe,EACf,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,GACZ,EAAE,YAAY;6BACmB,iBAAiB,gBAAgB,MAAM;;;;;;;;;;;;;;;;;uBAwD6/f,CAAC;;;;;;uBAAqK,CAAC;mBAAqC,CAAC;0BAA4C,CAAC;mBAAqC,CAAC;oBAAoB,CAAC;mBAAqC,CAAC;qBAAuC,CAAC;;mBAA4D,CAAC;;0BAAoD,CAAC;mBAAqC,CAAC;;;;;;;;;2BAA2W,CAAC;;uBAAqD,CAAC;iBAAmC,CAAC;;;uBAAuG,CAAC;mBAAqC,CAAC;;;;;mCA7C7oiB,UAAU,aAAa,SAAS;EA4CvE"}
@@ -41,7 +41,7 @@ export declare function createStoreCookies(useLocalStorage: boolean): {
41
41
  partitioned?: boolean | undefined;
42
42
  secure?: boolean | undefined;
43
43
  }) => void;
44
- edit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
44
+ edit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
45
45
  value: string;
46
46
  uid: string;
47
47
  name: string;
@@ -53,7 +53,7 @@ export declare function createStoreCookies(useLocalStorage: boolean): {
53
53
  maxAge?: number | undefined;
54
54
  partitioned?: boolean | undefined;
55
55
  secure?: boolean | undefined;
56
- }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
56
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
57
57
  value: string;
58
58
  uid: string;
59
59
  name: string;
@@ -78,7 +78,7 @@ export declare function createStoreCookies(useLocalStorage: boolean): {
78
78
  partitioned?: boolean | undefined;
79
79
  secure?: boolean | undefined;
80
80
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
81
- untrackedEdit: <P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
81
+ untrackedEdit: <P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure">(uid: string, path: P, value: P extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? {
82
82
  value: string;
83
83
  uid: string;
84
84
  name: string;
@@ -90,7 +90,7 @@ export declare function createStoreCookies(useLocalStorage: boolean): {
90
90
  maxAge?: number | undefined;
91
91
  partitioned?: boolean | undefined;
92
92
  secure?: boolean | undefined;
93
- }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "path" | "uid" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
93
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "path" | "value" | "domain" | "sameSite" | "expires" | "httpOnly" | "maxAge" | "partitioned" | "secure" ? R extends import("@scalar/object-utils/nested").Path<{
94
94
  value: string;
95
95
  uid: string;
96
96
  name: string;
@@ -24,13 +24,13 @@ export declare function createStoreEnvironments(useLocalStorage: boolean): {
24
24
  color: string;
25
25
  isDefault?: boolean | undefined;
26
26
  }) => void;
27
- edit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
27
+ edit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
28
28
  value: string;
29
29
  uid: string;
30
30
  name: string;
31
31
  color: string;
32
32
  isDefault?: boolean | undefined;
33
- }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
33
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
34
34
  value: string;
35
35
  uid: string;
36
36
  name: string;
@@ -43,13 +43,13 @@ export declare function createStoreEnvironments(useLocalStorage: boolean): {
43
43
  color: string;
44
44
  isDefault?: boolean | undefined;
45
45
  }[K], R> : never : K extends `${number}` ? never : never : P extends `${number}` ? never : never) => void;
46
- untrackedEdit: <P extends "name" | "value" | "uid" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "value" | "uid" | "color" | "isDefault" ? {
46
+ untrackedEdit: <P extends "name" | "uid" | "value" | "color" | "isDefault">(uid: string, path: P, value: P extends "name" | "uid" | "value" | "color" | "isDefault" ? {
47
47
  value: string;
48
48
  uid: string;
49
49
  name: string;
50
50
  color: string;
51
51
  isDefault?: boolean | undefined;
52
- }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "value" | "uid" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
52
+ }[P] : P extends `${infer K}.${infer R}` ? K extends "name" | "uid" | "value" | "color" | "isDefault" ? R extends import("@scalar/object-utils/nested").Path<{
53
53
  value: string;
54
54
  uid: string;
55
55
  name: string;
@@ -24,33 +24,6 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
24
24
  servers: string[];
25
25
  requests: string[];
26
26
  tags: string[];
27
- auth: Record<string, {
28
- type: "apiKey";
29
- value: string;
30
- name: string;
31
- } | {
32
- type: "http";
33
- username: string;
34
- password: string;
35
- token: string;
36
- } | {
37
- type: "oauth-implicit";
38
- token: string;
39
- } | {
40
- type: "oauth-password";
41
- username: string;
42
- password: string;
43
- token: string;
44
- clientSecret: string;
45
- } | {
46
- type: "oauth-clientCredentials";
47
- token: string;
48
- clientSecret: string;
49
- } | {
50
- type: "oauth-authorizationCode";
51
- token: string;
52
- clientSecret: string;
53
- }>;
54
27
  watchMode: boolean;
55
28
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
56
29
  externalDocs?: {
@@ -106,33 +79,6 @@ export declare function importSpecFileFactory({ requestMutators, collectionMutat
106
79
  servers: string[];
107
80
  requests: string[];
108
81
  tags: string[];
109
- auth: Record<string, {
110
- type: "apiKey";
111
- value: string;
112
- name: string;
113
- } | {
114
- type: "http";
115
- username: string;
116
- password: string;
117
- token: string;
118
- } | {
119
- type: "oauth-implicit";
120
- token: string;
121
- } | {
122
- type: "oauth-password";
123
- username: string;
124
- password: string;
125
- token: string;
126
- clientSecret: string;
127
- } | {
128
- type: "oauth-clientCredentials";
129
- token: string;
130
- clientSecret: string;
131
- } | {
132
- type: "oauth-authorizationCode";
133
- token: string;
134
- clientSecret: string;
135
- }>;
136
82
  watchMode: boolean;
137
83
  watchModeStatus: "IDLE" | "WATCHING" | "ERROR";
138
84
  externalDocs?: {
@@ -1 +1 @@
1
- {"version":3,"file":"import-spec.d.ts","sourceRo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AAqB,CAAC,EACpC,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,UAAU,GACX,EAAE,YAAY;4BAEJ,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACrB,MAAM,YACX,kBAAkB;;;;;;;;;;;;;;;;;uBA4E81e,CAAC;;;;;;uBAAqK,CAAC;mBAAqC,CAAC;0BAA4C,CAAC;mBAAqC,CAAC;oBAAoB,CAAC;mBAAqC,CAAC;qBAAuC,CAAC;;mBAA4D,CAAC;;0BAAoD,CAAC;mBAAqC,CAAC;;;;;;;;;2BAA2W,CAAC;;uBAAqD,CAAC;iBAAmC,CAAC;;;uBAAuG,CAAC;mBAAqC,CAAC;;;;;6BA7Bn+gB,MAAM,gBACG,MAAM,0BAIjB,IAAI,CAAC,kBAAkB,EAAE,aAAa,CAAC,GACxC,IAAI,CAAC,sBAAsB,EAAE,OAAO,CAAC,KACtC,OAAO,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,SAxDlC,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBACrB,MAAM,YACX,kBAAkB;;;;;;;;;;;;;;;;;uBA4E81e,CAAC;;;;;;uBAAqK,CAAC;mBAAqC,CAAC;0BAA4C,CAAC;mBAAqC,CAAC;oBAAoB,CAAC;mBAAqC,CAAC;qBAAuC,CAAC;;mBAA4D,CAAC;;0BAAoD,CAAC;mBAAqC,CAAC;;;;;;;;;2BAA2W,CAAC;;uBAAqD,CAAC;iBAAmC,CAAC;;;uBAAuG,CAAC;mBAAqC,CAAC;;;;mBAtBx6gB,CAAC,CAAC,CAAC;EAqBtE"}
@@ -1,5 +1,6 @@
1
- import { createWorkspaceStore as o, useWorkspace as a } from "./store.js";
1
+ import { WORKSPACE_SYMBOL as o, createWorkspaceStore as a, useWorkspace as c } from "./store.js";
2
2
  export {
3
- o as createWorkspaceStore,
4
- a as useWorkspace
3
+ o as WORKSPACE_SYMBOL,
4
+ a as createWorkspaceStore,
5
+ c as useWorkspace
5
6
  };