@stainless-api/docs-ui 0.1.0-beta.67 → 0.1.0-beta.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{breadcrumbs-qxCW6sK2.js → breadcrumbs-DA4WgDhR.js} +2 -2
- package/dist/{cli-ByPDdxBS.js → cli-MlcHZWvQ.js} +14 -5
- package/dist/{component-CjdWk4ni.js → component-C7n1bZ-Z.js} +2 -2
- package/dist/{component-generics-BBuevgK_.d.ts → component-generics-zU0Pqx8m.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +1 -1
- package/dist/components/breadcrumbs.js +2 -2
- package/dist/components/icons.d.ts +12 -12
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +6 -6
- package/dist/components/method.d.ts +1 -1
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +2 -2
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +1 -1
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/sdk-sidebar.d.ts +1 -1
- package/dist/components/sdk-sidebar.js +1 -1
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +1 -1
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/stl-sidebar.d.ts +1 -1
- package/dist/{components-BPWzaaJS.js → components-Bu-V0Ani.js} +5 -5
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +11 -11
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +14 -14
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/{docs-BhIfadtZ.d.ts → docs-C1hj7a7l.d.ts} +3 -3
- package/dist/{http-DwJsFd9q.js → http-Bg6D0bNX.js} +33 -8
- package/dist/{index-BGZwPcKG.d.ts → index-CCxFSaje.d.ts} +41 -39
- package/dist/{index-CU1fzYyr.d.ts → index-CaB6Jh8S.d.ts} +8 -8
- package/dist/index.d.ts +14 -14
- package/dist/index.js +12 -12
- package/dist/languages/cli.d.ts +10 -10
- package/dist/languages/cli.js +8 -8
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +7 -7
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +10 -10
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +1 -1
- package/dist/languages/terraform.d.ts +10 -10
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/{languages-Doc82_aw.js → languages-kmF_JEqJ.js} +3 -3
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +11 -11
- package/dist/markdown/printer.js +11 -11
- package/dist/markdown/utils.d.ts +1 -1
- package/dist/{markdown-D83YEroZ.d.ts → markdown-Dvsw4Rrr.d.ts} +2 -2
- package/dist/{method-BZzpQ6yS.d.ts → method-DPnfsySL.d.ts} +6 -6
- package/dist/{navigation-CMc4Aqw5.d.ts → navigation-C7KdkOOQ.d.ts} +2 -2
- package/dist/{overview-CD8aZ-q6.d.ts → overview-CXNo7yhX.d.ts} +6 -6
- package/dist/{overview-FVLGi7mE.js → overview-DFwfIK6k.js} +3 -3
- package/dist/{primitives-WC1BbBHN.js → primitives-DJEqe_r1.js} +1 -1
- package/dist/{primitives-DhGxFYx6.d.ts → primitives-Dt0u9KhI.d.ts} +11 -11
- package/dist/{properties-Lb6C4q9N.d.ts → properties-BYmc18KM.d.ts} +5 -5
- package/dist/{routing-B7QoUwlD.js → routing-C64k4fmX.js} +4 -1
- package/dist/routing.js +1 -1
- package/dist/{ruby-CHdEJiJl.js → ruby-BncKp6hd.js} +1 -1
- package/dist/{sdk-PiHLvMdV.d.ts → sdk-7I25t5FC.d.ts} +14 -14
- package/dist/{sdk-CMMvOAdj.js → sdk-B69ZT1zY.js} +35 -3
- package/dist/{sdk-sidebar-Ck41RYV8.d.ts → sdk-sidebar-JyrSuu5b.d.ts} +2 -2
- package/dist/{sdk-sidebar-FL7e7_BM.js → sdk-sidebar-V_MTkVw8.js} +1 -1
- package/dist/{snippets-DoY3fghd.d.ts → snippets-DZM_ogqa.d.ts} +8 -8
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +2 -2
- package/dist/{stl-sidebar-CNGimF4q.d.ts → stl-sidebar-BR04ktwN.d.ts} +2 -2
- package/dist/styles/main.css +7 -0
- package/dist/styles.css +7 -0
- package/dist/{utils-KWHcUI-r.js → utils-DPbkW1Tz.js} +24 -2
- package/dist/utils.d.ts +9 -3
- package/dist/utils.js +2 -2
- package/package.json +5 -5
package/dist/languages/index.js
CHANGED
|
@@ -6,24 +6,24 @@ import "../contexts-CVj20VV4.js";
|
|
|
6
6
|
import "../use-components-BUz3GbO4.js";
|
|
7
7
|
import "../properties-BnbBKd5a.js";
|
|
8
8
|
import "../method-BPDUyBlD.js";
|
|
9
|
-
import "../primitives-
|
|
9
|
+
import "../primitives-DJEqe_r1.js";
|
|
10
10
|
import "../icons-BYKn5X8E.js";
|
|
11
|
-
import "../sdk-
|
|
11
|
+
import "../sdk-B69ZT1zY.js";
|
|
12
12
|
import "../snippets-BehbU3rt.js";
|
|
13
|
-
import "../overview-
|
|
14
|
-
import "../breadcrumbs-
|
|
13
|
+
import "../overview-DFwfIK6k.js";
|
|
14
|
+
import "../breadcrumbs-DA4WgDhR.js";
|
|
15
15
|
import "../stl-sidebar-WtimNrk1.js";
|
|
16
|
-
import "../sdk-sidebar-
|
|
17
|
-
import "../components-
|
|
16
|
+
import "../sdk-sidebar-V_MTkVw8.js";
|
|
17
|
+
import "../components-Bu-V0Ani.js";
|
|
18
18
|
import { o as typescript_exports } from "../typescript-n46M9OtL.js";
|
|
19
19
|
import { o as java_exports } from "../java-CxGSJVvv.js";
|
|
20
20
|
import { o as go_exports } from "../go-COaHV3Hc.js";
|
|
21
21
|
import { o as python_exports } from "../python-DsTuWCKE.js";
|
|
22
|
-
import { o as ruby_exports } from "../ruby-
|
|
23
|
-
import { s as http_exports } from "../http-
|
|
22
|
+
import { o as ruby_exports } from "../ruby-BncKp6hd.js";
|
|
23
|
+
import { s as http_exports } from "../http-Bg6D0bNX.js";
|
|
24
24
|
import { o as csharp_exports } from "../csharp-D6_jlynY.js";
|
|
25
|
-
import { o as cli_exports } from "../cli-
|
|
25
|
+
import { o as cli_exports } from "../cli-MlcHZWvQ.js";
|
|
26
26
|
import { c as terraform_exports } from "../terraform-B95X4rNK.js";
|
|
27
|
-
import { r as node, t as kotlin } from "../languages-
|
|
27
|
+
import { r as node, t as kotlin } from "../languages-kmF_JEqJ.js";
|
|
28
28
|
|
|
29
29
|
export { cli_exports as cli, csharp_exports as csharp, go_exports as go, http_exports as http, java_exports as java, kotlin, node, python_exports as python, ruby_exports as ruby, terraform_exports as terraform, typescript_exports as typescript };
|
package/dist/languages/java.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
1
|
+
import "../primitives-Dt0u9KhI.js";
|
|
2
2
|
import "../breadcrumbs-Cvm5Ifm7.js";
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sdk-sidebar-
|
|
9
|
-
import "../stl-sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { Ct as MethodSignatureProps, Dt as TypeName, Et as Type, St as MethodSignature, Tt as PropertyProps, bt as Declaration, wt as Property, xt as DeclarationProps } from "../index-
|
|
3
|
+
import "../method-DPnfsySL.js";
|
|
4
|
+
import "../properties-BYmc18KM.js";
|
|
5
|
+
import "../sdk-7I25t5FC.js";
|
|
6
|
+
import "../snippets-DZM_ogqa.js";
|
|
7
|
+
import "../overview-CXNo7yhX.js";
|
|
8
|
+
import "../sdk-sidebar-JyrSuu5b.js";
|
|
9
|
+
import "../stl-sidebar-BR04ktwN.js";
|
|
10
|
+
import "../index-CaB6Jh8S.js";
|
|
11
|
+
import { Ct as MethodSignatureProps, Dt as TypeName, Et as Type, St as MethodSignature, Tt as PropertyProps, bt as Declaration, wt as Property, xt as DeclarationProps } from "../index-CCxFSaje.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
1
|
+
import "../primitives-Dt0u9KhI.js";
|
|
2
2
|
import "../breadcrumbs-Cvm5Ifm7.js";
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sdk-sidebar-
|
|
9
|
-
import "../stl-sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { at as Property, ct as TypeName, it as MethodSignatureProps, nt as DeclarationProps, ot as PropertyProps, rt as MethodSignature, st as Type, tt as Declaration } from "../index-
|
|
3
|
+
import "../method-DPnfsySL.js";
|
|
4
|
+
import "../properties-BYmc18KM.js";
|
|
5
|
+
import "../sdk-7I25t5FC.js";
|
|
6
|
+
import "../snippets-DZM_ogqa.js";
|
|
7
|
+
import "../overview-CXNo7yhX.js";
|
|
8
|
+
import "../sdk-sidebar-JyrSuu5b.js";
|
|
9
|
+
import "../stl-sidebar-BR04ktwN.js";
|
|
10
|
+
import "../index-CaB6Jh8S.js";
|
|
11
|
+
import { at as Property, ct as TypeName, it as MethodSignatureProps, nt as DeclarationProps, ot as PropertyProps, rt as MethodSignature, st as Type, tt as Declaration } from "../index-CCxFSaje.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/ruby.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
1
|
+
import "../primitives-Dt0u9KhI.js";
|
|
2
2
|
import "../breadcrumbs-Cvm5Ifm7.js";
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sdk-sidebar-
|
|
9
|
-
import "../stl-sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { $ as TypeName, J as MethodSignature, K as Declaration, Q as Type, X as Property, Y as MethodSignatureProps, Z as PropertyProps, q as DeclarationProps } from "../index-
|
|
3
|
+
import "../method-DPnfsySL.js";
|
|
4
|
+
import "../properties-BYmc18KM.js";
|
|
5
|
+
import "../sdk-7I25t5FC.js";
|
|
6
|
+
import "../snippets-DZM_ogqa.js";
|
|
7
|
+
import "../overview-CXNo7yhX.js";
|
|
8
|
+
import "../sdk-sidebar-JyrSuu5b.js";
|
|
9
|
+
import "../stl-sidebar-BR04ktwN.js";
|
|
10
|
+
import "../index-CaB6Jh8S.js";
|
|
11
|
+
import { $ as TypeName, J as MethodSignature, K as Declaration, Q as Type, X as Property, Y as MethodSignatureProps, Z as PropertyProps, q as DeclarationProps } from "../index-CCxFSaje.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/ruby.js
CHANGED
|
@@ -4,6 +4,6 @@ import "../navigation-aoYZ_tl4.js";
|
|
|
4
4
|
import "../markdown-CTKHMLVr.js";
|
|
5
5
|
import "../contexts-CVj20VV4.js";
|
|
6
6
|
import "../use-components-BUz3GbO4.js";
|
|
7
|
-
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../ruby-
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../ruby-BncKp6hd.js";
|
|
8
8
|
|
|
9
9
|
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
1
|
+
import "../primitives-Dt0u9KhI.js";
|
|
2
2
|
import "../breadcrumbs-Cvm5Ifm7.js";
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sdk-sidebar-
|
|
9
|
-
import "../stl-sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { c as MethodSignature, d as Resource, f as ResourceProps, g as TypeProps, h as TypeName, l as Property, m as Type, o as Declaration, p as TerraformSource, s as DeclarationProps, u as PropertyProps } from "../index-
|
|
3
|
+
import "../method-DPnfsySL.js";
|
|
4
|
+
import "../properties-BYmc18KM.js";
|
|
5
|
+
import "../sdk-7I25t5FC.js";
|
|
6
|
+
import "../snippets-DZM_ogqa.js";
|
|
7
|
+
import "../overview-CXNo7yhX.js";
|
|
8
|
+
import "../sdk-sidebar-JyrSuu5b.js";
|
|
9
|
+
import "../stl-sidebar-BR04ktwN.js";
|
|
10
|
+
import "../index-CaB6Jh8S.js";
|
|
11
|
+
import { c as MethodSignature, d as Resource, f as ResourceProps, g as TypeProps, h as TypeName, l as Property, m as Type, o as Declaration, p as TerraformSource, s as DeclarationProps, u as PropertyProps } from "../index-CCxFSaje.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, Property, PropertyProps, Resource, ResourceProps, TerraformSource, Type, TypeName, TypeProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
1
|
+
import "../primitives-Dt0u9KhI.js";
|
|
2
2
|
import "../breadcrumbs-Cvm5Ifm7.js";
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sdk-sidebar-
|
|
9
|
-
import "../stl-sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { At as DeclarationProps, Ft as Type, It as TypeName, Mt as MethodSignatureProps, Nt as Property, Pt as PropertyProps, jt as MethodSignature, kt as Declaration } from "../index-
|
|
3
|
+
import "../method-DPnfsySL.js";
|
|
4
|
+
import "../properties-BYmc18KM.js";
|
|
5
|
+
import "../sdk-7I25t5FC.js";
|
|
6
|
+
import "../snippets-DZM_ogqa.js";
|
|
7
|
+
import "../overview-CXNo7yhX.js";
|
|
8
|
+
import "../sdk-sidebar-JyrSuu5b.js";
|
|
9
|
+
import "../stl-sidebar-BR04ktwN.js";
|
|
10
|
+
import "../index-CaB6Jh8S.js";
|
|
11
|
+
import { At as DeclarationProps, Ft as Type, It as TypeName, Mt as MethodSignatureProps, Nt as Property, Pt as PropertyProps, jt as MethodSignature, kt as Declaration } from "../index-CCxFSaje.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -3,10 +3,10 @@ import { o as typescript_exports } from "./typescript-n46M9OtL.js";
|
|
|
3
3
|
import { o as java_exports } from "./java-CxGSJVvv.js";
|
|
4
4
|
import { o as go_exports } from "./go-COaHV3Hc.js";
|
|
5
5
|
import { o as python_exports } from "./python-DsTuWCKE.js";
|
|
6
|
-
import { o as ruby_exports } from "./ruby-
|
|
7
|
-
import { s as http_exports } from "./http-
|
|
6
|
+
import { o as ruby_exports } from "./ruby-BncKp6hd.js";
|
|
7
|
+
import { s as http_exports } from "./http-Bg6D0bNX.js";
|
|
8
8
|
import { o as csharp_exports } from "./csharp-D6_jlynY.js";
|
|
9
|
-
import { o as cli_exports } from "./cli-
|
|
9
|
+
import { o as cli_exports } from "./cli-MlcHZWvQ.js";
|
|
10
10
|
import { c as terraform_exports } from "./terraform-B95X4rNK.js";
|
|
11
11
|
|
|
12
12
|
//#region src/languages/index.ts
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as Method, f as Model, i as DeclarationNode, m as Resource } from "../index-CwjGm9zX.js";
|
|
2
|
-
import "../sdk-
|
|
2
|
+
import "../sdk-7I25t5FC.js";
|
|
3
3
|
import { EnvironmentType } from "./utils.js";
|
|
4
4
|
import { t as printer_d_exports } from "./printer.js";
|
|
5
5
|
import { Node } from "@markdoc/markdoc";
|
package/dist/markdown/index.js
CHANGED
|
@@ -6,26 +6,26 @@ import "../contexts-CVj20VV4.js";
|
|
|
6
6
|
import "../use-components-BUz3GbO4.js";
|
|
7
7
|
import "../properties-BnbBKd5a.js";
|
|
8
8
|
import "../method-BPDUyBlD.js";
|
|
9
|
-
import "../primitives-
|
|
9
|
+
import "../primitives-DJEqe_r1.js";
|
|
10
10
|
import "../icons-BYKn5X8E.js";
|
|
11
|
-
import "../sdk-
|
|
11
|
+
import "../sdk-B69ZT1zY.js";
|
|
12
12
|
import "../snippets-BehbU3rt.js";
|
|
13
|
-
import "../overview-
|
|
14
|
-
import "../breadcrumbs-
|
|
13
|
+
import "../overview-DFwfIK6k.js";
|
|
14
|
+
import "../breadcrumbs-DA4WgDhR.js";
|
|
15
15
|
import "../stl-sidebar-WtimNrk1.js";
|
|
16
|
-
import "../sdk-sidebar-
|
|
17
|
-
import "../components-
|
|
16
|
+
import "../sdk-sidebar-V_MTkVw8.js";
|
|
17
|
+
import "../components-Bu-V0Ani.js";
|
|
18
18
|
import "../typescript-n46M9OtL.js";
|
|
19
19
|
import "../java-CxGSJVvv.js";
|
|
20
20
|
import "../go-COaHV3Hc.js";
|
|
21
21
|
import "../python-DsTuWCKE.js";
|
|
22
|
-
import "../ruby-
|
|
23
|
-
import "../http-
|
|
22
|
+
import "../ruby-BncKp6hd.js";
|
|
23
|
+
import "../http-Bg6D0bNX.js";
|
|
24
24
|
import "../csharp-D6_jlynY.js";
|
|
25
|
-
import "../cli-
|
|
25
|
+
import "../cli-MlcHZWvQ.js";
|
|
26
26
|
import "../terraform-B95X4rNK.js";
|
|
27
|
-
import "../languages-
|
|
28
|
-
import "../component-
|
|
27
|
+
import "../languages-kmF_JEqJ.js";
|
|
28
|
+
import "../component-C7n1bZ-Z.js";
|
|
29
29
|
import { code, fence, heading, item, list, paragraph, parse, strong, text } from "./md.js";
|
|
30
30
|
import { getDecl, getSnippet, stripMarkup } from "./utils.js";
|
|
31
31
|
import { declaration as declaration$1, methodSignature, t as printer_exports } from "./printer.js";
|
package/dist/markdown/printer.js
CHANGED
|
@@ -8,26 +8,26 @@ import "../use-components-BUz3GbO4.js";
|
|
|
8
8
|
import { t as style_default } from "../style-HpXpcJ9v.js";
|
|
9
9
|
import "../properties-BnbBKd5a.js";
|
|
10
10
|
import "../method-BPDUyBlD.js";
|
|
11
|
-
import "../primitives-
|
|
11
|
+
import "../primitives-DJEqe_r1.js";
|
|
12
12
|
import "../icons-BYKn5X8E.js";
|
|
13
|
-
import "../sdk-
|
|
13
|
+
import "../sdk-B69ZT1zY.js";
|
|
14
14
|
import "../snippets-BehbU3rt.js";
|
|
15
|
-
import "../overview-
|
|
16
|
-
import "../breadcrumbs-
|
|
15
|
+
import "../overview-DFwfIK6k.js";
|
|
16
|
+
import "../breadcrumbs-DA4WgDhR.js";
|
|
17
17
|
import "../stl-sidebar-WtimNrk1.js";
|
|
18
|
-
import "../sdk-sidebar-
|
|
19
|
-
import "../components-
|
|
18
|
+
import "../sdk-sidebar-V_MTkVw8.js";
|
|
19
|
+
import "../components-Bu-V0Ani.js";
|
|
20
20
|
import "../typescript-n46M9OtL.js";
|
|
21
21
|
import "../java-CxGSJVvv.js";
|
|
22
22
|
import "../go-COaHV3Hc.js";
|
|
23
23
|
import "../python-DsTuWCKE.js";
|
|
24
|
-
import "../ruby-
|
|
25
|
-
import "../http-
|
|
24
|
+
import "../ruby-BncKp6hd.js";
|
|
25
|
+
import "../http-Bg6D0bNX.js";
|
|
26
26
|
import "../csharp-D6_jlynY.js";
|
|
27
|
-
import "../cli-
|
|
27
|
+
import "../cli-MlcHZWvQ.js";
|
|
28
28
|
import "../terraform-B95X4rNK.js";
|
|
29
|
-
import "../languages-
|
|
30
|
-
import { t as ComponentProvider } from "../component-
|
|
29
|
+
import "../languages-kmF_JEqJ.js";
|
|
30
|
+
import { t as ComponentProvider } from "../component-C7n1bZ-Z.js";
|
|
31
31
|
import "react";
|
|
32
32
|
import { jsx } from "react/jsx-runtime";
|
|
33
33
|
import { renderToStaticMarkup } from "react-dom/server";
|
package/dist/markdown/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as Spec, u as LanguageDeclNodes, v as SpecLanguage } from "../index-CwjGm9zX.js";
|
|
2
2
|
import { t as DocsLanguage } from "../routing-Cm_9XJiQ.js";
|
|
3
|
-
import { w as TransformRequestSnippetFn } from "../sdk-
|
|
3
|
+
import { w as TransformRequestSnippetFn } from "../sdk-7I25t5FC.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/utils.d.ts
|
|
6
6
|
type EnvironmentType = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContext = {
|
|
@@ -17,6 +17,6 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps):
|
|
20
|
+
}: MarkdownProviderProps): react_jsx_runtime68.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/method.d.ts
|
|
6
6
|
type MethodHeaderProps = {
|
|
@@ -16,7 +16,7 @@ declare function MethodHeader({
|
|
|
16
16
|
signature,
|
|
17
17
|
children,
|
|
18
18
|
level
|
|
19
|
-
}: MethodHeaderProps):
|
|
19
|
+
}: MethodHeaderProps): react_jsx_runtime16.JSX.Element;
|
|
20
20
|
type MethodRouteProps = {
|
|
21
21
|
httpMethod?: string;
|
|
22
22
|
endpoint?: string | ReactNode;
|
|
@@ -26,13 +26,13 @@ declare function MethodRoute({
|
|
|
26
26
|
httpMethod,
|
|
27
27
|
endpoint,
|
|
28
28
|
iconOnly
|
|
29
|
-
}: MethodRouteProps):
|
|
29
|
+
}: MethodRouteProps): react_jsx_runtime16.JSX.Element;
|
|
30
30
|
type MethodDescriptionProps = {
|
|
31
31
|
description?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function MethodDescription({
|
|
34
34
|
description
|
|
35
|
-
}: MethodDescriptionProps):
|
|
35
|
+
}: MethodDescriptionProps): react_jsx_runtime16.JSX.Element | undefined;
|
|
36
36
|
type MethodInfoProps = {
|
|
37
37
|
children?: ReactNode;
|
|
38
38
|
parameters?: ReactNode;
|
|
@@ -42,7 +42,7 @@ declare function MethodInfo({
|
|
|
42
42
|
children,
|
|
43
43
|
parameters,
|
|
44
44
|
returns
|
|
45
|
-
}: MethodInfoProps):
|
|
45
|
+
}: MethodInfoProps): react_jsx_runtime16.JSX.Element;
|
|
46
46
|
type MethodProps = {
|
|
47
47
|
id?: string;
|
|
48
48
|
header?: ReactNode;
|
|
@@ -54,6 +54,6 @@ declare function Method({
|
|
|
54
54
|
children,
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: MethodProps):
|
|
57
|
+
}: MethodProps): react_jsx_runtime16.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/navigation.d.ts
|
|
6
6
|
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
@@ -24,6 +24,6 @@ declare function NavigationProvider({
|
|
|
24
24
|
selectedPath,
|
|
25
25
|
onNavigate,
|
|
26
26
|
children
|
|
27
|
-
}: NavigationProviderProps):
|
|
27
|
+
}: NavigationProviderProps): react_jsx_runtime98.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as Method, m as Resource } from "./index-CwjGm9zX.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
5
5
|
type SDKResourceProps = {
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime22.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime22.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime22.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime22.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime22.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
|
|
@@ -3,9 +3,9 @@ import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
|
|
|
3
3
|
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
4
|
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
5
5
|
import { i as PropertyToggle } from "./properties-BnbBKd5a.js";
|
|
6
|
-
import { p as parseStainlessPath } from "./routing-
|
|
7
|
-
import { s as Markdown } from "./primitives-
|
|
8
|
-
import {
|
|
6
|
+
import { p as parseStainlessPath } from "./routing-C64k4fmX.js";
|
|
7
|
+
import { s as Markdown } from "./primitives-DJEqe_r1.js";
|
|
8
|
+
import { r as getResourceFromSpec, t as flatResources } from "./utils-DPbkW1Tz.js";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { ChevronRight } from "lucide-react";
|
|
@@ -2,7 +2,7 @@ import { l as useSettings, s as useLanguage } from "./docs-BmOB2f-I.js";
|
|
|
2
2
|
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
3
3
|
import { a as useRenderMarkdown } from "./markdown-CTKHMLVr.js";
|
|
4
4
|
import { t as style_default } from "./style-HpXpcJ9v.js";
|
|
5
|
-
import { s as generateRoute } from "./routing-
|
|
5
|
+
import { s as generateRoute } from "./routing-C64k4fmX.js";
|
|
6
6
|
import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import clsx from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime27.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime27.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime27.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime27.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime27.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,7 +56,7 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime27.JSX.Element | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath?: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime27.JSX.Element | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -79,7 +79,7 @@ declare function Input({
|
|
|
79
79
|
ref,
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: InputProps):
|
|
82
|
+
}: InputProps): react_jsx_runtime27.JSX.Element;
|
|
83
83
|
type ToggleButtonProps = {
|
|
84
84
|
children?: ReactNode;
|
|
85
85
|
selected?: boolean;
|
|
@@ -89,7 +89,7 @@ declare function ToggleButton({
|
|
|
89
89
|
selected,
|
|
90
90
|
ref,
|
|
91
91
|
...props
|
|
92
|
-
}: ToggleButtonProps):
|
|
92
|
+
}: ToggleButtonProps): react_jsx_runtime27.JSX.Element;
|
|
93
93
|
type ListViewProps<TItem> = {
|
|
94
94
|
items: Array<TItem>;
|
|
95
95
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
|
|
|
100
100
|
itemDelegate,
|
|
101
101
|
onSelectListItem,
|
|
102
102
|
...rest
|
|
103
|
-
}: ListViewProps<TItem>):
|
|
103
|
+
}: ListViewProps<TItem>): react_jsx_runtime27.JSX.Element;
|
|
104
104
|
//#endregion
|
|
105
105
|
export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime37 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime37.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime37.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime37.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime37.JSX.Element | null;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
|
|
@@ -167,7 +167,10 @@ function generateRouteList({ spec, languages, excludeLanguages = [] }) {
|
|
|
167
167
|
}
|
|
168
168
|
function generateMissingRouteList({ spec, basePath }) {
|
|
169
169
|
const entries = Array.from(walkTree(spec));
|
|
170
|
-
return (spec.docs?.languages ?? ["http"]).filter((lang) => Languages.includes(lang) && lang !== "terraform").flatMap((language) => entries.filter(({ data: { stainlessPath
|
|
170
|
+
return (spec.docs?.languages ?? ["http"]).filter((lang) => Languages.includes(lang) && lang !== "terraform").flatMap((language) => entries.filter(({ data: { stainlessPath, ...rest } }) => {
|
|
171
|
+
if (spec.decls?.[language]?.[stainlessPath] === void 0) return rest.kind === "http_method";
|
|
172
|
+
return false;
|
|
173
|
+
}).map(({ path }) => `${basePath.endsWith("/") ? basePath.slice(0, -1) : basePath}/${language === "http" ? path.join("/") : [language, ...path].join("/")}`));
|
|
171
174
|
}
|
|
172
175
|
function findNavigationPath(items, target) {
|
|
173
176
|
for (const item of Object.values(items)) {
|
package/dist/routing.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as updateHistory, a as findNavigationPath, c as generateRouteList, d as isSupportedLanguage, f as parseRoute, g as trimStainlessPath, h as scrollToPath, i as expandToElement, l as getLanguageSnippet, n as Languages, o as generateMissingRouteList, p as parseStainlessPath, r as SupportedLanguageSyntaxes, s as generateRoute, t as LanguageNames, u as getResource, v as walkTree } from "./routing-
|
|
1
|
+
import { _ as updateHistory, a as findNavigationPath, c as generateRouteList, d as isSupportedLanguage, f as parseRoute, g as trimStainlessPath, h as scrollToPath, i as expandToElement, l as getLanguageSnippet, n as Languages, o as generateMissingRouteList, p as parseStainlessPath, r as SupportedLanguageSyntaxes, s as generateRoute, t as LanguageNames, u as getResource, v as walkTree } from "./routing-C64k4fmX.js";
|
|
2
2
|
|
|
3
3
|
export { LanguageNames, Languages, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateMissingRouteList, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|