@scalar/workspace-store 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +15 -0
  3. package/dist/client.d.ts +10 -3
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/client.js +50 -1
  6. package/dist/client.js.map +2 -2
  7. package/dist/helpers/general.d.ts +25 -0
  8. package/dist/helpers/general.d.ts.map +1 -1
  9. package/dist/helpers/general.js +4 -0
  10. package/dist/helpers/general.js.map +2 -2
  11. package/dist/mutators/helpers.d.ts +1243 -1155
  12. package/dist/mutators/helpers.d.ts.map +1 -1
  13. package/dist/navigation/helpers/traverse-description.d.ts +2 -1
  14. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  15. package/dist/navigation/helpers/traverse-description.js.map +2 -2
  16. package/dist/navigation/helpers/traverse-document.d.ts +89 -2
  17. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  18. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  19. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  20. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  21. package/dist/navigation/helpers/traverse-schemas.d.ts +2 -1
  22. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  23. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  24. package/dist/navigation/helpers/traverse-tags.d.ts +2 -1
  25. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  26. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts +2 -1
  28. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  29. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  30. package/dist/navigation/types.d.ts +1 -39
  31. package/dist/navigation/types.d.ts.map +1 -1
  32. package/dist/schemas/inmemory-workspace.d.ts +68 -0
  33. package/dist/schemas/inmemory-workspace.d.ts.map +1 -0
  34. package/dist/schemas/inmemory-workspace.js +14 -0
  35. package/dist/schemas/inmemory-workspace.js.map +7 -0
  36. package/dist/schemas/navigation.d.ts +148 -0
  37. package/dist/schemas/navigation.d.ts.map +1 -0
  38. package/dist/schemas/navigation.js +76 -0
  39. package/dist/schemas/navigation.js.map +7 -0
  40. package/dist/schemas/v3.1/strict/openapi-document.d.ts +47 -0
  41. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  42. package/dist/schemas/v3.1/strict/openapi-document.js +4 -1
  43. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  44. package/dist/schemas/workspace-specification/index.d.ts +47 -0
  45. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  46. package/dist/server.d.ts +141 -141
  47. package/dist/server.d.ts.map +1 -1
  48. package/dist/server.js.map +1 -1
  49. package/package.json +6 -6
