@scalar/workspace-store 0.34.4 → 0.35.1

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 (79) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/entities/auth/index.d.ts +13 -0
  3. package/dist/entities/auth/index.d.ts.map +1 -1
  4. package/dist/entities/auth/index.js +18 -0
  5. package/dist/entities/auth/index.js.map +2 -2
  6. package/dist/entities/auth/schema.d.ts +24 -19
  7. package/dist/entities/auth/schema.d.ts.map +1 -1
  8. package/dist/entities/auth/schema.js +1 -1
  9. package/dist/entities/auth/schema.js.map +2 -2
  10. package/dist/events/definitions/auth.d.ts +9 -0
  11. package/dist/events/definitions/auth.d.ts.map +1 -1
  12. package/dist/events/definitions/document.d.ts +0 -4
  13. package/dist/events/definitions/document.d.ts.map +1 -1
  14. package/dist/events/definitions/index.d.ts +1 -0
  15. package/dist/events/definitions/index.d.ts.map +1 -1
  16. package/dist/events/definitions/operation.d.ts +7 -9
  17. package/dist/events/definitions/operation.d.ts.map +1 -1
  18. package/dist/events/definitions/server.d.ts +45 -12
  19. package/dist/events/definitions/server.d.ts.map +1 -1
  20. package/dist/events/definitions/ui.d.ts +6 -0
  21. package/dist/events/definitions/ui.d.ts.map +1 -1
  22. package/dist/events/index.d.ts +1 -1
  23. package/dist/events/index.d.ts.map +1 -1
  24. package/dist/events/index.js.map +2 -2
  25. package/dist/mutators/auth.d.ts +1 -0
  26. package/dist/mutators/auth.d.ts.map +1 -1
  27. package/dist/mutators/auth.js +11 -0
  28. package/dist/mutators/auth.js.map +2 -2
  29. package/dist/mutators/document.d.ts +0 -5
  30. package/dist/mutators/document.d.ts.map +1 -1
  31. package/dist/mutators/document.js +0 -8
  32. package/dist/mutators/document.js.map +2 -2
  33. package/dist/mutators/index.d.ts +10 -6
  34. package/dist/mutators/index.d.ts.map +1 -1
  35. package/dist/mutators/operation/index.d.ts +1 -1
  36. package/dist/mutators/operation/index.d.ts.map +1 -1
  37. package/dist/mutators/operation/index.js +3 -3
  38. package/dist/mutators/operation/index.js.map +2 -2
  39. package/dist/mutators/operation/operation.d.ts +4 -6
  40. package/dist/mutators/operation/operation.d.ts.map +1 -1
  41. package/dist/mutators/operation/operation.js +5 -4
  42. package/dist/mutators/operation/operation.js.map +2 -2
  43. package/dist/mutators/server.d.ts +35 -15
  44. package/dist/mutators/server.d.ts.map +1 -1
  45. package/dist/mutators/server.js +63 -31
  46. package/dist/mutators/server.js.map +2 -2
  47. package/dist/schemas/extensions/general/x-scalar-active-environment.d.ts.map +1 -0
  48. package/dist/schemas/extensions/general/x-scalar-active-environment.js.map +7 -0
  49. package/dist/schemas/extensions/workspace/index.d.ts +0 -1
  50. package/dist/schemas/extensions/workspace/index.d.ts.map +1 -1
  51. package/dist/schemas/extensions/workspace/index.js +0 -4
  52. package/dist/schemas/extensions/workspace/index.js.map +2 -2
  53. package/dist/schemas/inmemory-workspace.d.ts +14 -11
  54. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  55. package/dist/schemas/reference-config/index.d.ts +4 -3
  56. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  57. package/dist/schemas/reference-config/settings.d.ts +4 -3
  58. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  59. package/dist/schemas/v3.1/strict/openapi-document.d.ts +144 -111
  60. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  61. package/dist/schemas/v3.1/strict/openapi-document.js +4 -5
  62. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  63. package/dist/schemas/v3.1/strict/operation.d.ts +4 -1
  64. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  65. package/dist/schemas/v3.1/strict/operation.js +5 -1
  66. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  67. package/dist/schemas/workspace.d.ts +13 -10
  68. package/dist/schemas/workspace.d.ts.map +1 -1
  69. package/dist/schemas/workspace.js +3 -3
  70. package/dist/schemas/workspace.js.map +2 -2
  71. package/package.json +3 -3
  72. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts +0 -13
  73. package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts.map +0 -1
  74. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js +0 -8
  75. package/dist/schemas/extensions/document/x-scalar-set-operation-security.js.map +0 -7
  76. package/dist/schemas/extensions/workspace/x-scalar-active-environment.d.ts.map +0 -1
  77. package/dist/schemas/extensions/workspace/x-scalar-active-environment.js.map +0 -7
  78. /package/dist/schemas/extensions/{workspace → general}/x-scalar-active-environment.d.ts +0 -0
  79. /package/dist/schemas/extensions/{workspace → general}/x-scalar-active-environment.js +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @scalar/workspace-store
2
2
 
3
+ ## 0.35.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
8
+
9
+ #### Updated Dependencies
10
+
11
+ - **@scalar/code-highlight@0.2.4**
12
+
13
+ ## 0.35.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
18
+
19
+ ### Patch Changes
20
+
21
+ #### Updated Dependencies
22
+
23
+ - **@scalar/code-highlight@0.2.4**
24
+
3
25
  ## 0.34.4
4
26
 
5
27
  ### Patch Changes
@@ -41,6 +41,19 @@ export type AuthStore = {
41
41
  path: string;
42
42
  method: string;
43
43
  }, selectedSchemes: SelectedSecurity) => void;
