@scalar/workspace-store 0.54.1 → 0.54.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.
Files changed (58) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/entities/auth/schema.d.ts +110 -15
  3. package/dist/entities/auth/schema.d.ts.map +1 -1
  4. package/dist/helpers/for-each-path-item-operation.d.ts +33 -0
  5. package/dist/helpers/for-each-path-item-operation.d.ts.map +1 -0
  6. package/dist/helpers/for-each-path-item-operation.js +75 -0
  7. package/dist/mutators/auth.d.ts.map +1 -1
  8. package/dist/mutators/auth.js +7 -13
  9. package/dist/mutators/operation/body.d.ts.map +1 -1
  10. package/dist/mutators/operation/body.js +3 -2
  11. package/dist/mutators/operation/extensions.d.ts.map +1 -1
  12. package/dist/mutators/operation/extensions.js +2 -1
  13. package/dist/mutators/operation/history.d.ts.map +1 -1
  14. package/dist/mutators/operation/history.js +3 -2
  15. package/dist/mutators/operation/operation.d.ts.map +1 -1
  16. package/dist/mutators/operation/operation.js +16 -16
  17. package/dist/mutators/operation/parameters.d.ts.map +1 -1
  18. package/dist/mutators/operation/parameters.js +30 -9
  19. package/dist/mutators/server.d.ts.map +1 -1
  20. package/dist/mutators/server.js +2 -1
  21. package/dist/mutators/tag.d.ts.map +1 -1
  22. package/dist/mutators/tag.js +9 -15
  23. package/dist/navigation/helpers/get-openapi-object.d.ts.map +1 -1
  24. package/dist/navigation/helpers/get-openapi-object.js +2 -1
  25. package/dist/navigation/helpers/traverse-paths.d.ts.map +1 -1
  26. package/dist/navigation/helpers/traverse-paths.js +5 -8
  27. package/dist/navigation/helpers/traverse-webhooks.d.ts.map +1 -1
  28. package/dist/navigation/helpers/traverse-webhooks.js +4 -7
  29. package/dist/request-example/builder/body/build-request-body.d.ts.map +1 -1
  30. package/dist/request-example/builder/body/build-request-body.js +81 -7
  31. package/dist/request-example/builder/header/de-serialize-parameter.js +37 -4
  32. package/dist/request-example/builder/security/build-request-security.d.ts.map +1 -1
  33. package/dist/request-example/builder/security/build-request-security.js +9 -4
  34. package/dist/request-example/context/get-request-example-context.d.ts.map +1 -1
  35. package/dist/request-example/context/get-request-example-context.js +3 -2
  36. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts +8 -0
  37. package/dist/schemas/extensions/document/x-scalar-sdk-installation.d.ts.map +1 -1
  38. package/dist/schemas/extensions/document/x-scalar-sdk-installation.js +2 -0
  39. package/dist/schemas/reference-config/index.d.ts +22 -3
  40. package/dist/schemas/reference-config/index.d.ts.map +1 -1
  41. package/dist/schemas/reference-config/settings.d.ts +22 -3
  42. package/dist/schemas/reference-config/settings.d.ts.map +1 -1
  43. package/dist/schemas/v3.1/openapi/index.d.ts +1 -0
  44. package/dist/schemas/v3.1/openapi/index.d.ts.map +1 -1
  45. package/dist/schemas/v3.1/strict/components.d.ts +11 -2
  46. package/dist/schemas/v3.1/strict/components.d.ts.map +1 -1
  47. package/dist/schemas/v3.1/strict/components.js +1 -1
  48. package/dist/schemas/v3.1/strict/info.d.ts +1 -0
  49. package/dist/schemas/v3.1/strict/info.d.ts.map +1 -1
  50. package/dist/schemas/v3.1/strict/openapi-document.d.ts +770 -105
  51. package/dist/schemas/v3.1/strict/openapi-document.d.ts.map +1 -1
  52. package/dist/schemas/v3.1/strict/openapi-document.js +2 -2
  53. package/dist/schemas/v3.1/strict/paths.d.ts +12 -2
  54. package/dist/schemas/v3.1/strict/paths.d.ts.map +1 -1
  55. package/dist/schemas/v3.1/strict/paths.js +2 -1
  56. package/dist/server.d.ts.map +1 -1
  57. package/dist/server.js +12 -9
  58. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @scalar/workspace-store
