raffel 1.1.74 → 1.1.76

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 (105) hide show
  1. package/README.md +7 -0
  2. package/dist/docs/docs-state.d.ts +2 -0
  3. package/dist/docs/docs-state.d.ts.map +1 -1
  4. package/dist/docs/docs-state.js +1 -0
  5. package/dist/docs/docs-state.js.map +1 -1
  6. package/dist/docs/generators/http-generator.d.ts +1 -1
  7. package/dist/docs/generators/http-generator.js +2 -2
  8. package/dist/docs/generators/http-generator.js.map +1 -1
  9. package/dist/docs/generators/usd-generator.d.ts +5 -1
  10. package/dist/docs/generators/usd-generator.d.ts.map +1 -1
  11. package/dist/docs/generators/usd-generator.js +5 -1
  12. package/dist/docs/generators/usd-generator.js.map +1 -1
  13. package/dist/docs/index.d.ts +1 -1
  14. package/dist/docs/index.d.ts.map +1 -1
  15. package/dist/docs/index.js +1 -1
  16. package/dist/docs/index.js.map +1 -1
  17. package/dist/docs/try-it-proxy.d.ts +16 -0
  18. package/dist/docs/try-it-proxy.d.ts.map +1 -0
  19. package/dist/docs/try-it-proxy.js +138 -0
  20. package/dist/docs/try-it-proxy.js.map +1 -0
  21. package/dist/docs/ui/assets/raffel-docs.css +266 -10
  22. package/dist/docs/ui/assets/raffel-docs.js +1167 -49
  23. package/dist/docs/ui/client-script/index.d.ts +1 -1
  24. package/dist/docs/ui/client-script/index.d.ts.map +1 -1
  25. package/dist/docs/ui/client-script/index.js +4 -2
  26. package/dist/docs/ui/client-script/index.js.map +1 -1
  27. package/dist/docs/ui/html-builder.d.ts.map +1 -1
  28. package/dist/docs/ui/html-builder.js +58 -2
  29. package/dist/docs/ui/html-builder.js.map +1 -1
  30. package/dist/docs/ui/response-examples.d.ts +10 -0
  31. package/dist/docs/ui/response-examples.d.ts.map +1 -0
  32. package/dist/docs/ui/response-examples.js +113 -0
  33. package/dist/docs/ui/response-examples.js.map +1 -0
  34. package/dist/docs/ui/runtime/index.js +1167 -49
  35. package/dist/docs/ui/runtime/index.js.map +1 -1
  36. package/dist/docs/ui/style-sections/schema-code.d.ts +1 -1
  37. package/dist/docs/ui/style-sections/schema-code.d.ts.map +1 -1
  38. package/dist/docs/ui/style-sections/schema-code.js +249 -0
  39. package/dist/docs/ui/style-sections/schema-code.js.map +1 -1
  40. package/dist/docs/ui/style-sections/shell.d.ts.map +1 -1
  41. package/dist/docs/ui/style-sections/shell.js +17 -10
  42. package/dist/docs/ui/style-sections/shell.js.map +1 -1
  43. package/dist/docs/ui/types.d.ts +23 -2
  44. package/dist/docs/ui/types.d.ts.map +1 -1
  45. package/dist/docs/usd-middleware.d.ts +23 -2
  46. package/dist/docs/usd-middleware.d.ts.map +1 -1
  47. package/dist/docs/usd-middleware.js +142 -6
  48. package/dist/docs/usd-middleware.js.map +1 -1
  49. package/dist/http/route-table.d.ts.map +1 -1
  50. package/dist/http/route-table.js +19 -0
  51. package/dist/http/route-table.js.map +1 -1
  52. package/dist/server/builder/execution-http-docs.d.ts.map +1 -1
  53. package/dist/server/builder/execution-http-docs.js +35 -3
  54. package/dist/server/builder/execution-http-docs.js.map +1 -1
  55. package/dist/server/builder.d.ts.map +1 -1
  56. package/dist/server/builder.js +4 -1
  57. package/dist/server/builder.js.map +1 -1
  58. package/dist/server/rest-middleware.d.ts +1 -1
  59. package/dist/server/rest-middleware.d.ts.map +1 -1
  60. package/dist/server/rest-middleware.js +36 -16
  61. package/dist/server/rest-middleware.js.map +1 -1
  62. package/dist/server/types/lifecycle-docs-types.d.ts +13 -2
  63. package/dist/server/types/lifecycle-docs-types.d.ts.map +1 -1
  64. package/dist/ui/docs/docs-state.d.ts +2 -0
  65. package/dist/ui/docs/docs-state.d.ts.map +1 -1
  66. package/dist/ui/docs/generators/http-generator.d.ts +1 -1
  67. package/dist/ui/docs/generators/usd-generator.d.ts +5 -1
  68. package/dist/ui/docs/generators/usd-generator.d.ts.map +1 -1
  69. package/dist/ui/docs/index.d.ts +1 -1
  70. package/dist/ui/docs/index.d.ts.map +1 -1
  71. package/dist/ui/docs/try-it-proxy.d.ts +16 -0
  72. package/dist/ui/docs/try-it-proxy.d.ts.map +1 -0
  73. package/dist/ui/docs/ui/client-script/index.d.ts +1 -1
  74. package/dist/ui/docs/ui/client-script/index.d.ts.map +1 -1
  75. package/dist/ui/docs/ui/html-builder.d.ts.map +1 -1
  76. package/dist/ui/docs/ui/response-examples.d.ts +10 -0
  77. package/dist/ui/docs/ui/response-examples.d.ts.map +1 -0
  78. package/dist/ui/docs/ui/style-sections/schema-code.d.ts +1 -1
  79. package/dist/ui/docs/ui/style-sections/schema-code.d.ts.map +1 -1
  80. package/dist/ui/docs/ui/style-sections/shell.d.ts.map +1 -1
  81. package/dist/ui/docs/ui/types.d.ts +23 -2
  82. package/dist/ui/docs/ui/types.d.ts.map +1 -1
  83. package/dist/ui/docs/usd-middleware.d.ts +23 -2
  84. package/dist/ui/docs/usd-middleware.d.ts.map +1 -1
  85. package/dist/ui/usd/export/openapi.d.ts.map +1 -1
  86. package/dist/ui/usd/index.d.ts +1 -1
  87. package/dist/ui/usd/index.d.ts.map +1 -1
  88. package/dist/ui/usd/spec/types.d.ts +43 -0
  89. package/dist/ui/usd/spec/types.d.ts.map +1 -1
  90. package/dist/ui/usd/validator/schema.d.ts +40 -0
  91. package/dist/ui/usd/validator/schema.d.ts.map +1 -1
  92. package/dist/usd/export/openapi.d.ts.map +1 -1
  93. package/dist/usd/export/openapi.js +4 -1
  94. package/dist/usd/export/openapi.js.map +1 -1
  95. package/dist/usd/index.d.ts +1 -1
  96. package/dist/usd/index.d.ts.map +1 -1
  97. package/dist/usd/index.js.map +1 -1
  98. package/dist/usd/spec/types.d.ts +43 -0
  99. package/dist/usd/spec/types.d.ts.map +1 -1
  100. package/dist/usd/spec/types.js.map +1 -1
  101. package/dist/usd/validator/schema.d.ts +40 -0
  102. package/dist/usd/validator/schema.d.ts.map +1 -1
  103. package/dist/usd/validator/schema.js +21 -0
  104. package/dist/usd/validator/schema.js.map +1 -1
  105. package/package.json +2 -1
