@scalar/workspace-store 0.15.7 → 0.16.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 (113) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/client.d.ts +1 -38
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -5
  5. package/dist/client.js.map +2 -2
  6. package/dist/navigation/get-navigation-options.d.ts +9 -0
  7. package/dist/navigation/get-navigation-options.d.ts.map +1 -0
  8. package/dist/navigation/get-navigation-options.js +77 -0
  9. package/dist/navigation/get-navigation-options.js.map +7 -0
  10. package/dist/navigation/helpers/get-x-keys.d.ts +10 -0
  11. package/dist/navigation/helpers/get-x-keys.d.ts.map +1 -0
  12. package/dist/navigation/helpers/get-x-keys.js +10 -0
  13. package/dist/navigation/helpers/get-x-keys.js.map +7 -0
  14. package/dist/navigation/helpers/traverse-description.d.ts +3 -5
  15. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  16. package/dist/navigation/helpers/traverse-description.js +4 -5
  17. package/dist/navigation/helpers/traverse-description.js.map +2 -2
  18. package/dist/navigation/helpers/traverse-document.d.ts +121 -28
  19. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  20. package/dist/navigation/helpers/traverse-document.js +16 -21
  21. package/dist/navigation/helpers/traverse-document.js.map +2 -2
  22. package/dist/navigation/helpers/traverse-paths.d.ts +4 -5
  23. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  24. package/dist/navigation/helpers/traverse-paths.js +14 -7
  25. package/dist/navigation/helpers/traverse-paths.js.map +2 -2
  26. package/dist/navigation/helpers/traverse-schemas.d.ts +3 -6
  27. package/dist/navigation/helpers/traverse-schemas.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-schemas.js +7 -7
  29. package/dist/navigation/helpers/traverse-schemas.js.map +2 -2
  30. package/dist/navigation/helpers/traverse-tags.d.ts +2 -5
  31. package/dist/navigation/helpers/traverse-tags.d.ts.map +1 -1
  32. package/dist/navigation/helpers/traverse-tags.js +16 -13
  33. package/dist/navigation/helpers/traverse-tags.js.map +2 -2
  34. package/dist/navigation/helpers/traverse-webhooks.d.ts +3 -6
  35. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  36. package/dist/navigation/helpers/traverse-webhooks.js +27 -7
  37. package/dist/navigation/helpers/traverse-webhooks.js.map +2 -2
  38. package/dist/navigation/index.d.ts +1 -0
  39. package/dist/navigation/index.d.ts.map +1 -1
  40. package/dist/navigation/index.js +2 -0
  41. package/dist/navigation/index.js.map +2 -2
  42. package/dist/navigation/types.d.ts +3 -4
  43. package/dist/navigation/types.d.ts.map +1 -1
  44. package/dist/schemas/extensions/operation/index.d.ts +2 -0
  45. package/dist/schemas/extensions/operation/index.d.ts.map +1 -0
  46. package/dist/schemas/extensions/operation/index.js +1 -0
  47. package/dist/schemas/extensions/operation/index.js.map +7 -0
  48. package/dist/schemas/extensions/operation/x-code-samples.d.ts +2 -0
  49. package/dist/schemas/extensions/operation/x-code-samples.d.ts.map +1 -1
  50. package/dist/schemas/extensions/operation/x-code-samples.js.map +2 -2
  51. package/dist/schemas/extensions/security/x-default-scopes.d.ts +17 -0
  52. package/dist/schemas/extensions/security/x-default-scopes.d.ts.map +1 -0
  53. package/dist/schemas/extensions/security/x-default-scopes.js +8 -0
  54. package/dist/schemas/extensions/security/x-default-scopes.js.map +7 -0
  55. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts +6 -1
  56. package/dist/schemas/extensions/security/x-scalar-redirect-uri.d.ts.map +1 -1
  57. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js +1 -1
  58. package/dist/schemas/extensions/security/x-scalar-redirect-uri.js.map +2 -2
  59. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts +27 -3
  60. package/dist/schemas/extensions/security/x-scalar-security-secrets.d.ts.map +1 -1
  61. package/dist/schemas/extensions/security/x-scalar-security-secrets.js +15 -3
  62. package/dist/schemas/extensions/security/x-scalar-security-secrets.js.map +2 -2
  63. package/dist/schemas/extensions/security/x-use-pkce.d.ts +1 -1
  64. package/dist/schemas/extensions/security/x-use-pkce.d.ts.map +1 -1
  65. package/dist/schemas/extensions/security/x-use-pkce.js +1 -3
  66. package/dist/schemas/extensions/security/x-use-pkce.js.map +2 -2
  67. package/dist/schemas/inmemory-workspace.d.ts +312 -134
  68. package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
  69. package/dist/schemas/navigation.d.ts +60 -128
  70. package/dist/schemas/navigation.d.ts.map +1 -1
  71. package/dist/schemas/navigation.js +40 -44
  72. package/dist/schemas/navigation.js.map +2 -2
  73. package/dist/schemas/reference-config/index.d.ts +156 -67
  74. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  75. package/dist/schemas/reference-config/settings.d.ts +156 -67
  76. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  77. package/dist/schemas/v3.1/strict/oauth-flow.d.ts +135 -24
  78. package/dist/schemas/v3.1/strict/oauth-flow.d.ts.map +1 -1
  79. package/dist/schemas/v3.1/strict/oauth-flow.js +37 -15
  80. package/dist/schemas/v3.1/strict/oauth-flow.js.map +2 -2
  81. package/dist/schemas/v3.1/strict/oauthflows.d.ts +67 -12
  82. package/dist/schemas/v3.1/strict/oauthflows.d.ts.map +1 -1
  83. package/dist/schemas/v3.1/strict/openapi-document.d.ts +12434 -1877
  84. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  85. package/dist/schemas/v3.1/strict/openapi-document.js +32 -4
  86. package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
  87. package/dist/schemas/v3.1/strict/operation.d.ts +1 -0
  88. package/dist/schemas/v3.1/strict/operation.d.ts.map +1 -1
  89. package/dist/schemas/v3.1/strict/operation.js +2 -1
  90. package/dist/schemas/v3.1/strict/operation.js.map +2 -2
  91. package/dist/schemas/v3.1/strict/ref-definitions.d.ts +8 -0
  92. package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
  93. package/dist/schemas/v3.1/strict/ref-definitions.js +12 -1
  94. package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
  95. package/dist/schemas/v3.1/strict/schema.d.ts +2 -2
  96. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  97. package/dist/schemas/v3.1/strict/schema.js +2 -44
  98. package/dist/schemas/v3.1/strict/schema.js.map +2 -2
  99. package/dist/schemas/v3.1/strict/security-scheme.d.ts +12 -8
  100. package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
  101. package/dist/schemas/v3.1/strict/security-scheme.js +3 -1
  102. package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
  103. package/dist/schemas/workspace-specification/config.d.ts +188 -67
  104. package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
  105. package/dist/schemas/workspace-specification/config.js.map +2 -2
  106. package/dist/schemas/workspace-specification/index.d.ts +156 -67
  107. package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
  108. package/dist/schemas/workspace.d.ts +1092 -469
  109. package/dist/schemas/workspace.d.ts.map +1 -1
  110. package/dist/server.d.ts +3 -4
  111. package/dist/server.d.ts.map +1 -1
  112. package/dist/server.js.map +2 -2
  113. package/package.json +13 -13
