@stainless-api/docs-ui 0.1.0-beta.10 → 0.1.0-beta.11

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 (225) hide show
  1. package/dist/breadcrumbs-Z-hEqjcp.d.ts +19 -0
  2. package/dist/chunk-Bp6m_JJh.js +13 -0
  3. package/dist/component-generics-DzI21jRn.js +35 -0
  4. package/dist/component-generics-q5Dqiu2D.d.ts +30 -0
  5. package/dist/components/breadcrumbs.d.ts +2 -11
  6. package/dist/components/breadcrumbs.js +16 -52
  7. package/dist/components/chat.d.ts +13 -5
  8. package/dist/components/chat.js +138 -74
  9. package/dist/components/dropdown.d.ts +2 -17
  10. package/dist/components/dropdown.js +4 -18
  11. package/dist/components/icons.d.ts +50 -27
  12. package/dist/components/icons.js +3 -34
  13. package/dist/components/index.d.ts +12 -9
  14. package/dist/components/index.js +16 -10
  15. package/dist/components/method.d.ts +2 -41
  16. package/dist/components/method.js +16 -44
  17. package/dist/components/overview.d.ts +2 -21
  18. package/dist/components/overview.js +16 -49
  19. package/dist/components/primitives.d.ts +2 -60
  20. package/dist/components/primitives.js +16 -117
  21. package/dist/components/properties.d.ts +2 -24
  22. package/dist/components/properties.js +16 -24
  23. package/dist/components/scripts/dropdown.d.ts +11 -4
  24. package/dist/components/scripts/dropdown.js +49 -63
  25. package/dist/components/sdk.d.ts +3 -78
  26. package/dist/components/sdk.js +16 -153
  27. package/dist/components/sidebar.d.ts +2 -22
  28. package/dist/components/sidebar.js +16 -30
  29. package/dist/components/snippets.d.ts +4 -28
  30. package/dist/components/snippets.js +16 -76
  31. package/dist/contexts/component-generics.d.ts +2 -25
  32. package/dist/contexts/component-generics.js +3 -24
  33. package/dist/contexts/component-types.d.ts +18 -4
  34. package/dist/contexts/component-types.js +1 -2
  35. package/dist/contexts/component.d.ts +31 -14
  36. package/dist/contexts/component.js +16 -14
  37. package/dist/contexts/docs.d.ts +2 -34
  38. package/dist/contexts/docs.js +3 -43
  39. package/dist/contexts/index.d.ts +20 -7
  40. package/dist/contexts/index.js +16 -15
  41. package/dist/contexts/markdown.d.ts +2 -13
  42. package/dist/contexts/markdown.js +4 -29
  43. package/dist/contexts/navigation.d.ts +3 -19
  44. package/dist/contexts/navigation.js +3 -14
  45. package/dist/contexts/search.d.ts +4 -13
  46. package/dist/contexts/search.js +16 -15
  47. package/dist/contexts/use-components.d.ts +16 -1
  48. package/dist/contexts/use-components.js +4 -3
  49. package/dist/contexts-DRxRO-xO.js +3747 -0
  50. package/dist/docs-Dh8kE1va.js +50 -0
  51. package/dist/docs-EUy-wfbA.d.ts +43 -0
  52. package/dist/dropdown-B7VyGMOw.d.ts +43 -0
  53. package/dist/dropdown-DtgAi6lb.js +62 -0
  54. package/dist/icons-DdKM-01E.js +753 -0
  55. package/dist/index-AicgPYKB.d.ts +239 -0
  56. package/dist/index-BhwLhiWk.d.ts +14 -0
  57. package/dist/index-YnpUtXLB.d.ts +16 -0
  58. package/dist/index.d.ts +22 -6
  59. package/dist/index.js +16 -7
  60. package/dist/languages/go.d.ts +13 -21
  61. package/dist/languages/go.js +16 -116
  62. package/dist/languages/http.d.ts +13 -25
  63. package/dist/languages/http.js +16 -130
  64. package/dist/languages/index.d.ts +13 -37
  65. package/dist/languages/index.js +16 -10
  66. package/dist/languages/java.d.ts +13 -23
  67. package/dist/languages/java.js +16 -120
  68. package/dist/languages/python.d.ts +13 -22
  69. package/dist/languages/python.js +16 -104
  70. package/dist/languages/ruby.d.ts +13 -22
  71. package/dist/languages/ruby.js +16 -125
  72. package/dist/languages/typescript.d.ts +13 -22
  73. package/dist/languages/typescript.js +16 -134
  74. package/dist/markdown/index.d.ts +11 -6
  75. package/dist/markdown/index.js +16 -80
  76. package/dist/markdown/md.d.ts +15 -11
  77. package/dist/markdown/md.js +3 -34
  78. package/dist/markdown/utils.d.ts +4 -17
  79. package/dist/markdown/utils.js +3 -30
  80. package/dist/markdown-BXfX1D7C.js +42 -0
  81. package/dist/markdown-nFyAEX_K.d.ts +22 -0
  82. package/dist/md-Dg8aOyMA.js +41 -0
  83. package/dist/method-DpsVuzZW.d.ts +71 -0
  84. package/dist/navigation-aoYZ_tl4.js +24 -0
  85. package/dist/navigation-nyXBY-75.d.ts +29 -0
  86. package/dist/overview-C8e-6jGr.d.ts +38 -0
  87. package/dist/pagefind-ChrPfuVv.js +15 -0
  88. package/dist/primitives-DWz23_Ub.d.ts +99 -0
  89. package/dist/properties-CF71V58d.d.ts +46 -0
  90. package/dist/routing-DQjbRxdJ.js +189 -0
  91. package/dist/routing-qc0V00-j.d.ts +51 -0
  92. package/dist/routing.d.ts +2 -44
  93. package/dist/routing.js +3 -169
  94. package/dist/sdk-Zg3Rggk3.d.ts +118 -0
  95. package/dist/search/index.d.ts +26 -1
  96. package/dist/search/index.js +332 -2
  97. package/dist/search/providers/algolia.d.ts +22 -7
  98. package/dist/search/providers/algolia.js +16 -64
  99. package/dist/search/providers/fuse.d.ts +16 -9
  100. package/dist/search/providers/fuse.js +29 -12
  101. package/dist/search/providers/pagefind.d.ts +7 -2
  102. package/dist/search/providers/pagefind.js +3 -19
  103. package/dist/search/providers/walker.d.ts +8 -5
  104. package/dist/search/providers/walker.js +28 -19
  105. package/dist/search/types.d.ts +3 -79
  106. package/dist/search/types.js +3 -24
  107. package/dist/search-B6loAGmB.d.ts +21 -0
  108. package/dist/sidebar-C8KirYjg.d.ts +35 -0
  109. package/dist/snippets-EUzM4fRO.d.ts +45 -0
  110. package/dist/style-pN9hCoec.d.ts +181 -0
  111. package/dist/style-rYbbxIR_.js +182 -0
  112. package/dist/style.d.ts +2 -179
  113. package/dist/style.js +3 -179
  114. package/dist/styles/main.css +740 -746
  115. package/dist/styles/main.js +1 -0
  116. package/dist/styles/primitives.css +436 -428
  117. package/dist/styles/primitives.js +1 -0
  118. package/dist/styles/resets.css +34 -41
  119. package/dist/styles/resets.js +1 -0
  120. package/dist/styles/search.css +248 -248
  121. package/dist/styles/search.js +1 -0
  122. package/dist/styles/sidebar.css +59 -60
  123. package/dist/styles/sidebar.js +1 -0
  124. package/dist/styles/snippets.css +87 -88
  125. package/dist/styles/snippets.js +1 -0
  126. package/dist/styles/variables.css +86 -89
  127. package/dist/styles/variables.js +1 -0
  128. package/dist/types-CTBDtD34.d.ts +82 -0
  129. package/dist/types-DFN4M1Sp.js +34 -0
  130. package/dist/use-components-D9E85p5x.js +7 -0
  131. package/dist/utils-BHwvUDKn.js +30 -0
  132. package/dist/utils-CJfFBNgT.js +32 -0
  133. package/dist/utils-DQhEbvUC.d.ts +20 -0
  134. package/dist/utils-nDazhti8.d.ts +11 -0
  135. package/dist/utils.d.ts +2 -7
  136. package/dist/utils.js +4 -27
  137. package/package.json +2 -2
  138. package/dist/components/breadcrumbs.js.map +0 -1
  139. package/dist/components/chat.js.map +0 -1
  140. package/dist/components/dropdown.js.map +0 -1
  141. package/dist/components/icons.js.map +0 -1
  142. package/dist/components/index.js.map +0 -1
  143. package/dist/components/method.js.map +0 -1
  144. package/dist/components/overview.js.map +0 -1
  145. package/dist/components/primitives.js.map +0 -1
  146. package/dist/components/properties.js.map +0 -1
  147. package/dist/components/scripts/dropdown.js.map +0 -1
  148. package/dist/components/sdk.js.map +0 -1
  149. package/dist/components/sidebar.js.map +0 -1
  150. package/dist/components/snippets.js.map +0 -1
  151. package/dist/contexts/component-generics.js.map +0 -1
  152. package/dist/contexts/component-types.js.map +0 -1
  153. package/dist/contexts/component.js.map +0 -1
  154. package/dist/contexts/docs.js.map +0 -1
  155. package/dist/contexts/index.js.map +0 -1
  156. package/dist/contexts/markdown.js.map +0 -1
  157. package/dist/contexts/navigation.js.map +0 -1
  158. package/dist/contexts/search.js.map +0 -1
  159. package/dist/contexts/use-components.js.map +0 -1
  160. package/dist/index.js.map +0 -1
  161. package/dist/languages/go.js.map +0 -1
  162. package/dist/languages/http.js.map +0 -1
  163. package/dist/languages/index.js.map +0 -1
  164. package/dist/languages/java.js.map +0 -1
  165. package/dist/languages/python.js.map +0 -1
  166. package/dist/languages/ruby.js.map +0 -1
  167. package/dist/languages/typescript.js.map +0 -1
  168. package/dist/markdown/index.js.map +0 -1
  169. package/dist/markdown/md.js.map +0 -1
  170. package/dist/markdown/utils.js.map +0 -1
  171. package/dist/mcp.js +0 -16105
  172. package/dist/routing.js.map +0 -1
  173. package/dist/search/form.d.ts +0 -13
  174. package/dist/search/form.js +0 -55
  175. package/dist/search/form.js.map +0 -1
  176. package/dist/search/index.js.map +0 -1
  177. package/dist/search/indexer.d.ts +0 -31
  178. package/dist/search/indexer.js +0 -212
  179. package/dist/search/indexer.js.map +0 -1
  180. package/dist/search/mcp.d.ts +0 -8
  181. package/dist/search/mcp.js +0 -43
  182. package/dist/search/mcp.js.map +0 -1
  183. package/dist/search/printer.d.ts +0 -6
  184. package/dist/search/printer.js +0 -43
  185. package/dist/search/printer.js.map +0 -1
  186. package/dist/search/providers/algolia.js.map +0 -1
  187. package/dist/search/providers/fuse.js.map +0 -1
  188. package/dist/search/providers/pagefind.js.map +0 -1
  189. package/dist/search/providers/walker.js.map +0 -1
  190. package/dist/search/results.d.ts +0 -21
  191. package/dist/search/results.js +0 -58
  192. package/dist/search/results.js.map +0 -1
  193. package/dist/search/state.d.ts +0 -29
  194. package/dist/search/state.js +0 -38
  195. package/dist/search/state.js.map +0 -1
  196. package/dist/search/types.js.map +0 -1
  197. package/dist/style.js.map +0 -1
  198. package/dist/types/sdkjson.d.ts +0 -1
  199. package/dist/types/sdkjson.js +0 -2
  200. package/dist/types/sdkjson.js.map +0 -1
  201. package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.d.ts +0 -120
  202. package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.js +0 -2
  203. package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.js.map +0 -1
  204. package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.d.ts +0 -100
  205. package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.js +0 -3
  206. package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.js.map +0 -1
  207. package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.d.ts +0 -87
  208. package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.js +0 -2
  209. package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.js.map +0 -1
  210. package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.d.ts +0 -110
  211. package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.js +0 -3
  212. package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.js.map +0 -1
  213. package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.d.ts +0 -122
  214. package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.js +0 -2
  215. package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.js.map +0 -1
  216. package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.d.ts +0 -146
  217. package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.js +0 -3
  218. package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.js.map +0 -1
  219. package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.d.ts +0 -89
  220. package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.js +0 -3
  221. package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.js.map +0 -1
  222. package/dist/types/stainless-alias/lib/json-spec-v2/types.d.ts +0 -190
  223. package/dist/types/stainless-alias/lib/json-spec-v2/types.js +0 -105
  224. package/dist/types/stainless-alias/lib/json-spec-v2/types.js.map +0 -1
  225. package/dist/utils.js.map +0 -1