44
+ /**
45
+ * Clears the selected schemas for a given document or path.
46
+ * @param payload - The payload to clear the selected schemas for.
47
+ */
48
+ clearAuthSelectedSchemas: (payload: {
49
+ type: 'document';
50
+ documentName: string;
51
+ } | {
52
+ type: 'operation';
53
+ documentName: string;
54
+ path: string;
55
+ method: string;
56
+ }) => void;
44
57
  /**
45
58
  * Sets the authentication secrets for a given document and security scheme.
46
59
  * @param documentName - Name/id of the OpenAPI document.
@@ -1 +1 @@
1
- {"version":3,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YAAY,KAAK,IAAI,CAAA;IAElC;;;OAGG;IACH,MAAM,EAAE,MAAM,YAAY,CAAA;CAC3B,CAAA;AAED,KAAK,sBAAsB,GAAG;IAC5B,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,IAAI,CAAA;KAC9C,CAAA;CACF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,GAAI,YAAW,sBAA2B,KAAG,SA8GxE,CAAA"}
@@ -64,6 +64,23 @@ const createAuthStore = ({ hooks } = {}) => {
64
64
  pathAuth[payload.method] = selectedSchemes;
65
65
  }
66
66
  };
67
+ const clearAuthSelectedSchemas = (payload) => {
68
+ const documentAuth = auth[payload.documentName];
69
+ if (!documentAuth) {
70
+ return;
71
+ }
72
+ if (payload.type === "document") {
73
+ delete documentAuth.selected.document;
74
+ return;
75
+ }
76
+ preventPollution(payload.method);
77
+ preventPollution(payload.path);
78
+ const pathAuth = documentAuth.selected.path?.[payload.path];
79
+ if (!pathAuth) {
80
+ return;
81
+ }
82
+ delete pathAuth[payload.method];
83
+ };
67
84
  const clearDocumentAuth = (documentName) => {
68
85
  delete auth[documentName];
69
86
  };
@@ -74,6 +91,7 @@ const createAuthStore = ({ hooks } = {}) => {
74
91
  return unpackProxyObject(auth);
75
92
  };
76
93
  return {
94
+ clearAuthSelectedSchemas,
77
95
  getAuthSecrets,
78
96
  setAuthSecrets,
79
97
  clearAuthSecrets,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/auth/index.ts"],
4
- "sourcesContent": ["import { preventPollution } from '@scalar/helpers/object/prevent-pollution'\nimport type { PartialDeep } from 'type-fest'\nimport { reactive } from 'vue'\n\nimport {\n type DocumentAuth,\n DocumentAuthSchema,\n type SecretsAuthUnion,\n SecretsAuthUnionSchema,\n type SelectedSecurity,\n} from '@/entities/auth/schema'\nimport { createDetectChangesProxy } from '@/helpers/detect-changes-proxy'\nimport { safeAssign } from '@/helpers/general'\nimport { unpackProxyObject } from '@/helpers/unpack-proxy'\nimport { coerceValue } from '@/schemas/typebox-coerce'\n\nexport type {\n Auth,\n SecretsApiKey,\n SecretsAuth,\n SecretsAuthUnion,\n SecretsHttp,\n SecretsOAuth,\n SecretsOAuthFlows,\n SecretsOpenIdConnect,\n SelectedSecurity,\n} from './schema'\nexport {\n AuthSchema,\n OpenIDConnectSchema,\n SecretsAuthSchema,\n} from './schema'\n\n/**\n * Interface for the AuthStore used to manage authentication secrets and selection state.\n */\nexport type AuthStore = {\n /**\n * Retrieves the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @returns The authentication secrets, or undefined if not found.\n */\n getAuthSecrets: (documentName: string, schemeName: string) => SecretsAuthUnion | undefined\n\n /**\n * Retrieves the selected schemas for a given document or path.\n * @param payload - The payload to get the selected schemas for.\n * @returns The selected schemas, or undefined if not found.\n */\n getAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n ) => SelectedSecurity | undefined\n\n /**\n * Sets the selected schemas for a given document or path.\n * @param payload - The payload to set the selected schemas for.\n * @param selectedSchemes - The selected schemas to set.\n */\n setAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n selectedSchemes: SelectedSecurity,\n ) => void\n /**\n * Sets the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @param auth - The secret/auth object to set.\n */\n setAuthSecrets: (documentName: string, schemeName: string, auth: PartialDeep<SecretsAuthUnion>) => void\n\n /**\n * Clears the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n */\n clearAuthSecrets: (documentName: string, schemeName: string) => void\n\n /**\n * Removes the authentication data for a given document.\n * @param documentName - Name/id of the OpenAPI document.\n */\n clearDocumentAuth: (documentName: string) => void\n\n /**\n * Loads authentication data into the store, replacing existing state.\n * @param data - A DocumentAuth object.\n */\n load: (data: DocumentAuth) => void\n\n /**\n * Exports the current authentication state as a plain (non-proxy) DocumentAuth object.\n * @returns The authentication state.\n */\n export: () => DocumentAuth\n}\n\ntype CreateAuthStoreOptions = {\n hooks?: {\n onAuthChange?: (documentName: string) => void\n }\n}\n\n/**\n * Factory function to create a new AuthStore instance.\n */\nexport const createAuthStore = ({ hooks }: CreateAuthStoreOptions = {}): AuthStore => {\n // Vue reactive object to hold all authentication state\n const auth = reactive<DocumentAuth>(\n createDetectChangesProxy(\n {},\n {\n hooks: {\n onAfterChange: (path) => {\n if (path.length < 1) {\n return\n }\n const [documentName] = path\n if (typeof documentName !== 'string') {\n return\n }\n hooks?.onAuthChange?.(documentName)\n },\n },\n },\n ),\n )\n\n const getAuthSecrets: AuthStore['getAuthSecrets'] = (documentName, schemeName) => {\n return auth[documentName]?.secrets?.[schemeName]\n }\n\n const setAuthSecrets: AuthStore['setAuthSecrets'] = (documentName, schemeName, data) => {\n auth[documentName] ||= { secrets: {}, selected: { document: undefined, path: undefined } }\n auth[documentName].secrets[schemeName] = coerceValue(SecretsAuthUnionSchema, data)\n }\n\n const clearAuthSecrets: AuthStore['clearAuthSecrets'] = (documentName, schemeName) =>\n delete auth[documentName]?.secrets?.[schemeName]\n\n const getAuthSelectedSchemas: AuthStore['getAuthSelectedSchemas'] = (payload) => {\n if (payload.type === 'document') {\n return auth[payload.documentName]?.selected?.document\n }\n return auth[payload.documentName]?.selected?.path?.[payload.path]?.[payload.method]\n }\n\n const setAuthSelectedSchemas: AuthStore['setAuthSelectedSchemas'] = (payload, selectedSchemes) => {\n auth[payload.documentName] ||= {\n secrets: {},\n selected: { document: undefined, path: undefined },\n }\n\n // TypeScript needs a non-null assertion here since we just ensured it exists\n const documentAuth = auth[payload.documentName]!\n\n if (payload.type === 'document') {\n documentAuth.selected.document = selectedSchemes\n } else {\n // Prevent assigning dangerous keys to the path items object\n preventPollution(payload.path)\n preventPollution(payload.method)\n\n documentAuth.selected.path ||= {}\n documentAuth.selected.path[payload.path] ||= {}\n const pathAuth = documentAuth.selected.path[payload.path]!\n pathAuth[payload.method] = selectedSchemes\n }\n }\n\n const clearDocumentAuth: AuthStore['clearDocumentAuth'] = (documentName) => {\n delete auth[documentName]\n }\n\n const load: AuthStore['load'] = (data) => {\n safeAssign(auth, coerceValue(DocumentAuthSchema, data))\n }\n\n const exportAuth: AuthStore['export'] = () => {\n return unpackProxyObject(auth)\n }\n\n return {\n getAuthSecrets,\n setAuthSecrets,\n clearAuthSecrets,\n getAuthSelectedSchemas,\n setAuthSelectedSchemas,\n clearDocumentAuth,\n load,\n export: exportAuth,\n }\n}\n"],
5
- "mappings": "AAAA,SAAS,wBAAwB;AAEjC,SAAS,gBAAgB;AAEzB;AAAA,EAEE;AAAA,EAEA;AAAA,OAEK;AACP,SAAS,gCAAgC;AACzC,SAAS,kBAAkB;AAC3B,SAAS,yBAAyB;AAClC,SAAS,mBAAmB;AAa5B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AA+EA,MAAM,kBAAkB,CAAC,EAAE,MAAM,IAA4B,CAAC,MAAiB;AAEpF,QAAM,OAAO;AAAA,IACX;AAAA,MACE,CAAC;AAAA,MACD;AAAA,QACE,OAAO;AAAA,UACL,eAAe,CAAC,SAAS;AACvB,gBAAI,KAAK,SAAS,GAAG;AACnB;AAAA,YACF;AACA,kBAAM,CAAC,YAAY,IAAI;AACvB,gBAAI,OAAO,iBAAiB,UAAU;AACpC;AAAA,YACF;AACA,mBAAO,eAAe,YAAY;AAAA,UACpC;AAAA,QACF;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAEA,QAAM,iBAA8C,CAAC,cAAc,eAAe;AAChF,WAAO,KAAK,YAAY,GAAG,UAAU,UAAU;AAAA,EACjD;AAEA,QAAM,iBAA8C,CAAC,cAAc,YAAY,SAAS;AACtF,SAAK,YAAY,MAAM,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AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,QAAQ;AAAA,EACV;AACF;",
4
+ "sourcesContent": ["import { preventPollution } from '@scalar/helpers/object/prevent-pollution'\nimport type { PartialDeep } from 'type-fest'\nimport { reactive } from 'vue'\n\nimport {\n type DocumentAuth,\n DocumentAuthSchema,\n type SecretsAuthUnion,\n SecretsAuthUnionSchema,\n type SelectedSecurity,\n} from '@/entities/auth/schema'\nimport { createDetectChangesProxy } from '@/helpers/detect-changes-proxy'\nimport { safeAssign } from '@/helpers/general'\nimport { unpackProxyObject } from '@/helpers/unpack-proxy'\nimport { coerceValue } from '@/schemas/typebox-coerce'\n\nexport type {\n Auth,\n SecretsApiKey,\n SecretsAuth,\n SecretsAuthUnion,\n SecretsHttp,\n SecretsOAuth,\n SecretsOAuthFlows,\n SecretsOpenIdConnect,\n SelectedSecurity,\n} from './schema'\nexport {\n AuthSchema,\n OpenIDConnectSchema,\n SecretsAuthSchema,\n} from './schema'\n\n/**\n * Interface for the AuthStore used to manage authentication secrets and selection state.\n */\nexport type AuthStore = {\n /**\n * Retrieves the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @returns The authentication secrets, or undefined if not found.\n */\n getAuthSecrets: (documentName: string, schemeName: string) => SecretsAuthUnion | undefined\n\n /**\n * Retrieves the selected schemas for a given document or path.\n * @param payload - The payload to get the selected schemas for.\n * @returns The selected schemas, or undefined if not found.\n */\n getAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n ) => SelectedSecurity | undefined\n\n /**\n * Sets the selected schemas for a given document or path.\n * @param payload - The payload to set the selected schemas for.\n * @param selectedSchemes - The selected schemas to set.\n */\n setAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n selectedSchemes: SelectedSecurity,\n ) => void\n /**\n * Clears the selected schemas for a given document or path.\n * @param payload - The payload to clear the selected schemas for.\n */\n clearAuthSelectedSchemas: (\n payload:\n | { type: 'document'; documentName: string }\n | { type: 'operation'; documentName: string; path: string; method: string },\n ) => void\n /**\n * Sets the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n * @param auth - The secret/auth object to set.\n */\n setAuthSecrets: (documentName: string, schemeName: string, auth: PartialDeep<SecretsAuthUnion>) => void\n\n /**\n * Clears the authentication secrets for a given document and security scheme.\n * @param documentName - Name/id of the OpenAPI document.\n * @param schemeName - Name of the security scheme.\n */\n clearAuthSecrets: (documentName: string, schemeName: string) => void\n\n /**\n * Removes the authentication data for a given document.\n * @param documentName - Name/id of the OpenAPI document.\n */\n clearDocumentAuth: (documentName: string) => void\n\n /**\n * Loads authentication data into the store, replacing existing state.\n * @param data - A DocumentAuth object.\n */\n load: (data: DocumentAuth) => void\n\n /**\n * Exports the current authentication state as a plain (non-proxy) DocumentAuth object.\n * @returns The authentication state.\n */\n export: () => DocumentAuth\n}\n\ntype CreateAuthStoreOptions = {\n hooks?: {\n onAuthChange?: (documentName: string) => void\n }\n}\n\n/**\n * Factory function to create a new AuthStore instance.\n */\nexport const createAuthStore = ({ hooks }: CreateAuthStoreOptions = {}): AuthStore => {\n // Vue reactive object to hold all authentication state\n const auth = reactive<DocumentAuth>(\n createDetectChangesProxy(\n {},\n {\n hooks: {\n onAfterChange: (path) => {\n if (path.length < 1) {\n return\n }\n const [documentName] = path\n if (typeof documentName !== 'string') {\n return\n }\n hooks?.onAuthChange?.(documentName)\n },\n },\n },\n ),\n )\n\n const getAuthSecrets: AuthStore['getAuthSecrets'] = (documentName, schemeName) => {\n return auth[documentName]?.secrets?.[schemeName]\n }\n\n const setAuthSecrets: AuthStore['setAuthSecrets'] = (documentName, schemeName, data) => {\n auth[documentName] ||= { secrets: {}, selected: { document: undefined, path: undefined } }\n auth[documentName].secrets[schemeName] = coerceValue(SecretsAuthUnionSchema, data)\n }\n\n const clearAuthSecrets: AuthStore['clearAuthSecrets'] = (documentName, schemeName) =>\n delete auth[documentName]?.secrets?.[schemeName]\n\n const getAuthSelectedSchemas: AuthStore['getAuthSelectedSchemas'] = (payload) => {\n if (payload.type === 'document') {\n return auth[payload.documentName]?.selected?.document\n }\n return auth[payload.documentName]?.selected?.path?.[payload.path]?.[payload.method]\n }\n\n const setAuthSelectedSchemas: AuthStore['setAuthSelectedSchemas'] = (payload, selectedSchemes) => {\n auth[payload.documentName] ||= {\n secrets: {},\n selected: { document: undefined, path: undefined },\n }\n\n // TypeScript needs a non-null assertion here since we just ensured it exists\n const documentAuth = auth[payload.documentName]!\n\n if (payload.type === 'document') {\n documentAuth.selected.document = selectedSchemes\n } else {\n // Prevent assigning dangerous keys to the path items object\n preventPollution(payload.path)\n preventPollution(payload.method)\n\n documentAuth.selected.path ||= {}\n documentAuth.selected.path[payload.path] ||= {}\n const pathAuth = documentAuth.selected.path[payload.path]!\n pathAuth[payload.method] = selectedSchemes\n }\n }\n\n const clearAuthSelectedSchemas: AuthStore['clearAuthSelectedSchemas'] = (payload) => {\n const documentAuth = auth[payload.documentName]\n if (!documentAuth) {\n return\n }\n\n if (payload.type === 'document') {\n delete documentAuth.selected.document\n return\n }\n\n // Prevent altering dangerous keys to the path items object\n preventPollution(payload.method)\n preventPollution(payload.path)\n\n const pathAuth = documentAuth.selected.path?.[payload.path]\n if (!pathAuth) {\n return\n }\n\n delete pathAuth[payload.method]\n }\n\n const clearDocumentAuth: AuthStore['clearDocumentAuth'] = (documentName) => {\n delete auth[documentName]\n }\n\n const load: AuthStore['load'] = (data) => {\n safeAssign(auth, coerceValue(DocumentAuthSchema, data))\n }\n\n const exportAuth: AuthStore['export'] = () => {\n return unpackProxyObject(auth)\n }\n\n return {\n clearAuthSelectedSchemas,\n getAuthSecrets,\n setAuthSecrets,\n clearAuthSecrets,\n getAuthSelectedSchemas,\n setAuthSelectedSchemas,\n clearDocumentAuth,\n load,\n export: exportAuth,\n }\n}\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names": []
7
7
  }
@@ -800,6 +800,8 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
800
800
  'x-post-response': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
801
801
  }>, import("@scalar/typebox").TObject<{
802
802
  'x-draft-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
803
+ }>, import("@scalar/typebox").TObject<{
804
+ 'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
803
805
  }>]>;