@@ -1,4 +1,6 @@
1
1
  import { type Static } from '@scalar/typebox';
2
+ import type { PartialDeep } from 'type-fest';
3
+ import type { TraverseSpecOptions } from '../../navigation/types.js';
2
4
  export declare const ConfigSchema: import("@scalar/typebox").TObject<{
3
5
  'x-scalar-reference-config': import("@scalar/typebox").TOptional<import("@scalar/typebox").TObject<{
4
6
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -287,6 +289,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
287
289
  cookie: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
288
290
  }>>;
289
291
  }>>>;
292
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
290
293
  }>, import("@scalar/typebox").TObject<{
291
294
  'x-badges': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
292
295
  name: import("@scalar/typebox").TString;
@@ -579,7 +582,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
579
582
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
580
583
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
581
584
  type: import("@scalar/typebox").TLiteral<"string">;
582
- format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"date">, import("@scalar/typebox").TLiteral<"date-time">, import("@scalar/typebox").TLiteral<"date-time-local">, import("@scalar/typebox").TLiteral<"time">, import("@scalar/typebox").TLiteral<"time-local">, import("@scalar/typebox").TLiteral<"duration">, import("@scalar/typebox").TLiteral<"http-date">, import("@scalar/typebox").TLiteral<"email">, import("@scalar/typebox").TLiteral<"idn-email">, import("@scalar/typebox").TLiteral<"hostname">, import("@scalar/typebox").TLiteral<"idn-hostname">, import("@scalar/typebox").TLiteral<"ipv4">, import("@scalar/typebox").TLiteral<"ipv6">, import("@scalar/typebox").TLiteral<"uri">, import("@scalar/typebox").TLiteral<"uri-reference">, import("@scalar/typebox").TLiteral<"uri-template">, import("@scalar/typebox").TLiteral<"iri">, import("@scalar/typebox").TLiteral<"iri-reference">, import("@scalar/typebox").TLiteral<"uuid">, import("@scalar/typebox").TLiteral<"binary">, import("@scalar/typebox").TLiteral<"byte">, import("@scalar/typebox").TLiteral<"base64url">, import("@scalar/typebox").TLiteral<"html">, import("@scalar/typebox").TLiteral<"commonmark">, import("@scalar/typebox").TLiteral<"password">, import("@scalar/typebox").TLiteral<"regex">, import("@scalar/typebox").TLiteral<"json-pointer">, import("@scalar/typebox").TLiteral<"relative-json-pointer">, import("@scalar/typebox").TLiteral<"media-range">, import("@scalar/typebox").TLiteral<"char">, import("@scalar/typebox").TLiteral<"sf-string">, import("@scalar/typebox").TLiteral<"sf-token">, import("@scalar/typebox").TLiteral<"sf-binary">, import("@scalar/typebox").TLiteral<"sf-boolean">]>>;
585
+ format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
583
586
  maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