@@ -1,38 +0,0 @@
1
- import { useReducer } from 'react';
2
- export const SearchReducerDefaults = {
3
- results: [],
4
- resultsCount: 0,
5
- selectedIndex: 0,
6
- searchQuery: '',
7
- };
8
- export function searchReducer(state, op) {
9
- switch (op.action) {
10
- case 'IncrementSelection': {
11
- const value = Math.min(state.resultsCount, state.selectedIndex + 1);
12
- return { ...state, selectedIndex: value, keyboardSelection: value };
13
- }
14
- case 'DecrementSelection': {
15
- const value = Math.max(0, state.selectedIndex - 1);
16
- return { ...state, selectedIndex: value, keyboardSelection: value };
17
- }
18
- case 'SetSelectedIndex':
19
- return { ...state, selectedIndex: op.selectedIndex };
20
- case 'SetFilterKind':
21
- return { ...state, filterKind: op.filterKind };
22
- case 'UpdateQuery':
23
- return { ...state, searchQuery: op.searchQuery };
24
- case 'UpdateResults':
25
- return {
26
- ...state,
27
- results: op.results,
28
- resultsCount: op.resultsCount,
29
- filterKindCount: op.filterKindCount,
30
- keyboardSelection: undefined,
31
- selectedIndex: 0,
32
- };
33
- }
34
- }
35
- export function useSearchReducer() {
36
- return useReducer(searchReducer, SearchReducerDefaults);
37
- }
38
- //# sourceMappingURL=state.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"state.js","sourceRoot":"","sources":["../../src/search/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAqBnC,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACvD,OAAO,EAAE,EAAE;IACX,YAAY,EAAE,CAAC;IACf,aAAa,EAAE,CAAC;IAChB,WAAW,EAAE,EAAE;CAChB,CAAC;AAEF,MAAM,UAAU,aAAa,CAAC,KAAyB,EAAE,EAAuB;IAC9E,QAAQ,EAAE,CAAC,MAAM,EAAE,CAAC;QAClB,KAAK,oBAAoB,CAAC,CAAC,CAAC;YAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC;YACpE,OAAO,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;QACtE,CAAC;QAED,KAAK,oBAAoB,CAAC,CAAC,CAAC;YAC1B,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC;YACnD,OAAO,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,iBAAiB,EAAE,KAAK,EAAE,CAAC;QACtE,CAAC;QAED,KAAK,kBAAkB;YACrB,OAAO,EAAE,GAAG,KAAK,EAAE,aAAa,EAAE,EAAE,CAAC,aAAa,EAAE,CAAC;QAEvD,KAAK,eAAe;YAClB,OAAO,EAAE,GAAG,KAAK,EAAE,UAAU,EAAE,EAAE,CAAC,UAAU,EAAE,CAAC;QAEjD,KAAK,aAAa;YAChB,OAAO,EAAE,GAAG,KAAK,EAAE,WAAW,EAAE,EAAE,CAAC,WAAW,EAAE,CAAC;QAEnD,KAAK,eAAe;YAClB,OAAO;gBACL,GAAG,KAAK;gBACR,OAAO,EAAE,EAAE,CAAC,OAAO;gBACnB,YAAY,EAAE,EAAE,CAAC,YAAY;gBAC7B,eAAe,EAAE,EAAE,CAAC,eAAe;gBACnC,iBAAiB,EAAE,SAAS;gBAC5B,aAAa,EAAE,CAAC;aACjB,CAAC;IACN,CAAC;AACH,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO,UAAU,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC;AAC1D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/search/types.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,CAAU,CAAC;AAiCpG,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,MAAM;IACN,OAAO;IACP,OAAO;IACP,MAAM;IACN,WAAW;IACX,eAAe;IACf,UAAU;IACV,SAAS;IACT,aAAa;IACb,WAAW;CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,OAAO;IACP,MAAM;IACN,UAAU;IACV,SAAS;IACT,aAAa;IACb,WAAW;IACX,OAAO;IACP,SAAS;CACV,CAAC"}
package/dist/style.js.map DELETED
@@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9C,MAAM,EAAE,gBAAgB;IACxB,eAAe,EAAE,0BAA0B;IAC3C,UAAU,EAAE,qBAAqB;CACzB,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sdkjson.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sdkjson.js","sourceRoot":"","sources":["../../src/types/sdkjson.ts"],"names":[],"mappings":""}
@@ -1,120 +0,0 @@
1
- import type * as SDKJSON from './types';
2
- export type GoDeclaration = GoDeclFunction | GoDeclType | GoDeclProperty | GoDeclTypeAlias | GoDeclConst | GoDeclReference | SDKJSON.ErrorDecl;
3
- export type GoDeclFunction = SDKJSON.BaseDeclaration & {
4
- kind: 'GoDeclFunction';
5
- ident: GoIdentifier;
6
- qualified?: string;
7
- docstring?: string;
8
- async?: boolean;
9
- generics?: GoGenericParameter[];
10
- parameters: GoFunctionParameter[];
11
- returnType: GoType[];
12
- paramsChildren?: SDKJSON.ID[];
13
- responseChildren?: SDKJSON.ID[];
14
- };
15
- export type GoFunctionParameter = {
16
- kind: 'GoFunctionParameter';
17
- optional?: boolean;
18
- ident: GoIdentifier;
19
- typeAnnotation: GoType;
20
- };
21
- export type GoGenericParameter = {
22
- kind: 'GoTypeParameter';
23
- name: string;
24
- constraint?: GoType;
25
- };
26
- export type GoDeclType = SDKJSON.BaseDeclaration & {
27
- kind: 'GoDeclType';
28
- docstring?: string;
29
- ident: GoIdentifier;
30
- generics?: GoGenericParameter[];
31
- type: GoType;
32
- children?: SDKJSON.ID[];
33
- };
34
- export type GoDeclTypeAlias = SDKJSON.BaseDeclaration & {
35
- kind: 'GoDeclTypeAlias';
36
- docstring?: string;
37
- ident: GoIdentifier;
38
- type: GoType;
39
- children?: SDKJSON.ID[];
40
- };
41
- export type GoDeclConst = SDKJSON.BaseDeclaration & {
42
- kind: 'GoDeclConst';
43
- docstring?: string;
44
- ident: GoIdentifier;
45
- type: GoType;
46
- value: boolean | string | number;
47
- children?: SDKJSON.ID[];
48
- };
49
- export type GoIdentifier = string;
50
- export type GoDeclProperty = SDKJSON.BaseDeclaration & {
51
- kind: 'GoDeclProperty';
52
- docstring?: string;
53
- ident: GoIdentifier;
54
- type: GoType;
55
- constraints?: SDKJSON.Constraints;
56
- optional?: boolean;
57
- default?: any;
58
- schemaType?: SDKJSON.SchemaType;
59
- modelPath?: string;
60
- childrenParentSchema?: SDKJSON.SchemaType;
61
- children?: SDKJSON.ID[];
62
- };
63
- export type GoDeclReference = SDKJSON.BaseDeclaration & {
64
- kind: 'GoDeclReference';
65
- docstring?: string;
66
- type: GoType;
67
- children?: SDKJSON.ID[];
68
- };
69
- export type GoType = GoTypeReference | GoTypeInterface | GoTypeStruct | GoTypeArray | GoTypeMap | GoTypeString | GoTypeFloat | GoTypeInt | GoTypeBool | GoTypeAny | GoTypeUnknown | GoTypeError | GoTypePointer;
70
- export type GoTypeReference = SDKJSON.BaseType & {
71
- kind: 'GoTypeReference';
72
- typeName: GoIdentifier;
73
- typeParameters?: GoType[];
74
- schemaType?: SDKJSON.SchemaType;
75
- $ref?: string;
76
- };
77
- export type GoTypeStruct = SDKJSON.BaseType & {
78
- kind: 'GoTypeStruct';
79
- };
80
- export type GoTypeInterface = SDKJSON.BaseType & {
81
- kind: 'GoTypeInterface';
82
- docstring?: string;
83
- typeName?: GoIdentifier;
84
- generics?: GoGenericParameter[];
85
- extends?: GoTypeReference[];
86
- };
87
- export type GoTypeArray = SDKJSON.BaseType & {
88
- kind: 'GoTypeArray';
89
- elementType: GoType;
90
- };
91
- export type GoTypeMap = SDKJSON.BaseType & {
92
- kind: 'GoTypeMap';
93
- indexType: GoType;
94
- itemType: GoType;
95
- };
96
- export type GoTypeString = SDKJSON.BaseType & {
97
- kind: 'GoTypeString';
98
- };
99
- export type GoTypeFloat = SDKJSON.BaseType & {
100
- kind: 'GoTypeFloat';
101
- };
102
- export type GoTypeInt = SDKJSON.BaseType & {
103
- kind: 'GoTypeInt';
104
- };
105
- export type GoTypeBool = SDKJSON.BaseType & {
106
- kind: 'GoTypeBool';
107
- };
108
- export type GoTypeAny = SDKJSON.BaseType & {
109
- kind: 'GoTypeAny';
110
- };
111
- export type GoTypeUnknown = SDKJSON.BaseType & {
112
- kind: 'GoTypeUnknown';
113
- };
114
- export type GoTypeError = SDKJSON.BaseType & {
115
- kind: 'GoTypeError';
116
- };
117
- export type GoTypePointer = SDKJSON.BaseType & {
118
- kind: 'GoTypePointer';
119
- inner: GoType;
120
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=GoAST.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GoAST.js","sourceRoot":"","sources":["../../../../../src/types/stainless-alias/lib/json-spec-v2/GoAST.ts"],"names":[],"mappings":""}
@@ -1,100 +0,0 @@
1
- import type * as SDKJSON from './types';
2
- export type HttpDeclaration = HttpDeclFunction | HttpDeclProperty | HttpDeclTypeAlias | HttpDeclReference | SDKJSON.ErrorDecl;
3
- export type HttpDeclFunction = SDKJSON.BaseDeclaration & {
4
- kind: 'HttpDeclFunction';
5
- ident: HttpIdentifier;
6
- qualified?: string;
7
- returns?: HttpType;
8
- paramsChildren?: Record<string, SDKJSON.ID[]>;
9
- bodyParamsChildren?: Record<string, SDKJSON.ID[]>;
10
- responseChildren?: SDKJSON.ID[];
11
- };
12
- export type HttpDeclProperty = SDKJSON.BaseDeclaration & {
13
- kind: 'HttpDeclProperty';
14
- key: string;
15
- docstring?: string;
16
- location?: string;
17
- type: HttpType;
18
- constraints?: SDKJSON.Constraints;
19
- default?: any;
20
- optional?: boolean;
21
- nullable?: boolean;
22
- declare?: boolean;
23
- schemaType?: SDKJSON.SchemaType;
24
- modelPath?: string;
25
- childrenParentSchema?: SDKJSON.SchemaType;
26
- children?: SDKJSON.ID[];
27
- };
28
- export type HttpDeclTypeAlias = SDKJSON.BaseDeclaration & {
29
- kind: 'HttpDeclTypeAlias';
30
- docstring?: string;
31
- ident: HttpIdentifier;
32
- typeParameters?: HttpTypeParameter[];
33
- type: HttpType;
34
- children?: SDKJSON.ID[];
35
- };
36
- export type HttpTypeParameter = {
37
- kind: 'HttpTypeParameter';
38
- name: HttpIdentifier;
39
- constraint?: HttpType;
40
- default?: HttpType;
41
- };
42
- export type HttpIdentifier = string;
43
- export type HttpDeclReference = SDKJSON.BaseDeclaration & {
44
- kind: 'HttpDeclReference';
45
- docstring?: string;
46
- type: HttpType;
47
- children?: SDKJSON.ID[];
48
- };
49
- export type HttpType = HttpTypeReference | HttpTypeObject | HttpTypeArray | HttpTypeString | HttpTypeNumber | HttpTypeBoolean | HttpTypeNull | HttpTypeUndefined | HttpTypeBinary | HttpTypeUnknown | HttpTypeLiteral | HttpTypeUnion | HttpTypeIntersection;
50
- export type HttpTypeReference = SDKJSON.BaseType & {
51
- kind: 'HttpTypeReference';
52
- ident: HttpIdentifier;
53
- typeParameters?: HttpType[];
54
- $ref?: SDKJSON.ID;
55
- };
56
- export type HttpTypeObject = SDKJSON.BaseType & {
57
- kind: 'HttpTypeObject';
58
- members: {
59
- ident: HttpIdentifier;
60
- optional?: boolean;
61
- }[];
62
- };
63
- export type HttpTypeArray = SDKJSON.BaseType & {
64
- kind: 'HttpTypeArray';
65
- elementType: HttpType;
66
- };
67
- export type HttpTypeUnion = SDKJSON.BaseType & {
68
- kind: 'HttpTypeUnion';
69
- types: HttpType[];
70
- };
71
- export type HttpTypeIntersection = SDKJSON.BaseType & {
72
- kind: 'HttpTypeIntersection';
73
- types: HttpType[];
74
- };
75
- export type HttpTypeLiteral = SDKJSON.BaseType & {
76
- kind: 'HttpTypeLiteral';
77
- literal: string | boolean | number;
78
- };
79
- export type HttpTypeString = SDKJSON.BaseType & {
80
- kind: 'HttpTypeString';
81
- };
82
- export type HttpTypeNumber = SDKJSON.BaseType & {
83
- kind: 'HttpTypeNumber';
84
- };
85
- export type HttpTypeBoolean = SDKJSON.BaseType & {
86
- kind: 'HttpTypeBoolean';
87
- };
88
- export type HttpTypeNull = SDKJSON.BaseType & {
89
- kind: 'HttpTypeNull';
90
- };
91
- export type HttpTypeUndefined = SDKJSON.BaseType & {
92
- kind: 'HttpTypeUndefined';
93
- };
94
- export type HttpTypeBinary = SDKJSON.BaseType & {
95
- kind: 'HttpTypeBinary';
96
- contentType: string[];
97
- };
98
- export type HttpTypeUnknown = SDKJSON.BaseType & {
99
- kind: 'HttpTypeUnknown';
100
- };
@@ -1,3 +0,0 @@
1
- // This is loosely based upon the Babel AST for TypeScript.
2
- export {};
3
- //# sourceMappingURL=HttpAST.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpAST.js","sourceRoot":"","sources":["../../../../../src/types/stainless-alias/lib/json-spec-v2/HttpAST.ts"],"names":[],"mappings":"AAAA,2DAA2D"}
@@ -1,87 +0,0 @@
1
- import type * as SDKJSON from './types';
2
- export type JavaDeclaration = JavaDeclFunction | JavaDeclType | JavaDeclProperty | JavaDeclConst | JavaDeclReference | SDKJSON.ErrorDecl;
3
- export type JavaDeclFunction = SDKJSON.BaseDeclaration & {
4
- kind: 'JavaDeclFunction';
5
- ident: JavaIdentifier;
6
- qualified?: string;
7
- docstring?: string;
8
- async?: boolean;
9
- parameters: JavaFunctionParameter[];
10
- returnType?: JavaType;
11
- paramsChildren?: SDKJSON.ID[];
12
- responseChildren?: SDKJSON.ID[];
13
- };
14
- export type JavaFunctionParameter = {
15
- kind: 'JavaFunctionParameter';
16
- ident: JavaIdentifier;
17
- typeAnnotation: JavaType;
18
- hasDefault: boolean;
19
- };
20
- export type JavaDeclType = SDKJSON.BaseDeclaration & {
21
- kind: 'JavaDeclType';
22
- docstring?: string;
23
- ident: JavaIdentifier;
24
- type: JavaType;
25
- children?: SDKJSON.ID[];
26
- };
27
- export type JavaIdentifier = string;
28
- export type JavaDeclProperty = SDKJSON.BaseDeclaration & {
29
- kind: 'JavaDeclProperty';
30
- docstring?: string;
31
- ident: JavaIdentifier;
32
- type: JavaType;
33
- optional?: boolean;
34
- schemaType?: SDKJSON.SchemaType;
35
- modelPath?: string;
36
- childrenParentSchema?: SDKJSON.SchemaType;
37
- children?: SDKJSON.ID[];
38
- };
39
- export type JavaDeclConst = SDKJSON.BaseDeclaration & {
40
- kind: 'JavaDeclConst';
41
- docstring?: string;
42
- ident: JavaIdentifier;
43
- type: JavaType;
44
- value: boolean | string | number;
45
- };
46
- export type JavaDeclReference = SDKJSON.BaseDeclaration & {
47
- kind: 'JavaDeclReference';
48
- docstring?: string;
49
- type: JavaType;
50
- schemaType?: SDKJSON.SchemaType;
51
- children?: SDKJSON.ID[];
52
- };
53
- export type JavaType = JavaTypeReference | JavaTypeClass | JavaTypeUnion | JavaTypeEnum | JavaTypeVoid | JavaTypeBoolean | JavaTypeDouble | JavaTypeLong | JavaTypeString | JavaTypeConstant;
54
- export type JavaTypeReference = SDKJSON.BaseType & {
55
- kind: 'JavaTypeReference';
56
- typeName: JavaIdentifier;
57
- typeParameters?: JavaType[];
58
- $ref?: string;
59
- };
60
- export type JavaTypeClass = SDKJSON.BaseType & {
61
- kind: 'JavaTypeClass';
62
- };
63
- export type JavaTypeUnion = SDKJSON.BaseType & {
64
- kind: 'JavaTypeUnion';
65
- };
66
- export type JavaTypeEnum = SDKJSON.BaseType & {
67
- kind: 'JavaTypeEnum';
68
- };
69
- export type JavaTypeVoid = SDKJSON.BaseType & {
70
- kind: 'JavaTypeVoid';
71
- };
72
- export type JavaTypeBoolean = SDKJSON.BaseType & {
73
- kind: 'JavaTypeBoolean';
74
- };
75
- export type JavaTypeDouble = SDKJSON.BaseType & {
76
- kind: 'JavaTypeDouble';
77
- };
78
- export type JavaTypeLong = SDKJSON.BaseType & {
79
- kind: 'JavaTypeLong';
80
- };
81
- export type JavaTypeString = SDKJSON.BaseType & {
82
- kind: 'JavaTypeString';
83
- };
84
- export type JavaTypeConstant = SDKJSON.BaseType & {
85
- kind: 'JavaTypeConstant';
86
- value: string;
87
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=JavaAST.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JavaAST.js","sourceRoot":"","sources":["../../../../../src/types/stainless-alias/lib/json-spec-v2/JavaAST.ts"],"names":[],"mappings":""}
@@ -1,110 +0,0 @@
1
- import type * as SDKJSON from './types';
2
- export type PythonDeclaration = PythonDeclFunction | PythonDeclClass | PythonDeclType | PythonDeclProperty | PythonDeclReference | SDKJSON.ErrorDecl;
3
- export type PythonDeclFunction = SDKJSON.BaseDeclaration & {
4
- kind: 'PythonDeclFunction';
5
- ident: PythonIdentifier;
6
- qualified?: string;
7
- docstring?: string;
8
- async?: boolean;
9
- generics?: PythonGenericParameter[];
10
- parameters: PythonFunctionParameter[];
11
- returns?: PythonType;
12
- paramsChildren?: SDKJSON.ID[];
13
- responseChildren?: SDKJSON.ID[];
14
- };
15
- export type PythonFunctionParameter = {
16
- kind: 'PythonFunctionParameter';
17
- ident: PythonIdentifier;
18
- type: PythonType;
19
- optional?: boolean;
20
- };
21
- export type PythonGenericParameter = {
22
- kind: 'PythonTypeParameter';
23
- name: string;
24
- constraint?: PythonType;
25
- };
26
- export type PythonDeclClass = SDKJSON.BaseDeclaration & {
27
- kind: 'PythonDeclClass';
28
- docstring?: string;
29
- ident: PythonIdentifier;
30
- generics?: PythonGenericParameter[];
31
- children?: SDKJSON.ID[];
32
- };
33
- export type PythonDeclType = SDKJSON.BaseDeclaration & {
34
- kind: 'PythonDeclType';
35
- docstring?: string;
36
- ident: PythonIdentifier;
37
- generics?: PythonGenericParameter[];
38
- type: PythonType;
39
- children?: SDKJSON.ID[];
40
- };
41
- export type PythonIdentifier = string;
42
- export type PythonLiteral = {
43
- kind: 'PythonLiteral';
44
- value: string | number | boolean;
45
- };
46
- export type PythonDeclProperty = SDKJSON.BaseDeclaration & {
47
- kind: 'PythonDeclProperty';
48
- docstring?: string;
49
- ident: PythonIdentifier;
50
- type: PythonType;
51
- constraints?: SDKJSON.Constraints;
52
- optional?: boolean;
53
- default?: any;
54
- schemaType?: SDKJSON.SchemaType;
55
- modelPath?: string;
56
- childrenParentSchema?: SDKJSON.SchemaType;
57
- children?: SDKJSON.ID[];
58
- };
59
- export type PythonDeclReference = SDKJSON.BaseDeclaration & {
60
- kind: 'PythonDeclReference';
61
- docstring?: string;
62
- type: PythonType;
63
- children?: SDKJSON.ID[];
64
- };
65
- export type PythonType = PythonTypeReference | PythonTypeClass | PythonTypeArray | PythonTypeMap | PythonTypeString | PythonTypeFloat | PythonTypeInt | PythonTypeBool | PythonTypeAny | PythonTypeUnknown | PythonTypeLiteral;
66
- export type PythonTypeReference = SDKJSON.BaseType & {
67
- kind: 'PythonTypeReference';
68
- typeName: PythonIdentifier;
69
- typeParameters?: PythonType[];
70
- schemaType?: SDKJSON.SchemaType;
71
- $ref?: string;
72
- };
73
- export type PythonTypeClass = SDKJSON.BaseType & {
74
- kind: 'PythonTypeClass';
75
- body: {
76
- ident: PythonIdentifier;
77
- type: PythonType;
78
- }[];
79
- };
80
- export type PythonTypeArray = SDKJSON.BaseType & {
81
- kind: 'PythonTypeArray';
82
- elementType: PythonType;
83
- };
84
- export type PythonTypeMap = SDKJSON.BaseType & {
85
- kind: 'PythonTypeMap';
86
- indexType: PythonType;
87
- itemType: PythonType;
88
- };
89
- export type PythonTypeString = SDKJSON.BaseType & {
90
- kind: 'PythonTypeString';
91
- };
92
- export type PythonTypeFloat = SDKJSON.BaseType & {
93
- kind: 'PythonTypeFloat';
94
- };
95
- export type PythonTypeInt = SDKJSON.BaseType & {
96
- kind: 'PythonTypeInt';
97
- };
98
- export type PythonTypeBool = SDKJSON.BaseType & {
99
- kind: 'PythonTypeBool';
100
- };
101
- export type PythonTypeAny = SDKJSON.BaseType & {
102
- kind: 'PythonTypeAny';
103
- };
104
- export type PythonTypeUnknown = SDKJSON.BaseType & {
105
- kind: 'PythonTypeUnknown';
106
- };
107
- export type PythonTypeLiteral = SDKJSON.BaseType & {
108
- kind: 'PythonTypeLiteral';
109
- literal: PythonLiteral;
110
- };
@@ -1,3 +0,0 @@
1
- // This is loosely based upon the Babel AST for TypeScript.
2
- export {};
3
- //# sourceMappingURL=PythonAST.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PythonAST.js","sourceRoot":"","sources":["../../../../../src/types/stainless-alias/lib/json-spec-v2/PythonAST.ts"],"names":[],"mappings":"AAAA,2DAA2D"}
@@ -1,122 +0,0 @@
1
- import type * as SDKJSON from './types';
2
- export type RubyDeclaration = RubyDeclFunction | RubyDeclClass | RubyDeclProperty | RubyDeclTypeAlias | RubyDeclReference | SDKJSON.ErrorDecl;
3
- export type RubyDeclFunction = SDKJSON.BaseDeclaration & {
4
- kind: 'RubyDeclFunction';
5
- ident: RubyIdentifier;
6
- args: RubyFunctionArgument[];
7
- qualified?: string;
8
- returns?: RubyType;
9
- paramsChildren?: SDKJSON.ID[];
10
- bodyParamsChildren?: Record<string, SDKJSON.ID[]>;
11
- responseChildren?: SDKJSON.ID[];
12
- };
13
- export type RubyFunctionArgument = {
14
- kind: 'RubyFunctionArgument';
15
- ident: RubyIdentifier;
16
- optional: boolean;
17
- type: RubyType;
18
- };
19
- export type RubyDeclProperty = SDKJSON.BaseDeclaration & {
20
- kind: 'RubyDeclProperty';
21
- ident: string;
22
- docstring?: string;
23
- location?: string;
24
- type: RubyType;
25
- constraints?: SDKJSON.Constraints;
26
- optional?: boolean;
27
- schemaType?: SDKJSON.SchemaType;
28
- modelPath?: string;
29
- childrenParentSchema?: SDKJSON.SchemaType;
30
- children?: SDKJSON.ID[];
31
- };
32
- export type RubyDeclClass = SDKJSON.BaseDeclaration & {
33
- kind: 'RubyDeclClass';
34
- ident: string;
35
- docstring?: string;
36
- type: RubyType;
37
- optional?: boolean;
38
- children?: SDKJSON.ID[];
39
- };
40
- export type RubyDeclTypeAlias = SDKJSON.BaseDeclaration & {
41
- kind: 'RubyDeclTypeAlias';
42
- docstring?: string;
43
- ident: RubyIdentifier;
44
- typeParameters?: RubyTypeParameter[];
45
- type: RubyType;
46
- children?: SDKJSON.ID[];
47
- };
48
- export type RubyTypeParameter = {
49
- kind: 'RubyTypeParameter';
50
- name: RubyIdentifier;
51
- constraint?: RubyType;
52
- default?: RubyType;
53
- };
54
- export type RubyIdentifier = string;
55
- export type RubyDeclReference = SDKJSON.BaseDeclaration & {
56
- kind: 'RubyDeclReference';
57
- docstring?: string;
58
- type: RubyType;
59
- children?: SDKJSON.ID[];
60
- };
61
- export type RubyType = RubyTypeReference | RubyTypeObject | RubyTypeArray | RubyTypeMap | RubyTypeString | RubyTypeInteger | RubyTypeFloat | RubyTypeBoolean | RubyTypeNull | RubyTypeBinary | RubyTypeUnknown | RubyTypeLiteral | RubyTypeUnion | RubyTypeIntersection | RubyTypeBuiltinClass;
62
- export type RubyTypeReference = SDKJSON.BaseType & {
63
- kind: 'RubyTypeReference';
64
- ident: RubyIdentifier;
65
- typeParameters?: RubyType[];
66
- schemaType?: SDKJSON.SchemaType;
67
- $ref?: SDKJSON.ID;
68
- };
69
- export type RubyTypeObject = SDKJSON.BaseType & {
70
- kind: 'RubyTypeObject';
71
- members: {
72
- ident: RubyIdentifier;
73
- optional?: boolean;
74
- }[];
75
- };
76
- export type RubyTypeMap = SDKJSON.BaseType & {
77
- kind: 'RubyTypeMap';
78
- indexType: RubyType;
79
- itemType: RubyType;
80
- };
81
- export type RubyTypeArray = SDKJSON.BaseType & {
82
- kind: 'RubyTypeArray';
83
- elementType: RubyType;
84
- };
85
- export type RubyTypeUnion = SDKJSON.BaseType & {
86
- kind: 'RubyTypeUnion';
87
- types: RubyType[];
88
- };
89
- export type RubyTypeIntersection = SDKJSON.BaseType & {
90
- kind: 'RubyTypeIntersection';
91
- types: RubyType[];
92
- };
93
- export type RubyTypeLiteral = SDKJSON.BaseType & {
94
- kind: 'RubyTypeLiteral';
95
- literal: string | boolean | number;
96
- };
97
- export type RubyTypeBuiltinClass = SDKJSON.BaseType & {
98
- kind: 'RubyTypeBuiltinClass';
99
- className: string;
100
- };
101
- export type RubyTypeString = SDKJSON.BaseType & {
102
- kind: 'RubyTypeString';
103
- };
104
- export type RubyTypeInteger = SDKJSON.BaseType & {
105
- kind: 'RubyTypeInteger';
106
- };
107
- export type RubyTypeFloat = SDKJSON.BaseType & {
108
- kind: 'RubyTypeFloat';
109
- };
110
- export type RubyTypeBoolean = SDKJSON.BaseType & {
111
- kind: 'RubyTypeBoolean';
112
- };
113
- export type RubyTypeNull = SDKJSON.BaseType & {
114
- kind: 'RubyTypeNull';
115
- };
116
- export type RubyTypeBinary = SDKJSON.BaseType & {
117
- kind: 'RubyTypeBinary';
118
- contentType: string[];
119
- };
120
- export type RubyTypeUnknown = SDKJSON.BaseType & {
121
- kind: 'RubyTypeUnknown';
122
- };
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=RubyAST.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RubyAST.js","sourceRoot":"","sources":["../../../../../src/types/stainless-alias/lib/json-spec-v2/RubyAST.ts"],"names":[],"mappings":""}