@scalar/workspace-store 0.24.1 → 0.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -4
- package/dist/client.js.map +2 -2
- package/dist/events/definitions/ui.d.ts +12 -1
- package/dist/events/definitions/ui.d.ts.map +1 -1
- package/dist/mutators/server.d.ts.map +1 -1
- package/dist/mutators/server.js +4 -0
- package/dist/mutators/server.js.map +2 -2
- package/dist/schemas/inmemory-workspace.d.ts +24 -4
- package/dist/schemas/inmemory-workspace.d.ts.map +1 -1
- package/dist/schemas/reference-config/index.d.ts +12 -2
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +12 -2
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/components.d.ts +12 -1
- package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/components.js +7 -4
- package/dist/schemas/v3.1/strict/components.js.map +2 -2
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +1858 -84
- package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/openapi-document.js +4 -1
- package/dist/schemas/v3.1/strict/openapi-document.js.map +2 -2
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts +1 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js +1 -0
- package/dist/schemas/v3.1/strict/ref-definitions.js.map +2 -2
- package/dist/schemas/v3.1/strict/security-scheme.d.ts +4 -4
- package/dist/schemas/v3.1/strict/security-scheme.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/security-scheme.js +2 -2
- package/dist/schemas/v3.1/strict/security-scheme.js.map +2 -2
- package/dist/schemas/workspace-specification/config.d.ts +12 -2
- package/dist/schemas/workspace-specification/config.d.ts.map +1 -1
- package/dist/schemas/workspace-specification/index.d.ts +12 -2
- package/dist/schemas/workspace-specification/index.d.ts.map +1 -1
- package/dist/schemas/workspace.d.ts +84 -14
- package/dist/schemas/workspace.d.ts.map +1 -1
- package/dist/workspace-plugin.d.ts +3 -0
- package/dist/workspace-plugin.d.ts.map +1 -1
- package/package.json +14 -9
|
@@ -1111,6 +1111,16 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
1111
1111
|
}>, import("@scalar/typebox").TObject<{
|
|
1112
1112
|
'x-scalar-selected-content-type': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
1113
1113
|
}>]>;
|
|
1114
|
+
SecuritySchemes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SecuritySchemeObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1115
|
+
$ref: import("@scalar/typebox").TString;
|
|
1116
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1117
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1118
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1119
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
1120
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1121
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1122
|
+
'$ref-value': import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
1123
|
+
}>]>]>>;
|
|
1114
1124
|
SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1115
1125
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1116
1126
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1118,7 +1128,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
1118
1128
|
}>, import("@scalar/typebox").TObject<{
|
|
1119
1129
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
1120
1130
|
name: import("@scalar/typebox").TString;
|
|
1121
|
-
in: import("@scalar/typebox").
|
|
1131
|
+
in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"cookie">]>;
|
|
1122
1132
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1123
1133
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1124
1134
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1128,7 +1138,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
1128
1138
|
'x-scalar-secret-password': import("@scalar/typebox").TString;
|
|
1129
1139
|
}>, import("@scalar/typebox").TObject<{
|
|
1130
1140
|
type: import("@scalar/typebox").TLiteral<"http">;
|
|
1131
|
-
scheme: import("@scalar/typebox").
|
|
1141
|
+
scheme: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"basic">, import("@scalar/typebox").TLiteral<"bearer">]>;
|
|
1132
1142
|
bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1133
1143
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1134
1144
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -2576,6 +2586,16 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
2576
2586
|
}>, import("@scalar/typebox").TObject<{
|
|
2577
2587
|
'x-scalar-selected-content-type': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
2578
2588
|
}>]>;
|
|
2589
|
+
SecuritySchemes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SecuritySchemeObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2590
|
+
$ref: import("@scalar/typebox").TString;
|
|
2591
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2592
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2593
|
+
}>, import("@scalar/typebox").TObject<{
|
|
2594
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
2595
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
2596
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
2597
|
+
'$ref-value': import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
2598
|
+
}>]>]>>;
|
|
2579
2599
|
SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2580
2600
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2581
2601
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -2583,7 +2603,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
2583
2603
|
}>, import("@scalar/typebox").TObject<{
|
|
2584
2604
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
2585
2605
|
name: import("@scalar/typebox").TString;
|
|
2586
|
-
in: import("@scalar/typebox").
|
|
2606
|
+
in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"cookie">]>;
|
|
2587
2607
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2588
2608
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2589
2609
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -2593,7 +2613,7 @@ export declare const InMemoryWorkspaceSchema: import("@scalar/typebox").TObject<
|
|
|
2593
2613
|
'x-scalar-secret-password': import("@scalar/typebox").TString;
|
|
2594
2614
|
}>, import("@scalar/typebox").TObject<{
|
|
2595
2615
|
type: import("@scalar/typebox").TLiteral<"http">;
|
|
2596
|
-
scheme: import("@scalar/typebox").
|
|
2616
|
+
scheme: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"basic">, import("@scalar/typebox").TLiteral<"bearer">]>;
|
|
2597
2617
|
bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
2598
2618
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
2599
2619
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AAIpF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"inmemory-workspace.d.ts","sourceRoot":"","sources":["../../src/schemas/inmemory-workspace.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,iBAAiB,EAEtB,KAAK,aAAa,EAEnB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,MAAM,EAAgB,MAAM,0CAA0C,CAAA;AAIpF,eAAO,MAAM,uBAAuB;;;;;;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AAiB,CAAC,CAAA;IAC5C,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAA;IAC9D,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B,CAAA"}
|
|
@@ -1113,6 +1113,16 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1113
1113
|
}>, import("@scalar/typebox").TObject<{
|
|
1114
1114
|
'x-scalar-selected-content-type': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
1115
1115
|
}>]>;
|
|
1116
|
+
SecuritySchemes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SecuritySchemeObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1117
|
+
$ref: import("@scalar/typebox").TString;
|
|
1118
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1119
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1120
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1121
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[TLiteral<"loading">, TLiteral<"error">]>>;
|
|
1122
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1123
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1124
|
+
'$ref-value': import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
1125
|
+
}>]>]>>;
|
|
1116
1126
|
SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1117
1127
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1118
1128
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1120,7 +1130,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1120
1130
|
}>, import("@scalar/typebox").TObject<{
|
|
1121
1131
|
type: TLiteral<"apiKey">;
|
|
1122
1132
|
name: import("@scalar/typebox").TString;
|
|
1123
|
-
in: import("@scalar/typebox").
|
|
1133
|
+
in: import("@scalar/typebox").TUnion<[TLiteral<"query">, TLiteral<"header">, TLiteral<"cookie">]>;
|
|
1124
1134
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1125
1135
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1126
1136
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1130,7 +1140,7 @@ export declare const ReferenceConfigSchema: import("@scalar/typebox").TObject<{
|
|
|
1130
1140
|
'x-scalar-secret-password': import("@scalar/typebox").TString;
|
|
1131
1141
|
}>, import("@scalar/typebox").TObject<{
|
|
1132
1142
|
type: TLiteral<"http">;
|
|
1133
|
-
scheme: import("@scalar/typebox").
|
|
1143
|
+
scheme: import("@scalar/typebox").TUnion<[TLiteral<"basic">, TLiteral<"bearer">]>;
|
|
1134
1144
|
bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1135
1145
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1136
1146
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAQ,MAAM,iBAAiB,CAAA;AAClE,OAAO,EAA2C,KAAK,gBAAgB,EAAE,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBjC,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B,CAAA;AAED,eAAO,MAAM,sBAAsB,EAAE,YAAY,CAAC,eAAe,CAgChE,CAAA"}
|
|
@@ -1099,6 +1099,16 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1099
1099
|
}>, import("@scalar/typebox").TObject<{
|
|
1100
1100
|
'x-scalar-selected-content-type': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>>;
|
|
1101
1101
|
}>]>;
|
|
1102
|
+
SecuritySchemes: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SecuritySchemeObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1103
|
+
$ref: import("@scalar/typebox").TString;
|
|
1104
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1105
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1106
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1107
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
1108
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1109
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1110
|
+
'$ref-value': import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
1111
|
+
}>]>]>>;
|
|
1102
1112
|
SecuritySchemeObject: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1103
1113
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1104
1114
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1106,7 +1116,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1106
1116
|
}>, import("@scalar/typebox").TObject<{
|
|
1107
1117
|
type: import("@scalar/typebox").TLiteral<"apiKey">;
|
|
1108
1118
|
name: import("@scalar/typebox").TString;
|
|
1109
|
-
in: import("@scalar/typebox").
|
|
1119
|
+
in: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"query">, import("@scalar/typebox").TLiteral<"header">, import("@scalar/typebox").TLiteral<"cookie">]>;
|
|
1110
1120
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1111
1121
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1112
1122
|
}>, import("@scalar/typebox").TObject<{
|
|
@@ -1116,7 +1126,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1116
1126
|
'x-scalar-secret-password': import("@scalar/typebox").TString;
|
|
1117
1127
|
}>, import("@scalar/typebox").TObject<{
|
|
1118
1128
|
type: import("@scalar/typebox").TLiteral<"http">;
|
|
1119
|
-
scheme: import("@scalar/typebox").
|
|
1129
|
+
scheme: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"basic">, import("@scalar/typebox").TLiteral<"bearer">]>;
|
|
1120
1130
|
bearerFormat: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1121
1131
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1122
1132
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/schemas/reference-config/settings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAG7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAEhE,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,YAAY,CAAC,QAAQ,CAKlD,CAAA"}
|
|
@@ -9,6 +9,17 @@ import type { RequestBodyObject } from './request-body.js';
|
|
|
9
9
|
import type { ResponsesObject } from './responses.js';
|
|
10
10
|
import type { SchemaObject } from './schema.js';
|
|
11
11
|
import type { SecuritySchemeObject } from './security-scheme.js';
|
|
12
|
+
export declare const SecuritySchemesSchemaDefinition: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SecuritySchemeObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
13
|
+
$ref: import("@scalar/typebox").TString;
|
|
14
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
15
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
16
|
+
}>, import("@scalar/typebox").TObject<{
|
|
17
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
18
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
19
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
20
|
+
'$ref-value': import("@scalar/typebox").TRef<"SecuritySchemeObject">;
|
|
21
|
+
}>]>]>>;
|
|
22
|
+
export type SecuritySchemes = Record<string, ReferenceType<SecuritySchemeObject>>;
|
|
12
23
|
/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */
|
|
13
24
|
export declare const ComponentsObjectSchemaDefinition: import("@scalar/typebox").TObject<{
|
|
14
25
|
/** An object to hold reusable Schema Objects. */
|
|
@@ -128,7 +139,7 @@ export type ComponentsObject = {
|
|
|
128
139
|
/** An object to hold reusable Header Objects. */
|
|
129
140
|
headers?: Record<string, ReferenceType<HeaderObject>>;
|
|
130
141
|
/** An object to hold reusable Security Scheme Objects. */
|
|
131
|
-
securitySchemes?:
|
|
142
|
+
securitySchemes?: SecuritySchemes;
|
|
132
143
|
/** An object to hold reusable Link Objects. */
|
|
133
144
|
links?: Record<string, ReferenceType<LinkObject>>;
|
|
134
145
|
/** An object to hold reusable Callback Objects. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/strict/components.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAajD,OAAO,EAAE,KAAK,aAAa,EAAa,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,kOAAkO;AAClO,eAAO,MAAM,gCAAg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D;;;;;;;;;;;IAEjD,0DAA0D;;;;;;;;;;;IAE1D,+CAA+C;;;;;;;;;;;IAE/C,mDAAmD;;;;;;;;;;;IAEnD,oDAAoD;;EAEpD,CAAA;AAEF,kOAAkO;AAClO,MAAM,MAAM,gBAAgB,GAAG;IAC7B,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;IACrD,mDAAmD;IACnD,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,oDAAoD;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC,CAAA;IAC3D,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAA;IACvD,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAA;IAChE,iDAAiD;IACjD,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC,CAAA;IACrD,0DAA0D;IAC1D,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;IACjD,mDAAmD;IACnD,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC,CAAA;IACzD,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;CAC3C,CAAA"}
|
|
@@ -12,6 +12,10 @@ import {
|
|
|
12
12
|
SecuritySchemeObjectRef
|
|
13
13
|
} from "./ref-definitions.js";
|
|
14
14
|
import { reference } from "./reference.js";
|
|
15
|
+
const SecuritySchemesSchemaDefinition = Type.Record(
|
|
16
|
+
Type.String(),
|
|
17
|
+
Type.Union([SecuritySchemeObjectRef, reference(SecuritySchemeObjectRef)])
|
|
18
|
+
);
|
|
15
19
|
const ComponentsObjectSchemaDefinition = Type.Object({
|
|
16
20
|
/** An object to hold reusable Schema Objects. */
|
|
17
21
|
schemas: Type.Optional(Type.Record(Type.String(), Type.Union([SchemaObjectRef, reference(SchemaObjectRef)]))),
|
|
@@ -30,9 +34,7 @@ const ComponentsObjectSchemaDefinition = Type.Object({
|
|
|
30
34
|
/** An object to hold reusable Header Objects. */
|
|
31
35
|
headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),
|
|
32
36
|
/** An object to hold reusable Security Scheme Objects. */
|
|
33
|
-
securitySchemes: Type.Optional(
|
|
34
|
-
Type.Record(Type.String(), Type.Union([SecuritySchemeObjectRef, reference(SecuritySchemeObjectRef)]))
|
|
35
|
-
),
|
|
37
|
+
securitySchemes: Type.Optional(SecuritySchemesSchemaDefinition),
|
|
36
38
|
/** An object to hold reusable Link Objects. */
|
|
37
39
|
links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectRef, reference(LinkObjectRef)]))),
|
|
38
40
|
/** An object to hold reusable Callback Objects. */
|
|
@@ -41,6 +43,7 @@ const ComponentsObjectSchemaDefinition = Type.Object({
|
|
|
41
43
|
pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectRef))
|
|
42
44
|
});
|
|
43
45
|
export {
|
|
44
|
-
ComponentsObjectSchemaDefinition
|
|
46
|
+
ComponentsObjectSchemaDefinition,
|
|
47
|
+
SecuritySchemesSchemaDefinition
|
|
45
48
|
};
|
|
46
49
|
//# sourceMappingURL=components.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/schemas/v3.1/strict/components.ts"],
|
|
4
|
-
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { CallbackObject } from './callback'\nimport type { ExampleObject } from './example'\nimport type { HeaderObject } from './header'\nimport type { LinkObject } from './link'\nimport type { ParameterObject } from './parameter'\nimport type { PathItemObject } from './path-item'\nimport {\n CallbackObjectRef,\n ExampleObjectRef,\n HeaderObjectRef,\n LinkObjectRef,\n ParameterObjectRef,\n PathItemObjectRef,\n RequestBodyObjectRef,\n ResponseObjectRef,\n SchemaObjectRef,\n SecuritySchemeObjectRef,\n} from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\nimport type { RequestBodyObject } from './request-body'\nimport type { ResponsesObject } from './responses'\nimport type { SchemaObject } from './schema'\nimport type { SecuritySchemeObject } from './security-scheme'\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchemaDefinition = Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), Type.Union([SchemaObjectRef, reference(SchemaObjectRef)]))),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectRef, reference(ResponseObjectRef)]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(\n Type.Record(Type.String(), Type.Union([ParameterObjectRef, reference(ParameterObjectRef)])),\n ),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectRef, reference(RequestBodyObjectRef)])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(
|
|
5
|
-
"mappings": "AAAA,SAAS,YAAY;AAQrB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAA6B,iBAAiB;
|
|
4
|
+
"sourcesContent": ["import { Type } from '@scalar/typebox'\n\nimport type { CallbackObject } from './callback'\nimport type { ExampleObject } from './example'\nimport type { HeaderObject } from './header'\nimport type { LinkObject } from './link'\nimport type { ParameterObject } from './parameter'\nimport type { PathItemObject } from './path-item'\nimport {\n CallbackObjectRef,\n ExampleObjectRef,\n HeaderObjectRef,\n LinkObjectRef,\n ParameterObjectRef,\n PathItemObjectRef,\n RequestBodyObjectRef,\n ResponseObjectRef,\n SchemaObjectRef,\n SecuritySchemeObjectRef,\n} from './ref-definitions'\nimport { type ReferenceType, reference } from './reference'\nimport type { RequestBodyObject } from './request-body'\nimport type { ResponsesObject } from './responses'\nimport type { SchemaObject } from './schema'\nimport type { SecuritySchemeObject } from './security-scheme'\n\nexport const SecuritySchemesSchemaDefinition = Type.Record(\n Type.String(),\n Type.Union([SecuritySchemeObjectRef, reference(SecuritySchemeObjectRef)]),\n)\nexport type SecuritySchemes = Record<string, ReferenceType<SecuritySchemeObject>>\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport const ComponentsObjectSchemaDefinition = Type.Object({\n /** An object to hold reusable Schema Objects. */\n schemas: Type.Optional(Type.Record(Type.String(), Type.Union([SchemaObjectRef, reference(SchemaObjectRef)]))),\n /** An object to hold reusable Response Objects. */\n responses: Type.Optional(Type.Record(Type.String(), Type.Union([ResponseObjectRef, reference(ResponseObjectRef)]))),\n /** An object to hold reusable Parameter Objects. */\n parameters: Type.Optional(\n Type.Record(Type.String(), Type.Union([ParameterObjectRef, reference(ParameterObjectRef)])),\n ),\n /** An object to hold reusable Example Objects. */\n examples: Type.Optional(Type.Record(Type.String(), Type.Union([ExampleObjectRef, reference(ExampleObjectRef)]))),\n /** An object to hold reusable Request Body Objects. */\n requestBodies: Type.Optional(\n Type.Record(Type.String(), Type.Union([RequestBodyObjectRef, reference(RequestBodyObjectRef)])),\n ),\n /** An object to hold reusable Header Objects. */\n headers: Type.Optional(Type.Record(Type.String(), Type.Union([HeaderObjectRef, reference(HeaderObjectRef)]))),\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes: Type.Optional(SecuritySchemesSchemaDefinition),\n /** An object to hold reusable Link Objects. */\n links: Type.Optional(Type.Record(Type.String(), Type.Union([LinkObjectRef, reference(LinkObjectRef)]))),\n /** An object to hold reusable Callback Objects. */\n callbacks: Type.Optional(Type.Record(Type.String(), Type.Union([CallbackObjectRef, reference(CallbackObjectRef)]))),\n /** An object to hold reusable Path Item Objects. */\n pathItems: Type.Optional(Type.Record(Type.String(), PathItemObjectRef)),\n})\n\n/** Holds a set of reusable objects for different aspects of the OAS. All objects defined within the Components Object will have no effect on the API unless they are explicitly referenced from outside the Components Object. */\nexport type ComponentsObject = {\n /** An object to hold reusable Schema Objects. */\n schemas?: Record<string, ReferenceType<SchemaObject>>\n /** An object to hold reusable Response Objects. */\n responses?: ResponsesObject\n /** An object to hold reusable Parameter Objects. */\n parameters?: Record<string, ReferenceType<ParameterObject>>\n /** An object to hold reusable Example Objects. */\n examples?: Record<string, ReferenceType<ExampleObject>>\n /** An object to hold reusable Request Body Objects. */\n requestBodies?: Record<string, ReferenceType<RequestBodyObject>>\n /** An object to hold reusable Header Objects. */\n headers?: Record<string, ReferenceType<HeaderObject>>\n /** An object to hold reusable Security Scheme Objects. */\n securitySchemes?: SecuritySchemes\n /** An object to hold reusable Link Objects. */\n links?: Record<string, ReferenceType<LinkObject>>\n /** An object to hold reusable Callback Objects. */\n callbacks?: Record<string, ReferenceType<CallbackObject>>\n /** An object to hold reusable Path Item Objects. */\n pathItems?: Record<string, PathItemObject>\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAAY;AAQrB;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAA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