584
587
  minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
585
588
  pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1088,7 +1091,7 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1088
1091
  SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1089
1092
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1090
1093
  }>, import("@scalar/typebox").TObject<{
1091
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1094
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1092
1095
  }>, import("@scalar/typebox").TObject<{
1093
1096
  type: import("@scalar/typebox").TLiteral<"apiKey">;
1094
1097
  name: import("@scalar/typebox").TString;
@@ -1096,10 +1099,10 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1096
1099
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1097
1100
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1098
1101
  }>, import("@scalar/typebox").TObject<{
1099
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1102
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1100
1103
  }>, import("@scalar/typebox").TObject<{
1101
- 'x-scalar-secret-username': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1102
- 'x-scalar-secret-password': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1104
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1105
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1103
1106
  }>, import("@scalar/typebox").TObject<{
1104
1107
  type: import("@scalar/typebox").TLiteral<"http">;
1105
1108
  scheme: import("@scalar/typebox").TString;
@@ -1109,6 +1112,8 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1109
1112
  }>, import("@scalar/typebox").TObject<{
1110
1113
  type: import("@scalar/typebox").TLiteral<"oauth2">;
1111
1114
  flows: import("@scalar/typebox").TRef<"OAuthFlowsObject">;
1115
+ }>, import("@scalar/typebox").TObject<{
1116
+ 'x-default-scopes': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
1112
1117
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1113
1118
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1114
1119
  }>, import("@scalar/typebox").TObject<{
@@ -1135,38 +1140,93 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1135
1140
  mapping: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1136
1141
  }>;
1137
1142
  OAuthFlowsObject: import("@scalar/typebox").TObject<{
1138
- implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1139
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1143
+ implicit: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1144
+ refreshUrl: import("@scalar/typebox").TString;
1140
1145
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1141
1146
  }>, import("@scalar/typebox").TObject<{
1142
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1147
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1148
+ }>, import("@scalar/typebox").TObject<{
1149
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1150
+ }>, import("@scalar/typebox").TObject<{
1151
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1152
+ }>, import("@scalar/typebox").TObject<{
1153
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1143
1154
  }>, import("@scalar/typebox").TObject<{
1155
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1156
+ }>, import("@scalar/typebox").TObject<{
1157
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1158
+ }>]>, import("@scalar/typebox").TObject<{
1144
1159
  authorizationUrl: import("@scalar/typebox").TString;
1160
+ }>, import("@scalar/typebox").TObject<{
1161
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1145
1162
  }>]>>;