804
806
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
805
807
  __scalar_: import("@scalar/typebox").TString;
@@ -1728,7 +1730,6 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
1728
1730
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
1729
1731
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
1730
1732
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1731
- 'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1732
1733
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1733
1734
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1734
1735
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
@@ -1753,8 +1754,6 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
1753
1754
  }>>>;
1754
1755
  }>, import("@scalar/typebox").TObject<{
1755
1756
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1756
- }>, import("@scalar/typebox").TObject<{
1757
- 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1758
1757
  }>, import("@scalar/typebox").TObject<{
1759
1758
  'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1760
1759
  }>, import("@scalar/typebox").TObject<{
@@ -1771,6 +1770,8 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
1771
1770
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
1772
1771
  }>, import("@scalar/typebox").TObject<{
1773
1772
  'x-scalar-is-dirty': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1773
+ }>, import("@scalar/typebox").TObject<{
1774
+ 'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1774
1775
  }>]>]>;
1775
1776
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1776
1777
  id: import("@scalar/typebox").TString;
@@ -2352,6 +2353,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
2352
2353
  'x-post-response': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2353
2354
  }>, import("@scalar/typebox").TObject<{
2354
2355
  'x-draft-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
2356
+ }>, import("@scalar/typebox").TObject<{
2357
+ 'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2355
2358
  }>]>;