@@ -0,0 +1,68 @@
1
+ import { type Static } from '@sinclair/typebox';
2
+ export declare const InMemoryWorkspaceSchema: import("@sinclair/typebox").TObject<{
3
+ meta: import("@sinclair/typebox").TObject<{
4
+ "x-scalar-dark-mode": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
5
+ "x-scalar-default-client": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
6
+ "x-scalar-active-document": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
7
+ "x-scalar-theme": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
8
+ }>;
9
+ documentConfigs: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
10
+ 'x-scalar-reference-config': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
11
+ title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
12
+ slug: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
13
+ settings: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
14
+ proxyUrl: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
15
+ searchKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
16
+ }>>;
17
+ tagSort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TLiteral<"alpha">>;
18
+ operationSort: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"method">, import("@sinclair/typebox").TLiteral<"alpha">]>>;
19
+ routing: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
20
+ basePath: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
21
+ pathNotFound: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
22
+ }>>;
23
+ appearance: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
24
+ layout: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"modern">, import("@sinclair/typebox").TLiteral<"classic">]>>;
25
+ theme: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
26
+ favicon: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
27
+ initialColorMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"auto">, import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"light">]>>;
28
+ forceColorMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"dark">, import("@sinclair/typebox").TLiteral<"light">]>>;
29
+ css: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
30
+ loadDefaultFonts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
31
+ }>>;
32
+ features: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
33
+ showSidebar: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
34
+ showModels: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
35
+ showDownload: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
36
+ showTestRequestButton: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
37
+ showSearch: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
38
+ showApiClientImport: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
39
+ showDarkModeToggle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
40
+ expandAllTagSections: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
41
+ persistAuthenticationState: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
42
+ }>>;
43
+ meta: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
44
+ title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
45
+ description: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
46
+ ogTitle: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
47
+ ogDescription: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
48
+ ogImage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
49
+ twitterCard: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
50
+ }>>;
51
+ httpClients: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<import("@sinclair/typebox").TLiteral<"c/libcurl" | "clojure/clj_http" | "csharp/httpclient" | "csharp/restsharp" | "dart/http" | "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">[]>>>;
52
+ }>>;
53
+ }>>;
54
+ documents: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
55
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
56
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
57
+ }>, import("./v3.1/strict/openapi-document.js").OpenApiDocumentSchemaType]>>;
58
+ originalDocuments: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
59
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
60
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
61
+ }>, import("./v3.1/strict/openapi-document.js").OpenApiDocumentSchemaType]>>;
62
+ intermediateDocuments: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
63
+ "x-scalar-active-auth": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
64
+ "x-scalar-active-server": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
65
+ }>, import("./v3.1/strict/openapi-document.js").OpenApiDocumentSchemaType]>>;
66
+ }>;
67
+ export type InMemoryWorkspace = Static<typeof InMemoryWorkspaceSchema>;
68
+ //# sourceMappingURL=inmemory-workspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlC,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
@@ -0,0 +1,14 @@
1
+ import { WorkspaceDocumentSchema, WorkspaceMetaSchema } from "../schemas/workspace.js";
2
+ import { ConfigSchema } from "../schemas/workspace-specification/config.js";
3
+ import { Type } from "@sinclair/typebox";
4
+ const InMemoryWorkspaceSchema = Type.Object({
5
+ meta: WorkspaceMetaSchema,
6
+ documentConfigs: Type.Record(Type.String(), ConfigSchema),
7
+ documents: Type.Record(Type.String(), WorkspaceDocumentSchema),
8
+ originalDocuments: Type.Record(Type.String(), WorkspaceDocumentSchema),
9
+ intermediateDocuments: Type.Record(Type.String(), WorkspaceDocumentSchema)
10
+ });
11
+ export {
12
+ InMemoryWorkspaceSchema
13
+ };
14
+ //# sourceMappingURL=inmemory-workspace.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/inmemory-workspace.ts"],
4
+ "sourcesContent": ["import { WorkspaceDocumentSchema, WorkspaceMetaSchema } from '@/schemas/workspace'\nimport { ConfigSchema } from '@/schemas/workspace-specification/config'\nimport { Type, type Static } from '@sinclair/typebox'\n\nexport const InMemoryWorkspaceSchema = Type.Object({\n meta: WorkspaceMetaSchema,\n documentConfigs: Type.Record(Type.String(), ConfigSchema),\n documents: Type.Record(Type.String(), WorkspaceDocumentSchema),\n originalDocuments: Type.Record(Type.String(), WorkspaceDocumentSchema),\n intermediateDocuments: Type.Record(Type.String(), WorkspaceDocumentSchema),\n})\n\nexport type InMemoryWorkspace = Static<typeof InMemoryWorkspaceSchema>\n"],
5
+ "mappings": "AAAA,SAAS,yBAAyB,2BAA2B;AAC7D,SAAS,oBAAoB;AAC7B,SAAS,YAAyB;AAE3B,MAAM,0BAA0B,KAAK,OAAO;AAAA,EACjD,MAAM;AAAA,EACN,iBAAiB,KAAK,OAAO,KAAK,OAAO,GAAG,YAAY;AAAA,EACxD,WAAW,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA,EAC7D,mBAAmB,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAAA,EACrE,uBAAuB,KAAK,OAAO,KAAK,OAAO,GAAG,uBAAuB;AAC3E,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,148 @@
1
+ import { type Static } from '@sinclair/typebox';
2
+ export declare const NavigationBaseSchema: import("@sinclair/typebox").TObject<{
3
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
4
+ id: import("@sinclair/typebox").TString;
5
+ title: import("@sinclair/typebox").TString;
6
+ }>;
7
+ export declare const TraversedDescriptionSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
8
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
9
+ id: import("@sinclair/typebox").TString;
10
+ title: import("@sinclair/typebox").TString;
11
+ }>, import("@sinclair/typebox").TObject<{
12
+ type: import("@sinclair/typebox").TLiteral<"text">;
13
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
14
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
15
+ id: import("@sinclair/typebox").TString;
16
+ title: import("@sinclair/typebox").TString;
17
+ }>>>;
18
+ }>]>;
19
+ export type TraversedDescription = Static<typeof TraversedDescriptionSchema>;
20
+ export declare const TraversedOperationSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
21
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
22
+ id: import("@sinclair/typebox").TString;
23
+ title: import("@sinclair/typebox").TString;
24
+ }>, import("@sinclair/typebox").TObject<{
25
+ type: import("@sinclair/typebox").TLiteral<"operation">;
26
+ ref: import("@sinclair/typebox").TString;
27
+ method: import("@sinclair/typebox").TString;
28
+ path: import("@sinclair/typebox").TString;
29
+ }>]>;
30
+ export type TraversedOperation = Static<typeof TraversedOperationSchema>;
31
+ export declare const TraversedSchemaSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
32
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
33
+ id: import("@sinclair/typebox").TString;
34
+ title: import("@sinclair/typebox").TString;
35
+ }>, import("@sinclair/typebox").TObject<{
36
+ type: import("@sinclair/typebox").TLiteral<"model">;
37
+ ref: import("@sinclair/typebox").TString;
38
+ name: import("@sinclair/typebox").TString;
39
+ }>]>;
40
+ export type TraversedSchema = Static<typeof TraversedSchemaSchema>;
41
+ export declare const TraversedWebhookSchema: import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
42
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
43
+ id: import("@sinclair/typebox").TString;
44
+ title: import("@sinclair/typebox").TString;
45
+ }>, import("@sinclair/typebox").TObject<{
46
+ type: import("@sinclair/typebox").TLiteral<"webhook">;
47
+ ref: import("@sinclair/typebox").TString;
48
+ method: import("@sinclair/typebox").TString;
49
+ name: import("@sinclair/typebox").TString;
50
+ }>]>;
51
+ export type TraversedWebhook = Static<typeof TraversedWebhookSchema>;
52
+ export declare const TraversedTagSchema: import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
53
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
54
+ id: import("@sinclair/typebox").TString;
55
+ title: import("@sinclair/typebox").TString;
56
+ }>, import("@sinclair/typebox").TObject<{
57
+ type: import("@sinclair/typebox").TLiteral<"tag">;
58
+ name: import("@sinclair/typebox").TString;
59
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
60
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
61
+ id: import("@sinclair/typebox").TString;
62
+ title: import("@sinclair/typebox").TString;
63
+ }>, import("@sinclair/typebox").TObject<{
64
+ type: import("@sinclair/typebox").TLiteral<"text">;
65
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
66
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
67
+ id: import("@sinclair/typebox").TString;
68
+ title: import("@sinclair/typebox").TString;
69
+ }>>>;
70
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
71
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
72
+ id: import("@sinclair/typebox").TString;
73
+ title: import("@sinclair/typebox").TString;
74
+ }>, import("@sinclair/typebox").TObject<{
75
+ type: import("@sinclair/typebox").TLiteral<"operation">;
76
+ ref: import("@sinclair/typebox").TString;
77
+ method: import("@sinclair/typebox").TString;
78
+ path: import("@sinclair/typebox").TString;
79
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
80
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
81
+ id: import("@sinclair/typebox").TString;
82
+ title: import("@sinclair/typebox").TString;
83
+ }>, import("@sinclair/typebox").TObject<{
84
+ type: import("@sinclair/typebox").TLiteral<"model">;
85
+ ref: import("@sinclair/typebox").TString;
86
+ name: import("@sinclair/typebox").TString;
87
+ }>]>, import("@sinclair/typebox").TThis, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
88
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
89
+ id: import("@sinclair/typebox").TString;
90
+ title: import("@sinclair/typebox").TString;
91
+ }>, import("@sinclair/typebox").TObject<{
92
+ type: import("@sinclair/typebox").TLiteral<"webhook">;
93
+ ref: import("@sinclair/typebox").TString;
94
+ method: import("@sinclair/typebox").TString;
95
+ name: import("@sinclair/typebox").TString;
96
+ }>]>]>>>;
97
+ isGroup: import("@sinclair/typebox").TBoolean;
98
+ }>]>>;
99
+ export declare const TraversedEntrySchema: import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
100
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
101
+ id: import("@sinclair/typebox").TString;
102
+ title: import("@sinclair/typebox").TString;
103
+ }>, import("@sinclair/typebox").TObject<{
104
+ type: import("@sinclair/typebox").TLiteral<"text">;
105
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
106
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
107
+ id: import("@sinclair/typebox").TString;
108
+ title: import("@sinclair/typebox").TString;
109
+ }>>>;
110
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
111
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
112
+ id: import("@sinclair/typebox").TString;
113
+ title: import("@sinclair/typebox").TString;
114
+ }>, import("@sinclair/typebox").TObject<{
115
+ type: import("@sinclair/typebox").TLiteral<"operation">;
116
+ ref: import("@sinclair/typebox").TString;
117
+ method: import("@sinclair/typebox").TString;
118
+ path: import("@sinclair/typebox").TString;
119
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
120
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
121
+ id: import("@sinclair/typebox").TString;
122
+ title: import("@sinclair/typebox").TString;
123
+ }>, import("@sinclair/typebox").TObject<{
124
+ type: import("@sinclair/typebox").TLiteral<"model">;
125
+ ref: import("@sinclair/typebox").TString;
126
+ name: import("@sinclair/typebox").TString;
127
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
128
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
129
+ id: import("@sinclair/typebox").TString;
130
+ title: import("@sinclair/typebox").TString;
131
+ }>, import("@sinclair/typebox").TObject<{
132
+ type: import("@sinclair/typebox").TLiteral<"tag">;
133
+ name: import("@sinclair/typebox").TString;
134
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>>;
135
+ isGroup: import("@sinclair/typebox").TBoolean;
136
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
137
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
138
+ id: import("@sinclair/typebox").TString;
139
+ title: import("@sinclair/typebox").TString;
140
+ }>, import("@sinclair/typebox").TObject<{
141
+ type: import("@sinclair/typebox").TLiteral<"webhook">;
142
+ ref: import("@sinclair/typebox").TString;
143
+ method: import("@sinclair/typebox").TString;
144
+ name: import("@sinclair/typebox").TString;
145
+ }>]>]>>;
146
+ export type TraversedTag = Static<typeof TraversedTagSchema>;
147
+ export type TraversedEntry = Static<typeof TraversedEntrySchema>;
148
+ //# sourceMappingURL=navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/schemas/navigation.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,MAAM,EAAgB,MAAM,mBAAmB,CAAA;AAEnE,eAAO,MAAM,oBAAoB;;;;EAU/B,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;IAMtC,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAE5E,eAAO,MAAM,wBAAwB;;;;;;;;;IAQpC,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAExE,eAAO,MAAM,qBAAqB;;;;;;;;IAOjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAElE,eAAO,MAAM,sBAAsB;;;;;;;;;IAQlC,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAuBpE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAAyF,CAAA;AAExH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAEhC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAC5D,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
@@ -0,0 +1,76 @@
1
+ import { compose } from "../schemas/compose.js";
2
+ import { Type } from "@sinclair/typebox";
3
+ const NavigationBaseSchema = Type.Object({
4
+ type: Type.Union([
5
+ Type.Literal("text"),
6
+ Type.Literal("operation"),
7
+ Type.Literal("model"),
8
+ Type.Literal("tag"),
9
+ Type.Literal("webhook")
10
+ ]),
11
+ id: Type.String(),
12
+ title: Type.String()
13
+ });
14
+ const TraversedDescriptionSchema = compose(
15
+ NavigationBaseSchema,
16
+ Type.Object({
17
+ type: Type.Literal("text"),
18
+ children: Type.Optional(Type.Array(NavigationBaseSchema))
19
+ })
20
+ );
21
+ const TraversedOperationSchema = compose(
22
+ NavigationBaseSchema,
23
+ Type.Object({
24
+ type: Type.Literal("operation"),
25
+ ref: Type.String(),
26
+ method: Type.String(),
27
+ path: Type.String()
28
+ })
29
+ );
30
+ const TraversedSchemaSchema = compose(
31
+ NavigationBaseSchema,
32
+ Type.Object({
33
+ type: Type.Literal("model"),
34
+ ref: Type.String(),
35
+ name: Type.String()
36
+ })
37
+ );
38
+ const TraversedWebhookSchema = compose(
39
+ NavigationBaseSchema,
40
+ Type.Object({
41
+ type: Type.Literal("webhook"),
42
+ ref: Type.String(),
43
+ method: Type.String(),
44
+ name: Type.String()
45
+ })
46
+ );
47
+ const traversedTagSchemaBuilder = (traversedEntrySchema) => compose(
48
+ NavigationBaseSchema,
49
+ Type.Object({
50
+ type: Type.Literal("tag"),
51
+ name: Type.String(),
52
+ children: Type.Optional(Type.Array(traversedEntrySchema)),
53
+ isGroup: Type.Boolean()
54
+ })
55
+ );
56
+ const traversedEntrySchemaBuilder = (traversedTagSchema) => Type.Union([
57
+ TraversedDescriptionSchema,
58
+ TraversedOperationSchema,
59
+ TraversedSchemaSchema,
60
+ traversedTagSchema,
61
+ TraversedWebhookSchema
62
+ ]);
63
+ const TraversedTagSchema = Type.Recursive((This) => traversedTagSchemaBuilder(traversedEntrySchemaBuilder(This)));
64
+ const TraversedEntrySchema = Type.Recursive(
65
+ (This) => traversedEntrySchemaBuilder(traversedTagSchemaBuilder(This))
66
+ );
67
+ export {
68
+ NavigationBaseSchema,
69
+ TraversedDescriptionSchema,
70
+ TraversedEntrySchema,
71
+ TraversedOperationSchema,
72
+ TraversedSchemaSchema,
73
+ TraversedTagSchema,
74
+ TraversedWebhookSchema
75
+ };
76
+ //# sourceMappingURL=navigation.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/schemas/navigation.ts"],
4
+ "sourcesContent": ["import { compose } from '@/schemas/compose'\nimport { Type, type Static, type TSchema } from '@sinclair/typebox'\n\nexport const NavigationBaseSchema = Type.Object({\n type: Type.Union([\n Type.Literal('text'),\n Type.Literal('operation'),\n Type.Literal('model'),\n Type.Literal('tag'),\n Type.Literal('webhook'),\n ]),\n id: Type.String(),\n title: Type.String(),\n})\n\nexport const TraversedDescriptionSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('text'),\n children: Type.Optional(Type.Array(NavigationBaseSchema)),\n }),\n)\n\nexport type TraversedDescription = Static<typeof TraversedDescriptionSchema>\n\nexport const TraversedOperationSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('operation'),\n ref: Type.String(),\n method: Type.String(),\n path: Type.String(),\n }),\n)\n\nexport type TraversedOperation = Static<typeof TraversedOperationSchema>\n\nexport const TraversedSchemaSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('model'),\n ref: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport type TraversedSchema = Static<typeof TraversedSchemaSchema>\n\nexport const TraversedWebhookSchema = compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('webhook'),\n ref: Type.String(),\n method: Type.String(),\n name: Type.String(),\n }),\n)\n\nexport type TraversedWebhook = Static<typeof TraversedWebhookSchema>\n\n// Recursive schemas for traversed tags and entries\nconst traversedTagSchemaBuilder = <T extends TSchema>(traversedEntrySchema: T) =>\n compose(\n NavigationBaseSchema,\n Type.Object({\n type: Type.Literal('tag'),\n name: Type.String(),\n children: Type.Optional(Type.Array(traversedEntrySchema)),\n isGroup: Type.Boolean(),\n }),\n )\n\nconst traversedEntrySchemaBuilder = <T extends TSchema>(traversedTagSchema: T) =>\n Type.Union([\n TraversedDescriptionSchema,\n TraversedOperationSchema,\n TraversedSchemaSchema,\n traversedTagSchema,\n TraversedWebhookSchema,\n ])\n\nexport const TraversedTagSchema = Type.Recursive((This) => traversedTagSchemaBuilder(traversedEntrySchemaBuilder(This)))\n\nexport const TraversedEntrySchema = Type.Recursive((This) =>\n traversedEntrySchemaBuilder(traversedTagSchemaBuilder(This)),\n)\n\nexport type TraversedTag = Static<typeof TraversedTagSchema>\nexport type TraversedEntry = Static<typeof TraversedEntrySchema>\n"],
5
+ "mappings": "AAAA,SAAS,eAAe;AACxB,SAAS,YAAuC;AAEzC,MAAM,uBAAuB,KAAK,OAAO;AAAA,EAC9C,MAAM,KAAK,MAAM;AAAA,IACf,KAAK,QAAQ,MAAM;AAAA,IACnB,KAAK,QAAQ,WAAW;AAAA,IACxB,KAAK,QAAQ,OAAO;AAAA,IACpB,KAAK,QAAQ,KAAK;AAAA,IAClB,KAAK,QAAQ,SAAS;AAAA,EACxB,CAAC;AAAA,EACD,IAAI,KAAK,OAAO;AAAA,EAChB,OAAO,KAAK,OAAO;AACrB,CAAC;AAEM,MAAM,6BAA6B;AAAA,EACxC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,MAAM;AAAA,IACzB,UAAU,KAAK,SAAS,KAAK,MAAM,oBAAoB,CAAC;AAAA,EAC1D,CAAC;AACH;AAIO,MAAM,2BAA2B;AAAA,EACtC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,WAAW;AAAA,IAC9B,KAAK,KAAK,OAAO;AAAA,IACjB,QAAQ,KAAK,OAAO;AAAA,IACpB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAIO,MAAM,wBAAwB;AAAA,EACnC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,OAAO;AAAA,IAC1B,KAAK,KAAK,OAAO;AAAA,IACjB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAIO,MAAM,yBAAyB;AAAA,EACpC;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,SAAS;AAAA,IAC5B,KAAK,KAAK,OAAO;AAAA,IACjB,QAAQ,KAAK,OAAO;AAAA,IACpB,MAAM,KAAK,OAAO;AAAA,EACpB,CAAC;AACH;AAKA,MAAM,4BAA4B,CAAoB,yBACpD;AAAA,EACE;AAAA,EACA,KAAK,OAAO;AAAA,IACV,MAAM,KAAK,QAAQ,KAAK;AAAA,IACxB,MAAM,KAAK,OAAO;AAAA,IAClB,UAAU,KAAK,SAAS,KAAK,MAAM,oBAAoB,CAAC;AAAA,IACxD,SAAS,KAAK,QAAQ;AAAA,EACxB,CAAC;AACH;AAEF,MAAM,8BAA8B,CAAoB,uBACtD,KAAK,MAAM;AAAA,EACT;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,CAAC;AAEI,MAAM,qBAAqB,KAAK,UAAU,CAAC,SAAS,0BAA0B,4BAA4B,IAAI,CAAC,CAAC;AAEhH,MAAM,uBAAuB,KAAK;AAAA,EAAU,CAAC,SAClD,4BAA4B,0BAA0B,IAAI,CAAC;AAC7D;",
6
+ "names": []
7
+ }
@@ -37,6 +37,53 @@ declare const OpenApiExtensionsSchema: TObject<{
37
37
  domain: TOptional<TString>;
38
38
  path: TOptional<TString>;
39
39
  }>>>;