2
2
 
3
+ ## 0.54.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#9446](https://github.com/scalar/scalar/pull/9446): Fix `anyOf`/`oneOf` array query parameters (e.g. `Optional[List[str]]`) being sent as a single string instead of repeated query parameters
8
+ - [#9480](https://github.com/scalar/scalar/pull/9480): Do not send a Basic `Authorization` header when both the username and password are empty, instead of falling back to a `username:password` placeholder
9
+ - [#9342](https://github.com/scalar/scalar/pull/9342): fix: resolve operations when OpenAPI path items use `$ref`
10
+
11
+ Path entries and webhooks can reference `components.pathItems` instead of inlining operations. Navigation, mutators, search, and markdown export now resolve path-item references before reading HTTP methods and path-level parameters.
12
+
13
+ - [#9418](https://github.com/scalar/scalar/pull/9418): Keep nested JSON multipart field types after editing the request body form. Editing a form row no longer turns a nested object's booleans, numbers, and arrays into strings on the wire.
14
+
15
+ ## 0.54.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#9471](https://github.com/scalar/scalar/pull/9471): Restore support for the deprecated `source` install command on `x-scalar-sdk-installation`. When set, it is appended to `description` as a fenced code block (or used on its own when there is no `description`). `description` remains the promoted field.
20
+
3
21
  ## 0.54.1
4
22
 
5
23
  ## 0.54.0
@@ -693,7 +693,16 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
693
693
  }>]>, import("@scalar/typebox").TObject<{
694
694
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
695
695
  }>]>]>>>;
696
- pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
696
+ pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
697
+ $ref: import("@scalar/typebox").TString;
698
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
699
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
700
+ }>, import("@scalar/typebox").TObject<{
701
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
702
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
703
+ }>]>, import("@scalar/typebox").TObject<{
704
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
705
+ }>]>]>>>;
697
706
  }>;
698
707
  SecurityRequirementObject: import("@scalar/typebox").TObject<{}>;
699
708
  TagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -825,7 +834,16 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
825
834
  '$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
826
835
  }>]>]>>>;
827
836
  }>;
828
- PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>;
837
+ PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
838
+ $ref: import("@scalar/typebox").TString;
839
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
840
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
841
+ }>, import("@scalar/typebox").TObject<{
842
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
843
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
844
+ }>]>, import("@scalar/typebox").TObject<{
845
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
846
+ }>]>]>>;
829
847
  OperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
830
848
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
831
849
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -1841,6 +1859,7 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
1841
1859
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
1842
1860
  lang: import("@scalar/typebox").TString;
1843
1861
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1862
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
1844
1863
  }>>>;
1845
1864
  }>]>;
1846
1865
  ContactObject: import("@scalar/typebox").TObject<{
@@ -2097,7 +2116,7 @@ declare const SelectedSecuritySchema: import("@scalar/typebox").TObject<{
2097
2116
  jsonSchemaDialect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2098
2117
  servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
2099
2118
  paths: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
2100
- webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
2119
+ webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
2101
2120
  components: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ComponentsObject">>;
2102
2121
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
2103
2122
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
@@ -2616,7 +2635,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
2616
2635
  }>]>, import("@scalar/typebox").TObject<{
2617
2636
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
2618
2637
  }>]>]>>>;
2619
- pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
2638
+ pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2639
+ $ref: import("@scalar/typebox").TString;
2640
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2641
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2642
+ }>, import("@scalar/typebox").TObject<{
2643
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
2644
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2645
+ }>]>, import("@scalar/typebox").TObject<{
2646
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
2647
+ }>]>]>>>;
2620
2648
  }>;
2621
2649
  SecurityRequirementObject: import("@scalar/typebox").TObject<{}>;
