@scalar/workspace-store 0.17.1 → 0.18.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 +47 -0
- package/dist/client.d.ts +31 -19
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +267 -88
- package/dist/client.js.map +3 -3
- package/dist/events/bus.d.ts +86 -0
- package/dist/events/bus.d.ts.map +1 -0
- package/dist/events/bus.js +58 -0
- package/dist/events/bus.js.map +7 -0
- package/dist/events/definitions/analytics.d.ts +27 -0
- package/dist/events/definitions/analytics.d.ts.map +1 -0
- package/dist/events/definitions/analytics.js +1 -0
- package/dist/events/definitions/analytics.js.map +7 -0
- package/dist/events/definitions/auth.d.ts +30 -0
- package/dist/events/definitions/auth.d.ts.map +1 -0
- package/dist/events/definitions/auth.js +1 -0
- package/dist/events/definitions/auth.js.map +7 -0
- package/dist/events/definitions/document.d.ts +14 -0
- package/dist/events/definitions/document.d.ts.map +1 -0
- package/dist/events/definitions/document.js +1 -0
- package/dist/events/definitions/document.js.map +7 -0
- package/dist/events/definitions/index.d.ts +10 -0
- package/dist/events/definitions/index.d.ts.map +1 -0
- package/dist/events/definitions/index.js +1 -0
- package/dist/events/definitions/index.js.map +7 -0
- package/dist/events/definitions/meta.d.ts +11 -0
- package/dist/events/definitions/meta.d.ts.map +1 -0
- package/dist/events/definitions/meta.js +1 -0
- package/dist/events/definitions/meta.js.map +7 -0
- package/dist/events/definitions/operation.d.ts +11 -0
- package/dist/events/definitions/operation.d.ts.map +1 -0
- package/dist/events/definitions/operation.js +1 -0
- package/dist/events/definitions/operation.js.map +7 -0
- package/dist/events/definitions/server.d.ts +50 -0
- package/dist/events/definitions/server.d.ts.map +1 -0
- package/dist/events/definitions/server.js +1 -0
- package/dist/events/definitions/server.js.map +7 -0
- package/dist/events/definitions/ui.d.ts +52 -0
- package/dist/events/definitions/ui.d.ts.map +1 -0
- package/dist/events/definitions/ui.js +1 -0
- package/dist/events/definitions/ui.js.map +7 -0
- package/dist/events/index.d.ts +2 -1
- package/dist/events/index.d.ts.map +1 -1
- package/dist/events/index.js +3 -1
- package/dist/events/index.js.map +2 -2
- package/dist/events/listeners.d.ts +2 -1
- package/dist/events/listeners.d.ts.map +1 -1
- package/dist/events/listeners.js.map +2 -2
- package/dist/events/{definitions.d.ts → old-definitions.d.ts} +35 -11
- package/dist/events/old-definitions.d.ts.map +1 -0
- package/dist/events/{definitions.js → old-definitions.js} +1 -1
- package/dist/events/old-definitions.js.map +7 -0
- package/dist/helpers/debounce.d.ts +28 -0
- package/dist/helpers/debounce.d.ts.map +1 -0
- package/dist/helpers/debounce.js +31 -0
- package/dist/helpers/debounce.js.map +7 -0
- package/dist/helpers/detect-changes-proxy.d.ts +47 -0
- package/dist/helpers/detect-changes-proxy.d.ts.map +1 -0
- package/dist/helpers/detect-changes-proxy.js +59 -0
- package/dist/helpers/detect-changes-proxy.js.map +7 -0
- package/dist/helpers/overrides-proxy.d.ts +17 -6
- package/dist/helpers/overrides-proxy.d.ts.map +1 -1
- package/dist/helpers/overrides-proxy.js +33 -18
- package/dist/helpers/overrides-proxy.js.map +3 -3
- package/dist/helpers/unpack-proxy.d.ts +6 -0
- package/dist/helpers/unpack-proxy.d.ts.map +1 -0
- package/dist/helpers/unpack-proxy.js +9 -0
- package/dist/helpers/unpack-proxy.js.map +7 -0
- package/dist/navigation/get-navigation-options.d.ts +1 -1
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.js +66 -54
- package/dist/navigation/get-navigation-options.js.map +2 -2
- package/dist/navigation/helpers/get-tag.d.ts +7 -2
- package/dist/navigation/helpers/get-tag.d.ts.map +1 -1
- package/dist/navigation/helpers/get-tag.js +16 -2
- package/dist/navigation/helpers/get-tag.js.map +2 -2
- package/dist/navigation/helpers/traverse-description.d.ts +7 -2
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.js +24 -6
- package/dist/navigation/helpers/traverse-description.js.map +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts +5 -2
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +53 -15
- package/dist/navigation/helpers/traverse-document.js.map +2 -2
- package/dist/navigation/helpers/traverse-paths.d.ts +9 -3
- package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-paths.js +63 -9
- package/dist/navigation/helpers/traverse-paths.js.map +2 -2
- package/dist/navigation/helpers/traverse-schemas.d.ts +7 -8
- package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-schemas.js +35 -7
- package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
- package/dist/navigation/helpers/traverse-tags.d.ts +8 -4
- package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-tags.js +65 -17
- package/dist/navigation/helpers/traverse-tags.js.map +2 -2
- package/dist/navigation/helpers/traverse-webhooks.d.ts +9 -3
- package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-webhooks.js +43 -17
- package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
- package/dist/navigation/types.d.ts +5 -24
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/persistence/index.d.ts +86 -0
- package/dist/persistence/index.d.ts.map +1 -0
- package/dist/persistence/index.js +196 -0
- package/dist/persistence/index.js.map +7 -0
- package/dist/persistence/indexdb.d.ts +87 -0
- package/dist/persistence/indexdb.d.ts.map +1 -0
- package/dist/persistence/indexdb.js +125 -0
- package/dist/persistence/indexdb.js.map +7 -0
- package/dist/{plugins.d.ts → plugins/bundler/index.d.ts} +1 -1
- package/dist/plugins/bundler/index.d.ts.map +1 -0
- package/dist/{plugins.js → plugins/bundler/index.js} +2 -2
- package/dist/{plugins.js.map → plugins/bundler/index.js.map} +1 -1
- package/dist/plugins/client/index.d.ts +3 -0
- package/dist/plugins/client/index.d.ts.map +1 -0
- package/dist/plugins/client/index.js +5 -0
- package/dist/plugins/client/index.js.map +7 -0
- package/dist/plugins/client/persistence.d.ts +13 -0
- package/dist/plugins/client/persistence.d.ts.map +1 -0
- package/dist/plugins/client/persistence.js +57 -0
- package/dist/plugins/client/persistence.js.map +7 -0
- package/dist/schemas/extensions.d.ts +1 -0
- package/dist/schemas/extensions.d.ts.map +1 -1
- package/dist/schemas/extensions.js +1 -0
- package/dist/schemas/extensions.js.map +2 -2
- package/dist/schemas/inmemory-workspace.d.ts +71 -12
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/inmemory-workspace.js +1 -9
- package/dist/schemas/inmemory-workspace.js.map +2 -2
- package/dist/schemas/navigation.d.ts +128 -1
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +20 -1
- package/dist/schemas/navigation.js.map +2 -2
- package/dist/schemas/reference-config/index.d.ts +231 -198
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.js.map +2 -2
- package/dist/schemas/reference-config/settings.d.ts +33 -1
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.js +1 -1
- package/dist/schemas/reference-config/settings.js.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +1131 -37
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +16 -9
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/parameter.d.ts +23 -1
- package/dist/schemas/v3.1/strict/parameter.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/parameter.js +5 -1
- package/dist/schemas/v3.1/strict/parameter.js.map +2 -2
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +2 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js +4 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +34 -7
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/config.js.map +1 -1
- package/dist/schemas/workspace-specification/index.d.ts +36 -3
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +238 -10
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/schemas/workspace.js +3 -1
- package/dist/schemas/workspace.js.map +2 -2
- package/dist/server.d.ts +4 -3
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +7 -6
- package/dist/server.js.map +2 -2
- package/dist/workspace-plugin.d.ts +49 -0
- package/dist/workspace-plugin.d.ts.map +1 -0
- package/dist/workspace-plugin.js +1 -0
- package/dist/workspace-plugin.js.map +7 -0
- package/package.json +21 -9
- package/dist/events/definitions.d.ts.map +0 -1
- package/dist/events/definitions.js.map +0 -7
- package/dist/plugins.d.ts.map +0 -1
|
@@ -33,7 +33,8 @@ const REF_DEFINITIONS = {
|
|
|
33
33
|
TraversedSchemaObject: "TraversedSchemaObject",
|
|
34
34
|
TraversedWebhookObject: "TraversedWebhookObject",
|
|
35
35
|
TraversedTagObject: "TraversedTagObject",
|
|
36
|
-
TraversedEntryObject: "TraversedEntryObject"
|
|
36
|
+
TraversedEntryObject: "TraversedEntryObject",
|
|
37
|
+
TraversedDocumentObject: "TraversedDocumentObject"
|
|
37
38
|
};
|
|
38
39
|
const ComponentsObjectRef = Type.Ref(REF_DEFINITIONS.ComponentsObject);
|
|
39
40
|
const SecurityRequirementObjectRef = Type.Ref(REF_DEFINITIONS.SecurityRequirementObject);
|
|
@@ -64,6 +65,7 @@ const OAuthFlowsObjectRef = Type.Ref(REF_DEFINITIONS.OAuthFlowsObject);
|
|
|
64
65
|
const ServerVariableObjectRef = Type.Ref(REF_DEFINITIONS.ServerVariableObject);
|
|
65
66
|
const TraversedEntryObjectRef = Type.Ref(REF_DEFINITIONS.TraversedEntryObject);
|
|
66
67
|
const TraversedTagObjectRef = Type.Ref(REF_DEFINITIONS.TraversedTagObject);
|
|
68
|
+
const TraversedDocumentObjectRef = Type.Ref(REF_DEFINITIONS.TraversedDocumentObject);
|
|
67
69
|
export {
|
|
68
70
|
CallbackObjectRef,
|
|
69
71
|
ComponentsObjectRef,
|
|
@@ -92,6 +94,7 @@ export {
|
|
|
92
94
|
ServerObjectRef,
|
|
93
95
|
ServerVariableObjectRef,
|
|
94
96
|
TagObjectRef,
|
|
97
|
+
TraversedDocumentObjectRef,
|
|
95
98
|
TraversedEntryObjectRef,
|
|
96
99
|
TraversedTagObjectRef,
|
|
97
100
|
XMLObjectRef
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/ref-definitions.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Reference definitions for OpenAPI 3.1 objects.\n * These can be used with Type.Ref to create references to these objects in other schemas.\n *\n * Referencing them this way helps avoid circular dependencies in TypeBox schemas while keeping the overhead performance lower.\n */\nexport const REF_DEFINITIONS = {\n ComponentsObject: 'ComponentsObject',\n SecurityRequirementObject: 'SecurityRequirementObject',\n TagObject: 'TagObject',\n CallbackObject: 'CallbackObject',\n PathsObject: 'PathsObject',\n PathItemObject: 'PathItemObject',\n OperationObject: 'OperationObject',\n SchemaObject: 'SchemaObject',\n EncodingObject: 'EncodingObject',\n HeaderObject: 'HeaderObject',\n MediaTypeObject: 'MediaTypeObject',\n ServerObject: 'ServerObject',\n ExternalDocumentationObject: 'ExternalDocumentationObject',\n InfoObject: 'InfoObject',\n ContactObject: 'ContactObject',\n LicenseObject: 'LicenseObject',\n ResponseObject: 'ResponseObject',\n ResponsesObject: 'ResponsesObject',\n ParameterObject: 'ParameterObject',\n ExampleObject: 'ExampleObject',\n RequestBodyObject: 'RequestBodyObject',\n SecuritySchemeObject: 'SecuritySchemeObject',\n LinkObject: 'LinkObject',\n XMLObject: 'XMLObject',\n DiscriminatorObject: 'DiscriminatorObject',\n OAuthFlowsObject: 'OAuthFlowsObject',\n ServerVariableObject: 'ServerVariableObject',\n\n // Navigation schemas\n TraversedDescriptionObject: 'TraversedDescriptionObject',\n TraversedOperationObject: 'TraversedOperationObject',\n TraversedSchemaObject: 'TraversedSchemaObject',\n TraversedWebhookObject: 'TraversedWebhookObject',\n TraversedTagObject: 'TraversedTagObject',\n TraversedEntryObject: 'TraversedEntryObject',\n} as const\n\n// Type alias for schema definitions\nexport const ComponentsObjectRef = Type.Ref(REF_DEFINITIONS.ComponentsObject)\nexport const SecurityRequirementObjectRef = Type.Ref(REF_DEFINITIONS.SecurityRequirementObject)\nexport const TagObjectRef = Type.Ref(REF_DEFINITIONS.TagObject)\nexport const CallbackObjectRef = Type.Ref(REF_DEFINITIONS.CallbackObject)\nexport const PathItemObjectRef = Type.Ref(REF_DEFINITIONS.PathItemObject)\nexport const PathsObjectRef = Type.Ref(REF_DEFINITIONS.PathsObject)\nexport const OperationObjectRef = Type.Ref(REF_DEFINITIONS.OperationObject)\nexport const SchemaObjectRef = Type.Ref(REF_DEFINITIONS.SchemaObject)\nexport const EncodingObjectRef = Type.Ref(REF_DEFINITIONS.EncodingObject)\nexport const HeaderObjectRef = Type.Ref(REF_DEFINITIONS.HeaderObject)\nexport const MediaTypeObjectRef = Type.Ref(REF_DEFINITIONS.MediaTypeObject)\nexport const ServerObjectRef = Type.Ref(REF_DEFINITIONS.ServerObject)\nexport const ExternalDocumentationObjectRef = Type.Ref(REF_DEFINITIONS.ExternalDocumentationObject)\nexport const InfoObjectRef = Type.Ref(REF_DEFINITIONS.InfoObject)\nexport const ContactObjectRef = Type.Ref(REF_DEFINITIONS.ContactObject)\nexport const LicenseObjectRef = Type.Ref(REF_DEFINITIONS.LicenseObject)\nexport const ResponseObjectRef = Type.Ref(REF_DEFINITIONS.ResponseObject)\nexport const ResponsesObjectRef = Type.Ref(REF_DEFINITIONS.ResponsesObject)\nexport const ParameterObjectRef = Type.Ref(REF_DEFINITIONS.ParameterObject)\nexport const ExampleObjectRef = Type.Ref(REF_DEFINITIONS.ExampleObject)\nexport const RequestBodyObjectRef = Type.Ref(REF_DEFINITIONS.RequestBodyObject)\nexport const SecuritySchemeObjectRef = Type.Ref(REF_DEFINITIONS.SecuritySchemeObject)\nexport const LinkObjectRef = Type.Ref(REF_DEFINITIONS.LinkObject)\nexport const XMLObjectRef = Type.Ref(REF_DEFINITIONS.XMLObject)\nexport const DiscriminatorObjectRef = Type.Ref(REF_DEFINITIONS.DiscriminatorObject)\nexport const OAuthFlowsObjectRef = Type.Ref(REF_DEFINITIONS.OAuthFlowsObject)\nexport const ServerVariableObjectRef = Type.Ref(REF_DEFINITIONS.ServerVariableObject)\n\n// Navigation schema references\nexport const TraversedEntryObjectRef = Type.Ref(REF_DEFINITIONS.TraversedEntryObject)\nexport const TraversedTagObjectRef = Type.Ref(REF_DEFINITIONS.TraversedTagObject)\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAQd,MAAM,kBAAkB;AAAA,EAC7B,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,kBAAkB;AAAA,EAClB,sBAAsB;AAAA;AAAA,EAGtB,4BAA4B;AAAA,EAC5B,0BAA0B;AAAA,EAC1B,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;
|
|
4
|
+
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\n/**\n * Reference definitions for OpenAPI 3.1 objects.\n * These can be used with Type.Ref to create references to these objects in other schemas.\n *\n * Referencing them this way helps avoid circular dependencies in TypeBox schemas while keeping the overhead performance lower.\n */\nexport const REF_DEFINITIONS = {\n ComponentsObject: 'ComponentsObject',\n SecurityRequirementObject: 'SecurityRequirementObject',\n TagObject: 'TagObject',\n CallbackObject: 'CallbackObject',\n PathsObject: 'PathsObject',\n PathItemObject: 'PathItemObject',\n OperationObject: 'OperationObject',\n SchemaObject: 'SchemaObject',\n EncodingObject: 'EncodingObject',\n HeaderObject: 'HeaderObject',\n MediaTypeObject: 'MediaTypeObject',\n ServerObject: 'ServerObject',\n ExternalDocumentationObject: 'ExternalDocumentationObject',\n InfoObject: 'InfoObject',\n ContactObject: 'ContactObject',\n LicenseObject: 'LicenseObject',\n ResponseObject: 'ResponseObject',\n ResponsesObject: 'ResponsesObject',\n ParameterObject: 'ParameterObject',\n ExampleObject: 'ExampleObject',\n RequestBodyObject: 'RequestBodyObject',\n SecuritySchemeObject: 'SecuritySchemeObject',\n LinkObject: 'LinkObject',\n XMLObject: 'XMLObject',\n DiscriminatorObject: 'DiscriminatorObject',\n OAuthFlowsObject: 'OAuthFlowsObject',\n ServerVariableObject: 'ServerVariableObject',\n\n // Navigation schemas\n TraversedDescriptionObject: 'TraversedDescriptionObject',\n TraversedOperationObject: 'TraversedOperationObject',\n TraversedSchemaObject: 'TraversedSchemaObject',\n TraversedWebhookObject: 'TraversedWebhookObject',\n TraversedTagObject: 'TraversedTagObject',\n TraversedEntryObject: 'TraversedEntryObject',\n TraversedDocumentObject: 'TraversedDocumentObject',\n} as const\n\n// Type alias for schema definitions\nexport const ComponentsObjectRef = Type.Ref(REF_DEFINITIONS.ComponentsObject)\nexport const SecurityRequirementObjectRef = Type.Ref(REF_DEFINITIONS.SecurityRequirementObject)\nexport const TagObjectRef = Type.Ref(REF_DEFINITIONS.TagObject)\nexport const CallbackObjectRef = Type.Ref(REF_DEFINITIONS.CallbackObject)\nexport const PathItemObjectRef = Type.Ref(REF_DEFINITIONS.PathItemObject)\nexport const PathsObjectRef = Type.Ref(REF_DEFINITIONS.PathsObject)\nexport const OperationObjectRef = Type.Ref(REF_DEFINITIONS.OperationObject)\nexport const SchemaObjectRef = Type.Ref(REF_DEFINITIONS.SchemaObject)\nexport const EncodingObjectRef = Type.Ref(REF_DEFINITIONS.EncodingObject)\nexport const HeaderObjectRef = Type.Ref(REF_DEFINITIONS.HeaderObject)\nexport const MediaTypeObjectRef = Type.Ref(REF_DEFINITIONS.MediaTypeObject)\nexport const ServerObjectRef = Type.Ref(REF_DEFINITIONS.ServerObject)\nexport const ExternalDocumentationObjectRef = Type.Ref(REF_DEFINITIONS.ExternalDocumentationObject)\nexport const InfoObjectRef = Type.Ref(REF_DEFINITIONS.InfoObject)\nexport const ContactObjectRef = Type.Ref(REF_DEFINITIONS.ContactObject)\nexport const LicenseObjectRef = Type.Ref(REF_DEFINITIONS.LicenseObject)\nexport const ResponseObjectRef = Type.Ref(REF_DEFINITIONS.ResponseObject)\nexport const ResponsesObjectRef = Type.Ref(REF_DEFINITIONS.ResponsesObject)\nexport const ParameterObjectRef = Type.Ref(REF_DEFINITIONS.ParameterObject)\nexport const ExampleObjectRef = Type.Ref(REF_DEFINITIONS.ExampleObject)\nexport const RequestBodyObjectRef = Type.Ref(REF_DEFINITIONS.RequestBodyObject)\nexport const SecuritySchemeObjectRef = Type.Ref(REF_DEFINITIONS.SecuritySchemeObject)\nexport const LinkObjectRef = Type.Ref(REF_DEFINITIONS.LinkObject)\nexport const XMLObjectRef = Type.Ref(REF_DEFINITIONS.XMLObject)\nexport const DiscriminatorObjectRef = Type.Ref(REF_DEFINITIONS.DiscriminatorObject)\nexport const OAuthFlowsObjectRef = Type.Ref(REF_DEFINITIONS.OAuthFlowsObject)\nexport const ServerVariableObjectRef = Type.Ref(REF_DEFINITIONS.ServerVariableObject)\n\n// Navigation schema references\nexport const TraversedEntryObjectRef = Type.Ref(REF_DEFINITIONS.TraversedEntryObject)\nexport const TraversedTagObjectRef = Type.Ref(REF_DEFINITIONS.TraversedTagObject)\nexport const TraversedDocumentObjectRef = Type.Ref(REF_DEFINITIONS.TraversedDocumentObject)\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAY;AAQd,MAAM,kBAAkB;AAAA,EAC7B,kBAAkB;AAAA,EAClB,2BAA2B;AAAA,EAC3B,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,sBAAsB;AAAA,EACtB,YAAY;AAAA,EACZ,WAAW;AAAA,EACX,qBAAqB;AAAA,EACrB,kBAAkB;AAAA,EAClB,sBAAsB;AAAA;AAAA,EAGtB,4BAA4B;AAAA,EAC5B,0BAA0B;AAAA,EAC1B,uBAAuB;AAAA,EACvB,wBAAwB;AAAA,EACxB,oBAAoB;AAAA,EACpB,sBAAsB;AAAA,EACtB,yBAAyB;AAC3B;AAGO,MAAM,sBAAsB,KAAK,IAAI,gBAAgB,gBAAgB;AACrE,MAAM,+BAA+B,KAAK,IAAI,gBAAgB,yBAAyB;AACvF,MAAM,eAAe,KAAK,IAAI,gBAAgB,SAAS;AACvD,MAAM,oBAAoB,KAAK,IAAI,gBAAgB,cAAc;AAC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I,gBAAgB,uBAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1028,6 +1028,10 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1028
1028
|
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1029
1029
|
}>, import("@scalar/typebox").TObject<{
|
|
1030
1030
|
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1031
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1032
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1033
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1034
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1031
1035
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1032
1036
|
style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1033
1037
|
explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -1061,6 +1065,10 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1061
1065
|
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1062
1066
|
}>, import("@scalar/typebox").TObject<{
|
|
1063
1067
|
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1068
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1069
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1070
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1071
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1064
1072
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1065
1073
|
content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
|
|
1066
1074
|
}>]>]>;
|
|
@@ -1253,12 +1261,16 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1253
1261
|
}>>>;
|
|
1254
1262
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1255
1263
|
'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
|
|
1256
|
-
|
|
1264
|
+
'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1265
|
+
'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1266
|
+
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
|
|
1257
1267
|
}>, import("@scalar/typebox").TObject<{
|
|
1258
1268
|
'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1259
1269
|
name: import("@scalar/typebox").TString;
|
|
1260
1270
|
tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
|
|
1261
1271
|
}>>>;
|
|
1272
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1273
|
+
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
1262
1274
|
}>]>]>;
|
|
1263
1275
|
TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1264
1276
|
id: import("@scalar/typebox").TString;
|
|
@@ -1357,7 +1369,27 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1357
1369
|
}>, import("@scalar/typebox").TObject<{
|
|
1358
1370
|
type: import("@scalar/typebox").TLiteral<"example">;
|
|
1359
1371
|
name: import("@scalar/typebox").TString;
|
|
1372
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1373
|
+
id: import("@scalar/typebox").TString;
|
|
1374
|
+
title: import("@scalar/typebox").TString;
|
|
1375
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1376
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
1377
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1378
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1379
|
+
id: import("@scalar/typebox").TString;
|
|
1380
|
+
title: import("@scalar/typebox").TString;
|
|
1381
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1382
|
+
type: import("@scalar/typebox").TLiteral<"models">;
|
|
1383
|
+
name: import("@scalar/typebox").TString;
|
|
1384
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1360
1385
|
}>]>]>;
|
|
1386
|
+
TraversedDocumentObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1387
|
+
id: import("@scalar/typebox").TString;
|
|
1388
|
+
title: import("@scalar/typebox").TString;
|
|
1389
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1390
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
1391
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1392
|
+
}>]>;
|
|
1361
1393
|
}, "ServerObject">>>;
|
|
1362
1394
|
baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1363
1395
|
}>>;
|
|
@@ -1393,7 +1425,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1393
1425
|
ogImage: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1394
1426
|
twitterCard: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1395
1427
|
}>>;
|
|
1396
|
-
httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").
|
|
1428
|
+
httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "fsharp/httpclient" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">>>;
|
|
1397
1429
|
}>>;
|
|
1398
1430
|
}>;
|
|
1399
1431
|
export type Config = {
|
|
@@ -1403,11 +1435,6 @@ export type DocumentConfiguration = Config & PartialDeep<{
|
|
|
1403
1435
|
'x-scalar-reference-config': {
|
|
1404
1436
|
tagSort: TraverseSpecOptions['tagsSorter'];
|
|
1405
1437
|
operationsSorter: TraverseSpecOptions['operationsSorter'];
|
|
1406
|
-
getHeadingId: TraverseSpecOptions['getHeadingId'];
|
|
1407
|
-
getOperationId: TraverseSpecOptions['getOperationId'];
|
|
1408
|
-
getWebhookId: TraverseSpecOptions['getWebhookId'];
|
|
1409
|
-
getModelId: TraverseSpecOptions['getModelId'];
|
|
1410
|
-
getTagId: TraverseSpecOptions['getTagId'];
|
|
1411
1438
|
generateOperationSlug?: (details: {
|
|
1412
1439
|
path: string;
|
|
1413
1440
|
operationId?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,M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qB,CAAC,EAAE,CAAC,OAAO,EAAE;YAChC,IAAI,EAAE,MAAM,CAAA;YACZ,WAAW,CAAC,EAAE,MAAM,CAAA;YACpB,MAAM,EAAE,MAAM,CAAA;YACd,OAAO,CAAC,EAAE,MAAM,CAAA;SACjB,KAAK,MAAM,CAAA;QACZ,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC5D,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QACxD,iBAAiB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;QAC1D,mBAAmB,CAAC,EAAE,CAAC,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,MAAM,CAAA;KAC7E,CAAA;CACF,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/schemas/workspace-specification/config.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { type ReferenceConfig, ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = {\n 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>\n}\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n
|
|
4
|
+
"sourcesContent": ["import { Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { type ReferenceConfig, ReferenceConfigSchema } from '@/schemas/reference-config'\n\nexport const ConfigSchema = Type.Partial(\n Type.Object({\n 'x-scalar-reference-config': ReferenceConfigSchema,\n }),\n)\n\nexport type Config = {\n 'x-scalar-reference-config'?: PartialDeep<ReferenceConfig>\n}\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n generateOperationSlug?: (details: {\n path: string\n operationId?: string\n method: string\n summary?: string\n }) => string\n generateHeadingSlug?: (details: { slug?: string }) => string\n generateTagSlug?: (details: { name?: string }) => string\n generateModelSlug?: (details: { name?: string }) => string\n generateWebhookSlug?: (details: { name: string; method?: string }) => string\n }\n }>\n"],
|
|
5
5
|
"mappings": "AAAA,SAAS,YAAY;AAIrB,SAA+B,6BAA6B;AAErD,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1040,6 +1040,10 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1040
1040
|
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1041
1041
|
}>, import("@scalar/typebox").TObject<{
|
|
1042
1042
|
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1043
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1044
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1045
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1046
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1043
1047
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1044
1048
|
style: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1045
1049
|
explode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -1073,6 +1077,10 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1073
1077
|
allowEmptyValue: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1074
1078
|
}>, import("@scalar/typebox").TObject<{
|
|
1075
1079
|
'x-global': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1080
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1081
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1082
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1083
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1076
1084
|
}>]>, import("@scalar/typebox").TObject<{
|
|
1077
1085
|
content: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"MediaTypeObject">>>;
|
|
1078
1086
|
}>]>]>;
|
|
@@ -1265,12 +1273,16 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1265
1273
|
}>>>;
|
|
1266
1274
|
'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1267
1275
|
'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
|
|
1268
|
-
|
|
1276
|
+
'x-scalar-original-source-url': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1277
|
+
'x-scalar-watch-mode': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1278
|
+
"x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"TraversedDocumentObject">>;
|
|
1269
1279
|
}>, import("@scalar/typebox").TObject<{
|
|
1270
1280
|
'x-tagGroups': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
|
|
1271
1281
|
name: import("@scalar/typebox").TString;
|
|
1272
1282
|
tags: import("@scalar/typebox").TArray<import("@scalar/typebox").TString>;
|
|
1273
1283
|
}>>>;
|
|
1284
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1285
|
+
'x-scalar-original-document-hash': import("@scalar/typebox").TString;
|
|
1274
1286
|
}>]>]>;
|
|
1275
1287
|
TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1276
1288
|
id: import("@scalar/typebox").TString;
|
|
@@ -1369,7 +1381,27 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1369
1381
|
}>, import("@scalar/typebox").TObject<{
|
|
1370
1382
|
type: import("@scalar/typebox").TLiteral<"example">;
|
|
1371
1383
|
name: import("@scalar/typebox").TString;
|
|
1384
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1385
|
+
id: import("@scalar/typebox").TString;
|
|
1386
|
+
title: import("@scalar/typebox").TString;
|
|
1387
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1388
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
1389
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1390
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1391
|
+
id: import("@scalar/typebox").TString;
|
|
1392
|
+
title: import("@scalar/typebox").TString;
|
|
1393
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1394
|
+
type: import("@scalar/typebox").TLiteral<"models">;
|
|
1395
|
+
name: import("@scalar/typebox").TString;
|
|
1396
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1372
1397
|
}>]>]>;
|
|
1398
|
+
TraversedDocumentObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1399
|
+
id: import("@scalar/typebox").TString;
|
|
1400
|
+
title: import("@scalar/typebox").TString;
|
|
1401
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1402
|
+
type: import("@scalar/typebox").TLiteral<"document">;
|
|
1403
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1404
|
+
}>]>;
|
|
1373
1405
|
}, "ServerObject">>>;
|
|
1374
1406
|
baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1375
1407
|
}>>;
|
|
@@ -1405,13 +1437,14 @@ export declare const WorkspaceSpecificationSchema: import("@scalar/typebox").TIn
|
|
|
1405
1437
|
ogImage: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1406
1438
|
twitterCard: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1407
1439
|
}>>;
|
|
1408
|
-
httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").
|
|
1440
|
+
httpClients: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "fsharp/httpclient" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">>>;
|
|
1409
1441
|
}>>;
|
|
1410
1442
|
}>, import("@scalar/typebox").TObject<{
|
|
1411
1443
|
"x-scalar-dark-mode": import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1412
1444
|
"x-scalar-default-client": import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "fsharp/httpclient" | "go/native" | "http/http1.1" | "java/asynchttp" | "java/nethttp" | "java/okhttp" | "java/unirest" | "js/axios" | "js/fetch" | "js/jquery" | "js/ofetch" | "js/xhr" | "kotlin/okhttp" | "node/axios" | "node/fetch" | "node/ofetch" | "node/undici" | "objc/nsurlsession" | "ocaml/cohttp" | "php/curl" | "php/guzzle" | "powershell/restmethod" | "powershell/webrequest" | "python/python3" | "python/requests" | "python/httpx_sync" | "python/httpx_async" | "r/httr" | "ruby/native" | "rust/reqwest" | "shell/curl" | "shell/httpie" | "shell/wget" | "swift/nsurlsession">[]>>;
|
|
1413
1445
|
"x-scalar-active-document": import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1414
|
-
"x-scalar-theme": import("@scalar/typebox").TOptional<import("@scalar/typebox").
|
|
1446
|
+
"x-scalar-theme": import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<import("@scalar/typebox").TLiteral<"default" | "alternate" | "moon" | "purple" | "solarized" | "bluePlanet" | "deepSpace" | "saturn" | "kepler" | "elysiajs" | "fastify" | "mars" | "laserwave" | "none">[]>>;
|
|
1447
|
+
"x-scalar-sidebar-width": import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
1415
1448
|
}>]>;
|
|
1416
1449
|
export type WorkspaceSpecification = {
|
|
1417
1450
|
workspace: 'draft';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AACpF,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,wCAAwC,CAAA;AAE9E,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAA;AAC7E,OAAO,EAAE,KAAK,aAAa,EAAuB,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AACpF,OAAO,EAAE,KAAK,IAAI,EAAc,MAAM,wCAAwC,CAAA;AAE9E,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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