@scalar/workspace-store 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +2 -2
- package/dist/client.d.ts +40 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +58 -23
- package/dist/client.js.map +2 -2
- package/dist/events/bus.d.ts +13 -1
- package/dist/events/bus.d.ts.map +1 -1
- package/dist/events/bus.js +46 -10
- package/dist/events/bus.js.map +3 -3
- package/dist/events/definitions/auth.d.ts +20 -2
- package/dist/events/definitions/auth.d.ts.map +1 -1
- package/dist/events/definitions/cookie.d.ts +20 -0
- package/dist/events/definitions/cookie.d.ts.map +1 -0
- package/dist/events/definitions/cookie.js +1 -0
- package/dist/events/definitions/cookie.js.map +7 -0
- package/dist/events/definitions/document.d.ts +11 -1
- package/dist/events/definitions/document.d.ts.map +1 -1
- package/dist/events/definitions/index.d.ts +4 -2
- package/dist/events/definitions/index.d.ts.map +1 -1
- package/dist/events/definitions/operation.d.ts +0 -13
- package/dist/events/definitions/operation.d.ts.map +1 -1
- package/dist/events/definitions/server.d.ts +20 -28
- package/dist/events/definitions/server.d.ts.map +1 -1
- package/dist/events/definitions/tabs.d.ts +40 -0
- package/dist/events/definitions/tabs.d.ts.map +1 -0
- package/dist/events/definitions/tabs.js +1 -0
- package/dist/events/definitions/tabs.js.map +7 -0
- package/dist/events/definitions/ui.d.ts +39 -4
- package/dist/events/definitions/ui.d.ts.map +1 -1
- package/dist/events/definitions/workspace.d.ts +18 -0
- package/dist/events/definitions/workspace.d.ts.map +1 -0
- package/dist/events/definitions/workspace.js +1 -0
- package/dist/events/definitions/workspace.js.map +7 -0
- package/dist/events/index.d.ts +2 -2
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js.map +2 -2
- package/dist/helpers/generate-unique-value.d.ts +19 -6
- package/dist/helpers/generate-unique-value.d.ts.map +1 -1
- package/dist/helpers/generate-unique-value.js +12 -7
- package/dist/helpers/generate-unique-value.js.map +2 -2
- package/dist/helpers/unpack-proxy.d.ts +14 -1
- package/dist/helpers/unpack-proxy.d.ts.map +1 -1
- package/dist/helpers/unpack-proxy.js +51 -1
- package/dist/helpers/unpack-proxy.js.map +3 -3
- package/dist/mutators/auth.d.ts +10 -73
- package/dist/mutators/auth.d.ts.map +1 -1
- package/dist/mutators/auth.js +47 -111
- package/dist/mutators/auth.js.map +2 -2
- package/dist/mutators/cookie.d.ts +21 -13
- package/dist/mutators/cookie.d.ts.map +1 -1
- package/dist/mutators/cookie.js +34 -26
- package/dist/mutators/cookie.js.map +3 -3
- package/dist/mutators/document.d.ts +13 -0
- package/dist/mutators/document.d.ts.map +1 -0
- package/dist/mutators/document.js +25 -0
- package/dist/mutators/document.js.map +7 -0
- package/dist/mutators/index.d.ts +13 -20
- package/dist/mutators/index.d.ts.map +1 -1
- package/dist/mutators/index.js +49 -8
- package/dist/mutators/index.js.map +3 -3
- package/dist/mutators/operation.d.ts +23 -101
- package/dist/mutators/operation.d.ts.map +1 -1
- package/dist/mutators/operation.js +132 -96
- package/dist/mutators/operation.js.map +2 -2
- package/dist/mutators/server.d.ts +43 -8
- package/dist/mutators/server.d.ts.map +1 -1
- package/dist/mutators/server.js +113 -20
- package/dist/mutators/server.js.map +2 -2
- package/dist/mutators/workspace.d.ts +6 -0
- package/dist/mutators/workspace.d.ts.map +1 -0
- package/dist/mutators/workspace.js +24 -0
- package/dist/mutators/workspace.js.map +7 -0
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.js +4 -4
- package/dist/navigation/get-navigation-options.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts +2 -0
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +18 -3
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-examples.js +2 -2
- package/dist/navigation/helpers/traverse-examples.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +6 -3
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +4 -9
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +0 -1
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +57 -49
- package/dist/navigation/helpers/traverse-tags.js.map +3 -3
- package/dist/persistence/index.d.ts +6 -0
- package/dist/persistence/index.d.ts.map +1 -1
- package/dist/persistence/index.js +18 -0
- package/dist/persistence/index.js.map +2 -2
- package/dist/persistence/indexdb.d.ts +1 -0
- package/dist/persistence/indexdb.d.ts.map +1 -1
- package/dist/persistence/indexdb.js +6 -1
- package/dist/persistence/indexdb.js.map +2 -2
- package/dist/plugins/client/persistence.d.ts +2 -1
- package/dist/plugins/client/persistence.d.ts.map +1 -1
- package/dist/plugins/client/persistence.js +17 -9
- package/dist/plugins/client/persistence.js.map +2 -2
- package/dist/schemas/extensions/document/x-scalar-environments.d.ts +1 -0
- package/dist/schemas/extensions/document/x-scalar-environments.d.ts.map +1 -1
- package/dist/schemas/extensions/document/x-scalar-environments.js.map +2 -2
- package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts +13 -0
- package/dist/schemas/extensions/document/x-scalar-set-operation-security.d.ts.map +1 -0
- package/dist/schemas/extensions/document/x-scalar-set-operation-security.js +8 -0
- package/dist/schemas/extensions/document/x-scalar-set-operation-security.js.map +7 -0
- package/dist/schemas/extensions/general/x-scalar-cookies.d.ts +36 -0
- package/dist/schemas/extensions/general/x-scalar-cookies.d.ts.map +1 -0
- package/dist/schemas/extensions/general/x-scalar-cookies.js +15 -0
- package/dist/schemas/extensions/general/x-scalar-cookies.js.map +7 -0
- package/dist/schemas/extensions/general/x-scalar-order.d.ts +12 -0
- package/dist/schemas/extensions/general/x-scalar-order.d.ts.map +1 -0
- package/dist/schemas/extensions/general/x-scalar-order.js +8 -0
- package/dist/schemas/extensions/general/x-scalar-order.js.map +7 -0
- package/dist/schemas/extensions/security/x-scalar-selected-security.d.ts +7 -7
- package/dist/schemas/extensions/security/x-scalar-selected-security.d.ts.map +1 -1
- package/dist/schemas/extensions/security/x-scalar-selected-security.js +2 -2
- package/dist/schemas/extensions/security/x-scalar-selected-security.js.map +2 -2
- package/dist/schemas/extensions/server/x-scalar-selected-server.d.ts +8 -0
- package/dist/schemas/extensions/server/x-scalar-selected-server.d.ts.map +1 -0
- package/dist/schemas/extensions/server/x-scalar-selected-server.js +8 -0
- package/dist/schemas/extensions/server/x-scalar-selected-server.js.map +7 -0
- package/dist/schemas/extensions/tag/x-tag-groups.d.ts +10 -5
- package/dist/schemas/extensions/tag/x-tag-groups.d.ts.map +1 -1
- package/dist/schemas/extensions/tag/x-tag-groups.js +15 -10
- package/dist/schemas/extensions/tag/x-tag-groups.js.map +2 -2
- package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts +18 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-proxy.d.ts.map +1 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js +8 -0
- package/dist/schemas/extensions/workspace/x-scalar-active-proxy.js.map +7 -0
- package/dist/schemas/extensions.d.ts +1 -1
- package/dist/schemas/extensions.js +1 -1
- package/dist/schemas/extensions.js.map +2 -2
- package/dist/schemas/inmemory-workspace.d.ts +59 -33
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/navigation.d.ts +9 -1
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +3 -1
- package/dist/schemas/navigation.js.map +2 -2
- package/dist/schemas/reference-config/index.d.ts +29 -16
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +29 -16
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.js +2 -0
- package/dist/schemas/reference-config/settings.js.map +2 -2
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +992 -549
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +14 -6
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/operation.d.ts +3 -7
- package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/operation.js +1 -5
- package/dist/schemas/v3.1/strict/operation.js.map +2 -2
- package/dist/schemas/v3.1/strict/tag.d.ts +4 -1
- package/dist/schemas/v3.1/strict/tag.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/tag.js +3 -1
- package/dist/schemas/v3.1/strict/tag.js.map +2 -2
- package/dist/schemas/v3.1/strict/type-guards.d.ts +6 -0
- package/dist/schemas/v3.1/strict/type-guards.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/type-guards.js +4 -0
- package/dist/schemas/v3.1/strict/type-guards.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +29 -16
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/index.d.ts +30 -17
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +233 -130
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/schemas/workspace.js +8 -6
- package/dist/schemas/workspace.js.map +2 -2
- package/dist/server.d.ts +1 -1
- package/dist/workspace-plugin.d.ts +3 -0
- package/dist/workspace-plugin.d.ts.map +1 -1
- package/package.json +8 -7
- package/dist/helpers/debounce.d.ts +0 -28
- package/dist/helpers/debounce.d.ts.map +0 -1
- package/dist/helpers/debounce.js +0 -31
- package/dist/helpers/debounce.js.map +0 -7
- package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts +0 -13
- package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.d.ts.map +0 -1
- package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js +0 -9
- package/dist/schemas/extensions/operation/x-scalar-operation-identifiers.js.map +0 -7
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts +0 -32
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map +0 -1
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js +0 -13
- package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAY,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAGjF,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EACL,KAAK,mBAAmB,EAEzB,MAAM,qDAAqD,CAAA;AAC5D,OAAO,EACL,KAAK,wBAAwB,EAE9B,MAAM,4DAA4D,CAAA;AACnE,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,+EAA+E,CAAA;AACtF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AACjF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,OAAO,EAEL,KAAK,eAAe,EAGrB,MAAM,gCAAgC,CAAA;AAEvC,eAAO,MAAM,2BAA2B;;;EAKvC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,MAAM,CAAA;IACzC,CAAC,UAAU,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAA;CAC5C,CAAA;AAGD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAI3F,CAAA;AAED,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG;IACtC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAA;IAC5C,cAAc,EAAE,iBAAiB,GAAG,SAAS,CAAA;CAC9C,GAAG,mBAAmB,CAAA"}
|
|
@@ -6,12 +6,12 @@ import { extensions } from "../schemas/extensions.js";
|
|
|
6
6
|
import {
|
|
7
7
|
xScalarEnvironmentsSchema
|
|
8
8
|
} from "../schemas/extensions/document/x-scalar-environments.js";
|
|
9
|
+
import { xScalarCookiesSchema } from "../schemas/extensions/general/x-scalar-cookies.js";
|
|
10
|
+
import { XScalarOrderSchema } from "../schemas/extensions/general/x-scalar-order.js";
|
|
9
11
|
import {
|
|
10
12
|
XScalarActiveEnvironmentSchema
|
|
11
13
|
} from "../schemas/extensions/workspace/x-scalar-active-environment.js";
|
|
12
|
-
import {
|
|
13
|
-
xScalarClientConfigCookiesSchema
|
|
14
|
-
} from "../schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js";
|
|
14
|
+
import { XScalarActiveProxySchema } from "../schemas/extensions/workspace/x-scalar-active-proxy.js";
|
|
15
15
|
import {
|
|
16
16
|
OpenAPIDocumentSchema,
|
|
17
17
|
SecuritySchemeObjectSchema,
|
|
@@ -26,7 +26,7 @@ const WorkspaceDocumentMetaSchema = Type.Partial(
|
|
|
26
26
|
const WorkspaceDocumentSchema = Type.Intersect([WorkspaceDocumentMetaSchema, OpenAPIDocumentSchema]);
|
|
27
27
|
const WorkspaceMetaSchema = Type.Partial(
|
|
28
28
|
Type.Object({
|
|
29
|
-
[extensions.workspace.
|
|
29
|
+
[extensions.workspace.colorMode]: Type.Union([Type.Literal("system"), Type.Literal("light"), Type.Literal("dark")]),
|
|
30
30
|
[extensions.workspace.defaultClient]: Type.Union(AVAILABLE_CLIENTS.map((client) => Type.Literal(client))),
|
|
31
31
|
[extensions.workspace.activeDocument]: Type.String(),
|
|
32
32
|
[extensions.workspace.theme]: Type.Union(themeIds.map((t) => Type.Literal(t))),
|
|
@@ -38,11 +38,13 @@ const WorkspaceExtensionsSchema = compose(
|
|
|
38
38
|
XScalarActiveEnvironmentSchema,
|
|
39
39
|
Type.Partial(
|
|
40
40
|
Type.Object({
|
|
41
|
-
"x-scalar-client-config-cookies": xScalarClientConfigCookiesSchema,
|
|
42
41
|
"x-scalar-client-config-servers": Type.Array(ServerObjectSchema),
|
|
43
42
|
"x-scalar-client-config-security-schemes": Type.Record(Type.String(), SecuritySchemeObjectSchema)
|
|
44
43
|
})
|
|
45
|
-
)
|
|
44
|
+
),
|
|
45
|
+
XScalarActiveProxySchema,
|
|
46
|
+
XScalarOrderSchema,
|
|
47
|
+
xScalarCookiesSchema
|
|
46
48
|
);
|
|
47
49
|
const WorkspaceSchema = compose(
|
|
48
50
|
WorkspaceMetaSchema,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/schemas/workspace.ts"],
|
|
4
|
-
"sourcesContent": ["import { type ThemeId, themeIds } from '@scalar/themes'\nimport { Type } from '@scalar/typebox'\nimport { AVAILABLE_CLIENTS, type AvailableClients } from '@scalar/types/snippetz'\n\nimport { compose } from '@/schemas/compose'\nimport { extensions } from '@/schemas/extensions'\nimport {\n type XScalarEnvironments,\n xScalarEnvironmentsSchema,\n} from '@/schemas/extensions/document/x-scalar-environments'\nimport {\n type XScalarActiveEnvironment,\n XScalarActiveEnvironmentSchema,\n} from '@/schemas/extensions/workspace/x-scalar-active-environment'\nimport {
|
|
5
|
-
"mappings": "AAAA,SAAuB,gBAAgB;AACvC,SAAS,YAAY;AACrB,SAAS,yBAAgD;AAEzD,SAAS,eAAe;AACxB,SAAS,kBAAkB;AAC3B;AAAA,EAEE;AAAA,OACK;AACP
|
|
4
|
+
"sourcesContent": ["import { type ThemeId, themeIds } from '@scalar/themes'\nimport { Type } from '@scalar/typebox'\nimport { AVAILABLE_CLIENTS, type AvailableClients } from '@scalar/types/snippetz'\n\nimport { compose } from '@/schemas/compose'\nimport { extensions } from '@/schemas/extensions'\nimport {\n type XScalarEnvironments,\n xScalarEnvironmentsSchema,\n} from '@/schemas/extensions/document/x-scalar-environments'\nimport { type XScalarCookies, xScalarCookiesSchema } from '@/schemas/extensions/general/x-scalar-cookies'\nimport { type XScalarOrder, XScalarOrderSchema } from '@/schemas/extensions/general/x-scalar-order'\nimport {\n type XScalarActiveEnvironment,\n XScalarActiveEnvironmentSchema,\n} from '@/schemas/extensions/workspace/x-scalar-active-environment'\nimport { type XScalarActiveProxy, XScalarActiveProxySchema } from '@/schemas/extensions/workspace/x-scalar-active-proxy'\nimport type { SecuritySchemeObject } from '@/schemas/v3.1/strict/security-scheme'\nimport type { ServerObject } from '@/schemas/v3.1/strict/server'\n\nimport {\n OpenAPIDocumentSchema,\n type OpenApiDocument,\n SecuritySchemeObjectSchema,\n ServerObjectSchema,\n} from './v3.1/strict/openapi-document'\n\nexport const WorkspaceDocumentMetaSchema = Type.Partial(\n Type.Object({\n [extensions.document.activeAuth]: Type.String(),\n [extensions.document.activeServer]: Type.String(),\n }),\n)\n\nexport type WorkspaceDocumentMeta = {\n [extensions.document.activeAuth]?: string\n [extensions.document.activeServer]?: string\n}\n\n// Note: use Type.Intersect to combine schemas here because Type.Compose does not work as expected with Modules\nexport const WorkspaceDocumentSchema = Type.Intersect([WorkspaceDocumentMetaSchema, OpenAPIDocumentSchema])\n\nexport type WorkspaceDocument = WorkspaceDocumentMeta & OpenApiDocument\n\nexport const WorkspaceMetaSchema = Type.Partial(\n Type.Object({\n [extensions.workspace.colorMode]: Type.Union([Type.Literal('system'), Type.Literal('light'), Type.Literal('dark')]),\n [extensions.workspace.defaultClient]: Type.Union(AVAILABLE_CLIENTS.map((client) => Type.Literal(client))),\n [extensions.workspace.activeDocument]: Type.String(),\n [extensions.workspace.theme]: Type.Union(themeIds.map((t) => Type.Literal(t))),\n [extensions.workspace.sidebarWidth]: Type.Number({ default: 288 }),\n }),\n)\n\nexport type ColorMode = 'system' | 'light' | 'dark'\n\nexport type WorkspaceMeta = {\n [extensions.workspace.colorMode]?: ColorMode\n [extensions.workspace.defaultClient]?: AvailableClients[number]\n [extensions.workspace.activeDocument]?: string\n [extensions.workspace.theme]?: ThemeId\n [extensions.workspace.sidebarWidth]?: number\n}\n\nexport const WorkspaceExtensionsSchema = compose(\n xScalarEnvironmentsSchema,\n XScalarActiveEnvironmentSchema,\n Type.Partial(\n Type.Object({\n 'x-scalar-client-config-servers': Type.Array(ServerObjectSchema),\n 'x-scalar-client-config-security-schemes': Type.Record(Type.String(), SecuritySchemeObjectSchema),\n }),\n ),\n XScalarActiveProxySchema,\n XScalarOrderSchema,\n xScalarCookiesSchema,\n)\n\nexport type WorkspaceExtensions = {\n 'x-scalar-client-config-servers'?: ServerObject[]\n 'x-scalar-client-config-security-schemes'?: Record<string, SecuritySchemeObject>\n} & XScalarEnvironments &\n XScalarActiveEnvironment &\n XScalarActiveProxy &\n XScalarOrder &\n XScalarCookies\n\nexport const WorkspaceSchema = compose(\n WorkspaceMetaSchema,\n Type.Object({\n documents: Type.Record(Type.String(), WorkspaceDocumentSchema),\n /** Active document is possibly undefined if we attempt to lookup with an invalid key */\n activeDocument: Type.Union([Type.Undefined(), WorkspaceDocumentSchema]),\n }),\n WorkspaceExtensionsSchema,\n)\n\nexport type Workspace = WorkspaceMeta & {\n documents: Record<string, WorkspaceDocument>\n activeDocument: WorkspaceDocument | undefined\n} & WorkspaceExtensions\n"],
|
|
5
|
+
"mappings": "AAAA,SAAuB,gBAAgB;AACvC,SAAS,YAAY;AACrB,SAAS,yBAAgD;AAEzD,SAAS,eAAe;AACxB,SAAS,kBAAkB;AAC3B;AAAA,EAEE;AAAA,OACK;AACP,SAA8B,4BAA4B;AAC1D,SAA4B,0BAA0B;AACtD;AAAA,EAEE;AAAA,OACK;AACP,SAAkC,gCAAgC;AAIlE;AAAA,EACE;AAAA,EAEA;AAAA,EACA;AAAA,OACK;AAEA,MAAM,8BAA8B,KAAK;AAAA,EAC9C,KAAK,OAAO;AAAA,IACV,CAAC,WAAW,SAAS,UAAU,GAAG,KAAK,OAAO;AAAA,IAC9C,CAAC,WAAW,SAAS,YAAY,GAAG,KAAK,OAAO;AAAA,EAClD,CAAC;AACH;AAQO,MAAM,0BAA0B,KAAK,UAAU,CAAC,6BAA6B,qBAAqB,CAAC;AAInG,MAAM,sBAAsB,KAAK;AAAA,EACtC,KAAK,OAAO;AAAA,IACV,CAAC,WAAW,UAAU,SAAS,GAAG,KAAK,MAAM,CAAC,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,OAAO,GAAG,KAAK,QAAQ,MAAM,CAAC,CAAC;AAAA,IAClH,CAAC,WAAW,UAAU,aAAa,GAAG,KAAK,MAAM,kBAAkB,IAAI,CAAC,WAAW,KAAK,QAAQ,MAAM,CAAC,CAAC;AAAA,IACxG,CAAC,WAAW,UAAU,cAAc,GAAG,KAAK,OAAO;AAAA,IACnD,CAAC,WAAW,UAAU,KAAK,GAAG,KAAK,MAAM,SAAS,IAAI,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC;AAAA,IAC7E,CAAC,WAAW,UAAU,YAAY,GAAG,KAAK,OAAO,EAAE,SAAS,IAAI,CAAC;AAAA,EACnE,CAAC;AACH;AAYO,MAAM,4BAA4B;AAAA,EACvC;AAAA,EACA;AAAA,EACA,KAAK;AAAA,IACH,KAAK,OAAO;AAAA,MACV,kCAAkC,KAAK,MAAM,kBAAkB;AAAA,MAC/D,2CAA2C,KAAK,OAAO,KAAK,OAAO,GAAG,0BAA0B;AAAA,IAClG,CAAC;AAAA,EACH;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAWO,MAAM,kBAAkB;AAAA,EAC7B;AAAA,EACA,KAAK,OAAO;AAAA,IACV,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA;AAAA,IAE7D,gBAAgB,KAAK,MAAM,CAAC,KAAK,UAAU,GAAG,uBAAuB,CAAC;AAAA,EACxE,CAAC;AAAA,EACD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/server.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export declare function createServerWorkspaceStore(workspaceProps: CreateServerW
|
|
|
119
119
|
documents: Record<string, OpenApiDocument & {
|
|
120
120
|
[extensions.document.navigation]: TraversedDocument;
|
|
121
121
|
}>;
|
|
122
|
-
"x-scalar-
|
|
122
|
+
"x-scalar-color-mode"?: import("./schemas/workspace.js").ColorMode;
|
|
123
123
|
"x-scalar-default-client"?: import("@scalar/snippetz").AvailableClients[number];
|
|
124
124
|
"x-scalar-active-document"?: string;
|
|
125
125
|
"x-scalar-theme"?: import("@scalar/themes").ThemeId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-plugin.d.ts","sourceRoot":"","sources":["../src/workspace-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE;;;;;;;;GAQG;AACH,MAAM,MAAM,yBAAyB,GACjC;IACE,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;CAC9C,GACD;IACE,IAAI,EAAE,mBAAmB,CAAA;IACzB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAA;CACtD,GACD;IACE,IAAI,EAAE,uBAAuB,CAAA;IAC7B,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAA;CAC1D,GACD;IACE,IAAI,EAAE,iBAAiB,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpD,GACD;IACE,IAAI,EAAE,WAAW,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,KAAK,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAC,MAAM,CAAC,CAAA;CAC9C,GACD;IACE,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;CACjC,CAAA;AAEL;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CAAC;IACpC,KAAK,EAAE,OAAO,CAAC;QACb;;;WAGG;QACH,uBAAuB,EAAE,CAAC,KAAK,EAAE,yB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;QACH,uBAAuB,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAA;KACpE,CAAC,CAAA;CACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"openapi",
|
|
17
17
|
"scalar"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.
|
|
19
|
+
"version": "0.21.0",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=18"
|
|
22
22
|
},
|
|
@@ -94,12 +94,13 @@
|
|
|
94
94
|
"vue": "^3.5.21",
|
|
95
95
|
"yaml": "2.8.0",
|
|
96
96
|
"@scalar/code-highlight": "0.2.0",
|
|
97
|
-
"@scalar/
|
|
97
|
+
"@scalar/helpers": "0.1.2",
|
|
98
|
+
"@scalar/json-magic": "0.8.2",
|
|
98
99
|
"@scalar/openapi-upgrader": "0.1.4",
|
|
99
|
-
"@scalar/
|
|
100
|
-
"@scalar/
|
|
101
|
-
"@scalar/
|
|
102
|
-
"@scalar/
|
|
100
|
+
"@scalar/object-utils": "1.2.12",
|
|
101
|
+
"@scalar/snippetz": "0.5.3",
|
|
102
|
+
"@scalar/types": "0.5.0",
|
|
103
|
+
"@scalar/themes": "0.13.24"
|
|
103
104
|
},
|
|
104
105
|
"devDependencies": {
|
|
105
106
|
"@google-cloud/storage": "7.16.0",
|
|
@@ -107,7 +108,7 @@
|
|
|
107
108
|
"fastify": "^5.3.3",
|
|
108
109
|
"vite": "7.1.11",
|
|
109
110
|
"vitest": "3.2.4",
|
|
110
|
-
"@scalar/build-tooling": "0.
|
|
111
|
+
"@scalar/build-tooling": "0.3.0"
|
|
111
112
|
},
|
|
112
113
|
"scripts": {
|
|
113
114
|
"build": "scalar-build-esbuild",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Options for configuring the debounce behavior.
|
|
3
|
-
*/
|
|
4
|
-
export type DebounceOptions = {
|
|
5
|
-
/** The delay in milliseconds before executing the function. Defaults to 100ms. */
|
|
6
|
-
delay?: number;
|
|
7
|
-
/** Custom separator for joining key parts. Defaults to a null byte to prevent collisions. */
|
|
8
|
-
separator?: string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Creates a debounced function executor that delays execution until after a specified time.
|
|
12
|
-
* Multiple calls with the same key will cancel previous pending executions.
|
|
13
|
-
*
|
|
14
|
-
* This is useful for batching rapid updates (like auto-save or API calls) to avoid
|
|
15
|
-
* unnecessary processing or network requests.
|
|
16
|
-
*
|
|
17
|
-
* @param options - Configuration options for delay and key separator
|
|
18
|
-
* @returns A function that accepts a key array and callback to execute
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* const debouncedSave = debounce({ delay: 500 })
|
|
22
|
-
* debouncedSave(['user', '123'], () => saveUser(user))
|
|
23
|
-
*/
|
|
24
|
-
export declare const debounce: (options?: DebounceOptions) => {
|
|
25
|
-
execute: (key: readonly string[], fn: () => unknown | Promise<unknown>) => void;
|
|
26
|
-
cleanup: () => void;
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=debounce.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debounce.d.ts","sourceRoot":"","sources":["../../src/helpers/debounce.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,6FAA6F;IAC7F,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,GAAI,UAAS,eAAoB;mBAsB9B,SAAS,MAAM,EAAE,MAAM,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAG,IAAI;mBAdhE,IAAI;CAyCzB,CAAA"}
|
package/dist/helpers/debounce.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
const debounce = (options = {}) => {
|
|
2
|
-
const { delay = 100, separator = "\0" } = options;
|
|
3
|
-
const timeouts = /* @__PURE__ */ new Map();
|
|
4
|
-
const cleanup = () => {
|
|
5
|
-
for (const timeout of timeouts.values()) {
|
|
6
|
-
clearTimeout(timeout);
|
|
7
|
-
}
|
|
8
|
-
timeouts.clear();
|
|
9
|
-
};
|
|
10
|
-
const execute = (key, fn) => {
|
|
11
|
-
const compositeKey = `${key.join(separator)}-${key.length}`;
|
|
12
|
-
const existingTimeout = timeouts.get(compositeKey);
|
|
13
|
-
if (existingTimeout !== void 0) {
|
|
14
|
-
clearTimeout(existingTimeout);
|
|
15
|
-
}
|
|
16
|
-
const timeout = setTimeout(() => {
|
|
17
|
-
try {
|
|
18
|
-
fn();
|
|
19
|
-
} catch {
|
|
20
|
-
} finally {
|
|
21
|
-
timeouts.delete(compositeKey);
|
|
22
|
-
}
|
|
23
|
-
}, delay);
|
|
24
|
-
timeouts.set(compositeKey, timeout);
|
|
25
|
-
};
|
|
26
|
-
return { execute, cleanup };
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
debounce
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=debounce.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/helpers/debounce.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * Options for configuring the debounce behavior.\n */\nexport type DebounceOptions = {\n /** The delay in milliseconds before executing the function. Defaults to 100ms. */\n delay?: number\n /** Custom separator for joining key parts. Defaults to a null byte to prevent collisions. */\n separator?: string\n}\n\n/**\n * Creates a debounced function executor that delays execution until after a specified time.\n * Multiple calls with the same key will cancel previous pending executions.\n *\n * This is useful for batching rapid updates (like auto-save or API calls) to avoid\n * unnecessary processing or network requests.\n *\n * @param options - Configuration options for delay and key separator\n * @returns A function that accepts a key array and callback to execute\n *\n * @example\n * const debouncedSave = debounce({ delay: 500 })\n * debouncedSave(['user', '123'], () => saveUser(user))\n */\nexport const debounce = (options: DebounceOptions = {}) => {\n const { delay = 100, separator = '\\0' } = options\n const timeouts = new Map<string, ReturnType<typeof setTimeout>>()\n\n /**\n * Cleanup function to clear all pending timeouts.\n * Call this when you need to cancel all pending operations (e.g., component unmount).\n */\n const cleanup = (): void => {\n for (const timeout of timeouts.values()) {\n clearTimeout(timeout)\n }\n timeouts.clear()\n }\n\n /**\n * Schedules a function to run after the configured delay.\n * If called again with the same key before the delay expires, the previous call is cancelled.\n *\n * @param key - Array of strings to uniquely identify this operation\n * @param fn - The function to execute after the delay\n */\n const execute = (key: readonly string[], fn: () => unknown | Promise<unknown>): void => {\n // Add the length of the key to the composite key to prevent collisions\n const compositeKey = `${key.join(separator)}-${key.length}`\n\n // Cancel any existing timeout for this key\n const existingTimeout = timeouts.get(compositeKey)\n if (existingTimeout !== undefined) {\n clearTimeout(existingTimeout)\n }\n\n // Schedule the new timeout\n const timeout = setTimeout(() => {\n try {\n // biome-ignore lint/nursery/noFloatingPromises: No need to await for the result, fire and forget\n fn()\n } catch {\n // do not throw if the function throws\n } finally {\n // Always clean up the timeout reference, even if fn throws\n timeouts.delete(compositeKey)\n }\n }, delay)\n\n timeouts.set(compositeKey, timeout)\n }\n\n return { execute, cleanup }\n}\n"],
|
|
5
|
-
"mappings": "AAwBO,MAAM,WAAW,CAAC,UAA2B,CAAC,MAAM;AACzD,QAAM,EAAE,QAAQ,KAAK,YAAY,KAAK,IAAI;AAC1C,QAAM,WAAW,oBAAI,IAA2C;AAMhE,QAAM,UAAU,MAAY;AAC1B,eAAW,WAAW,SAAS,OAAO,GAAG;AACvC,mBAAa,OAAO;AAAA,IACtB;AACA,aAAS,MAAM;AAAA,EACjB;AASA,QAAM,UAAU,CAAC,KAAwB,OAA+C;AAEtF,UAAM,eAAe,GAAG,IAAI,KAAK,SAAS,CAAC,IAAI,IAAI,MAAM;AAGzD,UAAM,kBAAkB,SAAS,IAAI,YAAY;AACjD,QAAI,oBAAoB,QAAW;AACjC,mBAAa,eAAe;AAAA,IAC9B;AAGA,UAAM,UAAU,WAAW,MAAM;AAC/B,UAAI;AAEF,WAAG;AAAA,MACL,QAAQ;AAAA,MAER,UAAE;AAEA,iBAAS,OAAO,YAAY;AAAA,MAC9B;AAAA,IACF,GAAG,KAAK;AAER,aAAS,IAAI,cAAc,OAAO;AAAA,EACpC;AAEA,SAAO,EAAE,SAAS,QAAQ;AAC5B;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { type Static } from '@scalar/typebox';
|
|
2
|
-
/**
|
|
3
|
-
* path and method identifiers for Scalar operations
|
|
4
|
-
*
|
|
5
|
-
* Used internally by Scalar to keep track of operations
|
|
6
|
-
* as a draft state when you edit the path/method before saving the new operation
|
|
7
|
-
*/
|
|
8
|
-
export declare const XScalarOperationIdentifiersSchema: import("@scalar/typebox").TObject<{
|
|
9
|
-
'x-scalar-path': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
10
|
-
'x-scalar-method': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
11
|
-
}>;
|
|
12
|
-
export type XScalarOperationIdentifiers = Static<typeof XScalarOperationIdentifiersSchema>;
|
|
13
|
-
//# sourceMappingURL=x-scalar-operation-identifiers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-scalar-operation-identifiers.d.ts","sourceRoot":"","sources":["../../../../src/schemas/extensions/operation/x-scalar-operation-identifiers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,iCAAiC;;;EAG5C,CAAA;AAEF,MAAM,MAAM,2BAA2B,GAAG,MAAM,CAAC,OAAO,iCAAiC,CAAC,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Type } from "@scalar/typebox";
|
|
2
|
-
const XScalarOperationIdentifiersSchema = Type.Object({
|
|
3
|
-
"x-scalar-path": Type.Optional(Type.String()),
|
|
4
|
-
"x-scalar-method": Type.Optional(Type.String())
|
|
5
|
-
});
|
|
6
|
-
export {
|
|
7
|
-
XScalarOperationIdentifiersSchema
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=x-scalar-operation-identifiers.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/schemas/extensions/operation/x-scalar-operation-identifiers.ts"],
|
|
4
|
-
"sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\n\n/**\n * path and method identifiers for Scalar operations\n *\n * Used internally by Scalar to keep track of operations\n * as a draft state when you edit the path/method before saving the new operation\n */\nexport const XScalarOperationIdentifiersSchema = Type.Object({\n 'x-scalar-path': Type.Optional(Type.String()),\n 'x-scalar-method': Type.Optional(Type.String()),\n})\n\nexport type XScalarOperationIdentifiers = Static<typeof XScalarOperationIdentifiersSchema>\n"],
|
|
5
|
-
"mappings": "AAAA,SAAsB,YAAY;AAQ3B,MAAM,oCAAoC,KAAK,OAAO;AAAA,EAC3D,iBAAiB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EAC5C,mBAAmB,KAAK,SAAS,KAAK,OAAO,CAAC;AAChD,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const xScalarClientConfigCookieSchema: import("@scalar/typebox").TObject<{
|
|
2
|
-
name: import("@scalar/typebox").TString;
|
|
3
|
-
value: import("@scalar/typebox").TString;
|
|
4
|
-
domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
5
|
-
path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
6
|
-
}>;
|
|
7
|
-
export type XScalarClientConfigCookie = {
|
|
8
|
-
/**
|
|
9
|
-
* Defines the cookie name and its value. A cookie definition begins with a name-value pair.
|
|
10
|
-
*/
|
|
11
|
-
name: string;
|
|
12
|
-
/**
|
|
13
|
-
* Defines the cookie value.
|
|
14
|
-
*/
|
|
15
|
-
value: string;
|
|
16
|
-
/**
|
|
17
|
-
* Defines the host to which the cookie will be sent.
|
|
18
|
-
*/
|
|
19
|
-
domain?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Indicates the path that must exist in the requested URL for the browser to send the Cookie header.
|
|
22
|
-
*/
|
|
23
|
-
path?: string;
|
|
24
|
-
};
|
|
25
|
-
export declare const xScalarClientConfigCookiesSchema: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TObject<{
|
|
26
|
-
name: import("@scalar/typebox").TString;
|
|
27
|
-
value: import("@scalar/typebox").TString;
|
|
28
|
-
domain: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
29
|
-
path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
30
|
-
}>>;
|
|
31
|
-
export type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>;
|
|
32
|
-
//# sourceMappingURL=x-scalar-client-config-cookies.d.ts.map
|
package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"x-scalar-client-config-cookies.d.ts","sourceRoot":"","sources":["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B;;;;;EAK1C,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IACZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAED,eAAO,MAAM,gCAAgC;;;;;GAA8D,CAAA;AAC3G,MAAM,MAAM,0BAA0B,GAAG,MAAM,CAAC,MAAM,EAAE,yBAAyB,CAAC,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Type } from "@scalar/typebox";
|
|
2
|
-
const xScalarClientConfigCookieSchema = Type.Object({
|
|
3
|
-
name: Type.String(),
|
|
4
|
-
value: Type.String(),
|
|
5
|
-
domain: Type.Optional(Type.String()),
|
|
6
|
-
path: Type.Optional(Type.String())
|
|
7
|
-
});
|
|
8
|
-
const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema);
|
|
9
|
-
export {
|
|
10
|
-
xScalarClientConfigCookieSchema,
|
|
11
|
-
xScalarClientConfigCookiesSchema
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=x-scalar-client-config-cookies.js.map
|
package/dist/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../src/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nexport const xScalarClientConfigCookieSchema = Type.Object({\n name: Type.String(),\n value: Type.String(),\n domain: Type.Optional(Type.String()),\n path: Type.Optional(Type.String()),\n})\n\nexport type XScalarClientConfigCookie = {\n /**\n * Defines the cookie name and its value. A cookie definition begins with a name-value pair.\n */\n name: string\n /**\n * Defines the cookie value.\n */\n value: string\n /**\n * Defines the host to which the cookie will be sent.\n */\n domain?: string\n /**\n * Indicates the path that must exist in the requested URL for the browser to send the Cookie header.\n */\n path?: string\n}\n\nexport const xScalarClientConfigCookiesSchema = Type.Record(Type.String(), xScalarClientConfigCookieSchema)\nexport type XScalarClientConfigCookies = Record<string, XScalarClientConfigCookie>\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAEd,MAAM,kCAAkC,KAAK,OAAO;AAAA,EACzD,MAAM,KAAK,OAAO;AAAA,EAClB,OAAO,KAAK,OAAO;AAAA,EACnB,QAAQ,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA,EACnC,MAAM,KAAK,SAAS,KAAK,OAAO,CAAC;AACnC,CAAC;AAqBM,MAAM,mCAAmC,KAAK,OAAO,KAAK,OAAO,GAAG,+BAA+B;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|