@@ -21,16 +21,17 @@
21
21
  --code-panel-text: #cfd8dc;
22
22
  --code-panel-header: #37474f;
23
23
 
24
- /* Type scale (#111 #3) — body 16 / small 14 / xs 12, headings descending */
25
- --font-size-body: 16px;
26
- --font-size-small: 14px;
27
- --font-size-xs: 12px;
28
- --font-size-h1: 36px;
29
- --font-size-h2: 28px;
30
- --font-size-h3: 22px;
31
- --font-size-h4: 18px;
32
- --font-size-h5: 16px;
33
- --font-size-h6: 14px;
24
+ /* Compact documentation type scale. */
25
+ --font-size-body: 14px;
26
+ --font-size-small: 13px;
27
+ --font-size-xs: 11px;
28
+ --font-size-h1: 30px;
29
+ --font-size-h2: 24px;
30
+ --font-size-h3: 19px;
31
+ --font-size-h4: 16px;
32
+ --font-size-h5: 14px;
33
+ --font-size-h6: 13px;
34
+ --font-size-code: 12px;
34
35
  --line-height-body: 1.6;
35
36
  --line-height-tight: 1.25;
36
37
  }
@@ -132,9 +133,15 @@
132
133
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
133
134
  background: var(--bg-color);
134
135
  color: var(--text-color);
136
+ font-size: var(--font-size-body);
135
137
  line-height: 1.6;
