@stainless-api/docs-ui 0.1.0-beta.5 → 0.1.0-beta.51
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-BdYnaHA8.d.ts +20 -0
- package/dist/breadcrumbs-CA7GmW_8.d.ts +20 -0
- package/dist/breadcrumbs-nSFZO5Gf.js +63 -0
- package/dist/chunk-DRcLgZ1e.js +18 -0
- package/dist/component-DRO8kQSp.js +23 -0
- package/dist/component-generics-B6Fn47Mz.js +45 -0
- package/dist/component-generics-BHFUK06s.d.ts +30 -0
- package/dist/component-generics-BJSyydZ-.d.ts +30 -0
- package/dist/components/MaskedInput.d.ts +14 -0
- package/dist/components/MaskedInput.js +76 -0
- package/dist/components/breadcrumbs.d.ts +2 -0
- package/dist/components/breadcrumbs.js +9 -0
- package/dist/components/icons.d.ts +55 -0
- package/dist/components/icons.js +3 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.js +18 -0
- package/dist/components/method.d.ts +2 -0
- package/dist/components/method.js +10 -0
- package/dist/components/overview.d.ts +2 -0
- package/dist/components/overview.js +11 -0
- package/dist/components/primitives.d.ts +2 -0
- package/dist/components/primitives.js +8 -0
- package/dist/components/properties.d.ts +2 -0
- package/dist/components/properties.js +9 -0
- package/dist/components/sdk.d.ts +2 -0
- package/dist/components/sdk.js +10 -0
- package/dist/components/sidebar.d.ts +2 -0
- package/dist/components/sidebar.js +11 -0
- package/dist/components/snippets.d.ts +3 -0
- package/dist/components/snippets.js +9 -0
- package/dist/components-D7M-BwNI.js +71 -0
- package/dist/contexts/component-generics.d.ts +2 -0
- package/dist/contexts/component-generics.js +3 -0
- package/dist/contexts/component-types.d.ts +16 -0
- package/dist/contexts/component-types.js +0 -0
- package/dist/contexts/component.d.ts +29 -0
- package/dist/contexts/component.js +27 -0
- package/dist/contexts/docs.d.ts +2 -0
- package/dist/contexts/docs.js +3 -0
- package/dist/contexts/index.d.ts +16 -0
- package/dist/contexts/index.js +7 -0
- package/dist/contexts/markdown.d.ts +2 -0
- package/dist/contexts/markdown.js +4 -0
- package/dist/contexts/navigation.d.ts +2 -0
- package/dist/contexts/navigation.js +3 -0
- package/dist/contexts/use-components.d.ts +14 -0
- package/dist/contexts/use-components.js +4 -0
- package/dist/contexts-p3rRZDlM.js +39 -0
- package/dist/csharp-CDSxfCZE.js +283 -0
- package/dist/docs-BUS__I1m.d.ts +47 -0
- package/dist/docs-CXqi26jB.js +54 -0
- package/dist/docs-fKyo35eI.d.ts +47 -0
- package/dist/go-1c3S5ETL.js +303 -0
- package/dist/http-2QNWXH9t.js +330 -0
- package/dist/icons-Ckod9aod.js +869 -0
- package/dist/index-5Yl-BBg3.d.ts +15 -0
- package/dist/index-9LRO8R1a.d.ts +274 -0
- package/dist/index-CBIJwoyp.d.ts +13 -0
- package/dist/index-ClCZKGcw.d.ts +274 -0
- package/dist/index-pMKpm2Jk.d.ts +13 -0
- package/dist/index-q3bZhNWj.d.ts +15 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +29 -7542
- package/dist/java-BbjF_oUI.js +403 -0
- package/dist/languages/csharp.d.ts +11 -0
- package/dist/languages/csharp.js +9 -0
- package/dist/languages/go.d.ts +11 -0
- package/dist/languages/go.js +9 -0
- package/dist/languages/http.d.ts +11 -0
- package/dist/languages/http.js +19 -0
- package/dist/languages/index.d.ts +11 -0
- package/dist/languages/index.js +26 -0
- package/dist/languages/java.d.ts +11 -0
- package/dist/languages/java.js +9 -0
- package/dist/languages/python.d.ts +11 -0
- package/dist/languages/python.js +9 -0
- package/dist/languages/ruby.d.ts +11 -0
- package/dist/languages/ruby.js +9 -0
- package/dist/languages/typescript.d.ts +11 -0
- package/dist/languages/typescript.js +9 -0
- package/dist/languages-BCYZjzuS.js +26 -0
- package/dist/markdown/index.d.ts +12 -0
- package/dist/markdown/index.js +104 -0
- package/dist/markdown/md.d.ts +15 -0
- package/dist/markdown/md.js +3 -0
- package/dist/markdown/printer.d.ts +2 -0
- package/dist/markdown/printer.js +28 -0
- package/dist/markdown/utils.d.ts +3 -0
- package/dist/markdown/utils.js +3 -0
- package/dist/markdown-C8o8WrwG.d.ts +22 -0
- package/dist/markdown-CqJohZei.d.ts +22 -0
- package/dist/markdown-CxdeWgjV.js +48 -0
- package/dist/md-oM2tUaCA.js +41 -0
- package/dist/method-CE08mUME.js +115 -0
- package/dist/method-CMt6uyix.d.ts +71 -0
- package/dist/method-r5UAB40b.d.ts +71 -0
- package/dist/navigation-9_4wRkcT.d.ts +29 -0
- package/dist/navigation-C5TN0SgC.js +24 -0
- package/dist/navigation-zuoWsXzh.d.ts +29 -0
- package/dist/overview-DXmLmmr7.d.ts +39 -0
- package/dist/overview-S2hUqPXA.js +139 -0
- package/dist/overview-ixhAhHj8.d.ts +39 -0
- package/dist/primitives-BIWfwN5L.js +258 -0
- package/dist/primitives-BVXfSSiS.d.ts +97 -0
- package/dist/primitives-Bl0wzAGo.d.ts +97 -0
- package/dist/printer-DBw4S_Jn.d.ts +13 -0
- package/dist/printer-bNxiG6UB.js +74 -0
- package/dist/properties-C-NU_ghj.d.ts +54 -0
- package/dist/properties-GT9ixNTg.d.ts +54 -0
- package/dist/properties-jlGW3USi.js +131 -0
- package/dist/python-USOwFDv_.js +279 -0
- package/dist/routing-CMqh1cTZ.d.ts +54 -0
- package/dist/routing-Wbb7YECB.js +194 -0
- package/dist/routing.d.ts +2 -0
- package/dist/routing.js +3 -180
- package/dist/ruby-CSvGbSLe.js +387 -0
- package/dist/sdk-B5W3VipN.d.ts +118 -0
- package/dist/sdk-CS6A3HW3.d.ts +118 -0
- package/dist/sdk-CSCbbn3O.js +336 -0
- package/dist/sidebar-C3fZrgmP.d.ts +36 -0
- package/dist/sidebar-CWyvCrJ0.js +81 -0
- package/dist/sidebar-CbCLUteD.d.ts +36 -0
- package/dist/snippets-BQLXEIf6.js +161 -0
- package/dist/snippets-C72s2IwS.d.ts +51 -0
- package/dist/snippets-DcFph7ir.d.ts +51 -0
- package/dist/spec.d.ts +65 -0
- package/dist/spec.js +167 -0
- package/dist/style-D7RO5ymE.d.ts +168 -0
- package/dist/style-gnVEeXFj.js +169 -0
- package/dist/style.d.ts +2 -0
- package/dist/style.js +3 -0
- package/dist/styles/main.css +727 -754
- package/dist/styles/main.js +0 -0
- package/dist/styles/primitives.css +317 -461
- package/dist/styles/primitives.js +0 -0
- package/dist/styles/resets.css +32 -41
- package/dist/styles/resets.js +0 -0
- package/dist/styles/search.css +175 -274
- package/dist/styles/search.js +0 -0
- package/dist/styles/sidebar.css +59 -60
- package/dist/styles/sidebar.js +0 -0
- package/dist/styles/variables.css +26 -89
- package/dist/styles/variables.js +0 -0
- package/dist/styles.css +2910 -0
- package/dist/styles.mjs +1 -0
- package/dist/typescript-DXG9psK3.js +449 -0
- package/dist/use-components-RWQbviGq.js +7 -0
- package/dist/utils-CqnL9Fc3.js +31 -0
- package/dist/utils-DGnJ6mcU.d.ts +21 -0
- package/dist/utils-D_1AWSRX.js +32 -0
- package/dist/utils-d8paVwKN.d.ts +14 -0
- package/dist/utils-uQbtk0-_.d.ts +21 -0
- package/dist/utils.d.ts +2 -0
- package/dist/utils.js +3 -0
- package/package.json +73 -21
- package/dist/mcp.js +0 -16003
- package/dist/styles/snippets.css +0 -132
- package/src/components/breadcrumbs.tsx +0 -94
- package/src/components/chat.tsx +0 -154
- package/src/components/dropdown.tsx +0 -91
- package/src/components/icons.tsx +0 -584
- package/src/components/index.ts +0 -9
- package/src/components/method.tsx +0 -144
- package/src/components/overview.tsx +0 -159
- package/src/components/primitives.tsx +0 -284
- package/src/components/properties.tsx +0 -130
- package/src/components/scripts/dropdown.ts +0 -78
- package/src/components/sdk.tsx +0 -402
- package/src/components/sidebar.tsx +0 -99
- package/src/components/snippets.tsx +0 -179
- package/src/contexts/component-generics.tsx +0 -48
- package/src/contexts/component-types.tsx +0 -5
- package/src/contexts/component.tsx +0 -32
- package/src/contexts/docs.tsx +0 -75
- package/src/contexts/index.tsx +0 -17
- package/src/contexts/markdown.tsx +0 -43
- package/src/contexts/navigation.tsx +0 -44
- package/src/contexts/search.tsx +0 -28
- package/src/contexts/use-components.tsx +0 -4
- package/src/index.ts +0 -6
- package/src/languages/go.tsx +0 -281
- package/src/languages/http.tsx +0 -321
- package/src/languages/index.ts +0 -26
- package/src/languages/java.tsx +0 -358
- package/src/languages/python.tsx +0 -255
- package/src/languages/ruby.tsx +0 -320
- package/src/languages/typescript.tsx +0 -393
- package/src/markdown/index.ts +0 -107
- package/src/markdown/md.ts +0 -45
- package/src/markdown/utils.ts +0 -49
- package/src/routing.ts +0 -238
- package/src/search/form.tsx +0 -127
- package/src/search/index.tsx +0 -1
- package/src/search/indexer.ts +0 -246
- package/src/search/mcp.ts +0 -61
- package/src/search/printer.tsx +0 -86
- package/src/search/providers/algolia.ts +0 -88
- package/src/search/providers/fuse.ts +0 -19
- package/src/search/providers/pagefind.ts +0 -17
- package/src/search/providers/walker.ts +0 -30
- package/src/search/results.tsx +0 -181
- package/src/search/state.ts +0 -64
- package/src/search/types.ts +0 -116
- package/src/style.ts +0 -197
- package/src/styles/main.css +0 -993
- package/src/styles/primitives.css +0 -573
- package/src/styles/resets.css +0 -47
- package/src/styles/search.css +0 -342
- package/src/styles/sidebar.css +0 -87
- package/src/styles/snippets.css +0 -132
- package/src/styles/variables.css +0 -90
- package/src/utils.ts +0 -41
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
import { t as __export } from "./chunk-DRcLgZ1e.js";
|
|
2
|
+
import { a as useLanguage } from "./docs-CXqi26jB.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-p3rRZDlM.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-RWQbviGq.js";
|
|
5
|
+
import { t as style_default } from "./style-gnVEeXFj.js";
|
|
6
|
+
import * as React$1 from "react";
|
|
7
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/languages/java.tsx
|
|
10
|
+
var java_exports = /* @__PURE__ */ __export({
|
|
11
|
+
Declaration: () => Declaration,
|
|
12
|
+
MethodSignature: () => MethodSignature,
|
|
13
|
+
Property: () => Property,
|
|
14
|
+
Type: () => Type,
|
|
15
|
+
TypeName: () => TypeName
|
|
16
|
+
});
|
|
17
|
+
function showFullType(type) {
|
|
18
|
+
return type.kind === "JavaTypeReference" && (type.typeName === "List" || type.typeParameters && type.typeParameters.length > 0);
|
|
19
|
+
}
|
|
20
|
+
const constStyle = {
|
|
21
|
+
string: style_default.LiteralString,
|
|
22
|
+
number: style_default.LiteralNumeric,
|
|
23
|
+
boolean: style_default.LiteralBoolean
|
|
24
|
+
};
|
|
25
|
+
function TypeName({ type, optional }) {
|
|
26
|
+
const Lang = useLanguageComponents();
|
|
27
|
+
if (type.kind === "JavaTypeReference" && type.typeName === "List") return "List";
|
|
28
|
+
return /* @__PURE__ */ jsx(Lang.Type, {
|
|
29
|
+
type,
|
|
30
|
+
optional
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function Type({ type, optional }) {
|
|
34
|
+
const language = useLanguage();
|
|
35
|
+
const Lang = useLanguageComponents();
|
|
36
|
+
const { Join, SDKReference } = useComponents();
|
|
37
|
+
switch (type.kind) {
|
|
38
|
+
case "JavaTypeReference": {
|
|
39
|
+
const name = type.typeName.split(".").at(-1);
|
|
40
|
+
const params = type.typeParameters?.map((param, key) => /* @__PURE__ */ jsx(Lang.Type, {
|
|
41
|
+
type: param,
|
|
42
|
+
optional
|
|
43
|
+
}, key));
|
|
44
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
45
|
+
className: style_default.Type,
|
|
46
|
+
children: [/* @__PURE__ */ jsx(SDKReference, {
|
|
47
|
+
stainlessPath: type.$ref,
|
|
48
|
+
children: name
|
|
49
|
+
}), params && params.length > 0 ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
50
|
+
/* @__PURE__ */ jsx("span", {
|
|
51
|
+
className: style_default.TypeBracket,
|
|
52
|
+
children: "<"
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ jsx(Join, {
|
|
55
|
+
items: params,
|
|
56
|
+
limit: 3,
|
|
57
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
58
|
+
className: style_default.TextOperator,
|
|
59
|
+
children: ", "
|
|
60
|
+
})
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ jsx("span", {
|
|
63
|
+
className: style_default.TypeBracket,
|
|
64
|
+
children: ">"
|
|
65
|
+
})
|
|
66
|
+
] }) : null]
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
case "JavaTypeClass":
|
|
70
|
+
case "JavaTypeUnion": return /* @__PURE__ */ jsx("span", {
|
|
71
|
+
className: style_default.Type,
|
|
72
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
73
|
+
className: style_default.TypeKeyword,
|
|
74
|
+
children: "class"
|
|
75
|
+
})
|
|
76
|
+
});
|
|
77
|
+
case "JavaTypeEnum": return /* @__PURE__ */ jsx("span", {
|
|
78
|
+
className: style_default.Type,
|
|
79
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
80
|
+
className: style_default.TypeKeyword,
|
|
81
|
+
children: language === "kotlin" ? "enum class" : "enum"
|
|
82
|
+
})
|
|
83
|
+
});
|
|
84
|
+
case "JavaTypeVoid": return /* @__PURE__ */ jsx("span", {
|
|
85
|
+
className: style_default.Type,
|
|
86
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
87
|
+
className: style_default.TypeKeyword,
|
|
88
|
+
children: language === "kotlin" ? "Nothing?" : "Void"
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
case "JavaTypeBoolean": return /* @__PURE__ */ jsx("span", {
|
|
92
|
+
className: style_default.Type,
|
|
93
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
94
|
+
className: style_default.TypeKeyword,
|
|
95
|
+
children: language === "kotlin" || optional ? "Boolean" : "boolean"
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
case "JavaTypeDouble": return /* @__PURE__ */ jsx("span", {
|
|
99
|
+
className: style_default.Type,
|
|
100
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
101
|
+
className: style_default.TypeKeyword,
|
|
102
|
+
children: language === "kotlin" || optional ? "Double" : "double"
|
|
103
|
+
})
|
|
104
|
+
});
|
|
105
|
+
case "JavaTypeLong": return /* @__PURE__ */ jsx("span", {
|
|
106
|
+
className: style_default.Type,
|
|
107
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
108
|
+
className: style_default.TypeKeyword,
|
|
109
|
+
children: language === "kotlin" || optional ? "Long" : "long"
|
|
110
|
+
})
|
|
111
|
+
});
|
|
112
|
+
case "JavaTypeString": return /* @__PURE__ */ jsx("span", {
|
|
113
|
+
className: style_default.Type,
|
|
114
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
115
|
+
className: style_default.TypeString,
|
|
116
|
+
children: "String"
|
|
117
|
+
})
|
|
118
|
+
});
|
|
119
|
+
case "JavaTypeConstant": return /* @__PURE__ */ jsxs("span", {
|
|
120
|
+
className: style_default.Type,
|
|
121
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
122
|
+
className: style_default.TypeKeyword,
|
|
123
|
+
children: "JsonValue"
|
|
124
|
+
}), ";"]
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
function MethodSignature({ decl }) {
|
|
129
|
+
const Lang = useLanguageComponents();
|
|
130
|
+
const language = useLanguage();
|
|
131
|
+
const { Join, Tooltip } = useComponents();
|
|
132
|
+
const params = decl.parameters.map((param, i) => /* @__PURE__ */ jsx(React$1.Fragment, { children: /* @__PURE__ */ jsxs(Tooltip, {
|
|
133
|
+
content: /* @__PURE__ */ jsx(Lang.Type, { type: param.typeAnnotation }),
|
|
134
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
135
|
+
className: style_default.TextIdentifier,
|
|
136
|
+
children: param.ident
|
|
137
|
+
}), param.hasDefault && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
138
|
+
" ",
|
|
139
|
+
/* @__PURE__ */ jsx("span", {
|
|
140
|
+
className: style_default.TextOperator,
|
|
141
|
+
children: "="
|
|
142
|
+
}),
|
|
143
|
+
" ",
|
|
144
|
+
/* @__PURE__ */ jsx(Lang.Type, { type: param.typeAnnotation }),
|
|
145
|
+
/* @__PURE__ */ jsx("span", {
|
|
146
|
+
className: style_default.TextOperator,
|
|
147
|
+
children: "."
|
|
148
|
+
}),
|
|
149
|
+
/* @__PURE__ */ jsx("span", {
|
|
150
|
+
className: style_default.TextIdentifier,
|
|
151
|
+
children: "none"
|
|
152
|
+
}),
|
|
153
|
+
/* @__PURE__ */ jsx("span", {
|
|
154
|
+
className: style_default.TextOperator,
|
|
155
|
+
children: "()"
|
|
156
|
+
})
|
|
157
|
+
] })]
|
|
158
|
+
}) }, i));
|
|
159
|
+
return /* @__PURE__ */ jsx("div", {
|
|
160
|
+
className: style_default.MethodSignature,
|
|
161
|
+
children: /* @__PURE__ */ jsxs("span", {
|
|
162
|
+
className: style_default.SignatureTitle,
|
|
163
|
+
children: [
|
|
164
|
+
decl.returnType && language !== "kotlin" && /* @__PURE__ */ jsxs("span", {
|
|
165
|
+
className: style_default.SignatureReturns,
|
|
166
|
+
children: [/* @__PURE__ */ jsx(Lang.Type, { type: decl.returnType }), " "]
|
|
167
|
+
}),
|
|
168
|
+
decl.qualified && /* @__PURE__ */ jsx("span", {
|
|
169
|
+
className: style_default.SignatureQualified,
|
|
170
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
171
|
+
className: style_default.TextIdentifier,
|
|
172
|
+
children: decl.qualified?.slice(0, -decl.ident.length)
|
|
173
|
+
})
|
|
174
|
+
}),
|
|
175
|
+
/* @__PURE__ */ jsx("span", {
|
|
176
|
+
className: style_default.SignatureName,
|
|
177
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
178
|
+
className: style_default.TextIdentifier,
|
|
179
|
+
children: decl.ident
|
|
180
|
+
})
|
|
181
|
+
}),
|
|
182
|
+
/* @__PURE__ */ jsxs("span", {
|
|
183
|
+
className: style_default.MethodSignature,
|
|
184
|
+
children: [
|
|
185
|
+
/* @__PURE__ */ jsx("span", {
|
|
186
|
+
className: style_default.SignatureParen,
|
|
187
|
+
children: "("
|
|
188
|
+
}),
|
|
189
|
+
/* @__PURE__ */ jsx("span", {
|
|
190
|
+
className: style_default.SignatureParams,
|
|
191
|
+
children: /* @__PURE__ */ jsx(Join, {
|
|
192
|
+
items: params,
|
|
193
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
194
|
+
className: style_default.TextOperator,
|
|
195
|
+
children: ", "
|
|
196
|
+
})
|
|
197
|
+
})
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ jsxs("span", {
|
|
200
|
+
className: style_default.SignatureParen,
|
|
201
|
+
children: [")", " "]
|
|
202
|
+
}),
|
|
203
|
+
decl.returnType && language === "kotlin" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
204
|
+
/* @__PURE__ */ jsx("span", {
|
|
205
|
+
className: style_default.TextOperator,
|
|
206
|
+
children: ":"
|
|
207
|
+
}),
|
|
208
|
+
" ",
|
|
209
|
+
/* @__PURE__ */ jsx(Lang.Type, { type: decl.returnType })
|
|
210
|
+
] })
|
|
211
|
+
]
|
|
212
|
+
})
|
|
213
|
+
]
|
|
214
|
+
})
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
function Property({ decl, children }) {
|
|
218
|
+
const Docs = useComponents();
|
|
219
|
+
const Lang = useLanguageComponents();
|
|
220
|
+
const language = useLanguage();
|
|
221
|
+
if (!decl) return null;
|
|
222
|
+
switch (decl.kind) {
|
|
223
|
+
case "JavaDeclProperty": {
|
|
224
|
+
const typeRaw = /* @__PURE__ */ jsx(Lang.Type, {
|
|
225
|
+
type: decl.type,
|
|
226
|
+
optional: decl.optional
|
|
227
|
+
});
|
|
228
|
+
const typeWrapped = decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
229
|
+
/* @__PURE__ */ jsx("span", {
|
|
230
|
+
className: style_default.TypeKeyword,
|
|
231
|
+
children: "Optional"
|
|
232
|
+
}),
|
|
233
|
+
/* @__PURE__ */ jsx("span", {
|
|
234
|
+
className: style_default.TypeBracket,
|
|
235
|
+
children: "<"
|
|
236
|
+
}),
|
|
237
|
+
typeRaw,
|
|
238
|
+
/* @__PURE__ */ jsx("span", {
|
|
239
|
+
className: style_default.TypeBracket,
|
|
240
|
+
children: ">"
|
|
241
|
+
})
|
|
242
|
+
] }) : typeRaw;
|
|
243
|
+
const badges = /* @__PURE__ */ jsx(Fragment$1, { children: decl.type.kind === "JavaTypeConstant" && /* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
244
|
+
content: /* @__PURE__ */ jsx("span", {
|
|
245
|
+
className: style_default.TextIdentifier,
|
|
246
|
+
children: decl.type.value
|
|
247
|
+
}),
|
|
248
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
249
|
+
className: style_default.TextIdentifier,
|
|
250
|
+
children: "constant"
|
|
251
|
+
})
|
|
252
|
+
}) });
|
|
253
|
+
return children({
|
|
254
|
+
name: decl.ident,
|
|
255
|
+
typeName: /* @__PURE__ */ jsx(Lang.TypeName, {
|
|
256
|
+
type: decl.type,
|
|
257
|
+
optional: decl.optional
|
|
258
|
+
}),
|
|
259
|
+
type: showFullType(decl.type) && typeWrapped,
|
|
260
|
+
badges
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
case "JavaDeclConst": return children({
|
|
264
|
+
name: decl.ident,
|
|
265
|
+
typeName: "const",
|
|
266
|
+
type: /* @__PURE__ */ jsx("span", {
|
|
267
|
+
className: constStyle[typeof decl.value],
|
|
268
|
+
children: JSON.stringify(decl.value)
|
|
269
|
+
})
|
|
270
|
+
});
|
|
271
|
+
case "JavaDeclType": {
|
|
272
|
+
const typeName = decl.type.kind === "JavaTypeUnion" ? "union" : decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
|
|
273
|
+
return children({
|
|
274
|
+
name: decl.ident,
|
|
275
|
+
typeName
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
case "JavaDeclReference": return children({ type: /* @__PURE__ */ jsx(Lang.Type, { type: decl.type }) });
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
function Declaration({ decl }) {
|
|
282
|
+
const Docs = useComponents();
|
|
283
|
+
const Lang = useLanguageComponents();
|
|
284
|
+
const language = useLanguage();
|
|
285
|
+
if (!decl) return null;
|
|
286
|
+
switch (decl.kind) {
|
|
287
|
+
case "JavaDeclConst": return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
288
|
+
/* @__PURE__ */ jsx("span", {
|
|
289
|
+
className: style_default.TextIdentifier,
|
|
290
|
+
children: decl.ident
|
|
291
|
+
}),
|
|
292
|
+
/* @__PURE__ */ jsx("span", {
|
|
293
|
+
className: style_default.TextPunctuation,
|
|
294
|
+
children: "("
|
|
295
|
+
}),
|
|
296
|
+
JSON.stringify(decl.value),
|
|
297
|
+
/* @__PURE__ */ jsx("span", {
|
|
298
|
+
className: style_default.TextPunctuation,
|
|
299
|
+
children: ")"
|
|
300
|
+
})
|
|
301
|
+
] });
|
|
302
|
+
case "JavaDeclType": {
|
|
303
|
+
const keyword = decl.type.kind === "JavaTypeEnum" ? language === "kotlin" ? "enum class" : "enum" : "class";
|
|
304
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
305
|
+
/* @__PURE__ */ jsx("span", {
|
|
306
|
+
className: style_default.TextKeyword,
|
|
307
|
+
children: keyword
|
|
308
|
+
}),
|
|
309
|
+
" ",
|
|
310
|
+
/* @__PURE__ */ jsx("span", {
|
|
311
|
+
className: style_default.TextIdentifier,
|
|
312
|
+
children: decl.ident
|
|
313
|
+
}),
|
|
314
|
+
/* @__PURE__ */ jsx("span", {
|
|
315
|
+
className: style_default.TextPunctuation,
|
|
316
|
+
children: ":"
|
|
317
|
+
}),
|
|
318
|
+
decl.type.kind === "JavaTypeUnion" && /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
319
|
+
" ",
|
|
320
|
+
/* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
321
|
+
content: "A class that can be one of several variants.",
|
|
322
|
+
children: /* @__PURE__ */ jsx(Docs.Badge, {
|
|
323
|
+
id: "java-union",
|
|
324
|
+
children: "union"
|
|
325
|
+
})
|
|
326
|
+
}),
|
|
327
|
+
" "
|
|
328
|
+
] })
|
|
329
|
+
] });
|
|
330
|
+
}
|
|
331
|
+
case "JavaDeclProperty": {
|
|
332
|
+
const inlineType = /* @__PURE__ */ jsx(Lang.Type, {
|
|
333
|
+
type: decl.type,
|
|
334
|
+
optional: decl.optional
|
|
335
|
+
});
|
|
336
|
+
const ident = /* @__PURE__ */ jsx("span", {
|
|
337
|
+
className: style_default.TypePropertyName,
|
|
338
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
339
|
+
className: style_default.TextIdentifier,
|
|
340
|
+
children: decl.ident
|
|
341
|
+
})
|
|
342
|
+
});
|
|
343
|
+
const suffix = decl.type.kind === "JavaTypeConstant" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [" ", /* @__PURE__ */ jsx(Docs.Tooltip, {
|
|
344
|
+
content: /* @__PURE__ */ jsx("span", {
|
|
345
|
+
className: style_default.TextIdentifier,
|
|
346
|
+
children: decl.type.value
|
|
347
|
+
}),
|
|
348
|
+
children: /* @__PURE__ */ jsx(Docs.Badge, {
|
|
349
|
+
id: "java-constant",
|
|
350
|
+
children: "constant"
|
|
351
|
+
})
|
|
352
|
+
})] }) : null;
|
|
353
|
+
if (language === "kotlin") return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
354
|
+
ident,
|
|
355
|
+
/* @__PURE__ */ jsx("span", {
|
|
356
|
+
className: style_default.TextPunctuation,
|
|
357
|
+
children: ":"
|
|
358
|
+
}),
|
|
359
|
+
" ",
|
|
360
|
+
decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
361
|
+
/* @__PURE__ */ jsx("span", {
|
|
362
|
+
className: style_default.TypeReference,
|
|
363
|
+
children: "Optional"
|
|
364
|
+
}),
|
|
365
|
+
/* @__PURE__ */ jsx("span", {
|
|
366
|
+
className: style_default.TypeBracket,
|
|
367
|
+
children: "<"
|
|
368
|
+
}),
|
|
369
|
+
inlineType,
|
|
370
|
+
/* @__PURE__ */ jsx("span", {
|
|
371
|
+
className: style_default.TypeBracket,
|
|
372
|
+
children: ">"
|
|
373
|
+
})
|
|
374
|
+
] }) : inlineType,
|
|
375
|
+
suffix
|
|
376
|
+
] });
|
|
377
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
378
|
+
decl.optional ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
379
|
+
/* @__PURE__ */ jsx("span", {
|
|
380
|
+
className: style_default.TypeReference,
|
|
381
|
+
children: "Optional"
|
|
382
|
+
}),
|
|
383
|
+
/* @__PURE__ */ jsx("span", {
|
|
384
|
+
className: style_default.TypeBracket,
|
|
385
|
+
children: "<"
|
|
386
|
+
}),
|
|
387
|
+
inlineType,
|
|
388
|
+
/* @__PURE__ */ jsx("span", {
|
|
389
|
+
className: style_default.TypeBracket,
|
|
390
|
+
children: ">"
|
|
391
|
+
})
|
|
392
|
+
] }) : inlineType,
|
|
393
|
+
" ",
|
|
394
|
+
ident,
|
|
395
|
+
suffix
|
|
396
|
+
] });
|
|
397
|
+
}
|
|
398
|
+
case "JavaDeclReference": return /* @__PURE__ */ jsx(Lang.Type, { type: decl.type });
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
//#endregion
|
|
403
|
+
export { TypeName as a, Type as i, MethodSignature as n, java_exports as o, Property as r, Declaration as t };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { c as MethodSignature, d as PropertyProps, f as Type, l as MethodSignatureProps, o as Declaration, p as TypeName, s as DeclarationProps, u as Property } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../csharp-CDSxfCZE.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, Z as TypeProps, q as Property } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../go-1c3S5ETL.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { C as TypeName, S as Type, _ as MethodInfo, b as Property, g as DeclarationProps, h as Declaration, v as MethodSignature, x as PropertyProps, y as MethodSignatureProps } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import "../properties-jlGW3USi.js";
|
|
8
|
+
import "../method-CE08mUME.js";
|
|
9
|
+
import "../primitives-BIWfwN5L.js";
|
|
10
|
+
import "../icons-Ckod9aod.js";
|
|
11
|
+
import "../sdk-CSCbbn3O.js";
|
|
12
|
+
import "../snippets-BQLXEIf6.js";
|
|
13
|
+
import "../overview-S2hUqPXA.js";
|
|
14
|
+
import "../breadcrumbs-nSFZO5Gf.js";
|
|
15
|
+
import "../sidebar-CWyvCrJ0.js";
|
|
16
|
+
import "../components-D7M-BwNI.js";
|
|
17
|
+
import { a as Type, i as Property, n as MethodInfo, o as TypeName, r as MethodSignature, t as Declaration } from "../http-2QNWXH9t.js";
|
|
18
|
+
|
|
19
|
+
export { Declaration, MethodInfo, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { H as python_d_exports, N as ruby_d_exports, Q as go_d_exports, a as node, gt as typescript_d_exports, i as kotlin, m as csharp_d_exports, n as PropertyFn, st as java_d_exports, t as LanguageComponentDefinition, w as http_d_exports } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { LanguageComponentDefinition, PropertyFn, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import "../properties-jlGW3USi.js";
|
|
8
|
+
import "../method-CE08mUME.js";
|
|
9
|
+
import "../primitives-BIWfwN5L.js";
|
|
10
|
+
import "../icons-Ckod9aod.js";
|
|
11
|
+
import "../sdk-CSCbbn3O.js";
|
|
12
|
+
import "../snippets-BQLXEIf6.js";
|
|
13
|
+
import "../overview-S2hUqPXA.js";
|
|
14
|
+
import "../breadcrumbs-nSFZO5Gf.js";
|
|
15
|
+
import "../sidebar-CWyvCrJ0.js";
|
|
16
|
+
import "../components-D7M-BwNI.js";
|
|
17
|
+
import { o as typescript_exports } from "../typescript-DXG9psK3.js";
|
|
18
|
+
import { o as java_exports } from "../java-BbjF_oUI.js";
|
|
19
|
+
import { o as go_exports } from "../go-1c3S5ETL.js";
|
|
20
|
+
import { o as python_exports } from "../python-USOwFDv_.js";
|
|
21
|
+
import { o as ruby_exports } from "../ruby-CSvGbSLe.js";
|
|
22
|
+
import { s as http_exports } from "../http-2QNWXH9t.js";
|
|
23
|
+
import { o as csharp_exports } from "../csharp-CDSxfCZE.js";
|
|
24
|
+
import { r as node, t as kotlin } from "../languages-BCYZjzuS.js";
|
|
25
|
+
|
|
26
|
+
export { 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, typescript_exports as typescript };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../java-BbjF_oUI.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { B as Type, F as DeclarationProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../python-USOwFDv_.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { A as PropertyProps, D as MethodSignature, E as DeclarationProps, M as TypeName, O as MethodSignatureProps, T as Declaration, j as Type, k as Property } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../ruby-CSvGbSLe.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../primitives-BVXfSSiS.js";
|
|
2
|
+
import "../breadcrumbs-CA7GmW_8.js";
|
|
3
|
+
import "../method-r5UAB40b.js";
|
|
4
|
+
import "../properties-GT9ixNTg.js";
|
|
5
|
+
import "../sdk-CS6A3HW3.js";
|
|
6
|
+
import "../snippets-C72s2IwS.js";
|
|
7
|
+
import "../overview-ixhAhHj8.js";
|
|
8
|
+
import "../sidebar-CbCLUteD.js";
|
|
9
|
+
import "../index-q3bZhNWj.js";
|
|
10
|
+
import { ct as Declaration, dt as MethodSignatureProps, ft as Property, ht as TypeName, lt as DeclarationProps, mt as Type, pt as PropertyProps, ut as MethodSignature } from "../index-ClCZKGcw.js";
|
|
11
|
+
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "../docs-CXqi26jB.js";
|
|
2
|
+
import "../component-generics-B6Fn47Mz.js";
|
|
3
|
+
import "../navigation-C5TN0SgC.js";
|
|
4
|
+
import "../markdown-CxdeWgjV.js";
|
|
5
|
+
import "../contexts-p3rRZDlM.js";
|
|
6
|
+
import "../use-components-RWQbviGq.js";
|
|
7
|
+
import { a as TypeName, i as Type, n as MethodSignature, r as Property, t as Declaration } from "../typescript-DXG9psK3.js";
|
|
8
|
+
|
|
9
|
+
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { t as __export } from "./chunk-DRcLgZ1e.js";
|
|
2
|
+
import { o as typescript_exports } from "./typescript-DXG9psK3.js";
|
|
3
|
+
import { o as java_exports } from "./java-BbjF_oUI.js";
|
|
4
|
+
import { o as go_exports } from "./go-1c3S5ETL.js";
|
|
5
|
+
import { o as python_exports } from "./python-USOwFDv_.js";
|
|
6
|
+
import { o as ruby_exports } from "./ruby-CSvGbSLe.js";
|
|
7
|
+
import { s as http_exports } from "./http-2QNWXH9t.js";
|
|
8
|
+
import { o as csharp_exports } from "./csharp-CDSxfCZE.js";
|
|
9
|
+
|
|
10
|
+
//#region src/languages/index.ts
|
|
11
|
+
var languages_exports = /* @__PURE__ */ __export({
|
|
12
|
+
csharp: () => csharp_exports,
|
|
13
|
+
go: () => go_exports,
|
|
14
|
+
http: () => http_exports,
|
|
15
|
+
java: () => java_exports,
|
|
16
|
+
kotlin: () => kotlin,
|
|
17
|
+
node: () => node,
|
|
18
|
+
python: () => python_exports,
|
|
19
|
+
ruby: () => ruby_exports,
|
|
20
|
+
typescript: () => typescript_exports
|
|
21
|
+
});
|
|
22
|
+
const node = typescript_exports;
|
|
23
|
+
const kotlin = java_exports;
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { languages_exports as n, node as r, kotlin as t };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "../sdk-CS6A3HW3.js";
|
|
2
|
+
import { t as EnvironmentType } from "../utils-uQbtk0-_.js";
|
|
3
|
+
import { r as printer_d_exports } from "../printer-DBw4S_Jn.js";
|
|
4
|
+
import { Node } from "@markdoc/markdoc";
|
|
5
|
+
import * as SDKJSON from "@stainless/sdk-json";
|
|
6
|
+
|
|
7
|
+
//#region src/markdown/index.d.ts
|
|
8
|
+
declare function declaration(env: EnvironmentType, decl: SDKJSON.DeclarationNode): Node;
|
|
9
|
+
declare function render(env: EnvironmentType, node: SDKJSON.Resource | SDKJSON.Method | SDKJSON.Model): Node[];
|
|
10
|
+
declare function renderMarkdown(env: EnvironmentType, node: SDKJSON.Resource | SDKJSON.Method | SDKJSON.Model): string;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { declaration, printer_d_exports as printer, render, renderMarkdown };
|