40
+ "x-scalar-navigation": TOptional<TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TUnion<[TIntersect<[TObject<{
41
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
42
+ id: TString;
43
+ title: TString;
44
+ }>, TObject<{
45
+ type: import("@sinclair/typebox").TLiteral<"text">;
46
+ children: TOptional<TArray<TObject<{
47
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
48
+ id: TString;
49
+ title: TString;
50
+ }>>>;
51
+ }>]>, TIntersect<[TObject<{
52
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
53
+ id: TString;
54
+ title: TString;
55
+ }>, TObject<{
56
+ type: import("@sinclair/typebox").TLiteral<"operation">;
57
+ ref: TString;
58
+ method: TString;
59
+ path: TString;
60
+ }>]>, TIntersect<[TObject<{
61
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
62
+ id: TString;
63
+ title: TString;
64
+ }>, TObject<{
65
+ type: import("@sinclair/typebox").TLiteral<"model">;
66
+ ref: TString;
67
+ name: TString;
68
+ }>]>, TIntersect<[TObject<{
69
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
70
+ id: TString;
71
+ title: TString;
72
+ }>, TObject<{
73
+ type: import("@sinclair/typebox").TLiteral<"tag">;
74
+ name: TString;
75
+ children: TOptional<TArray<import("@sinclair/typebox").TThis>>;
76
+ isGroup: import("@sinclair/typebox").TBoolean;
77
+ }>]>, TIntersect<[TObject<{
78
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
79
+ id: TString;
80
+ title: TString;
81
+ }>, TObject<{
82
+ type: import("@sinclair/typebox").TLiteral<"webhook">;
83
+ ref: TString;
84
+ method: TString;
85
+ name: TString;
86
+ }>]>]>>>>;
40
87
  }>;
