@scalar/workspace-store 0.52.0 → 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.
Files changed (80) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/channel-example/build-connection-url.d.ts.map +1 -1
  3. package/dist/channel-example/build-connection-url.js +11 -8
  4. package/dist/channel-example/get-all-channel-messages.d.ts +10 -0
  5. package/dist/channel-example/get-all-channel-messages.d.ts.map +1 -0
  6. package/dist/channel-example/get-all-channel-messages.js +16 -0
  7. package/dist/channel-example/get-asyncapi-security-requirements.d.ts +7 -0
  8. package/dist/channel-example/get-asyncapi-security-requirements.d.ts.map +1 -0
  9. package/dist/channel-example/get-asyncapi-security-requirements.js +76 -0
  10. package/dist/channel-example/get-channel-connection-context.d.ts +16 -0
  11. package/dist/channel-example/get-channel-connection-context.d.ts.map +1 -0
  12. package/dist/channel-example/get-channel-connection-context.js +120 -0
  13. package/dist/channel-example/get-channel-connection-security.d.ts +8 -0
  14. package/dist/channel-example/get-channel-connection-security.d.ts.map +1 -0
  15. package/dist/channel-example/get-channel-connection-security.js +20 -0
  16. package/dist/channel-example/get-channel-operations.d.ts +11 -0
  17. package/dist/channel-example/get-channel-operations.d.ts.map +1 -0
  18. package/dist/channel-example/get-channel-operations.js +20 -0
  19. package/dist/channel-example/get-channel-parameters.d.ts +14 -0
  20. package/dist/channel-example/get-channel-parameters.d.ts.map +1 -0
  21. package/dist/channel-example/get-channel-parameters.js +59 -0
  22. package/dist/channel-example/index.d.ts +15 -0
  23. package/dist/channel-example/index.d.ts.map +1 -1
  24. package/dist/channel-example/index.js +9 -0
  25. package/dist/channel-example/resolve-channel.d.ts +11 -0
  26. package/dist/channel-example/resolve-channel.d.ts.map +1 -0
  27. package/dist/channel-example/resolve-channel.js +13 -0
  28. package/dist/channel-example/resolve-operation-channel.d.ts +11 -0
  29. package/dist/channel-example/resolve-operation-channel.d.ts.map +1 -0
  30. package/dist/channel-example/resolve-operation-channel.js +39 -0
  31. package/dist/channel-example/resolve-operation-with-traits.d.ts +6 -0
  32. package/dist/channel-example/resolve-operation-with-traits.d.ts.map +1 -0
  33. package/dist/channel-example/resolve-operation-with-traits.js +41 -0
  34. package/dist/channel-example/servers.d.ts.map +1 -1
  35. package/dist/channel-example/servers.js +23 -0
  36. package/dist/channel-example/types.d.ts +41 -0
  37. package/dist/channel-example/types.d.ts.map +1 -0
  38. package/dist/channel-example/types.js +1 -0
  39. package/dist/client.d.ts.map +1 -1
  40. package/dist/client.js +8 -8
  41. package/dist/entities/auth/schema.d.ts +1184 -59
  42. package/dist/entities/auth/schema.d.ts.map +1 -1
  43. package/dist/helpers/get-name-from-ref.d.ts +15 -0
  44. package/dist/helpers/get-name-from-ref.d.ts.map +1 -0
  45. package/dist/helpers/get-name-from-ref.js +37 -0
  46. package/dist/navigation/get-navigation-options.d.ts +2 -2
  47. package/dist/navigation/get-navigation-options.d.ts.map +1 -1
  48. package/dist/navigation/get-navigation-options.js +26 -3
  49. package/dist/navigation/helpers/traverse-asyncapi-document.d.ts +23 -0
  50. package/dist/navigation/helpers/traverse-asyncapi-document.d.ts.map +1 -0
  51. package/dist/navigation/helpers/traverse-asyncapi-document.js +479 -0
  52. package/dist/navigation/helpers/traverse-description.d.ts +4 -3
  53. package/dist/navigation/helpers/traverse-description.d.ts.map +1 -1
  54. package/dist/navigation/helpers/traverse-description.js +2 -2
  55. package/dist/navigation/helpers/traverse-document.d.ts.map +1 -1
  56. package/dist/navigation/helpers/traverse-document.js +3 -3
  57. package/dist/navigation/index.d.ts +1 -0
  58. package/dist/navigation/index.d.ts.map +1 -1
  59. package/dist/navigation/index.js +1 -0
  60. package/dist/navigation/types.d.ts +3 -0
  61. package/dist/navigation/types.d.ts.map +1 -1
  62. package/dist/schemas/navigation.d.ts +113 -4
  63. package/dist/schemas/navigation.d.ts.map +1 -1
  64. package/dist/schemas/navigation.js +22 -0
  65. package/dist/schemas/reference-config/index.d.ts +233 -8
  66. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  67. package/dist/schemas/reference-config/settings.d.ts +233 -8
  68. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  69. package/dist/schemas/v3.1/openapi/index.d.ts.map +1 -1
  70. package/dist/schemas/v3.1/openapi/index.js +59 -17
  71. package/dist/schemas/v3.1/strict/openapi-document.d.ts +9446 -1571
  72. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  73. package/dist/schemas/v3.1/strict/openapi-document.js +4 -1
  74. package/dist/schemas/v3.1/strict/ref-definitions.d.ts +3 -0
  75. package/dist/schemas/v3.1/strict/ref-definitions.d.ts.map +1 -1
  76. package/dist/schemas/v3.1/strict/ref-definitions.js +3 -0
  77. package/dist/schemas/v3.1/strict/schema.d.ts +259 -26
  78. package/dist/schemas/v3.1/strict/schema.d.ts.map +1 -1
  79. package/dist/schemas/v3.1/strict/schema.js +37 -28
  80. package/package.json +7 -7