1146
- password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1147
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1163
+ password: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1164
+ refreshUrl: import("@scalar/typebox").TString;
1148
1165
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1149
1166
  }>, import("@scalar/typebox").TObject<{
1150
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1167
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1168
+ }>, import("@scalar/typebox").TObject<{
1169
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1151
1170
  }>, import("@scalar/typebox").TObject<{
1171
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1172
+ }>, import("@scalar/typebox").TObject<{
1173
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1174
+ }>, import("@scalar/typebox").TObject<{
1175
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1176
+ }>, import("@scalar/typebox").TObject<{
1177
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1178
+ }>]>, import("@scalar/typebox").TObject<{
1152
1179
  tokenUrl: import("@scalar/typebox").TString;
1180
+ }>, import("@scalar/typebox").TObject<{
1181
+ 'x-scalar-secret-username': import("@scalar/typebox").TString;
1182
+ 'x-scalar-secret-password': import("@scalar/typebox").TString;
1183
+ }>, import("@scalar/typebox").TObject<{
1184
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1153
1185
  }>]>>;
1154
- clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1155
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1186
+ clientCredentials: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1187
+ refreshUrl: import("@scalar/typebox").TString;
1156
1188
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1157
1189
  }>, import("@scalar/typebox").TObject<{
1158
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1190
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1191
+ }>, import("@scalar/typebox").TObject<{
1192
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1193
+ }>, import("@scalar/typebox").TObject<{
1194
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1159
1195
  }>, import("@scalar/typebox").TObject<{
1196
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1197
+ }>, import("@scalar/typebox").TObject<{
1198
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1199
+ }>, import("@scalar/typebox").TObject<{
1200
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1201
+ }>]>, import("@scalar/typebox").TObject<{
1160
1202
  tokenUrl: import("@scalar/typebox").TString;
1203
+ }>, import("@scalar/typebox").TObject<{
1204
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1161
1205
  }>]>>;
1162
- authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1163
- refreshUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1206
+ authorizationCode: import("@scalar/typebox").TOptional<import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1207
+ refreshUrl: import("@scalar/typebox").TString;
1164
1208
  scopes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>;
1165
1209
  }>, import("@scalar/typebox").TObject<{
1166
- 'x-scalar-secret-token': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1210
+ 'x-scalar-secret-client-id': import("@scalar/typebox").TString;
1211
+ }>, import("@scalar/typebox").TObject<{
1212
+ 'x-scalar-secret-token': import("@scalar/typebox").TString;
1213
+ }>, import("@scalar/typebox").TObject<{
1214
+ 'x-scalar-security-query': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1215
+ }>, import("@scalar/typebox").TObject<{
1216
+ 'x-scalar-security-body': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
1217
+ }>, import("@scalar/typebox").TObject<{
1218
+ 'x-tokenName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1167
1219
  }>, import("@scalar/typebox").TObject<{
1220
+ 'x-scalar-credentials-location': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"body">]>>;
1221
+ }>]>, import("@scalar/typebox").TObject<{
1168
1222
  authorizationUrl: import("@scalar/typebox").TString;
1169
1223
  tokenUrl: import("@scalar/typebox").TString;
1224
+ }>, import("@scalar/typebox").TObject<{
1225
+ 'x-scalar-secret-client-secret': import("@scalar/typebox").TString;
1226
+ }>, import("@scalar/typebox").TObject<{
1227
+ 'x-scalar-secret-redirect-uri': import("@scalar/typebox").TString;
1228
+ }>, import("@scalar/typebox").TObject<{
1229
+ 'x-usePkce': import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"SHA-256">, import("@scalar/typebox").TLiteral<"plain">, import("@scalar/typebox").TLiteral<"no">]>;
1170
1230
  }>]>>;
1171
1231
  }>;
1172
1232
  ServerVariableObject: import("@scalar/typebox").TObject<{
@@ -1206,57 +1266,88 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1206
1266
  path: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1207
1267
  }>>>;
1208
1268
  'x-original-oas-version': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1209