41
88
  /**
42
89
  * The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.
@@ -1 +1 @@
1
- {"version":3,"file":"openapi-document.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/openapi-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAI5E,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD;IACE,OAAO,CAAC;QACN,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,OAAO,gBAAgB,CAAA;QAC7B,iBAAiB,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;QACrC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAA;QACrD,KAAK,EAAE,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;QAC1C,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,oBAAoB,CAAC,CAAC,CAAA;QAClE,UAAU,EAAE,SAAS,CAAC,OAAO,sBAAsB,CAAC,CAAA;QACpD,QAAQ,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAC,CAAA;QACnE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC,CAAA;QAC/C,YAAY,EAAE,SAAS,CAAC,OAAO,iCAAiC,CAAC,CAAA;KAClE,CAAC;IACF,OAAO,gBAAgB;IACvB,OAAO,uBAAuB;CAC/B,CACF,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,yBAyBnC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
1
+ {"version":3,"file":"openapi-document.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/openapi-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EACX,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AACrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAEnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAM5E,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,yBAAyB,GAAG,UAAU,CAChD;IACE,OAAO,CAAC;QACN,OAAO,EAAE,OAAO,CAAA;QAChB,IAAI,EAAE,OAAO,gBAAgB,CAAA;QAC7B,iBAAiB,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;QACrC,OAAO,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC,CAAA;QACrD,KAAK,EAAE,SAAS,CAAC,OAAO,iBAAiB,CAAC,CAAA;QAC1C,QAAQ,EAAE,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,OAAO,oBAAoB,CAAC,CAAC,CAAA;QAClE,UAAU,EAAE,SAAS,CAAC,OAAO,sBAAsB,CAAC,CAAA;QACpD,QAAQ,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,+BAA+B,CAAC,CAAC,CAAA;QACnE,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,OAAO,eAAe,CAAC,CAAC,CAAA;QAC/C,YAAY,EAAE,SAAS,CAAC,OAAO,iCAAiC,CAAC,CAAA;KAClE,CAAC;IACF,OAAO,gBAAgB;IACvB,OAAO,uBAAuB;CAC/B,CACF,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,yBAyBnC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
@@ -13,6 +13,8 @@ import { compose } from "../../../schemas/compose.js";
13
13
  import { PathItemObjectSchema } from "../../../schemas/v3.1/strict/path-operations.js";
14
14
  import { xScalarClientConfigEnvironmentsSchema } from "../../../schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments.js";
15
15
  import { xScalarClientConfigCookiesSchema } from "../../../schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies.js";
16
+ import { extensions } from "../../../schemas/extensions.js";
17
+ import { TraversedEntrySchema } from "../../../schemas/navigation.js";
16
18
  const OpenApiExtensionsSchema = Type.Partial(
17
19
  Type.Object({
18
20
  "x-tagGroups": Type.Array(
@@ -27,7 +29,8 @@ const OpenApiExtensionsSchema = Type.Partial(
27
29
  /** A custom icon representing the collection */