@@ -401,7 +401,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
401
401
  }>, import("@scalar/typebox").TObject<{
402
402
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
403
403
  }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
404
- type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">, 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">]>>]>;
404
+ type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"null">, import("@scalar/typebox").TLiteral<"boolean">]>;
405
405
  }>, import("@scalar/typebox").TObject<{
406
406
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
407
407
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -489,15 +489,16 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
489
489
  'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
490
490
  }>, import("@scalar/typebox").TObject<{
491
491
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
492
- }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
492
+ }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
493
493
  type: import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"number">, import("@scalar/typebox").TLiteral<"integer">]>;
494
494
  format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
495
+ }>, import("@scalar/typebox").TObject<{
495
496
  multipleOf: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
496
497
  maximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
497
498
  exclusiveMaximum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
498
499
  minimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
499
500
  exclusiveMinimum: import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
500
- }>, import("@scalar/typebox").TObject<{
501
+ }>]>, import("@scalar/typebox").TObject<{
501
502
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
502
503
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
503
504
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -584,13 +585,14 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
584
585
  'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
585
586
  }>, import("@scalar/typebox").TObject<{
586
587
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
587
- }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
588
+ }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
588
589
  type: import("@scalar/typebox").TLiteral<"string">;
589
590
  format: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
591
+ }>, import("@scalar/typebox").TObject<{
590
592
  maxLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
591
593
  minLength: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
592
594
  pattern: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
593
- }>, import("@scalar/typebox").TObject<{
595
+ }>]>, import("@scalar/typebox").TObject<{
594
596
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
595
597
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
596
598
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -677,8 +679,9 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
677
679
  'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
678
680
  }>, import("@scalar/typebox").TObject<{
679
681
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
680
- }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
682
+ }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
681
683
  type: import("@scalar/typebox").TLiteral<"object">;
684
+ }>, import("@scalar/typebox").TObject<{
682
685
  maxProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
683
686
  minProperties: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
684
687
  required: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
@@ -722,7 +725,7 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
722
725
  }>]>, import("@scalar/typebox").TObject<{
723
726
  '$ref-value': import("@scalar/typebox").TUnknown;
724
727
  }>]>]>>;
725
- }>, import("@scalar/typebox").TObject<{
728
+ }>]>, import("@scalar/typebox").TObject<{
726
729
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
727
730
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
728
731
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -809,8 +812,133 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
809
812
  'x-order': import("@scalar/typebox").TOptional<import("@scalar/typebox").TNumber>;
810
813
  }>, import("@scalar/typebox").TObject<{
811
814
  'x-tags': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
812
- }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
815
+ }>]>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
813
816
  type: import("@scalar/typebox").TLiteral<"array">;
817
+ }>, import("@scalar/typebox").TObject<{
818
+ maxItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
819
+ minItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
820
+ uniqueItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
821
+ 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<{
822
+ $ref: import("@scalar/typebox").TString;
823
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
824
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
825
+ }>, import("@scalar/typebox").TObject<{
826
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
827
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
828
+ }>]>, import("@scalar/typebox").TObject<{
829
+ '$ref-value': import("@scalar/typebox").TUnknown;
830
+ }>]>]>>;
831
+ 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<{
832
+ $ref: import("@scalar/typebox").TString;
833
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
834
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
835
+ }>, import("@scalar/typebox").TObject<{
836
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
837
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
838
+ }>]>, import("@scalar/typebox").TObject<{
839
+ '$ref-value': import("@scalar/typebox").TUnknown;
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>>;
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<{
814
942
  maxItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
815
943
  minItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TInteger>;
816
944
  uniqueItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
@@ -835,6 +963,50 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
835
963
  '$ref-value': import("@scalar/typebox").TUnknown;
836
964
  }>]>]>>>;
837
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<{
838
1010
  name: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
839
1011
  title: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
840
1012
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1358,6 +1530,34 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1358
1530
  isDeprecated: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
1359
1531
  children: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TraversedEntryObject">>>;
1360
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
+ }>]>;
1361
1561
  TraversedSchemaObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1362
1562
  id: import("@scalar/typebox").TString;
1363
1563
  title: import("@scalar/typebox").TString;
@@ -1407,6 +1607,31 @@ export declare const SettingsSchema: import("@scalar/typebox").TObject<{
1407
1607
  }>]>, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