- "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TImport<{
1210
- TraversedTagSchema: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1211
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1212
- id: import("@scalar/typebox").TString;
1213
- title: import("@scalar/typebox").TString;
1214
- }>, import("@scalar/typebox").TObject<{
1215
- type: import("@scalar/typebox").TLiteral<"tag">;
1216
- name: import("@scalar/typebox").TString;
1217
- children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntrySchema">>>;
1218
- isGroup: import("@scalar/typebox").TBoolean;
1219
- }>]>;
1220
- TraversedEntrySchema: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagSchema">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1221
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1222
- id: import("@scalar/typebox").TString;
1223
- title: import("@scalar/typebox").TString;
1224
- }>, import("@scalar/typebox").TObject<{
1225
- type: import("@scalar/typebox").TLiteral<"text">;
1226
- children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1227
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1228
- id: import("@scalar/typebox").TString;
1229
- title: import("@scalar/typebox").TString;
1230
- }>>>;
1231
- }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1232
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1233
- id: import("@scalar/typebox").TString;
1234
- title: import("@scalar/typebox").TString;
1235
- }>, import("@scalar/typebox").TObject<{
1236
- type: import("@scalar/typebox").TLiteral<"operation">;
1237
- ref: import("@scalar/typebox").TString;
1238
- method: import("@scalar/typebox").TString;
1239
- path: import("@scalar/typebox").TString;
1240
- }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1241
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1242
- id: import("@scalar/typebox").TString;
1243
- title: import("@scalar/typebox").TString;
1244
- }>, import("@scalar/typebox").TObject<{
1245
- type: import("@scalar/typebox").TLiteral<"model">;
1246
- ref: import("@scalar/typebox").TString;
1247
- name: import("@scalar/typebox").TString;
1248
- }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1249
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"text">, import("@scalar/typebox").TLiteral<"operation">, import("@scalar/typebox").TLiteral<"model">, import("@scalar/typebox").TLiteral<"tag">, import("@scalar/typebox").TLiteral<"webhook">]>;
1250
- id: import("@scalar/typebox").TString;
1251
- title: import("@scalar/typebox").TString;
1252
- }>, import("@scalar/typebox").TObject<{
1253
- type: import("@scalar/typebox").TLiteral<"webhook">;
1254
- ref: import("@scalar/typebox").TString;
1255
- method: import("@scalar/typebox").TString;
1256
- name: import("@scalar/typebox").TString;
1257
- }>]>]>;
1258
- }, "TraversedEntrySchema">>>;
1269
+ 'x-scalar-selected-security': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
1270
+ "x-scalar-navigation": import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1271
+ }>]>;
1272
+ TraversedDescriptionObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1273
+ id: import("@scalar/typebox").TString;
1274
+ title: import("@scalar/typebox").TString;
1275
+ }>, import("@scalar/typebox").TObject<{
1276
+ type: import("@scalar/typebox").TLiteral<"text">;
1277
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1259
1278
  }>]>;
1279
+ TraversedOperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1280
+ id: import("@scalar/typebox").TString;
1281
+ title: import("@scalar/typebox").TString;
1282
+ }>, import("@scalar/typebox").TObject<{
1283
+ type: import("@scalar/typebox").TLiteral<"operation">;
1284
+ ref: import("@scalar/typebox").TString;
1285
+ method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1286
+ path: import("@scalar/typebox").TString;
1287
+ isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1288
+ }>]>;
1289
+ TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1290
+ id: import("@scalar/typebox").TString;
1291
+ title: import("@scalar/typebox").TString;
1292
+ }>, import("@scalar/typebox").TObject<{
1293
+ type: import("@scalar/typebox").TLiteral<"model">;
1294
+ ref: import("@scalar/typebox").TString;
1295
+ name: import("@scalar/typebox").TString;
1296
+ }>]>;
1297
+ TraversedWebhookObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1298
+ id: import("@scalar/typebox").TString;
1299
+ title: import("@scalar/typebox").TString;
1300
+ }>, import("@scalar/typebox").TObject<{
1301
+ type: import("@scalar/typebox").TLiteral<"webhook">;
1302
+ ref: import("@scalar/typebox").TString;
1303
+ method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1304
+ name: import("@scalar/typebox").TString;
1305
+ isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1306
+ }>]>;
1307
+ TraversedTagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1308
+ id: import("@scalar/typebox").TString;
1309
+ title: import("@scalar/typebox").TString;
1310
+ }>, import("@scalar/typebox").TObject<{
1311
+ type: import("@scalar/typebox").TLiteral<"tag">;
1312
+ name: import("@scalar/typebox").TString;
1313
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1314
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1315
+ isGroup: import("@scalar/typebox").TBoolean;
1316
+ isWebhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1317
+ xKeys: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
1318
+ }>]>;
1319
+ TraversedEntryObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"TraversedTagObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1320
+ id: import("@scalar/typebox").TString;
1321
+ title: import("@scalar/typebox").TString;
1322
+ }>, import("@scalar/typebox").TObject<{
1323
+ type: import("@scalar/typebox").TLiteral<"text">;
1324
+ children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1325
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1326
+ id: import("@scalar/typebox").TString;
1327
+ title: import("@scalar/typebox").TString;
1328
+ }>, import("@scalar/typebox").TObject<{
1329
+ type: import("@scalar/typebox").TLiteral<"operation">;
1330
+ ref: import("@scalar/typebox").TString;
1331
+ method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1332
+ path: import("@scalar/typebox").TString;
1333
+ isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1334
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1335
+ id: import("@scalar/typebox").TString;
1336
+ title: import("@scalar/typebox").TString;
1337
+ }>, import("@scalar/typebox").TObject<{
1338
+ type: import("@scalar/typebox").TLiteral<"model">;
1339
+ ref: import("@scalar/typebox").TString;
1340
+ name: import("@scalar/typebox").TString;
1341
+ }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1342
+ id: import("@scalar/typebox").TString;
1343
+ title: import("@scalar/typebox").TString;
1344
+ }>, import("@scalar/typebox").TObject<{
1345
+ type: import("@scalar/typebox").TLiteral<"webhook">;
1346
+ ref: import("@scalar/typebox").TString;
1347
+ method: import("@scalar/typebox").TLiteral<import("@scalar/helpers/http/http-methods").HttpMethod>;
1348
+ name: import("@scalar/typebox").TString;
1349
+ isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1350
+ }>]>]>;
1260
1351
  }, "ServerObject">>>;