2356
2359
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2357
2360
  __scalar_: import("@scalar/typebox").TString;
@@ -3280,7 +3283,6 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3280
3283
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
3281
3284
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
3282
3285
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3283
- 'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3284
3286
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3285
3287
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3286
3288
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
@@ -3305,8 +3307,6 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3305
3307
  }>>>;
3306
3308
  }>, import("@scalar/typebox").TObject<{
3307
3309
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3308
- }>, import("@scalar/typebox").TObject<{
3309
- 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
3310
3310
  }>, import("@scalar/typebox").TObject<{
3311
3311
  'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3312
3312
  }>, import("@scalar/typebox").TObject<{
@@ -3323,6 +3323,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3323
3323
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
3324
3324
  }>, import("@scalar/typebox").TObject<{
3325
3325
  'x-scalar-is-dirty': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
3326
+ }>, import("@scalar/typebox").TObject<{
3327
+ 'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3326
3328
  }>]>]>;
3327
3329
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3328
3330
  id: import("@scalar/typebox").TString;
@@ -3448,7 +3450,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3448
3450
  }>]>;
3449
3451
  }, "SecurityRequirementObject">>;
3450
3452
  }>>;
3451
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
3453
+ path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
3452
3454
  selectedIndex: import("@scalar/typebox").TNumber;