136
138
  }
137
139
 
140
+ code,
141
+ pre {
142
+ font-size: var(--font-size-code);
143
+ }
144
+
138
145
  /* ========== TOP NAVIGATION ========== */
139
146
  .top-nav {
140
147
  position: sticky;
@@ -3686,6 +3693,255 @@
3686
3693
  color: #90a4ae;
3687
3694
  }
3688
3695
 
3696
+ /* ========== AUTHENTICATION ========== */
3697
+ .authentication-section {
3698
+ margin: 28px 36px 36px;
3699
+ padding: 24px;
3700
+ border: 1px solid var(--border-color);
3701
+ border-radius: 10px;
3702
+ background: var(--surface-color);
3703
+ }
3704
+
3705
+ .authentication-header h2 {
3706
+ margin: 4px 0 6px;
3707
+ font-size: var(--font-size-h2);
3708
+ color: var(--text-primary);
3709
+ }
3710
+
3711
+ .authentication-header p,
3712
+ .auth-scheme-description,
3713
+ .auth-scheme-meta {
3714
+ color: var(--text-muted);
3715
+ font-size: var(--font-size-small);
3716
+ }
3717
+
3718
+ .auth-environment {
3719
+ display: grid;
3720
+ gap: 6px;
3721
+ margin: 18px 0;
3722
+ }
3723
+
3724
+ .auth-environment-select,
3725
+ .auth-input,
3726
+ .auth-operation-body {
3727
+ width: 100%;
3728
+ padding: 8px 10px;
3729
+ border: 1px solid var(--border-color);
3730
+ border-radius: 6px;
3731
+ background: var(--bg-primary);
3732
+ color: var(--text-primary);
3733
+ font: inherit;
3734
+ font-size: var(--font-size-small);
3735
+ }
3736
+
3737
+ .auth-operation-body {
3738
+ min-height: 112px;
3739
+ resize: vertical;
3740
+ font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
3741
+ font-size: var(--font-size-code);
3742
+ }
3743
+
3744
+ .auth-schemes {
3745
+ display: grid;
3746
+ gap: 12px;
3747
+ }
3748
+
3749
+ .auth-scheme {
3750
+ padding: 16px;
3751
+ border: 1px solid var(--border-color);
3752
+ border-radius: 8px;
3753
+ background: var(--bg-primary);
3754
+ }
3755
+
3756
+ .auth-scheme-title {
3757
+ display: flex;
3758
+ align-items: baseline;
3759
+ gap: 10px;
3760
+ margin-bottom: 10px;
3761
+ color: var(--text-primary);
3762
+ }
3763
+
3764
+ .auth-scheme-title span,
3765
+ .auth-field-label,
3766
+ .auth-status {
3767
+ color: var(--text-muted);
3768
+ font-size: var(--font-size-xs);
3769
+ }
3770
+
3771
+ .auth-form,
3772
+ .auth-field {
3773
+ display: grid;
3774
+ gap: 6px;
3775
+ }
3776
+
3777
+ .auth-form { gap: 10px; }
3778
+
3779
+ .auth-oauth-flow {
3780
+ display: grid;
3781
+ gap: 10px;
3782
+ margin: 6px 0;
3783
+ padding: 14px;
3784
+ border: 1px solid var(--border-color);
3785
+ border-radius: 7px;
3786
+ }
3787
+
3788
+ .auth-oauth-flow legend {
3789
+ padding: 0 6px;
3790
+ font-weight: 600;
3791
+ font-size: var(--font-size-small);
3792
+ }
3793
+
3794
+ .auth-actions {
3795
+ display: flex;
3796
+ flex-wrap: wrap;
3797
+ align-items: center;
3798
+ gap: 10px;
3799
+ }
3800
+
3801
+ .auth-save,
3802
+ .auth-request-token,
3803
+ .auth-oauth-token,
3804
+ .auth-oauth-authorize,
3805
+ .auth-oidc-authorize {
3806
+ padding: 7px 12px;
3807
+ border: 1px solid var(--primary-color);
3808
+ border-radius: 6px;
3809
+ background: transparent;
3810
+ color: var(--primary-color);
3811
+ cursor: pointer;
3812
+ font-size: var(--font-size-small);
3813
+ font-weight: 600;
3814
+ }
3815
+
3816
+ .auth-status-error { color: #dc2626; }
3817
+
3818
+ @media (max-width: 760px) {
3819
+ .authentication-section { margin: 20px 16px 28px; padding: 18px; }
3820
+ }
3821
+
3822
+ .docs-overview-server-variables {
3823
+ width: 100%;
3824
+ margin-top: 8px;
3825
+ color: var(--text-muted);
3826
+ font-size: var(--font-size-xs);
3827
+ }
3828
+
3829
+ .docs-overview-server-variables ul {
3830
+ display: grid;
3831
+ gap: 5px;
3832
+ margin-top: 5px;
3833
+ list-style: none;
3834
+ }
3835
+
3836
+ .docs-overview-server-variables li {
3837
+ display: flex;
3838
+ flex-wrap: wrap;
3839
+ gap: 8px;
3840
+ }
3841
+
3842
+ .endpoint-deprecated,
3843
+ .http-param-deprecated {
3844
+ padding: 2px 6px;
3845
+ border: 1px solid #d97706;
3846
+ border-radius: 4px;
3847
+ color: #b45309;
3848
+ font-size: var(--font-size-xs);
3849
+ font-weight: 600;
3850
+ }
3851
+
3852
+ .response-media-sample + .response-media-sample,
3853
+ .request-example + .request-example {
3854
+ margin-top: 14px;
3855
+ padding-top: 14px;
3856
+ border-top: 1px solid rgba(255,255,255,0.12);
3857
+ }
3858
+
3859
+ .response-example-name {
3860
+ margin: 6px 0;
3861
+ color: var(--text-muted);
3862
+ font-size: var(--font-size-xs);
3863
+ font-weight: 600;
3864
+ }
3865
+
3866
+ .sample-code-error { color: #fca5a5; }
3867
+
3868
+ .response-link {
3869
+ display: grid;
3870
+ gap: 4px;
3871
+ margin-top: 8px;
3872
+ padding: 10px;
3873
+ border: 1px solid var(--border-color);
3874
+ border-radius: 6px;
3875
+ font-size: var(--font-size-small);
3876
+ }
3877
+
3878
+ .response-link-parameters { white-space: pre-wrap; }
3879
+
3880
+ .http-try {
3881
+ display: grid;
3882
+ gap: 10px;
3883
+ margin-top: 12px;
3884
+ }
3885
+
3886
+ .http-try-run {
3887
+ justify-self: start;
3888
+ padding: 7px 12px;
3889
+ border: 1px solid #8bc34a;
3890
+ border-radius: 6px;
3891
+ background: transparent;
3892
+ color: #c5e1a5;
3893
+ cursor: pointer;
3894
+ font-size: var(--font-size-small);
3895
+ font-weight: 600;
3896
+ }
3897
+
3898
+ .http-try-run:disabled { cursor: wait; opacity: 0.6; }
3899
+
3900
+ .http-try-result {
3901
+ max-height: 280px;
3902
+ overflow: auto;
3903
+ padding: 12px;
3904
+ border: 1px solid rgba(255,255,255,0.1);
3905
+ border-radius: 6px;
3906
+ color: var(--code-panel-text);
3907
+ white-space: pre-wrap;
3908
+ }
3909
+
3910
+ .async-contracts {
3911
+ margin: 28px 36px;
3912
+ padding: 22px;
3913
+ border: 1px solid var(--border-color);
3914
+ border-radius: 9px;
3915
+ background: var(--surface-color);
3916
+ }
3917
+
3918
+ .endpoint-left > .async-contracts { margin: 16px 0 0; }
3919
+
3920
+ .async-contracts h2 { font-size: var(--font-size-h3); }
3921
+ .async-contracts h3 { margin-top: 14px; font-size: var(--font-size-h5); }
3922
+ .async-contract-note { margin: 5px 0 12px; color: var(--text-muted); font-size: var(--font-size-small); }
3923
+
3924
+ .async-contract {
3925
+ display: grid;
3926
+ gap: 7px;
3927
+ margin-top: 8px;
3928
+ padding: 10px;
3929
+ border: 1px solid var(--border-color);
3930
+ border-radius: 6px;
3931
+ }
3932
+
3933
+ .async-contract-operation {
3934
+ display: flex;
3935
+ flex-wrap: wrap;
3936
+ align-items: center;
3937
+ gap: 8px;
3938
+ font-size: var(--font-size-small);
3939
+ }
3940
+
3941
+ @media (max-width: 760px) {
3942
+ .async-contracts { margin: 20px 16px; padding: 18px; }
3943
+ }
3944
+
3689
3945
  /* ========== TRY IT OUT ========== */
3690
3946
  .try-it-out {
3691
3947
  background: rgba(0,0,0,0.2);