@scalar/workspace-store 0.51.2 → 0.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/channel-example/build-connection-url.d.ts +42 -0
- package/dist/channel-example/build-connection-url.d.ts.map +1 -0
- package/dist/channel-example/build-connection-url.js +184 -0
- package/dist/channel-example/get-all-channel-messages.d.ts +10 -0
- package/dist/channel-example/get-all-channel-messages.d.ts.map +1 -0
- package/dist/channel-example/get-all-channel-messages.js +16 -0
- package/dist/channel-example/get-asyncapi-security-requirements.d.ts +7 -0
- package/dist/channel-example/get-asyncapi-security-requirements.d.ts.map +1 -0
- package/dist/channel-example/get-asyncapi-security-requirements.js +76 -0
- package/dist/channel-example/get-channel-connection-context.d.ts +16 -0
- package/dist/channel-example/get-channel-connection-context.d.ts.map +1 -0
- package/dist/channel-example/get-channel-connection-context.js +120 -0
- package/dist/channel-example/get-channel-connection-security.d.ts +8 -0
- package/dist/channel-example/get-channel-connection-security.d.ts.map +1 -0
- package/dist/channel-example/get-channel-connection-security.js +20 -0
- package/dist/channel-example/get-channel-operations.d.ts +11 -0
- package/dist/channel-example/get-channel-operations.d.ts.map +1 -0
- package/dist/channel-example/get-channel-operations.js +20 -0
- package/dist/channel-example/get-channel-parameters.d.ts +14 -0
- package/dist/channel-example/get-channel-parameters.d.ts.map +1 -0
- package/dist/channel-example/get-channel-parameters.js +59 -0
- package/dist/channel-example/index.d.ts +20 -0
- package/dist/channel-example/index.d.ts.map +1 -0
- package/dist/channel-example/index.js +11 -0
- package/dist/channel-example/resolve-channel.d.ts +11 -0
- package/dist/channel-example/resolve-channel.d.ts.map +1 -0
- package/dist/channel-example/resolve-channel.js +13 -0
- package/dist/channel-example/resolve-operation-channel.d.ts +11 -0
- package/dist/channel-example/resolve-operation-channel.d.ts.map +1 -0
- package/dist/channel-example/resolve-operation-channel.js +39 -0
- package/dist/channel-example/resolve-operation-with-traits.d.ts +6 -0
- package/dist/channel-example/resolve-operation-with-traits.d.ts.map +1 -0
- package/dist/channel-example/resolve-operation-with-traits.js +41 -0
- package/dist/channel-example/servers.d.ts +36 -0
- package/dist/channel-example/servers.d.ts.map +1 -0
- package/dist/channel-example/servers.js +77 -0
- package/dist/channel-example/types.d.ts +41 -0
- package/dist/channel-example/types.d.ts.map +1 -0
- package/dist/channel-example/types.js +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -8
- package/dist/entities/auth/schema.d.ts +1266 -81
- package/dist/entities/auth/schema.d.ts.map +1 -1
- package/dist/events/definitions/log.d.ts +6 -0
- package/dist/events/definitions/log.d.ts.map +1 -1
- package/dist/helpers/get-name-from-ref.d.ts +15 -0
- package/dist/helpers/get-name-from-ref.d.ts.map +1 -0
- package/dist/helpers/get-name-from-ref.js +37 -0
- package/dist/navigation/get-navigation-options.d.ts +2 -2
- package/dist/navigation/get-navigation-options.d.ts.map +1 -1
- package/dist/navigation/get-navigation-options.js +26 -3
- package/dist/navigation/helpers/traverse-asyncapi-document.d.ts +23 -0
- package/dist/navigation/helpers/traverse-asyncapi-document.d.ts.map +1 -0
- package/dist/navigation/helpers/traverse-asyncapi-document.js +479 -0
- package/dist/navigation/helpers/traverse-description.d.ts +4 -3
- package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-description.js +2 -2
- package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
- package/dist/navigation/helpers/traverse-document.js +3 -3
- package/dist/navigation/index.d.ts +1 -0
- package/dist/navigation/index.d.ts.map +1 -1
- package/dist/navigation/index.js +1 -0
- package/dist/navigation/types.d.ts +3 -0
- package/dist/navigation/types.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.d.ts.map +1 -1
- package/dist/request-example/builder/helpers/get-example-from-schema.js +33 -2
- package/dist/schemas/extensions/schema/x-order.d.ts +22 -0
- package/dist/schemas/extensions/schema/x-order.d.ts.map +1 -0
- package/dist/schemas/extensions/schema/x-order.js +17 -0
- package/dist/schemas/extensions/server/x-scalar-selected-server.d.ts +4 -1
- package/dist/schemas/extensions/server/x-scalar-selected-server.d.ts.map +1 -1
- package/dist/schemas/extensions/server/x-scalar-selected-server.js +4 -2
- package/dist/schemas/navigation.d.ts +113 -4
- package/dist/schemas/navigation.d.ts.map +1 -1
- package/dist/schemas/navigation.js +22 -0
- package/dist/schemas/reference-config/index.d.ts +245 -8
- package/dist/schemas/reference-config/index.d.ts.map +1 -1
- package/dist/schemas/reference-config/settings.d.ts +245 -8
- package/dist/schemas/reference-config/settings.d.ts.map +1 -1
- package/dist/schemas/v3.1/openapi/index.d.ts.map +1 -1
- package/dist/schemas/v3.1/openapi/index.js +61 -17
- package/dist/schemas/v3.1/strict/openapi-document.d.ts +9731 -1436
- 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/ref-definitions.d.ts +3 -0
- package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/ref-definitions.js +3 -0
- package/dist/schemas/v3.1/strict/schema.d.ts +275 -27
- package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
- package/dist/schemas/v3.1/strict/schema.js +39 -29
- package/package.json +12 -7
|
@@ -396,10 +396,12 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
396
396
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
397
397
|
}>, import("@scalar/typebox").TObject<{
|
|
398
398
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
399
|
+
}>, import("@scalar/typebox").TObject<{
|
|
400
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
399
401
|
}>, import("@scalar/typebox").TObject<{
|
|
400
402
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
401
403
|
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
402
|
-
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean"
|
|
404
|
+
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">]>;
|
|
403
405
|
}>, import("@scalar/typebox").TObject<{
|
|
404
406
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
405
407
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -483,17 +485,20 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
483
485
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
484
486
|
}>, import("@scalar/typebox").TObject<{
|
|
485
487
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
488
|
+
}>, import("@scalar/typebox").TObject<{
|
|
489
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
486
490
|
}>, import("@scalar/typebox").TObject<{
|
|
487
491
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
488
|
-
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
492
|
+
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
489
493
|
type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
|
|
490
494
|
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
495
|
+
}>, import("@scalar/typebox").TObject<{
|
|
491
496
|
multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
492
497
|
maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
493
498
|
exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
494
499
|
minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
495
500
|
exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
496
|
-
}>, import("@scalar/typebox").TObject<{
|
|
501
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
497
502
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
498
503
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
499
504
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -576,15 +581,18 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
576
581
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
577
582
|
}>, import("@scalar/typebox").TObject<{
|
|
578
583
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
584
|
+
}>, import("@scalar/typebox").TObject<{
|
|
585
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
579
586
|
}>, import("@scalar/typebox").TObject<{
|
|
580
587
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
581
|
-
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
588
|
+
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
582
589
|
type: import("@scalar/typebox").TLiteral<"string">;
|
|
583
590
|
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
591
|
+
}>, import("@scalar/typebox").TObject<{
|
|
584
592
|
maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
585
593
|
minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
586
594
|
pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
587
|
-
}>, import("@scalar/typebox").TObject<{
|
|
595
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
588
596
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
589
597
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
590
598
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -667,10 +675,13 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
667
675
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
668
676
|
}>, import("@scalar/typebox").TObject<{
|
|
669
677
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
678
|
+
}>, import("@scalar/typebox").TObject<{
|
|
679
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
670
680
|
}>, import("@scalar/typebox").TObject<{
|
|
671
681
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
672
|
-
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
682
|
+
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
673
683
|
type: import("@scalar/typebox").TLiteral<"object">;
|
|
684
|
+
}>, import("@scalar/typebox").TObject<{
|
|
674
685
|
maxProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
675
686
|
minProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
676
687
|
required: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
@@ -714,7 +725,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
714
725
|
}>]>, import("@scalar/typebox").TObject<{
|
|
715
726
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
716
727
|
}>]>]>>;
|
|
717
|
-
}>, import("@scalar/typebox").TObject<{
|
|
728
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
718
729
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
719
730
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
720
731
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -797,10 +808,13 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
797
808
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
798
809
|
}>, import("@scalar/typebox").TObject<{
|
|
799
810
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
811
|
+
}>, import("@scalar/typebox").TObject<{
|
|
812
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
800
813
|
}>, import("@scalar/typebox").TObject<{
|
|
801
814
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
802
|
-
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
815
|
+
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
803
816
|
type: import("@scalar/typebox").TLiteral<"array">;
|
|
817
|
+
}>, import("@scalar/typebox").TObject<{
|
|
804
818
|
maxItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
805
819
|
minItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
806
820
|
uniqueItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
@@ -824,7 +838,175 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
824
838
|
}>]>, import("@scalar/typebox").TObject<{
|
|
825
839
|
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
826
840
|
}>]>]>>>;
|
|
841
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
842
|
+
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
843
|
+
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
844
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
845
|
+
default: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
|
|
846
|
+
enum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnknown>>;
|
|
847
|
+
const: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
|
|
848
|
+
contentMediaType: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
849
|
+
contentEncoding: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
850
|
+
contentSchema: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
851
|
+
$ref: import("@scalar/typebox").TString;
|
|
852
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
853
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
854
|
+
}>, import("@scalar/typebox").TObject<{
|
|
855
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
856
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
857
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
858
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
859
|
+
}>]>]>>;
|
|
860
|
+
deprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
861
|
+
discriminator: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"DiscriminatorObject">>;
|
|
862
|
+
readOnly: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
863
|
+
writeOnly: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
864
|
+
xml: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"XMLObject">>;
|
|
865
|
+
externalDocs: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ExternalDocumentationObject">>;
|
|
866
|
+
example: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnknown>;
|
|
867
|
+
examples: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnknown>>;
|
|
868
|
+
allOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
869
|
+
$ref: import("@scalar/typebox").TString;
|
|
870
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
871
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
872
|
+
}>, import("@scalar/typebox").TObject<{
|
|
873
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
874
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
875
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
876
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
877
|
+
}>]>]>>>;
|
|
878
|
+
oneOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
879
|
+
$ref: import("@scalar/typebox").TString;
|
|
880
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
881
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
882
|
+
}>, import("@scalar/typebox").TObject<{
|
|
883
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
884
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
885
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
886
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
887
|
+
}>]>]>>>;
|
|
888
|
+
anyOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
889
|
+
$ref: import("@scalar/typebox").TString;
|
|
890
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
891
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
892
|
+
}>, import("@scalar/typebox").TObject<{
|
|
893
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
894
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
895
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
896
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
897
|
+
}>]>]>>>;
|
|
898
|
+
not: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
899
|
+
$ref: import("@scalar/typebox").TString;
|
|
900
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
901
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
902
|
+
}>, import("@scalar/typebox").TObject<{
|
|
903
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
904
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
905
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
906
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
907
|
+
}>]>]>>;
|
|
908
|
+
}>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
909
|
+
'x-scalar-ignore': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
910
|
+
}>, import("@scalar/typebox").TObject<{
|
|
911
|
+
'x-internal': import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
912
|
+
}>, import("@scalar/typebox").TObject<{
|
|
913
|
+
'x-variable': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
914
|
+
}>, import("@scalar/typebox").TObject<{
|
|
915
|
+
'x-examples': import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnknown>>;
|
|
827
916
|
}>, import("@scalar/typebox").TObject<{
|
|
917
|
+
'x-enumDescriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
|
|
918
|
+
'x-enum-descriptions': import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TString>, import("@scalar/typebox").TArray<import("@scalar/typebox").TString>]>>;
|
|
919
|
+
}>, import("@scalar/typebox").TObject<{
|
|
920
|
+
'x-enum-varnames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
921
|
+
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
922
|
+
}>, import("@scalar/typebox").TObject<{
|
|
923
|
+
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
924
|
+
}>, import("@scalar/typebox").TObject<{
|
|
925
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
926
|
+
}>, import("@scalar/typebox").TObject<{
|
|
927
|
+
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
928
|
+
}>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
929
|
+
type: import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, import("@scalar/typebox").TLiteral<"string">, import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">, import("@scalar/typebox").TLiteral<"object">, import("@scalar/typebox").TLiteral<"array">]>>;
|
|
930
|
+
format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
931
|
+
}>, import("@scalar/typebox").TObject<{
|
|
932
|
+
multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
933
|
+
maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
934
|
+
exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
935
|
+
minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
936
|
+
exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
937
|
+
}>, import("@scalar/typebox").TObject<{
|
|
938
|
+
maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
939
|
+
minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
940
|
+
pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
941
|
+
}>, import("@scalar/typebox").TObject<{
|
|
942
|
+
maxItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
943
|
+
minItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
944
|
+
uniqueItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
945
|
+
items: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
946
|
+
$ref: import("@scalar/typebox").TString;
|
|
947
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
948
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
949
|
+
}>, import("@scalar/typebox").TObject<{
|
|
950
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
951
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
952
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
953
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
954
|
+
}>]>]>>;
|
|
955
|
+
prefixItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
956
|
+
$ref: import("@scalar/typebox").TString;
|
|
957
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
958
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
959
|
+
}>, import("@scalar/typebox").TObject<{
|
|
960
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
961
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
962
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
963
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
964
|
+
}>]>]>>>;
|
|
965
|
+
}>, import("@scalar/typebox").TObject<{
|
|
966
|
+
maxProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
967
|
+
minProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
|
|
968
|
+
required: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
969
|
+
properties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
970
|
+
$ref: import("@scalar/typebox").TString;
|
|
971
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
972
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
973
|
+
}>, import("@scalar/typebox").TObject<{
|
|
974
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
975
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
976
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
977
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
978
|
+
}>]>]>>>;
|
|
979
|
+
additionalProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TBoolean, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
980
|
+
$ref: import("@scalar/typebox").TString;
|
|
981
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
982
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
983
|
+
}>, import("@scalar/typebox").TObject<{
|
|
984
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
985
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
986
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
987
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
988
|
+
}>]>]>]>>;
|
|
989
|
+
patternProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
990
|
+
$ref: import("@scalar/typebox").TString;
|
|
991
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
992
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
993
|
+
}>, import("@scalar/typebox").TObject<{
|
|
994
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
995
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
996
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
997
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
998
|
+
}>]>]>>>;
|
|
999
|
+
propertyNames: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"SchemaObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1000
|
+
$ref: import("@scalar/typebox").TString;
|
|
1001
|
+
summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1002
|
+
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1003
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1004
|
+
$status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
|
|
1005
|
+
$global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1006
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
1007
|
+
'$ref-value': import("@scalar/typebox").TUnknown;
|
|
1008
|
+
}>]>]>>;
|
|
1009
|
+
}>]>, import("@scalar/typebox").TObject<{
|
|
828
1010
|
name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
829
1011
|
title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
830
1012
|
description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
@@ -907,6 +1089,8 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
907
1089
|
'x-enumNames': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
908
1090
|
}>, import("@scalar/typebox").TObject<{
|
|
909
1091
|
'x-additionalPropertiesName': import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
|
|
1092
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1093
|
+
'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
|
|
910
1094
|
}>, import("@scalar/typebox").TObject<{
|
|
911
1095
|
'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
|
|
912
1096
|
}>]>]>]>;
|
|
@@ -1346,6 +1530,34 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1346
1530
|
isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
|
|
1347
1531
|
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1348
1532
|
}>]>;
|
|
1533
|
+
TraversedAsyncApiOperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1534
|
+
id: import("@scalar/typebox").TString;
|
|
1535
|
+
title: import("@scalar/typebox").TString;
|
|
1536
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1537
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-operation">;
|
|
1538
|
+
operationName: import("@scalar/typebox").TString;
|
|
1539
|
+
action: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"send">, import("@scalar/typebox").TLiteral<"receive">]>;
|
|
1540
|
+
channelName: import("@scalar/typebox").TString;
|
|
1541
|
+
channelAddress: import("@scalar/typebox").TString;
|
|
1542
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1543
|
+
}>]>;
|
|
1544
|
+
TraversedAsyncApiChannelObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1545
|
+
id: import("@scalar/typebox").TString;
|
|
1546
|
+
title: import("@scalar/typebox").TString;
|
|
1547
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1548
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-channel">;
|
|
1549
|
+
channelName: import("@scalar/typebox").TString;
|
|
1550
|
+
channelAddress: import("@scalar/typebox").TString;
|
|
1551
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1552
|
+
}>]>;
|
|
1553
|
+
TraversedAsyncApiMessageObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1554
|
+
id: import("@scalar/typebox").TString;
|
|
1555
|
+
title: import("@scalar/typebox").TString;
|
|
1556
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1557
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-message">;
|
|
1558
|
+
messageName: import("@scalar/typebox").TString;
|
|
1559
|
+
channelName: import("@scalar/typebox").TString;
|
|
1560
|
+
}>]>;
|
|
1349
1561
|
TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1350
1562
|
id: import("@scalar/typebox").TString;
|
|
1351
1563
|
title: import("@scalar/typebox").TString;
|
|
@@ -1395,6 +1607,31 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
|
|
|
1395
1607
|
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1396
1608
|
id: import("@scalar/typebox").TString;
|
|
1397
1609
|
title: import("@scalar/typebox").TString;
|
|
1610
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1611
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-operation">;
|
|
1612
|
+
operationName: import("@scalar/typebox").TString;
|
|
1613
|
+
action: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"send">, import("@scalar/typebox").TLiteral<"receive">]>;
|
|
1614
|
+
channelName: import("@scalar/typebox").TString;
|
|
1615
|
+
channelAddress: import("@scalar/typebox").TString;
|
|
1616
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1617
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1618
|
+
id: import("@scalar/typebox").TString;
|
|
1619
|
+
title: import("@scalar/typebox").TString;
|
|
1620
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1621
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-channel">;
|
|
1622
|
+
channelName: import("@scalar/typebox").TString;
|
|
1623
|
+
channelAddress: import("@scalar/typebox").TString;
|
|
1624
|
+
children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
|
|
1625
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1626
|
+
id: import("@scalar/typebox").TString;
|
|
1627
|
+
title: import("@scalar/typebox").TString;
|
|
1628
|
+
}>, import("@scalar/typebox").TObject<{
|
|
1629
|
+
type: import("@scalar/typebox").TLiteral<"asyncapi-message">;
|
|
1630
|
+
messageName: import("@scalar/typebox").TString;
|
|
1631
|
+
channelName: import("@scalar/typebox").TString;
|
|
1632
|
+
}>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
|
|
1633
|
+
id: import("@scalar/typebox").TString;
|
|
1634
|
+
title: import("@scalar/typebox").TString;
|
|
1398
1635
|
}>, import("@scalar/typebox").TObject<{
|
|
1399
1636
|
type: import("@scalar/typebox").TLiteral<"model">;
|
|
1400
1637
|
ref: 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":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/v3.1/openapi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAaZ,MAAM,oBAAoB,CAAA;AA4C3B,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0jCjE,CAAA"}
|
|
@@ -28,6 +28,7 @@ import { XAdditionalPropertiesName } from '../../../schemas/extensions/schema/x-
|
|
|
28
28
|
import { XEnumDescriptions } from '../../../schemas/extensions/schema/x-enum-descriptions.js';
|
|
29
29
|
import { XEnumVarNames } from '../../../schemas/extensions/schema/x-enum-varnames.js';
|
|
30
30
|
import { XExamples } from '../../../schemas/extensions/schema/x-examples.js';
|
|
31
|
+
import { XOrder } from '../../../schemas/extensions/schema/x-order.js';
|
|
31
32
|
import { XVariable } from '../../../schemas/extensions/schema/x-variable.js';
|
|
32
33
|
import { XDefaultScopes } from '../../../schemas/extensions/security/x-default-scopes.js';
|
|
33
34
|
import { XScalarCredentialsLocation } from '../../../schemas/extensions/security/x-scalar-credentials-location.js';
|
|
@@ -150,6 +151,7 @@ export const generateSchema = (maybeRef) => {
|
|
|
150
151
|
XEnumDescriptions,
|
|
151
152
|
XEnumVarNames,
|
|
152
153
|
XAdditionalPropertiesName,
|
|
154
|
+
XOrder,
|
|
153
155
|
XTags,
|
|
154
156
|
];
|
|
155
157
|
const coreSchemaProperties = object({
|
|
@@ -183,24 +185,33 @@ export const generateSchema = (maybeRef) => {
|
|
|
183
185
|
const schemaScalarMarker = object({
|
|
184
186
|
__scalar_: string({ typeComment: 'Internal marker for schema object disambiguation.' }),
|
|
185
187
|
});
|
|
186
|
-
const
|
|
187
|
-
type: union([literal('number'), literal('integer')]),
|
|
188
|
-
format: optional(string({ typeComment: 'Different subtypes.' })),
|
|
188
|
+
const numericValidationKeywords = object({
|
|
189
189
|
multipleOf: optional(number({ typeComment: 'Number must be a multiple of this value.' })),
|
|
190
190
|
maximum: optional(number({ typeComment: 'Maximum value (inclusive).' })),
|
|
191
191
|
exclusiveMaximum: optional(number({ typeComment: 'Maximum value (exclusive).' })),
|
|
192
192
|
minimum: optional(number({ typeComment: 'Minimum value (inclusive).' })),
|
|
193
193
|
exclusiveMinimum: optional(number({ typeComment: 'Minimum value (exclusive).' })),
|
|
194
|
-
}
|
|
195
|
-
const
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
});
|
|
195
|
+
const numericSchema = intersection([
|
|
196
|
+
object({
|
|
197
|
+
type: union([literal('number'), literal('integer')]),
|
|
198
|
+
format: optional(string({ typeComment: 'Different subtypes.' })),
|
|
199
|
+
}),
|
|
200
|
+
numericValidationKeywords,
|
|
201
|
+
], { typeName: 'NumberSchemaObject' });
|
|
202
|
+
const stringValidationKeywords = object({
|
|
198
203
|
maxLength: optional(number({ typeComment: 'Maximum string length.' })),
|
|
199
204
|
minLength: optional(number({ typeComment: 'Minimum string length.' })),
|
|
200
205
|
pattern: optional(string({ typeComment: 'Regular expression pattern.' })),
|
|
201
|
-
}
|
|
202
|
-
const
|
|
203
|
-
|
|
206
|
+
});
|
|
207
|
+
const stringSchema = intersection([
|
|
208
|
+
object({
|
|
209
|
+
type: literal('string'),
|
|
210
|
+
format: optional(string({ typeComment: 'Different subtypes.' })),
|
|
211
|
+
}),
|
|
212
|
+
stringValidationKeywords,
|
|
213
|
+
], { typeName: 'StringSchemaObject' });
|
|
214
|
+
const objectValidationKeywords = object({
|
|
204
215
|
maxProperties: optional(number({ typeComment: 'Maximum number of properties.' })),
|
|
205
216
|
minProperties: optional(number({ typeComment: 'Minimum number of properties.' })),
|
|
206
217
|
properties: optional(record(string(), maybeRef(lazy(() => schema)), { typeName: 'SchemaObjectProperties' })),
|
|
@@ -210,15 +221,26 @@ export const generateSchema = (maybeRef) => {
|
|
|
210
221
|
})),
|
|
211
222
|
patternProperties: optional(record(string(), maybeRef(lazy(() => schema)), { typeName: 'SchemaObjectPatternProperties' })),
|
|
212
223
|
propertyNames: optional(maybeRef(lazy(() => schema))),
|
|
213
|
-
}
|
|
214
|
-
const
|
|
215
|
-
|
|
224
|
+
});
|
|
225
|
+
const objectSchema = intersection([
|
|
226
|
+
object({
|
|
227
|
+
type: literal('object'),
|
|
228
|
+
}),
|
|
229
|
+
objectValidationKeywords,
|
|
230
|
+
], { typeName: 'ObjectSchemaObject' });
|
|
231
|
+
const arrayValidationKeywords = object({
|
|
216
232
|
maxItems: optional(number({ typeComment: 'Maximum number of items in array.' })),
|
|
217
233
|
minItems: optional(number({ typeComment: 'Minimum number of items in array.' })),
|
|
218
234
|
uniqueItems: optional(boolean({ typeComment: 'Whether array items must be unique.' })),
|
|
219
235
|
items: optional(maybeRef(lazy(() => schema))),
|
|
220
236
|
prefixItems: optional(array(maybeRef(lazy(() => schema)), { typeComment: 'Schema for tuple validation.' })),
|
|
221
|
-
}
|
|
237
|
+
});
|
|
238
|
+
const arraySchema = intersection([
|
|
239
|
+
object({
|
|
240
|
+
type: literal('array'),
|
|
241
|
+
}),
|
|
242
|
+
arrayValidationKeywords,
|
|
243
|
+
], { typeName: 'ArraySchemaObject' });
|
|
222
244
|
const schemaTypeMulti = union([
|
|
223
245
|
literal('null'),
|
|
224
246
|
literal('boolean'),
|
|
@@ -229,14 +251,36 @@ export const generateSchema = (maybeRef) => {
|
|
|
229
251
|
literal('array'),
|
|
230
252
|
], { typeName: 'SchemaObjectMultiTypeKeywords' });
|
|
231
253
|
const otherTypeSchema = object({
|
|
232
|
-
type: union([literal('null'), literal('boolean')
|
|
254
|
+
type: union([literal('null'), literal('boolean')], {
|
|
233
255
|
typeName: 'SchemaObjectOtherTypeKeyword',
|
|
234
256
|
}),
|
|
235
|
-
}
|
|
257
|
+
});
|
|
258
|
+
const multiTypeSchema = intersection([
|
|
259
|
+
object({
|
|
260
|
+
type: array(schemaTypeMulti, {
|
|
261
|
+
typeName: 'SchemaObjectMultiTypeKeywordArray',
|
|
262
|
+
}),
|
|
263
|
+
format: optional(string({ typeComment: 'Different subtypes.' })),
|
|
264
|
+
}),
|
|
265
|
+
numericValidationKeywords,
|
|
266
|
+
stringValidationKeywords,
|
|
267
|
+
arrayValidationKeywords,
|
|
268
|
+
objectValidationKeywords,
|
|
269
|
+
], {
|
|
270
|
+
typeName: 'MultiTypeSchemaObject',
|
|
271
|
+
});
|
|
236
272
|
const schema = intersection([
|
|
237
273
|
coreSchemaProperties,
|
|
238
274
|
...schemaExtensionObjects,
|
|
239
|
-
union([
|
|
275
|
+
union([
|
|
276
|
+
schemaScalarMarker,
|
|
277
|
+
otherTypeSchema,
|
|
278
|
+
numericSchema,
|
|
279
|
+
stringSchema,
|
|
280
|
+
objectSchema,
|
|
281
|
+
arraySchema,
|
|
282
|
+
multiTypeSchema,
|
|
283
|
+
]),
|
|
240
284
|
], { typeName: 'SchemaObject' });
|
|
241
285
|
const securitySchemeBase = object({
|
|
242
286
|
description: optional(string({
|