28
30
  "x-scalar-client-config-icon": Type.String(),
29
31
  "x-scalar-client-config-environments": xScalarClientConfigEnvironmentsSchema,
30
- "x-scalar-client-config-cookies": xScalarClientConfigCookiesSchema
32
+ "x-scalar-client-config-cookies": xScalarClientConfigCookiesSchema,
33
+ [extensions.document.navigation]: Type.Array(TraversedEntrySchema)
31
34
  })
32
35
  );
33
36
  const OpenAPIDocumentSchema = compose(
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/schemas/v3.1/strict/openapi-document.ts"],
4
- "sourcesContent": ["import {\n Type,\n type Static,\n type TArray,\n type TIntersect,\n type TObject,\n type TOptional,\n type TRecord,\n type TString,\n} from '@sinclair/typebox'\nimport { InfoObjectSchema } from './info'\nimport { ServerObjectSchema } from './server'\nimport { PathsObjectSchema } from './paths'\nimport { ComponentsObjectSchema } from './components'\nimport { SecurityRequirementObjectSchema } from './security-requirement'\nimport { TagObjectSchema } from './tag'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\nimport { PathItemObjectSchema } from '@/schemas/v3.1/strict/path-operations'\nimport { xScalarClientConfigEnvironmentsSchema } from '@/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments'\nimport { xScalarClientConfigCookiesSchema } from '@/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies'\n\nconst OpenApiExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tagGroups': Type.Array(\n compose(\n Type.Object({\n tags: Type.Array(Type.String()),\n }),\n TagObjectSchema,\n ),\n ),\n 'x-scalar-client-config-active-environment': Type.String(),\n /** A custom icon representing the collection */\n 'x-scalar-client-config-icon': Type.String(),\n 'x-scalar-client-config-environments': xScalarClientConfigEnvironmentsSchema,\n 'x-scalar-client-config-cookies': xScalarClientConfigCookiesSchema,\n }),\n)\n\n/**\n * The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.\n * This is due to the complex nested structure of the OpenAPI document schema, which includes multiple optional fields,\n * arrays, and nested objects. The explicit type annotation helps TypeScript handle this large type definition.\n */\nexport type OpenApiDocumentSchemaType = TIntersect<\n [\n TObject<{\n openapi: TString\n info: typeof InfoObjectSchema\n jsonSchemaDialect: TOptional<TString>\n servers: TOptional<TArray<typeof ServerObjectSchema>>\n paths: TOptional<typeof PathsObjectSchema>\n webhooks: TOptional<TRecord<TString, typeof PathItemObjectSchema>>\n components: TOptional<typeof ComponentsObjectSchema>\n security: TOptional<TArray<typeof SecurityRequirementObjectSchema>>\n tags: TOptional<TArray<typeof TagObjectSchema>>\n externalDocs: TOptional<typeof ExternalDocumentationObjectSchema>\n }>,\n typeof ExtensionsSchema,\n typeof OpenApiExtensionsSchema,\n ]\n>\n\nexport const OpenAPIDocumentSchema: OpenApiDocumentSchemaType = compose(\n Type.Object({\n /** REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string. */\n openapi: Type.String(),\n /** REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */\n info: InfoObjectSchema,\n /** The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */\n jsonSchemaDialect: Type.Optional(Type.String()),\n /** An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */\n servers: Type.Optional(Type.Array(ServerObjectSchema)),\n /** The available paths and operations for the API. */\n paths: Type.Optional(PathsObjectSchema),\n /** The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the callbacks feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. An example is available. */\n webhooks: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),\n /** An element to hold various Objects for the OpenAPI Description. */\n components: Type.Optional(ComponentsObjectSchema),\n /** A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. Individual operations can override this definition. The list can be incomplete, up to being empty or absent. To make security explicitly optional, an empty security requirement ({}) can be included in the array. */\n security: Type.Optional(Type.Array(SecurityRequirementObjectSchema)),\n /** A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique. */\n tags: Type.Optional(Type.Array(TagObjectSchema)),\n /** Additional external documentation. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\n }),\n ExtensionsSchema,\n OpenApiExtensionsSchema,\n)\n\nexport type OpenApiDocument = Static<typeof OpenAPIDocumentSchema>\n"],
5
- "mappings": "AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AACnC,SAAS,yBAAyB;AAClC,SAAS,8BAA8B;AACvC,SAAS,uCAAuC;AAChD,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AACxB,SAAS,4BAA4B;AACrC,SAAS,6CAA6C;AACtD,SAAS,wCAAwC;AAEjD,MAAM,0BAA0B,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,eAAe,KAAK;AAAA,MAClB;AAAA,QACE,KAAK,OAAO;AAAA,UACV,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,QAChC,CAAC;AAAA,QACD;AAAA,MACF;AAAA,IACF;AAAA,IACA,6CAA6C,KAAK,OAAO;AAAA;AAAA,IAEzD,+BAA+B,KAAK,OAAO;AAAA,IAC3C,uCAAuC;AAAA,IACvC,kCAAkC;AAAA,EACpC,CAAC;AACH;AA0BO,MAAM,wBAAmD;AAAA,EAC9D,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,OAAO;AAAA;AAAA,IAErB,MAAM;AAAA;AAAA,IAEN,mBAAmB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE9C,SAAS,KAAK,SAAS,KAAK,MAAM,kBAAkB,CAAC;AAAA;AAAA,IAErD,OAAO,KAAK,SAAS,iBAAiB;AAAA;AAAA,IAEtC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAAA;AAAA,IAExE,YAAY,KAAK,SAAS,sBAAsB;AAAA;AAAA,IAEhD,UAAU,KAAK,SAAS,KAAK,MAAM,+BAA+B,CAAC;AAAA;AAAA,IAEnE,MAAM,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAAA;AAAA,IAE/C,cAAc,KAAK,SAAS,iCAAiC;AAAA,EAC/D,CAAC;AAAA,EACD;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import {\n Type,\n type Static,\n type TArray,\n type TIntersect,\n type TObject,\n type TOptional,\n type TRecord,\n type TString,\n} from '@sinclair/typebox'\nimport { InfoObjectSchema } from './info'\nimport { ServerObjectSchema } from './server'\nimport { PathsObjectSchema } from './paths'\nimport { ComponentsObjectSchema } from './components'\nimport { SecurityRequirementObjectSchema } from './security-requirement'\nimport { TagObjectSchema } from './tag'\nimport { ExternalDocumentationObjectSchema } from './external-documentation'\nimport { ExtensionsSchema } from '@/schemas/v3.1/strict/extensions'\nimport { compose } from '@/schemas/compose'\nimport { PathItemObjectSchema } from '@/schemas/v3.1/strict/path-operations'\nimport { xScalarClientConfigEnvironmentsSchema } from '@/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-environments'\nimport { xScalarClientConfigCookiesSchema } from '@/schemas/v3.1/strict/client-config-extensions/x-scalar-client-config-cookies'\nimport { extensions } from '@/schemas/extensions'\nimport { TraversedEntrySchema } from '@/schemas/navigation'\n\nconst OpenApiExtensionsSchema = Type.Partial(\n Type.Object({\n 'x-tagGroups': Type.Array(\n compose(\n Type.Object({\n tags: Type.Array(Type.String()),\n }),\n TagObjectSchema,\n ),\n ),\n 'x-scalar-client-config-active-environment': Type.String(),\n /** A custom icon representing the collection */\n 'x-scalar-client-config-icon': Type.String(),\n 'x-scalar-client-config-environments': xScalarClientConfigEnvironmentsSchema,\n 'x-scalar-client-config-cookies': xScalarClientConfigCookiesSchema,\n [extensions.document.navigation]: Type.Array(TraversedEntrySchema),\n }),\n)\n\n/**\n * The type annotation is needed because the inferred type of this node exceeds the maximum length the compiler will serialize.\n * This is due to the complex nested structure of the OpenAPI document schema, which includes multiple optional fields,\n * arrays, and nested objects. The explicit type annotation helps TypeScript handle this large type definition.\n */\nexport type OpenApiDocumentSchemaType = TIntersect<\n [\n TObject<{\n openapi: TString\n info: typeof InfoObjectSchema\n jsonSchemaDialect: TOptional<TString>\n servers: TOptional<TArray<typeof ServerObjectSchema>>\n paths: TOptional<typeof PathsObjectSchema>\n webhooks: TOptional<TRecord<TString, typeof PathItemObjectSchema>>\n components: TOptional<typeof ComponentsObjectSchema>\n security: TOptional<TArray<typeof SecurityRequirementObjectSchema>>\n tags: TOptional<TArray<typeof TagObjectSchema>>\n externalDocs: TOptional<typeof ExternalDocumentationObjectSchema>\n }>,\n typeof ExtensionsSchema,\n typeof OpenApiExtensionsSchema,\n ]\n>\n\nexport const OpenAPIDocumentSchema: OpenApiDocumentSchemaType = compose(\n Type.Object({\n /** REQUIRED. This string MUST be the version number of the OpenAPI Specification that the OpenAPI Document uses. The openapi field SHOULD be used by tooling to interpret the OpenAPI Document. This is not related to the API info.version string. */\n openapi: Type.String(),\n /** REQUIRED. Provides metadata about the API. The metadata MAY be used by tooling as required. */\n info: InfoObjectSchema,\n /** The default value for the $schema keyword within Schema Objects contained within this OAS document. This MUST be in the form of a URI. */\n jsonSchemaDialect: Type.Optional(Type.String()),\n /** An array of Server Objects, which provide connectivity information to a target server. If the servers field is not provided, or is an empty array, the default value would be a Server Object with a url value of /. */\n servers: Type.Optional(Type.Array(ServerObjectSchema)),\n /** The available paths and operations for the API. */\n paths: Type.Optional(PathsObjectSchema),\n /** The incoming webhooks that MAY be received as part of this API and that the API consumer MAY choose to implement. Closely related to the callbacks feature, this section describes requests initiated other than by an API call, for example by an out of band registration. The key name is a unique string to refer to each webhook, while the (optionally referenced) Path Item Object describes a request that may be initiated by the API provider and the expected responses. An example is available. */\n webhooks: Type.Optional(Type.Record(Type.String(), PathItemObjectSchema)),\n /** An element to hold various Objects for the OpenAPI Description. */\n components: Type.Optional(ComponentsObjectSchema),\n /** A declaration of which security mechanisms can be used across the API. The list of values includes alternative Security Requirement Objects that can be used. Only one of the Security Requirement Objects need to be satisfied to authorize a request. Individual operations can override this definition. The list can be incomplete, up to being empty or absent. To make security explicitly optional, an empty security requirement ({}) can be included in the array. */\n security: Type.Optional(Type.Array(SecurityRequirementObjectSchema)),\n /** A list of tags used by the OpenAPI Description with additional metadata. The order of the tags can be used to reflect on their order by the parsing tools. Not all tags that are used by the Operation Object must be declared. The tags that are not declared MAY be organized randomly or based on the tools' logic. Each tag name in the list MUST be unique. */\n tags: Type.Optional(Type.Array(TagObjectSchema)),\n /** Additional external documentation. */\n externalDocs: Type.Optional(ExternalDocumentationObjectSchema),\n }),\n ExtensionsSchema,\n OpenApiExtensionsSchema,\n)\n\nexport type OpenApiDocument = Static<typeof OpenAPIDocumentSchema>\n"],
5
+ "mappings": "AAAA;AAAA,EACE;AAAA,OAQK;AACP,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AACnC,SAAS,yBAAyB;AAClC,SAAS,8BAA8B;AACvC,SAAS,uCAAuC;AAChD,SAAS,uBAAuB;AAChC,SAAS,yCAAyC;AAClD,SAAS,wBAAwB;AACjC,SAAS,eAAe;AACxB,SAAS,4BAA4B;AACrC,SAAS,6CAA6C;AACtD,SAAS,wCAAwC;AACjD,SAAS,kBAAkB;AAC3B,SAAS,4BAA4B;AAErC,MAAM,0BAA0B,KAAK;AAAA,EACnC,KAAK,OAAO;AAAA,IACV,eAAe,KAAK;AAAA,MAClB;AAAA,QACE,KAAK,OAAO;AAAA,UACV,MAAM,KAAK,MAAM,KAAK,OAAO,CAAC;AAAA,QAChC,CAAC;AAAA,QACD;AAAA,MACF;AAAA,IACF;AAAA,IACA,6CAA6C,KAAK,OAAO;AAAA;AAAA,IAEzD,+BAA+B,KAAK,OAAO;AAAA,IAC3C,uCAAuC;AAAA,IACvC,kCAAkC;AAAA,IAClC,CAAC,WAAW,SAAS,UAAU,GAAG,KAAK,MAAM,oBAAoB;AAAA,EACnE,CAAC;AACH;AA0BO,MAAM,wBAAmD;AAAA,EAC9D,KAAK,OAAO;AAAA;AAAA,IAEV,SAAS,KAAK,OAAO;AAAA;AAAA,IAErB,MAAM;AAAA;AAAA,IAEN,mBAAmB,KAAK,SAAS,KAAK,OAAO,CAAC;AAAA;AAAA,IAE9C,SAAS,KAAK,SAAS,KAAK,MAAM,kBAAkB,CAAC;AAAA;AAAA,IAErD,OAAO,KAAK,SAAS,iBAAiB;AAAA;AAAA,IAEtC,UAAU,KAAK,SAAS,KAAK,OAAO,KAAK,OAAO,GAAG,oBAAoB,CAAC;AAAA;AAAA,IAExE,YAAY,KAAK,SAAS,sBAAsB;AAAA;AAAA,IAEhD,UAAU,KAAK,SAAS,KAAK,MAAM,+BAA+B,CAAC;AAAA;AAAA,IAEnE,MAAM,KAAK,SAAS,KAAK,MAAM,eAAe,CAAC;AAAA;AAAA,IAE/C,cAAc,KAAK,SAAS,iCAAiC;AAAA,EAC/D,CAAC;AAAA,EACD;AAAA,EACA;AACF;",
6
6
  "names": []