3453
3455
  selectedSchemes: import("@scalar/typebox").TArray<import("@scalar/typebox").TImport<{
3454
3456
  ComponentsObject: import("@scalar/typebox").TObject<{
@@ -3753,6 +3755,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3753
3755
  'x-post-response': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3754
3756
  }>, import("@scalar/typebox").TObject<{
3755
3757
  'x-draft-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
3758
+ }>, import("@scalar/typebox").TObject<{
3759
+ 'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3756
3760
  }>]>;
3757
3761
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
3758
3762
  __scalar_: import("@scalar/typebox").TString;
@@ -4681,7 +4685,6 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4681
4685
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
4682
4686
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
4683
4687
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
4684
- 'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4685
4688
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4686
4689
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4687
4690
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
@@ -4706,8 +4709,6 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4706
4709
  }>>>;
4707
4710
  }>, import("@scalar/typebox").TObject<{
4708
4711
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4709
- }>, import("@scalar/typebox").TObject<{
4710
- 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4711
4712
  }>, import("@scalar/typebox").TObject<{
4712
4713
  'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4713
4714
  }>, import("@scalar/typebox").TObject<{
@@ -4724,6 +4725,8 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4724
4725
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
4725
4726
  }>, import("@scalar/typebox").TObject<{
4726
4727
  'x-scalar-is-dirty': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4728
+ }>, import("@scalar/typebox").TObject<{
4729
+ 'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4727
4730
  }>]>]>;
4728
4731
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
4729
4732
  id: import("@scalar/typebox").TString;
@@ -4848,7 +4851,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4848
4851
  icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4849
4852
  }>]>;
4850
4853
  }, "SecurityRequirementObject">>;
4851
- }>>>>;
4854
+ }>>>>>;
4852
4855
  }>;
4853
4856
  }>;
4854
4857
  export type Auth = Static<typeof AuthSchema>;
@@ -5307,6 +5310,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
5307
5310
  'x-post-response': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5308
5311
  }>, import("@scalar/typebox").TObject<{
5309
5312
  'x-draft-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
5313
+ }>, import("@scalar/typebox").TObject<{
5314
+ 'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5310
5315
  }>]>;
5311
5316
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
5312
5317
  __scalar_: import("@scalar/typebox").TString;
@@ -6235,7 +6240,6 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6235
6240
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
6236
6241
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
6237
6242
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6238
- 'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6239
6243
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6240
6244
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6241
6245
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
@@ -6260,8 +6264,6 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6260
6264
  }>>>;
6261
6265
  }>, import("@scalar/typebox").TObject<{
6262
6266
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6263
- }>, import("@scalar/typebox").TObject<{
6264
- 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6265
6267
  }>, import("@scalar/typebox").TObject<{
6266
6268
  'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6267
6269
  }>, import("@scalar/typebox").TObject<{
@@ -6278,6 +6280,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6278
6280
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
6279
6281
  }>, import("@scalar/typebox").TObject<{
6280
6282
  'x-scalar-is-dirty': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6283
+ }>, import("@scalar/typebox").TObject<{
6284
+ 'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6281
6285
  }>]>]>;
6282
6286
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6283
6287
  id: import("@scalar/typebox").TString;
@@ -6403,7 +6407,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6403
6407
  }>]>;
6404
6408
  }, "SecurityRequirementObject">>;
6405
6409
  }>>;
6406
- path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
6410
+ path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
6407
6411
  selectedIndex: import("@scalar/typebox").TNumber;
6408
6412
  selectedSchemes: import("@scalar/typebox").TArray<import("@scalar/typebox").TImport<{
6409
6413
  ComponentsObject: import("@scalar/typebox").TObject<{
@@ -6708,6 +6712,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6708
6712
  'x-post-response': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6709
6713
  }>, import("@scalar/typebox").TObject<{
6710
6714
  'x-draft-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
6715
+ }>, import("@scalar/typebox").TObject<{
6716
+ 'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6711
6717
  }>]>;
6712
6718
  SchemaObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6713
6719
  __scalar_: import("@scalar/typebox").TString;
@@ -7636,7 +7642,6 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7636
7642
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
7637
7643
  externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
7638
7644
  }>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
7639
- 'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7640
7645
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7641
7646
  'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7642
7647
  "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
@@ -7661,8 +7666,6 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7661
7666
  }>>>;
7662
7667
  }>, import("@scalar/typebox").TObject<{
7663
7668
  'x-scalar-selected-server': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7664
- }>, import("@scalar/typebox").TObject<{
7665
- 'x-scalar-set-operation-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
7666
7669
  }>, import("@scalar/typebox").TObject<{
7667
7670
  'x-scalar-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7668
7671
  }>, import("@scalar/typebox").TObject<{
@@ -7679,6 +7682,8 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7679
7682
  'x-scalar-original-document-hash': import("@scalar/typebox").TString;
7680
7683
  }>, import("@scalar/typebox").TObject<{
7681
7684
  'x-scalar-is-dirty': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
7685
+ }>, import("@scalar/typebox").TObject<{
7686
+ 'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7682
7687
  }>]>]>;
7683
7688
  TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
7684
7689
  id: import("@scalar/typebox").TString;
@@ -7803,7 +7808,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7803
7808
  icon: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7804
7809
  }>]>;
7805
7810
  }, "SecurityRequirementObject">>;
7806
- }>>>>;
7811
+ }>>>>>;
7807
7812
  }>;
7808
7813
  }>>;