2622
2650
  TagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -2748,7 +2776,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
2748
2776
  '$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
2749
2777
  }>]>]>>>;
2750
2778
  }>;
2751
- PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>;
2779
+ PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2780
+ $ref: import("@scalar/typebox").TString;
2781
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2782
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
2783
+ }>, import("@scalar/typebox").TObject<{
2784
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
2785
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
2786
+ }>]>, import("@scalar/typebox").TObject<{
2787
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
2788
+ }>]>]>>;
2752
2789
  OperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
2753
2790
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
2754
2791
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -3764,6 +3801,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
3764
3801
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
3765
3802
  lang: import("@scalar/typebox").TString;
3766
3803
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3804
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
3767
3805
  }>>>;
3768
3806
  }>]>;
3769
3807
  ContactObject: import("@scalar/typebox").TObject<{
@@ -4020,7 +4058,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4020
4058
  jsonSchemaDialect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4021
4059
  servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
4022
4060
  paths: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
4023
- webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
4061
+ webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
4024
4062
  components: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ComponentsObject">>;
4025
4063
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
4026
4064
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
@@ -4356,7 +4394,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4356
4394
  }>]>, import("@scalar/typebox").TObject<{
4357
4395
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
4358
4396
  }>]>]>>>;
4359
- pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
4397
+ pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
4398
+ $ref: import("@scalar/typebox").TString;
4399
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4400
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4401
+ }>, import("@scalar/typebox").TObject<{
4402
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
4403
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4404
+ }>]>, import("@scalar/typebox").TObject<{
4405
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
4406
+ }>]>]>>>;
4360
4407
  }>;
4361
4408
  SecurityRequirementObject: import("@scalar/typebox").TObject<{}>;
4362
4409
  TagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -4488,7 +4535,16 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
4488
4535
  '$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
4489
4536
  }>]>]>>>;
4490
4537
  }>;
4491
- PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>;
4538
+ PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
4539
+ $ref: import("@scalar/typebox").TString;
4540
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4541
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
4542
+ }>, import("@scalar/typebox").TObject<{
4543
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
4544
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
4545
+ }>]>, import("@scalar/typebox").TObject<{
4546
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
4547
+ }>]>]>>;
4492
4548
  OperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
4493
4549
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
4494
4550
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -5504,6 +5560,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
5504
5560
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
5505
5561
  lang: import("@scalar/typebox").TString;
5506
5562
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5563
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5507
5564
  }>>>;
5508
5565
  }>]>;
5509
5566
  ContactObject: import("@scalar/typebox").TObject<{
@@ -5760,7 +5817,7 @@ export declare const AuthSchema: import("@scalar/typebox").TObject<{
5760
5817
  jsonSchemaDialect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
5761
5818
  servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
5762
5819
  paths: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
5763
- webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
5820
+ webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
5764
5821
  components: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ComponentsObject">>;
5765
5822
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
5766
5823
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
@@ -6281,7 +6338,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6281
6338
  }>]>, import("@scalar/typebox").TObject<{
6282
6339
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
6283
6340
  }>]>]>>>;
6284
- pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
6341
+ pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6342
+ $ref: import("@scalar/typebox").TString;
6343
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6344
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6345
+ }>, import("@scalar/typebox").TObject<{
6346
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
6347
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6348
+ }>]>, import("@scalar/typebox").TObject<{
6349
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
6350
+ }>]>]>>>;
6285
6351
  }>;
6286
6352
  SecurityRequirementObject: import("@scalar/typebox").TObject<{}>;
6287
6353
  TagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -6413,7 +6479,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
6413
6479
  '$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
6414
6480
  }>]>]>>>;
6415
6481
  }>;
6416
- PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>;
6482
+ PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6483
+ $ref: import("@scalar/typebox").TString;
6484
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6485
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
6486
+ }>, import("@scalar/typebox").TObject<{
6487
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
6488
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
6489
+ }>]>, import("@scalar/typebox").TObject<{
6490
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
6491
+ }>]>]>>;
6417
6492
  OperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