7
7
  }
@@ -64,6 +64,53 @@ export declare const WorkspaceSpecificationSchema: import("@sinclair/typebox").T
64
64
  domain: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
65
65
  path: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
66
66
  }>>>;
67
+ "x-scalar-navigation": import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TRecursive<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
68
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
69
+ id: import("@sinclair/typebox").TString;
70
+ title: import("@sinclair/typebox").TString;
71
+ }>, import("@sinclair/typebox").TObject<{
72
+ type: import("@sinclair/typebox").TLiteral<"text">;
73
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
74
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
75
+ id: import("@sinclair/typebox").TString;
76
+ title: import("@sinclair/typebox").TString;
77
+ }>>>;
78
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
79
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
80
+ id: import("@sinclair/typebox").TString;
81
+ title: import("@sinclair/typebox").TString;
82
+ }>, import("@sinclair/typebox").TObject<{
83
+ type: import("@sinclair/typebox").TLiteral<"operation">;
84
+ ref: import("@sinclair/typebox").TString;
85
+ method: import("@sinclair/typebox").TString;
86
+ path: import("@sinclair/typebox").TString;
87
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
88
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
89
+ id: import("@sinclair/typebox").TString;
90
+ title: import("@sinclair/typebox").TString;
91
+ }>, import("@sinclair/typebox").TObject<{
92
+ type: import("@sinclair/typebox").TLiteral<"model">;
93
+ ref: import("@sinclair/typebox").TString;
94
+ name: import("@sinclair/typebox").TString;
95
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
96
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
97
+ id: import("@sinclair/typebox").TString;
98
+ title: import("@sinclair/typebox").TString;
99
+ }>, import("@sinclair/typebox").TObject<{
100
+ type: import("@sinclair/typebox").TLiteral<"tag">;
101
+ name: import("@sinclair/typebox").TString;
102
+ children: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TThis>>;
103
+ isGroup: import("@sinclair/typebox").TBoolean;
104
+ }>]>, import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TObject<{
105
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"text">, import("@sinclair/typebox").TLiteral<"operation">, import("@sinclair/typebox").TLiteral<"model">, import("@sinclair/typebox").TLiteral<"tag">, import("@sinclair/typebox").TLiteral<"webhook">]>;
106
+ id: import("@sinclair/typebox").TString;
107
+ title: import("@sinclair/typebox").TString;
108
+ }>, import("@sinclair/typebox").TObject<{
109
+ type: import("@sinclair/typebox").TLiteral<"webhook">;
110
+ ref: import("@sinclair/typebox").TString;
111
+ method: import("@sinclair/typebox").TString;
112
+ name: import("@sinclair/typebox").TString;
113
+ }>]>]>>>>;
67
114
  }>]>, import("@sinclair/typebox").TObject<{
68
115
  'x-scalar-reference-config': import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
69
116
  title: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBxC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAQ,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAErD,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAgBxC,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,OAAO,4BAA4B,CAAC,CAAA"}