7809
7814
  export type DocumentAuth = Record<string, Auth>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAmBnD,QAAA,MAAM,mBAAmB;;;;IAKxB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9D,QAAA,MAAM,iBAAiB;;;;;;;IAMtB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAI1D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB3B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEtE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKhB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAA;AAErD,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAA;AACxE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA"}
@@ -104,7 +104,7 @@ const AuthSchema = Type.Object({
104
104
  secrets: SecretsAuthSchema,
105
105
  selected: Type.Object({
106
106
  document: Type.Optional(SelectedSecuritySchema),
107
- path: Type.Optional(Type.Record(Type.String(), Type.Record(Type.String(), SelectedSecuritySchema)))
107
+ path: Type.Optional(Type.Record(Type.String(), Type.Record(Type.String(), Type.Optional(SelectedSecuritySchema))))
108
108
  })
109
109
  });
110
110
  const DocumentAuthSchema = Type.Record(Type.String(), AuthSchema);
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/entities/auth/schema.ts"],
4
- "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XScalarCredentialsLocationSchema } from '@/schemas/extensions/security/x-scalar-credentials-location'\nimport {\n XScalarSecretClientIdSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretRedirectUriSchema,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport {\n OAuthFlowAuthorizationCodeSchema,\n OAuthFlowClientCredentialsSchema,\n OAuthFlowImplicitSchema,\n OAuthFlowPasswordSchema,\n} from '@/schemas/v3.1/strict/oauth-flow'\nimport { SecurityRequirementObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\n\nconst SecretsApiKeySchema = compose(\n Type.Object({\n type: Type.Literal('apiKey'),\n }),\n XScalarSecretTokenSchema,\n)\n\nexport type SecretsApiKey = Static<typeof SecretsApiKeySchema>\n\nconst SecretsHttpSchema = compose(\n Type.Object({\n type: Type.Literal('http'),\n }),\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n)\n\nexport type SecretsHttp = Static<typeof SecretsHttpSchema>\n\nconst SecretsOAuthFlowCommonSchema = compose(XScalarSecretClientIdSchema, XScalarSecretTokenSchema)\n\nconst SecretsOAuthFlowsSchema = Type.Object({\n implicit: Type.Optional(compose(SecretsOAuthFlowCommonSchema, XScalarSecretRedirectUriSchema)),\n password: Type.Optional(\n compose(\n SecretsOAuthFlowCommonSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n clientCredentials: Type.Optional(\n compose(SecretsOAuthFlowCommonSchema, XScalarSecretClientSecretSchema, XScalarCredentialsLocationSchema),\n ),\n authorizationCode: Type.Optional(\n compose(\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretRedirectUriSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n})\n\nexport type SecretsOAuthFlows = Static<typeof SecretsOAuthFlowsSchema>\n\nconst OAuthSchema = compose(\n Type.Object({\n type: Type.Literal('oauth2'),\n }),\n SecretsOAuthFlowsSchema,\n)\n\nexport type SecretsOAuth = Static<typeof OAuthSchema>\n\n/** OpenID Connect schema contain the base flows as well since it doesn't exist in the spec */\nexport const OpenIDConnectSchema = Type.Object({\n type: Type.Literal('openIdConnect'),\n implicit: Type.Optional(\n compose(OAuthFlowImplicitSchema, SecretsOAuthFlowCommonSchema, XScalarSecretRedirectUriSchema),\n ),\n password: Type.Optional(\n compose(\n OAuthFlowPasswordSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n clientCredentials: Type.Optional(\n compose(\n OAuthFlowClientCredentialsSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n authorizationCode: Type.Optional(\n compose(\n OAuthFlowAuthorizationCodeSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretRedirectUriSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n})\n\nexport type SecretsOpenIdConnect = Static<typeof OpenIDConnectSchema>\n\nexport const SecretsAuthUnionSchema = Type.Union([\n SecretsApiKeySchema,\n SecretsHttpSchema,\n OAuthSchema,\n OpenIDConnectSchema,\n])\nexport type SecretsAuthUnion = Static<typeof SecretsAuthUnionSchema>\n\nexport const SecretsAuthSchema = Type.Record(Type.String(), SecretsAuthUnionSchema)\nexport type SecretsAuth = Static<typeof SecretsAuthSchema>\n\nconst SelectedSecuritySchema = Type.Object({\n selectedIndex: Type.Number(),\n selectedSchemes: Type.Array(SecurityRequirementObjectSchema),\n})\n\nexport type SelectedSecurity = Static<typeof SelectedSecuritySchema>\n\nexport const AuthSchema = Type.Object({\n secrets: SecretsAuthSchema,\n selected: Type.Object({\n document: Type.Optional(SelectedSecuritySchema),\n path: Type.Optional(Type.Record(Type.String(), Type.Record(Type.String(), SelectedSecuritySchema))),\n }),\n})\n\nexport type Auth = Static<typeof AuthSchema>\n\nexport const DocumentAuthSchema = Type.Record(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;AAAA,IACb;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAAA,EACA,mBAAmB,KAAK;AAAA,IACtB;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AAAA,EACA,mBAAmB,KAAK;AAAA,IACtB;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAIM,MAAM,yBAAyB,KAAK,MAAM;AAAA,EAC/C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGM,MAAM,oBAAoB,KAAK,OAAO,KAAK,OAAO,GAAG,sBAAsB;AAGlF,MAAM,yBAAyB,KAAK,OAAO;AAAA,EACzC,eAAe,KAAK,OAAO;AAAA,EAC3B,iBAAiB,KAAK,MAAM,+BAA+B;AAC7D,CAAC;AAIM,MAAM,aAAa,KAAK,OAAO;AAAA,EACpC,SAAS;AAAA,EACT,UAAU,KAAK,OAAO;AAAA,IACpB,UAAU,KAAK,SAAS,sBAAsB;AAAA,IAC9C,MAAM,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,KAAK,OAAO,GAAG,sBAAsB,CAAC,CAAC;AAAA,EACpG,CAAC;AACH,CAAC;AAIM,MAAM,qBAAqB,KAAK,OAAO,KAAK,OAAO,GAAG,UAAU;",
4
+ "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\nimport { compose } from '@/schemas/compose'\nimport { XScalarCredentialsLocationSchema } from '@/schemas/extensions/security/x-scalar-credentials-location'\nimport {\n XScalarSecretClientIdSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretRedirectUriSchema,\n XScalarSecretTokenSchema,\n} from '@/schemas/extensions/security/x-scalar-security-secrets'\nimport {\n OAuthFlowAuthorizationCodeSchema,\n OAuthFlowClientCredentialsSchema,\n OAuthFlowImplicitSchema,\n OAuthFlowPasswordSchema,\n} from '@/schemas/v3.1/strict/oauth-flow'\nimport { SecurityRequirementObjectSchema } from '@/schemas/v3.1/strict/openapi-document'\n\nconst SecretsApiKeySchema = compose(\n Type.Object({\n type: Type.Literal('apiKey'),\n }),\n XScalarSecretTokenSchema,\n)\n\nexport type SecretsApiKey = Static<typeof SecretsApiKeySchema>\n\nconst SecretsHttpSchema = compose(\n Type.Object({\n type: Type.Literal('http'),\n }),\n XScalarSecretTokenSchema,\n XScalarSecretHTTPSchema,\n)\n\nexport type SecretsHttp = Static<typeof SecretsHttpSchema>\n\nconst SecretsOAuthFlowCommonSchema = compose(XScalarSecretClientIdSchema, XScalarSecretTokenSchema)\n\nconst SecretsOAuthFlowsSchema = Type.Object({\n implicit: Type.Optional(compose(SecretsOAuthFlowCommonSchema, XScalarSecretRedirectUriSchema)),\n password: Type.Optional(\n compose(\n SecretsOAuthFlowCommonSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n clientCredentials: Type.Optional(\n compose(SecretsOAuthFlowCommonSchema, XScalarSecretClientSecretSchema, XScalarCredentialsLocationSchema),\n ),\n authorizationCode: Type.Optional(\n compose(\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretRedirectUriSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n})\n\nexport type SecretsOAuthFlows = Static<typeof SecretsOAuthFlowsSchema>\n\nconst OAuthSchema = compose(\n Type.Object({\n type: Type.Literal('oauth2'),\n }),\n SecretsOAuthFlowsSchema,\n)\n\nexport type SecretsOAuth = Static<typeof OAuthSchema>\n\n/** OpenID Connect schema contain the base flows as well since it doesn't exist in the spec */\nexport const OpenIDConnectSchema = Type.Object({\n type: Type.Literal('openIdConnect'),\n implicit: Type.Optional(\n compose(OAuthFlowImplicitSchema, SecretsOAuthFlowCommonSchema, XScalarSecretRedirectUriSchema),\n ),\n password: Type.Optional(\n compose(\n OAuthFlowPasswordSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretHTTPSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n clientCredentials: Type.Optional(\n compose(\n OAuthFlowClientCredentialsSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n authorizationCode: Type.Optional(\n compose(\n OAuthFlowAuthorizationCodeSchema,\n SecretsOAuthFlowCommonSchema,\n XScalarSecretClientSecretSchema,\n XScalarSecretRedirectUriSchema,\n XScalarCredentialsLocationSchema,\n ),\n ),\n})\n\nexport type SecretsOpenIdConnect = Static<typeof OpenIDConnectSchema>\n\nexport const SecretsAuthUnionSchema = Type.Union([\n SecretsApiKeySchema,\n SecretsHttpSchema,\n OAuthSchema,\n OpenIDConnectSchema,\n])\nexport type SecretsAuthUnion = Static<typeof SecretsAuthUnionSchema>\n\nexport const SecretsAuthSchema = Type.Record(Type.String(), SecretsAuthUnionSchema)\nexport type SecretsAuth = Static<typeof SecretsAuthSchema>\n\nconst SelectedSecuritySchema = Type.Object({\n selectedIndex: Type.Number(),\n selectedSchemes: Type.Array(SecurityRequirementObjectSchema),\n})\n\nexport type SelectedSecurity = Static<typeof SelectedSecuritySchema>\n\nexport const AuthSchema = Type.Object({\n secrets: SecretsAuthSchema,\n selected: Type.Object({\n document: Type.Optional(SelectedSecuritySchema),\n path: Type.Optional(Type.Record(Type.String(), Type.Record(Type.String(), Type.Optional(SelectedSecuritySchema)))),\n }),\n})\n\nexport type Auth = Static<typeof AuthSchema>\n\nexport const DocumentAuthSchema = Type.Record(Type.String(), AuthSchema)\nexport type DocumentAuth = Record<string, Auth>\n"],
5
+ "mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,eAAe;AACxB,SAAS,wCAAwC;AACjD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EAC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mBAAmB,KAAK;AAAA,IACtB;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAIM,MAAM,yBAAyB,KAAK,MAAM;AAAA,EAC/C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAGM,MAAM,oBAAoB,KAAK,OAAO,KAAK,OAAO,GAAG,sBAAsB;AAGlF,MAAM,yBAAyB,KAAK,OAAO;AAAA,EACzC,eAAe,KAAK,OAAO;AAAA,EAC3B,iBAAiB,KAAK,MAAM,+BAA+B;AAC7D,CAAC;AAIM,MAAM,aAAa,KAAK,OAAO;AAAA,EACpC,SAAS;AAAA,EACT,UAAU,KAAK,OAAO;AAAA,IACpB,UAAU,KAAK,SAAS,sBAAsB;AAAA,IAC9C,MAAM,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,OAAO,KAAK,OAAO,GAAG,KAAK,SAAS,sBAAsB,CAAC,CAAC,CAAC;AAAA,EACnH,CAAC;AACH,CAAC;AAIM,MAAM,qBAAqB,KAAK,OAAO,KAAK,OAAO,GAAG,UAAU;",
6
6
  "names": []