6418
6493
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
6419
6494
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -7429,6 +7504,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7429
7504
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
7430
7505
  lang: import("@scalar/typebox").TString;
7431
7506
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7507
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7432
7508
  }>>>;
7433
7509
  }>]>;
7434
7510
  ContactObject: import("@scalar/typebox").TObject<{
@@ -7685,7 +7761,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
7685
7761
  jsonSchemaDialect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
7686
7762
  servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
7687
7763
  paths: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
7688
- webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
7764
+ webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
7689
7765
  components: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ComponentsObject">>;
7690
7766
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
7691
7767
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
@@ -8021,7 +8097,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
8021
8097
  }>]>, import("@scalar/typebox").TObject<{
8022
8098
  '$ref-value': import("@scalar/typebox").TRef<"CallbackObject">;
8023
8099
  }>]>]>>>;
8024
- pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
8100
+ pathItems: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
8101
+ $ref: import("@scalar/typebox").TString;
8102
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8103
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8104
+ }>, import("@scalar/typebox").TObject<{
8105
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
8106
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
8107
+ }>]>, import("@scalar/typebox").TObject<{
8108
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
8109
+ }>]>]>>>;
8025
8110
  }>;
8026
8111
  SecurityRequirementObject: import("@scalar/typebox").TObject<{}>;
8027
8112
  TagObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
@@ -8153,7 +8238,16 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
8153
8238
  '$ref-value': import("@scalar/typebox").TRef<"ParameterObject">;
8154
8239
  }>]>]>>>;
8155
8240
  }>;
8156
- PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>;
8241
+ PathsObject: import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TUnion<[import("@scalar/typebox").TRef<"PathItemObject">, import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
8242
+ $ref: import("@scalar/typebox").TString;
8243
+ summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8244
+ description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
8245
+ }>, import("@scalar/typebox").TObject<{
8246
+ $status: import("@scalar/typebox").TOptional<import("@scalar/typebox").TUnion<[import("@scalar/typebox").TLiteral<"loading">, import("@scalar/typebox").TLiteral<"error">]>>;
8247
+ $global: import("@scalar/typebox").TOptional<import("@scalar/typebox").TBoolean>;
8248
+ }>]>, import("@scalar/typebox").TObject<{
8249
+ '$ref-value': import("@scalar/typebox").TRef<"PathItemObject">;
8250
+ }>]>]>>;
8157
8251
  OperationObject: import("@scalar/typebox").TIntersect<[import("@scalar/typebox").TObject<{
8158
8252
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TString>>;
8159
8253
  summary: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
@@ -9169,6 +9263,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
9169
9263
  'x-scalar-sdk-installation': import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TObject<{
9170
9264
  lang: import("@scalar/typebox").TString;
9171
9265
  description: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9266
+ source: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9172
9267
  }>>>;
9173
9268
  }>]>;