1408
1608
  id: import("@scalar/typebox").TString;
1409
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;
1410
1635
  }>, import("@scalar/typebox").TObject<{
1411
1636
  type: import("@scalar/typebox").TLiteral<"model">;
1412
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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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"}
@@ -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;AA4C3B,eAAO,MAAM,cAAc,GAAI,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6gCjE,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"}
@@ -185,24 +185,33 @@ export const generateSchema = (maybeRef) => {
185
185
  const schemaScalarMarker = object({
186
186
  __scalar_: string({ typeComment: 'Internal marker for schema object disambiguation.' }),
187
187
  });
188
- const numericSchema = object({
189
- type: union([literal('number'), literal('integer')]),
190
- format: optional(string({ typeComment: 'Different subtypes.' })),
188
+ const numericValidationKeywords = object({
191
189
  multipleOf: optional(number({ typeComment: 'Number must be a multiple of this value.' })),
192
190
  maximum: optional(number({ typeComment: 'Maximum value (inclusive).' })),
193
191
  exclusiveMaximum: optional(number({ typeComment: 'Maximum value (exclusive).' })),
194
192
  minimum: optional(number({ typeComment: 'Minimum value (inclusive).' })),
195
193
  exclusiveMinimum: optional(number({ typeComment: 'Minimum value (exclusive).' })),
196
- }, { typeName: 'NumberSchemaObject' });
197
- const stringSchema = object({
198
- type: literal('string'),
199
- format: optional(string({ typeComment: 'Different subtypes.' })),
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({
200
203
  maxLength: optional(number({ typeComment: 'Maximum string length.' })),
201
204
  minLength: optional(number({ typeComment: 'Minimum string length.' })),
202
205
  pattern: optional(string({ typeComment: 'Regular expression pattern.' })),
203
- }, { typeName: 'StringSchemaObject' });
204
- const objectSchema = object({
205
- type: literal('object'),
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({
206
215
  maxProperties: optional(number({ typeComment: 'Maximum number of properties.' })),
207
216
  minProperties: optional(number({ typeComment: 'Minimum number of properties.' })),
208
217
  properties: optional(record(string(), maybeRef(lazy(() => schema)), { typeName: 'SchemaObjectProperties' })),
@@ -212,15 +221,26 @@ export const generateSchema = (maybeRef) => {
212
221
  })),
213
222
  patternProperties: optional(record(string(), maybeRef(lazy(() => schema)), { typeName: 'SchemaObjectPatternProperties' })),
214
223
  propertyNames: optional(maybeRef(lazy(() => schema))),
215
- }, { typeName: 'ObjectSchemaObject' });
216
- const arraySchema = object({
217
- type: literal('array'),
224
+ });
225
+ const objectSchema = intersection([
226
+ object({
227
+ type: literal('object'),
228
+ }),
229
+ objectValidationKeywords,
230
+ ], { typeName: 'ObjectSchemaObject' });
231
+ const arrayValidationKeywords = object({
218
232
  maxItems: optional(number({ typeComment: 'Maximum number of items in array.' })),
219
233
  minItems: optional(number({ typeComment: 'Minimum number of items in array.' })),
220
234
  uniqueItems: optional(boolean({ typeComment: 'Whether array items must be unique.' })),
221
235
  items: optional(maybeRef(lazy(() => schema))),
222
236
  prefixItems: optional(array(maybeRef(lazy(() => schema)), { typeComment: 'Schema for tuple validation.' })),
223
- }, { typeName: 'ArraySchemaObject' });
237
+ });
238
+ const arraySchema = intersection([
239
+ object({
240
+ type: literal('array'),
241
+ }),
242
+ arrayValidationKeywords,
243
+ ], { typeName: 'ArraySchemaObject' });
224
244
  const schemaTypeMulti = union([
225
245
  literal('null'),
226
246
  literal('boolean'),
@@ -231,14 +251,36 @@ export const generateSchema = (maybeRef) => {
231
251
  literal('array'),
232
252
  ], { typeName: 'SchemaObjectMultiTypeKeywords' });
233
253
  const otherTypeSchema = object({
234
- type: union([literal('null'), literal('boolean'), array(schemaTypeMulti)], {
254
+ type: union([literal('null'), literal('boolean')], {
235
255
  typeName: 'SchemaObjectOtherTypeKeyword',
236
256
  }),
237
- }, { typeName: 'MultiTypeSchemaObject' });
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
+ });
238
272
  const schema = intersection([
239
273
  coreSchemaProperties,
240
274
  ...schemaExtensionObjects,
241
- union([schemaScalarMarker, otherTypeSchema, numericSchema, stringSchema, objectSchema, arraySchema]),
275
+ union([
276
+ schemaScalarMarker,
277
+ otherTypeSchema,
278
+ numericSchema,
279
+ stringSchema,
280
+ objectSchema,
281
+ arraySchema,
282
+ multiTypeSchema,
283
+ ]),
242
284
  ], { typeName: 'SchemaObject' });
243
285
  const securitySchemeBase = object({
244
286
  description: optional(string({