1261
1352
  baseServerUrl: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1262
1353
  }>>;
@@ -1296,4 +1387,34 @@ export declare const ConfigSchema: import("@scalar/typebox").TObject<{
1296
1387
  }>>;
1297
1388
  }>;
1298
1389
  export type Config = Static<typeof ConfigSchema>;
1390
+ export type DocumentConfiguration = Config & PartialDeep<{
1391
+ 'x-scalar-reference-config': {
1392
+ tagSort: TraverseSpecOptions['tagsSorter'];
1393
+ operationsSorter: TraverseSpecOptions['operationsSorter'];
1394
+ getHeadingId: TraverseSpecOptions['getHeadingId'];
1395
+ getOperationId: TraverseSpecOptions['getOperationId'];
1396
+ getWebhookId: TraverseSpecOptions['getWebhookId'];
1397
+ getModelId: TraverseSpecOptions['getModelId'];
1398
+ getTagId: TraverseSpecOptions['getTagId'];
1399
+ generateOperationSlug?: (details: {
1400
+ path: string;
1401
+ operationId?: string;
1402
+ method: string;
1403
+ summary?: string;
1404
+ }) => string;
1405
+ generateHeadingSlug?: (details: {
1406
+ slug?: string;
1407
+ }) => string;
1408
+ generateTagSlug?: (details: {
1409
+ name?: string;
1410
+ }) => string;
1411
+ generateModelSlug?: (details: {
1412
+ name?: string;
1413
+ }) => string;
1414
+ generateWebhookSlug?: (details: {
1415
+ name: string;
1416
+ method?: string;
1417
+ }) => string;
1418
+ };
1419
+ }>;
1299
1420
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/schemas/workspace-specification/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAInD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AK,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 Static, Type } from '@scalar/typebox'\n\nimport { 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 = Static<typeof ConfigSchema>\n"],
5
- "mappings": "AAAA,SAAsB,YAAY;AAElC,SAAS,6BAA6B;AAE/B,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
4
+ "sourcesContent": ["import { type Static, Type } from '@scalar/typebox'\nimport type { PartialDeep } from 'type-fest'\n\nimport type { TraverseSpecOptions } from '@/navigation/types'\nimport { 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 = Static<typeof ConfigSchema>\n\nexport type DocumentConfiguration = Config &\n PartialDeep<{\n 'x-scalar-reference-config': {\n tagSort: TraverseSpecOptions['tagsSorter']\n operationsSorter: TraverseSpecOptions['operationsSorter']\n getHeadingId: TraverseSpecOptions['getHeadingId']\n getOperationId: TraverseSpecOptions['getOperationId']\n getWebhookId: TraverseSpecOptions['getWebhookId']\n getModelId: TraverseSpecOptions['getModelId']\n getTagId: TraverseSpecOptions['getTagId']\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
+ "mappings": "AAAA,SAAsB,YAAY;AAIlC,SAAS,6BAA6B;AAE/B,MAAM,eAAe,KAAK;AAAA,EAC/B,KAAK,OAAO;AAAA,IACV,6BAA6B;AAAA,EAC/B,CAAC;AACH;",
6
6
  "names": []
7
7
  }