@scalar/workspace-store 0.18.0 → 0.18.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.
- package/CHANGELOG.md +6 -0
- package/dist/events/bus.d.ts +14 -4
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/events/bus.js +12 -10
- package/dist/events/bus.js.map +2 -2
- package/dist/events/definitions/analytics.d.ts +3 -3
- package/dist/events/definitions/analytics.d.ts.map +1 -1
- package/dist/events/definitions/common.d.ts +5 -0
- package/dist/events/definitions/common.d.ts.map +1 -0
- package/dist/events/definitions/common.js +1 -0
- package/dist/events/definitions/common.js.map +7 -0
- package/dist/events/definitions/document.d.ts +2 -2
- package/dist/events/definitions/environment.d.ts +37 -0
- package/dist/events/definitions/environment.d.ts.map +1 -0
- package/dist/events/definitions/environment.js +1 -0
- package/dist/events/definitions/environment.js.map +7 -0
- package/dist/events/definitions/index.d.ts +3 -1
- package/dist/events/definitions/index.d.ts.map +1 -1
- package/dist/events/definitions/meta.d.ts +9 -3
- package/dist/events/definitions/meta.d.ts.map +1 -1
- package/dist/events/index.d.ts +1 -0
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js.map +2 -2
- package/dist/mutators/environment.d.ts +21 -13
- package/dist/mutators/environment.d.ts.map +1 -1
- package/dist/mutators/environment.js +46 -25
- package/dist/mutators/environment.js.map +2 -2
- package/dist/mutators/index.d.ts +4 -12
- package/dist/mutators/index.d.ts.map +1 -1
- package/dist/mutators/index.js +7 -4
- package/dist/mutators/index.js.map +2 -2
- package/dist/schemas/extensions/document/x-scalar-environments.d.ts +52 -0
- package/dist/schemas/extensions/document/x-scalar-environments.d.ts.map +1 -0
- package/dist/schemas/extensions/document/x-scalar-environments.js +25 -0
- package/dist/schemas/extensions/document/x-scalar-environments.js.map +7 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-environment.d.ts +8 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-environment.d.ts.map +1 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-environment.js +8 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-environment.js.map +7 -0
- package/dist/schemas/inmemory-workspace.d.ts +24 -16
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.d.ts +12 -8
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +12 -8
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +411 -276
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +5 -5
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +12 -8
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/index.d.ts +12 -8
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +115 -75
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/schemas/workspace.js +16 -10
- package/dist/schemas/workspace.js.map +2 -2
- package/package.json +10 -5
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts +0 -33
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.d.ts.map +0 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js +0 -23
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js.map +0 -7
package/dist/mutators/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { cookieMutators } from "../mutators/cookie.js";
|
|
2
|
-
import { environmentMutators } from "../mutators/environment.js";
|
|
3
2
|
import { getDocument } from "../mutators/helpers.js";
|
|
4
3
|
import { requestMutators } from "../mutators/request.js";
|
|
5
4
|
import { securitySchemeMutators } from "../mutators/security-schemes.js";
|
|
@@ -21,7 +20,6 @@ function generateClientMutators(store) {
|
|
|
21
20
|
return {
|
|
22
21
|
requestMutators: requestMutators(document),
|
|
23
22
|
securitySchemeMutators: securitySchemeMutators(document?.components?.securitySchemes),
|
|
24
|
-
environmentMutators: environmentMutators(document),
|
|
25
23
|
cookieMutators: cookieMutators(document),
|
|
26
24
|
serverMutators: serverMutators(document?.servers)
|
|
27
25
|
};
|
|
@@ -35,7 +33,6 @@ function generateClientMutators(store) {
|
|
|
35
33
|
store.workspace["x-scalar-client-config-security-schemes"] = {};
|
|
36
34
|
}
|
|
37
35
|
return {
|
|
38
|
-
environmentMutators: environmentMutators(store.workspace),
|
|
39
36
|
cookieMutators: cookieMutators(store.workspace),
|
|
40
37
|
serverMutators: serverMutators(store.workspace["x-scalar-client-config-servers"]),
|
|
41
38
|
securitySchemeMutators: securitySchemeMutators(store.workspace["x-scalar-client-config-security-schemes"])
|
|
@@ -59,7 +56,13 @@ function generateClientMutators(store) {
|
|
|
59
56
|
doc: (name) => documentMutators(name)
|
|
60
57
|
};
|
|
61
58
|
}
|
|
59
|
+
import {
|
|
60
|
+
upsertEnvironment,
|
|
61
|
+
upsertEnvironmentVariable
|
|
62
|
+
} from "./environment.js";
|
|
62
63
|
export {
|
|
63
|
-
generateClientMutators
|
|
64
|
+
generateClientMutators,
|
|
65
|
+
upsertEnvironment,
|
|
66
|
+
upsertEnvironmentVariable
|
|
64
67
|
};
|
|
65
68
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/mutators/index.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/** biome-ignore-all lint/performance/noBarrelFile: this will probably get deleted later */\nimport type { WorkspaceStore } from '@/client'\nimport { cookieMutators } from '@/mutators/cookie'\nimport { getDocument } from '@/mutators/helpers'\nimport { requestMutators } from '@/mutators/request'\nimport { securitySchemeMutators } from '@/mutators/security-schemes'\nimport { serverMutators } from '@/mutators/server'\n\n/**\n * Generates a set of mutators for managing OpenAPI document and workspace state.\n *\n * @deprecated use the individual mutators instead, this will be removed after we move fully to the new store\n *\n * @param store - The workspace store containing all documents and workspace-level data\n * @returns An object with mutators for the workspace, the active document, and any named document\n */\nexport function generateClientMutators(store: WorkspaceStore) {\n /**\n * Returns mutators for a specific document by name.\n *\n * @param documentName - The name of the document to get mutators for\n * @returns An object containing mutators for requests, request examples, security schemes, environments, and cookies\n */\n const documentMutators = (documentName: string) => {\n const document = getDocument(store, documentName)\n\n if (document) {\n // Make sure the document has a servers array\n if (!document.servers) {\n document.servers = []\n }\n\n // Make sure the document has the securitySchema object\n if (!document.components) {\n document.components = {}\n }\n\n if (!document.components.securitySchemes) {\n document.components.securitySchemes = {}\n }\n }\n\n return {\n requestMutators: requestMutators(document),\n securitySchemeMutators: securitySchemeMutators(document?.components?.securitySchemes),\n cookieMutators: cookieMutators(document),\n serverMutators: serverMutators(document?.servers),\n }\n }\n\n /**\n * Returns mutators for the workspace-level configuration.\n *\n * @returns An object containing mutators for environments and cookies at the workspace level\n */\n const workspaceMutators = () => {\n const workspace = store.workspace\n\n // Make sure the workspace has a servers array\n if (!workspace['x-scalar-client-config-servers']) {\n workspace['x-scalar-client-config-servers'] = []\n }\n\n // Make sure the workspace has the securitySchema object\n if (!store.workspace['x-scalar-client-config-security-schemes']) {\n store.workspace['x-scalar-client-config-security-schemes'] = {}\n }\n\n return {\n cookieMutators: cookieMutators(store.workspace),\n serverMutators: serverMutators(store.workspace['x-scalar-client-config-servers']),\n securitySchemeMutators: securitySchemeMutators(store.workspace['x-scalar-client-config-security-schemes']),\n }\n }\n\n return {\n /**\n * Returns mutators for the workspace-level configuration.\n */\n workspace: () => workspaceMutators(),\n /**\n * Returns mutators for the currently active document.\n * Falls back to the first document if no active document is set.\n */\n active: () =>\n documentMutators(store.workspace['x-scalar-active-document'] ?? Object.keys(store.workspace.documents)[0] ?? ''),\n /**\n * Returns mutators for a specific document by name.\n *\n * @param name - The name of the document\n */\n doc: (name: string) => documentMutators(name),\n }\n}\n\nexport {\n upsertEnvironment,\n upsertEnvironmentVariable,\n} from './environment'\n"],
|
|
5
|
+
"mappings": "AAEA,SAAS,sBAAsB;AAC/B,SAAS,mBAAmB;AAC5B,SAAS,uBAAuB;AAChC,SAAS,8BAA8B;AACvC,SAAS,sBAAsB;AAUxB,SAAS,uBAAuB,OAAuB;AAO5D,QAAM,mBAAmB,CAAC,iBAAyB;AACjD,UAAM,WAAW,YAAY,OAAO,YAAY;AAEhD,QAAI,UAAU;AAEZ,UAAI,CAAC,SAAS,SAAS;AACrB,iBAAS,UAAU,CAAC;AAAA,MACtB;AAGA,UAAI,CAAC,SAAS,YAAY;AACxB,iBAAS,aAAa,CAAC;AAAA,MACzB;AAEA,UAAI,CAAC,SAAS,WAAW,iBAAiB;AACxC,iBAAS,WAAW,kBAAkB,CAAC;AAAA,MACzC;AAAA,IACF;AAEA,WAAO;AAAA,MACL,iBAAiB,gBAAgB,QAAQ;AAAA,MACzC,wBAAwB,uBAAuB,UAAU,YAAY,eAAe;AAAA,MACpF,gBAAgB,eAAe,QAAQ;AAAA,MACvC,gBAAgB,eAAe,UAAU,OAAO;AAAA,IAClD;AAAA,EACF;AAOA,QAAM,oBAAoB,MAAM;AAC9B,UAAM,YAAY,MAAM;AAGxB,QAAI,CAAC,UAAU,gCAAgC,GAAG;AAChD,gBAAU,gCAAgC,IAAI,CAAC;AAAA,IACjD;AAGA,QAAI,CAAC,MAAM,UAAU,yCAAyC,GAAG;AAC/D,YAAM,UAAU,yCAAyC,IAAI,CAAC;AAAA,IAChE;AAEA,WAAO;AAAA,MACL,gBAAgB,eAAe,MAAM,SAAS;AAAA,MAC9C,gBAAgB,eAAe,MAAM,UAAU,gCAAgC,CAAC;AAAA,MAChF,wBAAwB,uBAAuB,MAAM,UAAU,yCAAyC,CAAC;AAAA,IAC3G;AAAA,EACF;AAEA,SAAO;AAAA;AAAA;AAAA;AAAA,IAIL,WAAW,MAAM,kBAAkB;AAAA;AAAA;AAAA;AAAA;AAAA,IAKnC,QAAQ,MACN,iBAAiB,MAAM,UAAU,0BAA0B,KAAK,OAAO,KAAK,MAAM,UAAU,SAAS,EAAE,CAAC,KAAK,EAAE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAMjH,KAAK,CAAC,SAAiB,iBAAiB,IAAI;AAAA,EAC9C;AACF;AAEA;AAAA,EACE;AAAA,EACA;AAAA,OACK;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const xScalarEnvVarSchema: import("@scalar/typebox").TObject<{
|
|
2
|
+
name: import("@scalar/typebox").TString;
|
|
3
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
4
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5
|
+
default: import("@scalar/typebox").TString;
|
|
6
|
+
}>, import("@scalar/typebox").TString]>;
|
|
7
|
+
}>;
|
|
8
|
+
/** A scalar environment variable */
|
|
9
|
+
export type XScalarEnvVar = {
|
|
10
|
+
name: string;
|
|
11
|
+
value: {
|
|
12
|
+
description?: string;
|
|
13
|
+
default: string;
|
|
14
|
+
} | string;
|
|
15
|
+
};
|
|
16
|
+
export declare const xScalarEnvironmentSchema: import("@scalar/typebox").TObject<{
|
|
17
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
18
|
+
color: import("@scalar/typebox").TString;
|
|
19
|
+
variables: import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
20
|
+
name: import("@scalar/typebox").TString;
|
|
21
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
22
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
23
|
+
default: import("@scalar/typebox").TString;
|
|
24
|
+
}>, import("@scalar/typebox").TString]>;
|
|
25
|
+
}>>;
|
|
26
|
+
}>;
|
|
27
|
+
export type XScalarEnvironment = {
|
|
28
|
+
/** Optional description for the environment */
|
|
29
|
+
description?: string;
|
|
30
|
+
/** Color for the environment */
|
|
31
|
+
color: string;
|
|
32
|
+
/** An array of variables */
|
|
33
|
+
variables: XScalarEnvVar[];
|
|
34
|
+
};
|
|
35
|
+
export declare const xScalarEnvironmentsSchema: import("@scalar/typebox").TObject<{
|
|
36
|
+
'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
37
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
38
|
+
color: import("@scalar/typebox").TString;
|
|
39
|
+
variables: import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
40
|
+
name: import("@scalar/typebox").TString;
|
|
41
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
42
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
43
|
+
default: import("@scalar/typebox").TString;
|
|
44
|
+
}>, import("@scalar/typebox").TString]>;
|
|
45
|
+
}>>;
|
|
46
|
+
}>>>;
|
|
47
|
+
}>;
|
|
48
|
+
export type XScalarEnvironments = {
|
|
49
|
+
/** A record of environments by name */
|
|
50
|
+
'x-scalar-environments'?: Record<string, XScalarEnvironment>;
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=x-scalar-environments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-scalar-environments.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/document/x-scalar-environments.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB;;;;;;EAS9B,CAAA;AAEF,oCAAoC;AACpC,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EACD;QACE,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,OAAO,EAAE,MAAM,CAAA;KAChB,GACD,MAAM,CAAA;CACX,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;EAInC,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,4BAA4B;IAC5B,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAEpC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,uCAAuC;IACvC,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAA;CAC7D,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Type } from "@scalar/typebox";
|
|
2
|
+
const xScalarEnvVarSchema = Type.Object({
|
|
3
|
+
name: Type.String(),
|
|
4
|
+
value: Type.Union([
|
|
5
|
+
Type.Object({
|
|
6
|
+
description: Type.Optional(Type.String()),
|
|
7
|
+
default: Type.String({ default: "" })
|
|
8
|
+
}),
|
|
9
|
+
Type.String()
|
|
10
|
+
])
|
|
11
|
+
});
|
|
12
|
+
const xScalarEnvironmentSchema = Type.Object({
|
|
13
|
+
description: Type.Optional(Type.String()),
|
|
14
|
+
color: Type.String({ default: "#FFFFFF" }),
|
|
15
|
+
variables: Type.Array(xScalarEnvVarSchema)
|
|
16
|
+
});
|
|
17
|
+
const xScalarEnvironmentsSchema = Type.Object({
|
|
18
|
+
"x-scalar-environments": Type.Optional(Type.Record(Type.String(), xScalarEnvironmentSchema))
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
xScalarEnvVarSchema,
|
|
22
|
+
xScalarEnvironmentSchema,
|
|
23
|
+
xScalarEnvironmentsSchema
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=x-scalar-environments.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/schemas/extensions/document/x-scalar-environments.ts"],
|
|
4
|
+
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarEnvVarSchema = Type.Object({\n name: Type.String(),\n value: Type.Union([\n Type.Object({\n description: Type.Optional(Type.String()),\n default: Type.String({ default: '' }),\n }),\n Type.String(),\n ]),\n})\n\n/** A scalar environment variable */\nexport type XScalarEnvVar = {\n name: string\n value:\n | {\n description?: string\n default: string\n }\n | string\n}\n\nexport const xScalarEnvironmentSchema = Type.Object({\n description: Type.Optional(Type.String()),\n color: Type.String({ default: '#FFFFFF' }),\n variables: Type.Array(xScalarEnvVarSchema),\n})\n\nexport type XScalarEnvironment = {\n /** Optional description for the environment */\n description?: string\n /** Color for the environment */\n color: string\n /** An array of variables */\n variables: XScalarEnvVar[]\n}\n\nexport const xScalarEnvironmentsSchema = Type.Object({\n 'x-scalar-environments': Type.Optional(Type.Record(Type.String(), xScalarEnvironmentSchema)),\n})\n\nexport type XScalarEnvironments = {\n /** A record of environments by name */\n 'x-scalar-environments'?: Record<string, XScalarEnvironment>\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,sBAAsB,KAAK,OAAO;AAAA,EAC7C,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,MAAM;AAAA,IAChB,KAAK,OAAO;AAAA,MACV,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,MACxC,SAAS,KAAK,OAAO,EAAE,SAAS,GAAG,CAAC;AAAA,IACtC,CAAC;AAAA,IACD,KAAK,OAAO;AAAA,EACd,CAAC;AACH,CAAC;AAaM,MAAM,2BAA2B,KAAK,OAAO;AAAA,EAClD,aAAa,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACxC,OAAO,KAAK,OAAO,EAAE,SAAS,UAAU,CAAC;AAAA,EACzC,WAAW,KAAK,MAAM,mBAAmB;AAC3C,CAAC;AAWM,MAAM,4BAA4B,KAAK,OAAO;AAAA,EACnD,yBAAyB,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,wBAAwB,CAAC;AAC7F,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const XScalarActiveEnvironmentSchema: import("@scalar/typebox").TObject<{
|
|
2
|
+
'x-scalar-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
3
|
+
}>;
|
|
4
|
+
export type XScalarActiveEnvironment = {
|
|
5
|
+
/** The currently selected environment */
|
|
6
|
+
'x-scalar-active-environment'?: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=x-scalar-active-environment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-scalar-active-environment.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/workspace/x-scalar-active-environment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,8BAA8B;;EAEzC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,yCAAyC;IACzC,6BAA6B,CAAC,EAAE,MAAM,CAAA;CACvC,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Type } from "@scalar/typebox";
|
|
2
|
+
const XScalarActiveEnvironmentSchema = Type.Object({
|
|
3
|
+
"x-scalar-active-environment": Type.Optional(Type.String())
|
|
4
|
+
});
|
|
5
|
+
export {
|
|
6
|
+
XScalarActiveEnvironmentSchema
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=x-scalar-active-environment.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/schemas/extensions/workspace/x-scalar-active-environment.ts"],
|
|
4
|
+
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const XScalarActiveEnvironmentSchema = Type.Object({\n 'x-scalar-active-environment': Type.Optional(Type.String()),\n})\n\nexport type XScalarActiveEnvironment = {\n /** The currently selected environment */\n 'x-scalar-active-environment'?: string\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,iCAAiC,KAAK,OAAO;AAAA,EACxD,+BAA+B,KAAK,SAAS,KAAK,OAAO,CAAC;AAC5D,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1252,14 +1252,6 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
1252
1252
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1253
1253
|
'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1254
1254
|
'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1255
|
-
'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1256
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1257
|
-
color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1258
|
-
variables: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1259
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1260
|
-
default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1261
|
-
}>, import("@scalar/typebox").TString]>>;
|
|
1262
|
-
}>>>;
|
|
1263
1255
|
'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1264
1256
|
name: import("@scalar/typebox").TString;
|
|
1265
1257
|
value: import("@scalar/typebox").TString;
|
|
@@ -1276,6 +1268,18 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
1276
1268
|
name: import("@scalar/typebox").TString;
|
|
1277
1269
|
tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
|
|
1278
1270
|
}>>>;
|
|
1271
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1272
|
+
'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1273
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1274
|
+
color: import("@scalar/typebox").TString;
|
|
1275
|
+
variables: import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1276
|
+
name: import("@scalar/typebox").TString;
|
|
1277
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1278
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1279
|
+
default: import("@scalar/typebox").TString;
|
|
1280
|
+
}>, import("@scalar/typebox").TString]>;
|
|
1281
|
+
}>>;
|
|
1282
|
+
}>>>;
|
|
1279
1283
|
}>, import("@scalar/typebox").TObject<{
|
|
1280
1284
|
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
1281
1285
|
}>]>]>;
|
|
@@ -2675,14 +2679,6 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
2675
2679
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2676
2680
|
'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2677
2681
|
'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2678
|
-
'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
2679
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2680
|
-
color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2681
|
-
variables: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
2682
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2683
|
-
default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2684
|
-
}>, import("@scalar/typebox").TString]>>;
|
|
2685
|
-
}>>>;
|
|
2686
2682
|
'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
2687
2683
|
name: import("@scalar/typebox").TString;
|
|
2688
2684
|
value: import("@scalar/typebox").TString;
|
|
@@ -2699,6 +2695,18 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
2699
2695
|
name: import("@scalar/typebox").TString;
|
|
2700
2696
|
tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
|
|
2701
2697
|
}>>>;
|
|
2698
|
+
}>, import("@scalar/typebox").TObject<{
|
|
2699
|
+
'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
2700
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2701
|
+
color: import("@scalar/typebox").TString;
|
|
2702
|
+
variables: import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
2703
|
+
name: import("@scalar/typebox").TString;
|
|
2704
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
2705
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2706
|
+
default: import("@scalar/typebox").TString;
|
|
2707
|
+
}>, import("@scalar/typebox").TString]>;
|
|
2708
|
+
}>>;
|
|
2709
|
+
}>>>;
|
|
2702
2710
|
}>, import("@scalar/typebox").TObject<{
|
|
2703
2711
|
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
2704
2712
|
}>]>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AAIpF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AAIpF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,aAAa,CAAA;IACnB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;IAC5C,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAC9D,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CAAA"}
|
|
@@ -1254,14 +1254,6 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1254
1254
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1255
1255
|
'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1256
1256
|
'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1257
|
-
'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1258
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1259
|
-
color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1260
|
-
variables: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1261
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1262
|
-
default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1263
|
-
}>, import("@scalar/typebox").TString]>>;
|
|
1264
|
-
}>>>;
|
|
1265
1257
|
'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1266
1258
|
name: import("@scalar/typebox").TString;
|
|
1267
1259
|
value: import("@scalar/typebox").TString;
|
|
@@ -1278,6 +1270,18 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1278
1270
|
name: import("@scalar/typebox").TString;
|
|
1279
1271
|
tags: TArray<import("@scalar/typebox").TString>;
|
|
1280
1272
|
}>>>;
|
|
1273
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1274
|
+
'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1275
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1276
|
+
color: import("@scalar/typebox").TString;
|
|
1277
|
+
variables: TArray<import("@scalar/typebox").TObject<{
|
|
1278
|
+
name: import("@scalar/typebox").TString;
|
|
1279
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1280
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1281
|
+
default: import("@scalar/typebox").TString;
|
|
1282
|
+
}>, import("@scalar/typebox").TString]>;
|
|
1283
|
+
}>>;
|
|
1284
|
+
}>>>;
|
|
1281
1285
|
}>, import("@scalar/typebox").TObject<{
|
|
1282
1286
|
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
1283
1287
|
}>]>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,cAAc,CAAA;AACnF,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,QAAQ,CAAA;AAC3D,OAAO,EAAE,KAAK,OAAO,EAAiC,MAAM,WAAW,CAAA;AACvE,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAE3E;;;;GAIG;AACH,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,EAAE,KAAK,UAAU,EAAuC,MAAM,cAAc,CAAA;AACnF,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA;AAC3E,OAAO,EAAE,KAAK,IAAI,EAA2B,MAAM,QAAQ,CAAA;AAC3D,OAAO,EAAE,KAAK,OAAO,EAAiC,MAAM,WAAW,CAAA;AACvE,OAAO,EAAE,KAAK,QAAQ,EAAmC,MAAM,YAAY,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,EAAE,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,eAAe,CAgChE,CAAA"}
|
|
@@ -1240,14 +1240,6 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1240
1240
|
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1241
1241
|
'x-scalar-client-config-active-environment': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1242
1242
|
'x-scalar-client-config-icon': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1243
|
-
'x-scalar-client-config-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1244
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1245
|
-
color: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1246
|
-
variables: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1247
|
-
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1248
|
-
default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1249
|
-
}>, import("@scalar/typebox").TString]>>;
|
|
1250
|
-
}>>>;
|
|
1251
1243
|
'x-scalar-client-config-cookies': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1252
1244
|
name: import("@scalar/typebox").TString;
|
|
1253
1245
|
value: import("@scalar/typebox").TString;
|
|
@@ -1264,6 +1256,18 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1264
1256
|
name: import("@scalar/typebox").TString;
|
|
1265
1257
|
tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
|
|
1266
1258
|
}>>>;
|
|
1259
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1260
|
+
'x-scalar-environments': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
1261
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1262
|
+
color: import("@scalar/typebox").TString;
|
|
1263
|
+
variables: import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1264
|
+
name: import("@scalar/typebox").TString;
|
|
1265
|
+
value: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TObject<{
|
|
1266
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1267
|
+
default: import("@scalar/typebox").TString;
|
|
1268
|
+
}>, import("@scalar/typebox").TString]>;
|
|
1269
|
+
}>>;
|
|
1270
|
+
}>>>;
|
|
1267
1271
|
}>, import("@scalar/typebox").TObject<{
|
|
1268
1272
|
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
1269
1273
|
}>]>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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