9174
9269
  ContactObject: import("@scalar/typebox").TObject<{
@@ -9425,7 +9520,7 @@ export declare const DocumentAuthSchema: import("@scalar/typebox").TRecord<impor
9425
9520
  jsonSchemaDialect: import("@scalar/typebox").TOptional<import("@scalar/typebox").TString>;
9426
9521
  servers: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"ServerObject">>>;
9427
9522
  paths: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
9428
- webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRecord<import("@scalar/typebox").TString, import("@scalar/typebox").TRef<"PathItemObject">>>;
9523
+ webhooks: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"PathsObject">>;
9429
9524
  components: import("@scalar/typebox").TOptional<import("@scalar/typebox").TRef<"ComponentsObject">>;
9430
9525
  security: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"SecurityRequirementObject">>>;
9431
9526
  tags: import("@scalar/typebox").TOptional<import("@scalar/typebox").TArray<import("@scalar/typebox").TRef<"TagObject">>>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/entities/auth/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAQ,MAAM,iBAAiB,CAAA;AAoBnD,QAAA,MAAM,mBAAmB;;;;IAKxB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAE9D,QAAA,MAAM,iBAAiB;;;;;;;IAMtB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAQ1D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB3B,CAAA;AAEF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAEtE,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKhB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,OAAO,WAAW,CAAC,CAAA;AAErD,8FAA8F;AAC9F,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+B9B,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,MAAM,CAAC,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAA;AACxE,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA"}
@@ -0,0 +1,33 @@
1
+ import type { HttpMethod } from '@scalar/helpers/http/http-methods';
2
+ import { type NodeInput } from '../helpers/get-resolved-ref.js';
3
+ import type { OperationObject } from '../schemas/v3.1/strict/operation.js';
4
+ import type { PathItemObject } from '../schemas/v3.1/strict/path-item.js';
5
+ /**
6
+ * Resolves a path item (or webhook path item), merging sibling properties alongside `$ref`.
7
+ */
8
+ export declare const getResolvedPathItem: (pathItem: NodeInput<PathItemObject> | undefined) => PathItemObject | undefined;
9
+ /**
10
+ * Returns an operation from a path item, resolving $ref wrappers on the path item first.
11
+ */
12
+ export declare const getPathItemOperation: (pathItem: NodeInput<PathItemObject> | undefined, method: HttpMethod) => NodeInput<OperationObject> | undefined;
13
+ /**
14
+ * Assigns an operation on a path item, including when the path item is a $ref wrapper.
15
+ */
16
+ export declare const setPathItemOperation: (pathItem: NodeInput<PathItemObject> | undefined, method: HttpMethod, operation: OperationObject) => void;
17
+ /**
18
+ * Deletes an operation from a path item, including when the path item is a $ref wrapper.
19
+ */
20
+ export declare const deletePathItemOperation: (pathItem: NodeInput<PathItemObject> | undefined, method: HttpMethod) => void;
21
+ /**
22
+ * Invokes a callback for each HTTP method operation on a path item, resolving $ref wrappers first.
23
+ */
24
+ export declare const forEachPathItemOperation: (pathItem: NodeInput<PathItemObject> | undefined, callback: (method: HttpMethod, operation: NodeInput<OperationObject>) => void) => void;
25
+ /**
26
+ * Returns whether a path item has no remaining keys after resolving $ref wrappers.
27
+ *
28
+ * Used when cleaning up after deleting an operation: a path entry is only removed once nothing is
29
+ * left, so path-level metadata (`parameters`, `summary`, `servers`) and $ref wrappers are preserved
30
+ * even when every HTTP method has been removed.
31
+ */
32
+ export declare const pathItemIsEmpty: (pathItem: NodeInput<PathItemObject> | undefined) => boolean;
33
+ //# sourceMappingURL=for-each-path-item-operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"for-each-path-item-operation.d.ts","sourceRoot":"","sources":["../../src/helpers/for-each-path-item-operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAA;AAGnE,OAAO,EAAE,KAAK,SAAS,EAA0C,MAAM,4BAA4B,CAAA;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAErE;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,KAAG,cAAc,GAAG,SAMtG,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,EAC/C,QAAQ,UAAU,KACjB,SAAS,CAAC,eAAe,CAAC,GAAG,SAO/B,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,EAC/C,QAAQ,UAAU,EAClB,WAAW,eAAe,KACzB,IAWF,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,QAAQ,UAAU,KAAG,IAa7G,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,EAC/C,UAAU,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,KAC5E,IAaF,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,GAAI,UAAU,SAAS,CAAC,cAAc,CAAC,GAAG,SAAS,KAAG,OAIjF,CAAA"}
@@ -0,0 +1,75 @@
1
+ import { isHttpMethod } from '@scalar/helpers/http/is-http-method';
2
+ import { getResolvedRef, mergeSiblingReferences } from '../helpers/get-resolved-ref.js';
3
+ /**
4
+ * Resolves a path item (or webhook path item), merging sibling properties alongside `$ref`.
5
+ */
6
+ export const getResolvedPathItem = (pathItem) => {
7
+ if (!pathItem || typeof pathItem !== 'object') {
8
+ return undefined;
9
+ }
10
+ return getResolvedRef(pathItem, mergeSiblingReferences);
11
+ };
12
+ /**
13
+ * Returns an operation from a path item, resolving $ref wrappers on the path item first.
14
+ */
15
+ export const getPathItemOperation = (pathItem, method) => {
16
+ const resolvedPathItem = getResolvedPathItem(pathItem);
17
+ if (!resolvedPathItem) {
18
+ return undefined;
19
+ }
20
+ return resolvedPathItem[method];
21
+ };
22
+ /**
23
+ * Assigns an operation on a path item, including when the path item is a $ref wrapper.
24
+ */
25
+ export const setPathItemOperation = (pathItem, method, operation) => {
26
+ if (!pathItem || typeof pathItem !== 'object') {
27
+ return;
28
+ }
29
+ if ('$ref' in pathItem && '$ref-value' in pathItem) {
30
+ pathItem['$ref-value'][method] = operation;
31
+ return;
32
+ }
33
+ pathItem[method] = operation;
34
+ };
35
+ /**
36
+ * Deletes an operation from a path item, including when the path item is a $ref wrapper.
37
+ */
38
+ export const deletePathItemOperation = (pathItem, method) => {
39
+ if (!pathItem || typeof pathItem !== 'object') {
40
+ return;
41
+ }
42
+ // A $ref wrapper can carry the operation on its dereferenced value and/or as a sibling override
43
+ // alongside the `$ref`. Since mergeSiblingReferences gives the sibling precedence, both copies
44
+ // must be removed, otherwise getResolvedPathItem keeps exposing the operation after deletion.
45
+ if ('$ref' in pathItem && '$ref-value' in pathItem) {
46
+ delete pathItem['$ref-value'][method];
47
+ }
48
+ delete pathItem[method];
49
+ };
50
+ /**
51
+ * Invokes a callback for each HTTP method operation on a path item, resolving $ref wrappers first.
52
+ */
53
+ export const forEachPathItemOperation = (pathItem, callback) => {
54
+ const resolvedPathItem = getResolvedPathItem(pathItem);
55
+ if (!resolvedPathItem) {
56
+ return;
57
+ }
58
+ for (const [key, operation] of Object.entries(resolvedPathItem)) {
59
+ if (!isHttpMethod(key) || operation === undefined) {
60
+ continue;
61
+ }
62
+ callback(key, operation);
63
+ }
64
+ };
65
+ /**
66
+ * Returns whether a path item has no remaining keys after resolving $ref wrappers.
67
+ *
68
+ * Used when cleaning up after deleting an operation: a path entry is only removed once nothing is
69
+ * left, so path-level metadata (`parameters`, `summary`, `servers`) and $ref wrappers are preserved
70
+ * even when every HTTP method has been removed.
71
+ */
72
+ export const pathItemIsEmpty = (pathItem) => {
73
+ const resolvedPathItem = getResolvedPathItem(pathItem);
74
+ return !resolvedPathItem || Object.keys(resolvedPathItem).length === 0;
75
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/mutators/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAO3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAGlD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAA;AAEzE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,6BAA6B,GACxC,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,4CAA4C,UAAU,CAAC,uCAAuC,CAAC,kBA+EhG,CAAA;AA2BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,oBAAoB,GAC/B,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,UAAU,CAAC,6BAA6B,CAAC,+NAiB7D,CAAA;AA6CD;;;;;;;;;;;;;;;;;;;;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,GAAG,IAAI,EAClC,0DAA0D,UAAU,CAAC,oBAAoB,CAAC,SAuD3F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GACtB,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,2BAA2B,UAAU,CAAC,oBAAoB,CAAC,SAuB5D,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,oBAAoB,GAC/B,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,WAAW,UAAU,CAAC,6BAA6B,CAAC,SAmFrD,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,sBAGjC;IACD,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAClC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAA;CAC7B;6CAE4C,UAAU,CAAC,uCAAuC,CAAC;4CAEpD,UAAU,CAAC,sCAAsC,CAAC;oCAE1D,UAAU,CAAC,6BAA6B,CAAC;2CAElC,UAAU,CAAC,qCAAqC,CAAC;0CAElD,UAAU,CAAC,oCAAoC,CAAC;qCAErD,UAAU,CAAC,0BAA0B,CAAC;oCAEvC,UAAU,CAAC,6BAA6B,CAAC;2BAElD,UAAU,CAAC,oBAAoB,CAAC;2BAChC,UAAU,CAAC,oBAAoB,CAAC;oCACvB,UAAU,CAAC,6BAA6B,CAAC;CAG5E,CAAA"}
@@ -1,4 +1,5 @@
1
1
  import { generateUniqueValue } from '../helpers/generate-unique-value.js';
2
+ import { forEachPathItemOperation, getPathItemOperation } from '../helpers/for-each-path-item-operation.js';
2
3
  import { getResolvedRef } from '../helpers/get-resolved-ref.js';
3
4
  import { isNonOptionalSecurityRequirement } from '../helpers/is-non-optional-security-requirement.js';
4
5
  import { mergeObjects } from '../helpers/merge-object.js';
@@ -205,7 +206,7 @@ export const updateSelectedAuthTab = (store, document, { index, meta }) => {
205
206
  return;
206
207
  }
207
208
  // Ensure the path/method exists in the document
208
- if (meta.type === 'operation' && document.paths?.[meta.path]?.[meta.method] === undefined) {
209
+ if (meta.type === 'operation' && getPathItemOperation(document.paths?.[meta.path], meta.method) === undefined) {
209
210
  return;
210
211
  }
211
212
  // Determine the target object for setting the auth tab index:
@@ -352,11 +353,8 @@ const walkSelectedSchemes = (store, document, transform) => {
352
353
  });
353
354
  };
354
355
  apply({ type: 'document', documentName });
355
- Object.entries(document.paths ?? {}).forEach(([path, pathItemObject]) => {
356
- Object.entries(pathItemObject).forEach(([method, operation]) => {
357
- if (typeof operation !== 'object') {
358
- return;
359
- }
356
+ Object.entries(document.paths ?? {}).forEach(([path, pathItemRef]) => {
357
+ forEachPathItemOperation(pathItemRef, (method) => {
360
358
  apply({ type: 'operation', documentName, path, method });
361
359
  });
362
360
  });
@@ -505,14 +503,10 @@ export const deleteSecurityScheme = (store, document, { names }) => {
505
503
  document['security'] = filterSecuritySchemes(document['security']);
506
504
  }
507
505
  // -- For each path and operation, remove deleted security schemes from operation-level security and custom extension
508
- Object.entries(document.paths ?? {}).forEach(([path, pathItemObject]) => {
509
- Object.entries(pathItemObject).forEach(([method, operation]) => {
510
- if (typeof operation !== 'object') {
511
- // Ignore operations that are not objects (could be undefined)
512
- return;
513
- }
506
+ Object.entries(document.paths ?? {}).forEach(([path, pathItemRef]) => {
507
+ forEachPathItemOperation(pathItemRef, (method, operationRef) => {
514
508
  // Get mutable reference for the operation (could resolve $ref proxies)
515
- const resolvedOperation = getResolvedRef(operation);
509
+ const resolvedOperation = getResolvedRef(operationRef);
516
510
  // Remove from operation-level security array
517
511
  if ('security' in resolvedOperation && resolvedOperation['security']) {
518
512
  resolvedOperation['security'] = filterSecuritySchemes(resolvedOperation['security']);
@@ -1 +1 @@
1
- {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/body.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAGrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAoClD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qCAAqC,GAChD,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,eAAe,CAAC,0CAA0C,CAAC,SAwB/E,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iCAAiC,GAC5C,UAAU,iBAAiB,GAAG,IAAI,EAClC,gCAAgC,eAAe,CAAC,oCAAoC,CAAC,SAStF,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,GAC9C,UAAU,iBAAiB,GAAG,IAAI,EAClC,gCAAgC,eAAe,CAAC,wCAAwC,CAAC,SAS1F,CAAA"}
1
+ {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/body.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAIrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAoClD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qCAAqC,GAChD,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,eAAe,CAAC,0CAA0C,CAAC,SAwB/E,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,iCAAiC,GAC5C,UAAU,iBAAiB,GAAG,IAAI,EAClC,gCAAgC,eAAe,CAAC,oCAAoC,CAAC,SAStF,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,mCAAmC,GAC9C,UAAU,iBAAiB,GAAG,IAAI,EAClC,gCAAgC,eAAe,CAAC,wCAAwC,CAAC,SAS1F,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { getPathItemOperation } from '../../helpers/for-each-path-item-operation.js';
1
2
  import { getResolvedRef } from '../../helpers/get-resolved-ref.js';
2
3
  import { unpackProxyObject } from '../../helpers/unpack-proxy.js';
3
4
  import { isOpenApiDocument } from '../../schemas/type-guards.js';
@@ -6,7 +7,7 @@ const findOrCreateRequestBodyExample = (document, contentType, meta) => {
6
7
  if (!isOpenApiDocument(document)) {
7
8
  return null;
8
9
  }
9
- const operation = getResolvedRef(document.paths?.[meta.path]?.[meta.method]);
10
+ const operation = getResolvedRef(getPathItemOperation(document.paths?.[meta.path], meta.method));
10
11
  if (!operation) {
11
12
  return null;
12
13
  }
@@ -43,7 +44,7 @@ export const updateOperationRequestBodyContentType = (document, { meta, payload
43
44
  if (!isOpenApiDocument(document)) {
44
45
  return;
45
46
  }
46
- const operation = getResolvedRef(document.paths?.[meta.path]?.[meta.method]);
47
+ const operation = getResolvedRef(getPathItemOperation(document.paths?.[meta.path], meta.method));
47
48
  if (!operation) {
48
49
  return;
49
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAGlD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,eAAe,CAAC,4BAA4B,CAAC,SAWjE,CAAA"}
1
+ {"version":3,"file":"extensions.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/extensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAGlD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB,GACnC,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,eAAe,CAAC,4BAA4B,CAAC,SAWjE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { getPathItemOperation } from '../../helpers/for-each-path-item-operation.js';
1
2
  import { getResolvedRef } from '../../helpers/get-resolved-ref.js';
2
3
  import { mergeObjects } from '../../helpers/merge-object.js';
3
4
  import { isOpenApiDocument } from '../../schemas/type-guards.js';
@@ -17,7 +18,7 @@ export const updateOperationExtension = (document, { meta, payload }) => {
17
18
  if (!isOpenApiDocument(document)) {
18
19
  return;
19
20
  }
20
- const operation = getResolvedRef(document.paths?.[meta.path]?.[meta.method]);
21
+ const operation = getResolvedRef(getPathItemOperation(document.paths?.[meta.path], meta.method));
21
22
  if (!operation) {
22
23
  return;
23
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/history.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAErE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQlD,eAAO,MAAM,oBAAoB,GAC/B,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,WAAW,CAAC,2BAA2B,CAAC,kBA4C5D,CAAA;AAED,eAAO,MAAM,sBAAsB,GACjC,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,2BAA2B,eAAe,CAAC,0BAA0B,CAAC,SA4BvE,CAAA"}
1
+ {"version":3,"file":"history.d.ts","sourceRoot":"","sources":["../../../src/mutators/operation/history.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAGrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAQlD,eAAO,MAAM,oBAAoB,GAC/B,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,mBAAmB,WAAW,CAAC,2BAA2B,CAAC,kBA4C5D,CAAA;AAED,eAAO,MAAM,sBAAsB,GACjC,OAAO,cAAc,GAAG,IAAI,EAC5B,UAAU,iBAAiB,GAAG,IAAI,EAClC,2BAA2B,eAAe,CAAC,0BAA0B,CAAC,SA4BvE,CAAA"}