7
7
  }
@@ -93,6 +93,15 @@ export type AuthEvents = {
93
93
  /** Replace existing secrets instead of deep-merging with previous values, required when removing properties */
94
94
  overwrite?: boolean;
95
95
  };
96
+ /**
97
+ * Clear the selected security schemes for a document or specific operation.
98
+ * Triggers when the user toggles the operation security toggle.
99
+ * - `meta` describes the target (whole document or a specific operation).
100
+ */
101
+ 'auth:clear:selected-security-schemes': {
102
+ /** Meta information for the auth update */
103
+ meta: AuthMeta;
104
+ };
96
105
  /**
97
106
  * Removes a scheme from the auth store
98
107
  */
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AACnE,OAAO,KAAK,EAAE,WAA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gBAAgB,CAAA;SACjC,CAAA;QACD,2CAA2C;QAC3C,IAAI,EAAE,QAAQ,CAAA;KACf,CAAA;IAED;;;;;;;;;OASG;IACH,6BAA6B,EAAE;QAC7B,8CAA8C;QAC9C,KAAK,EAAE,MAAM,EAAE,CAAA;KAChB,CAAA;CACF,CAAA"}
@@ -10,10 +10,6 @@ export type DocumentEvents = {
10
10
  * Update the icon of the active document
11
11
  */
12
12
  'document:update:icon': string;
13
- /**
14
- * Toggle setting selected security schemes at the operation level
15
- */
16
- 'document:toggle:security': undefined;
17
13
  /**
18
14
  * Update the watch mode of the document
19
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAE5D,iDAAiD;AACjD,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,sBAAsB,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;IAC/C;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAA;IAC9B;;OAEG;IACH,0BAA0B,EAAE,SAAS,CAAA;IACrC;;;;OAIG;IACH,4BAA4B,EAAE,OAAO,CAAA;IACrC;;OAEG;IACH,gCAAgC,EAAE;QAChC,+CAA+C;QAC/C,IAAI,EAAE,MAAM,CAAA;QACZ,+CAA+C;QAC/C,IAAI,EAAE,MAAM,CAAA;QACZ,wDAAwD;QACxD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;KACtC,CAAA;IACD;;OAEG;IACH,0BAA0B,EAAE;QAC1B,yCAAyC;QACzC,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,CAAA"}
1
+ {"version":3,"file":"document.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/document.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AAE5D,iDAAiD;AACjD,MAAM,MAAM,cAAc,GAAG;IAC3B;;OAEG;IACH,sBAAsB,EAAE,WAAW,CAAC,UAAU,CAAC,CAAA;IAC/C;;OAEG;IACH,sBAAsB,EAAE,MAAM,CAAA;IAC9B;;;;OAIG;IACH,4BAA4B,EAAE,OAAO,CAAA;IACrC;;OAEG;IACH,gCAAgC,EAAE;QAChC,+CAA+C;QAC/C,IAAI,EAAE,MAAM,CAAA;QACZ,+CAA+C;QAC/C,IAAI,EAAE,MAAM,CAAA;QACZ,wDAAwD;QACxD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;KACtC,CAAA;IACD;;OAEG;IACH,0BAA0B,EAAE;QAC1B,yCAAyC;QACzC,IAAI,EAAE,MAAM,CAAA;KACb,CAAA;CACF,CAAA"}
@@ -16,4 +16,5 @@ export type { AuthMeta } from './auth.js';
16
16
  export type { CollectionType } from './common.js';
17
17
  export type { OperationEvents, OperationExampleMeta, OperationMeta } from './operation.js';
18
18
  export type { CommandPaletteAction, CommandPalettePayload, KeyboardEventPayload } from './ui.js';
19
+ export type { ServerMeta } from './server.js';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE,O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A;AAErE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AAEpC,MAAM,MAAM,kBAAkB,GAAG,UAAU,GACzC,eAAe,GACf,YAAY,GACZ,eAAe,GACf,cAAc,GACd,iBAAiB,GACjB,UAAU,GACV,eAAe,GACf,YAAY,GACZ,SAAS,GACT,QAAQ,GACR,SAAS,GACT,WAAW,CAAA;AAEb,YAAY,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACtC,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AACvF,YAAY,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,MAAM,CAAA;AAC7F,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA"}
@@ -57,16 +57,14 @@ export type OperationEvents = {
57
57
  callback?: (success: boolean) => void;
58
58
  };
59
59
  /**
60
- * Update the summary for the operation.
61
- * Triggers when the user edits the summary/description for an endpoint.
62
- * The new summary is provided in the payload, and meta identifies the operation by HTTP method and path.
60
+ * Update the description for the operation.
61
+ * Triggers when the user edits the description for an endpoint.
62
+ * The new description is provided in the payload, and meta identifies the operation by HTTP method and path.
63
63
  */
64
- 'operation:update:summary': {
65
- /** The new summary string to set for the operation. */
66
- payload: {
67
- summary: string;
68
- };
69
- /** Operation identity for which the summary is being updated (method and path) */
64
+ 'operation:update:meta': {
65
+ /** The new meta properties for the operation */
66
+ payload: Partial<Pick<OperationObject, 'summary' | 'description' | 'deprecated'>>;
67
+ /** Operation identity for which the meta is being updated (method and path) */
70
68
  meta: OperationMeta;
71
69
  };
72
70
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../../src/events/definitions/operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAEnE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAE9F;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,oBAAoB,GAAG,aAAa,GAAG;IACjD,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,0CAA0C;AAC1C,MAAM,MAAM,eAAe,GAAG;IAK5B;;;OAGG;IACH,+BAA+B,EAAE,SAAS,CAAA;IAE1C,qCAAqC;IACrC,0BAA0B,EAAE,SAAS,CAAA;IAMrC;;;OAGG;IACH,4BAA4B,EAAE;QAC5B,8DAA8D;QAC9D,YAAY,EAAE,MAAM,CAAA;QACpB,4CAA4C;QAC5C,UAAU,CAAC,EAAE,MAAM,CAAA;QACnB,0EAA0E;QAC1E,IAAI,EAAE,MAAM,CAAA;QACZ,wCAAwC;QACxC,MAAM,EAAE,UAAU,CAAA;QAClB,qCAAqC;QACrC,SAAS,EAAE,eAAe,CAAA;QAC1B,yDAAyD;QACzD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;KACtC,CAAA;IAED;;;;OAIG;IACH,0BAA0B,EAAE;QAC1B,uDAAuD;QACvD,O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