@valtown/sdk 0.1.0-alpha.1

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 (347) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/LICENSE +7 -0
  3. package/README.md +288 -0
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +16 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +12 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +21 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +2 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +21 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +2 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +21 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +2 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +21 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +2 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +101 -0
  36. package/_shims/auto/types.js +3 -0
  37. package/_shims/auto/types.mjs +3 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +14 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +10 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +81 -0
  45. package/_shims/index.js +13 -0
  46. package/_shims/index.mjs +7 -0
  47. package/_shims/manual-types.d.ts +12 -0
  48. package/_shims/manual-types.js +3 -0
  49. package/_shims/manual-types.mjs +3 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +90 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +56 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +42 -0
  57. package/_shims/node-types.js +3 -0
  58. package/_shims/node-types.mjs +3 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +41 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +37 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +78 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +71 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +83 -0
  72. package/_shims/web-types.js +3 -0
  73. package/_shims/web-types.mjs +3 -0
  74. package/core.d.ts +239 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +881 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +850 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +53 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +143 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +127 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +143 -0
  87. package/index.d.ts +143 -0
  88. package/index.d.ts.map +1 -0
  89. package/index.js +124 -0
  90. package/index.js.map +1 -0
  91. package/index.mjs +96 -0
  92. package/index.mjs.map +1 -0
  93. package/package.json +104 -0
  94. package/pagination.d.ts +24 -0
  95. package/pagination.d.ts.map +1 -0
  96. package/pagination.js +35 -0
  97. package/pagination.js.map +1 -0
  98. package/pagination.mjs +31 -0
  99. package/pagination.mjs.map +1 -0
  100. package/resource.d.ts +6 -0
  101. package/resource.d.ts.map +1 -0
  102. package/resource.js +11 -0
  103. package/resource.js.map +1 -0
  104. package/resource.mjs +7 -0
  105. package/resource.mjs.map +1 -0
  106. package/resources/alias/alias.d.ts +9 -0
  107. package/resources/alias/alias.d.ts.map +1 -0
  108. package/resources/alias/alias.js +40 -0
  109. package/resources/alias/alias.js.map +1 -0
  110. package/resources/alias/alias.mjs +13 -0
  111. package/resources/alias/alias.mjs.map +1 -0
  112. package/resources/alias/index.d.ts +3 -0
  113. package/resources/alias/index.d.ts.map +1 -0
  114. package/resources/alias/index.js +9 -0
  115. package/resources/alias/index.js.map +1 -0
  116. package/resources/alias/index.mjs +4 -0
  117. package/resources/alias/index.mjs.map +1 -0
  118. package/resources/alias/username/index.d.ts +3 -0
  119. package/resources/alias/username/index.d.ts.map +1 -0
  120. package/resources/alias/username/index.js +9 -0
  121. package/resources/alias/username/index.js.map +1 -0
  122. package/resources/alias/username/index.mjs +4 -0
  123. package/resources/alias/username/index.mjs.map +1 -0
  124. package/resources/alias/username/username.d.ts +16 -0
  125. package/resources/alias/username/username.d.ts.map +1 -0
  126. package/resources/alias/username/username.js +46 -0
  127. package/resources/alias/username/username.js.map +1 -0
  128. package/resources/alias/username/username.mjs +19 -0
  129. package/resources/alias/username/username.mjs.map +1 -0
  130. package/resources/alias/username/val-name.d.ts +42 -0
  131. package/resources/alias/username/val-name.d.ts.map +1 -0
  132. package/resources/alias/username/val-name.js +17 -0
  133. package/resources/alias/username/val-name.js.map +1 -0
  134. package/resources/alias/username/val-name.mjs +13 -0
  135. package/resources/alias/username/val-name.mjs.map +1 -0
  136. package/resources/blobs.d.ts +13 -0
  137. package/resources/blobs.d.ts.map +1 -0
  138. package/resources/blobs.js +27 -0
  139. package/resources/blobs.js.map +1 -0
  140. package/resources/blobs.mjs +23 -0
  141. package/resources/blobs.mjs.map +1 -0
  142. package/resources/emails.d.ts +77 -0
  143. package/resources/emails.d.ts.map +1 -0
  144. package/resources/emails.js +18 -0
  145. package/resources/emails.js.map +1 -0
  146. package/resources/emails.mjs +14 -0
  147. package/resources/emails.mjs.map +1 -0
  148. package/resources/evals.d.ts +19 -0
  149. package/resources/evals.d.ts.map +1 -0
  150. package/resources/evals.js +18 -0
  151. package/resources/evals.js.map +1 -0
  152. package/resources/evals.mjs +14 -0
  153. package/resources/evals.mjs.map +1 -0
  154. package/resources/index.d.ts +11 -0
  155. package/resources/index.d.ts.map +1 -0
  156. package/resources/index.js +38 -0
  157. package/resources/index.js.map +1 -0
  158. package/resources/index.mjs +12 -0
  159. package/resources/index.mjs.map +1 -0
  160. package/resources/me/comments.d.ts +55 -0
  161. package/resources/me/comments.d.ts.map +1 -0
  162. package/resources/me/comments.js +49 -0
  163. package/resources/me/comments.js.map +1 -0
  164. package/resources/me/comments.mjs +21 -0
  165. package/resources/me/comments.mjs.map +1 -0
  166. package/resources/me/index.d.ts +6 -0
  167. package/resources/me/index.d.ts.map +1 -0
  168. package/resources/me/index.js +18 -0
  169. package/resources/me/index.js.map +1 -0
  170. package/resources/me/index.mjs +7 -0
  171. package/resources/me/index.mjs.map +1 -0
  172. package/resources/me/likes.d.ts +46 -0
  173. package/resources/me/likes.d.ts.map +1 -0
  174. package/resources/me/likes.js +46 -0
  175. package/resources/me/likes.js.map +1 -0
  176. package/resources/me/likes.mjs +18 -0
  177. package/resources/me/likes.mjs.map +1 -0
  178. package/resources/me/me.d.ts +28 -0
  179. package/resources/me/me.d.ts.map +1 -0
  180. package/resources/me/me.js +52 -0
  181. package/resources/me/me.js.map +1 -0
  182. package/resources/me/me.mjs +25 -0
  183. package/resources/me/me.mjs.map +1 -0
  184. package/resources/me/profile.d.ts +32 -0
  185. package/resources/me/profile.d.ts.map +1 -0
  186. package/resources/me/profile.js +17 -0
  187. package/resources/me/profile.js.map +1 -0
  188. package/resources/me/profile.mjs +13 -0
  189. package/resources/me/profile.mjs.map +1 -0
  190. package/resources/me/references.d.ts +41 -0
  191. package/resources/me/references.d.ts.map +1 -0
  192. package/resources/me/references.js +49 -0
  193. package/resources/me/references.js.map +1 -0
  194. package/resources/me/references.mjs +21 -0
  195. package/resources/me/references.mjs.map +1 -0
  196. package/resources/search/index.d.ts +3 -0
  197. package/resources/search/index.d.ts.map +1 -0
  198. package/resources/search/index.js +10 -0
  199. package/resources/search/index.js.map +1 -0
  200. package/resources/search/index.mjs +4 -0
  201. package/resources/search/index.mjs.map +1 -0
  202. package/resources/search/search.d.ts +12 -0
  203. package/resources/search/search.d.ts.map +1 -0
  204. package/resources/search/search.js +41 -0
  205. package/resources/search/search.js.map +1 -0
  206. package/resources/search/search.mjs +14 -0
  207. package/resources/search/search.mjs.map +1 -0
  208. package/resources/search/vals.d.ts +51 -0
  209. package/resources/search/vals.d.ts.map +1 -0
  210. package/resources/search/vals.js +46 -0
  211. package/resources/search/vals.js.map +1 -0
  212. package/resources/search/vals.mjs +18 -0
  213. package/resources/search/vals.mjs.map +1 -0
  214. package/resources/shared.d.ts +19 -0
  215. package/resources/shared.d.ts.map +1 -0
  216. package/resources/shared.js +4 -0
  217. package/resources/shared.js.map +1 -0
  218. package/resources/shared.mjs +3 -0
  219. package/resources/shared.mjs.map +1 -0
  220. package/resources/sqlite.d.ts +54 -0
  221. package/resources/sqlite.d.ts.map +1 -0
  222. package/resources/sqlite.js +25 -0
  223. package/resources/sqlite.js.map +1 -0
  224. package/resources/sqlite.mjs +21 -0
  225. package/resources/sqlite.mjs.map +1 -0
  226. package/resources/users/index.d.ts +3 -0
  227. package/resources/users/index.d.ts.map +1 -0
  228. package/resources/users/index.js +10 -0
  229. package/resources/users/index.js.map +1 -0
  230. package/resources/users/index.mjs +4 -0
  231. package/resources/users/index.mjs.map +1 -0
  232. package/resources/users/users.d.ts +18 -0
  233. package/resources/users/users.d.ts.map +1 -0
  234. package/resources/users/users.js +47 -0
  235. package/resources/users/users.js.map +1 -0
  236. package/resources/users/users.mjs +20 -0
  237. package/resources/users/users.mjs.map +1 -0
  238. package/resources/users/vals.d.ts +46 -0
  239. package/resources/users/vals.d.ts.map +1 -0
  240. package/resources/users/vals.js +49 -0
  241. package/resources/users/vals.js.map +1 -0
  242. package/resources/users/vals.mjs +21 -0
  243. package/resources/users/vals.mjs.map +1 -0
  244. package/resources/vals/index.d.ts +3 -0
  245. package/resources/vals/index.d.ts.map +1 -0
  246. package/resources/vals/index.js +10 -0
  247. package/resources/vals/index.js.map +1 -0
  248. package/resources/vals/index.mjs +4 -0
  249. package/resources/vals/index.mjs.map +1 -0
  250. package/resources/vals/vals.d.ts +150 -0
  251. package/resources/vals/vals.d.ts.map +1 -0
  252. package/resources/vals/vals.js +109 -0
  253. package/resources/vals/vals.js.map +1 -0
  254. package/resources/vals/vals.mjs +82 -0
  255. package/resources/vals/vals.mjs.map +1 -0
  256. package/resources/vals/versions.d.ts +110 -0
  257. package/resources/vals/versions.d.ts.map +1 -0
  258. package/resources/vals/versions.js +70 -0
  259. package/resources/vals/versions.js.map +1 -0
  260. package/resources/vals/versions.mjs +42 -0
  261. package/resources/vals/versions.mjs.map +1 -0
  262. package/shims/node.d.ts +29 -0
  263. package/shims/node.d.ts.map +1 -0
  264. package/shims/node.js +31 -0
  265. package/shims/node.js.map +1 -0
  266. package/shims/node.mjs +5 -0
  267. package/shims/node.mjs.map +1 -0
  268. package/shims/web.d.ts +26 -0
  269. package/shims/web.d.ts.map +1 -0
  270. package/shims/web.js +31 -0
  271. package/shims/web.js.map +1 -0
  272. package/shims/web.mjs +5 -0
  273. package/shims/web.mjs.map +1 -0
  274. package/src/_shims/MultipartBody.ts +9 -0
  275. package/src/_shims/README.md +46 -0
  276. package/src/_shims/auto/runtime-bun.ts +4 -0
  277. package/src/_shims/auto/runtime-node.ts +4 -0
  278. package/src/_shims/auto/runtime.ts +4 -0
  279. package/src/_shims/auto/types-node.ts +4 -0
  280. package/src/_shims/auto/types.d.ts +101 -0
  281. package/src/_shims/auto/types.js +3 -0
  282. package/src/_shims/auto/types.mjs +3 -0
  283. package/src/_shims/bun-runtime.ts +14 -0
  284. package/src/_shims/index.d.ts +81 -0
  285. package/src/_shims/index.js +13 -0
  286. package/src/_shims/index.mjs +7 -0
  287. package/src/_shims/manual-types.d.ts +12 -0
  288. package/src/_shims/manual-types.js +3 -0
  289. package/src/_shims/manual-types.mjs +3 -0
  290. package/src/_shims/node-runtime.ts +83 -0
  291. package/src/_shims/node-types.d.ts +42 -0
  292. package/src/_shims/node-types.js +3 -0
  293. package/src/_shims/node-types.mjs +3 -0
  294. package/src/_shims/registry.ts +67 -0
  295. package/src/_shims/web-runtime.ts +103 -0
  296. package/src/_shims/web-types.d.ts +83 -0
  297. package/src/_shims/web-types.js +3 -0
  298. package/src/_shims/web-types.mjs +3 -0
  299. package/src/core.ts +1165 -0
  300. package/src/error.ts +146 -0
  301. package/src/index.ts +227 -0
  302. package/src/lib/.keep +4 -0
  303. package/src/pagination.ts +62 -0
  304. package/src/resource.ts +11 -0
  305. package/src/resources/alias/alias.ts +12 -0
  306. package/src/resources/alias/index.ts +4 -0
  307. package/src/resources/alias/username/index.ts +4 -0
  308. package/src/resources/alias/username/username.ts +22 -0
  309. package/src/resources/alias/username/val-name.ts +65 -0
  310. package/src/resources/blobs.ts +26 -0
  311. package/src/resources/emails.ts +123 -0
  312. package/src/resources/evals.ts +39 -0
  313. package/src/resources/index.ts +23 -0
  314. package/src/resources/me/comments.ts +83 -0
  315. package/src/resources/me/index.ts +17 -0
  316. package/src/resources/me/likes.ts +65 -0
  317. package/src/resources/me/me.ts +31 -0
  318. package/src/resources/me/profile.ts +42 -0
  319. package/src/resources/me/references.ts +65 -0
  320. package/src/resources/search/index.ts +4 -0
  321. package/src/resources/search/search.ts +15 -0
  322. package/src/resources/search/vals.ts +72 -0
  323. package/src/resources/shared.ts +23 -0
  324. package/src/resources/sqlite.ts +77 -0
  325. package/src/resources/users/index.ts +4 -0
  326. package/src/resources/users/users.ts +24 -0
  327. package/src/resources/users/vals.ts +69 -0
  328. package/src/resources/vals/index.ts +24 -0
  329. package/src/resources/vals/vals.ts +267 -0
  330. package/src/resources/vals/versions.ts +181 -0
  331. package/src/shims/node.ts +50 -0
  332. package/src/shims/web.ts +50 -0
  333. package/src/tsconfig.json +11 -0
  334. package/src/uploads.ts +248 -0
  335. package/src/version.ts +1 -0
  336. package/uploads.d.ts +75 -0
  337. package/uploads.d.ts.map +1 -0
  338. package/uploads.js +165 -0
  339. package/uploads.js.map +1 -0
  340. package/uploads.mjs +152 -0
  341. package/uploads.mjs.map +1 -0
  342. package/version.d.ts +2 -0
  343. package/version.d.ts.map +1 -0
  344. package/version.js +5 -0
  345. package/version.js.map +1 -0
  346. package/version.mjs +2 -0
  347. package/version.mjs.map +1 -0
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.Vals = exports.Users = exports.Sqlite = exports.Search = exports.Me = exports.Evals = exports.Emails = exports.Blobs = exports.Alias = void 0;
19
+ __exportStar(require("./shared.js"), exports);
20
+ var alias_1 = require("./alias/alias.js");
21
+ Object.defineProperty(exports, "Alias", { enumerable: true, get: function () { return alias_1.Alias; } });
22
+ var blobs_1 = require("./blobs.js");
23
+ Object.defineProperty(exports, "Blobs", { enumerable: true, get: function () { return blobs_1.Blobs; } });
24
+ var emails_1 = require("./emails.js");
25
+ Object.defineProperty(exports, "Emails", { enumerable: true, get: function () { return emails_1.Emails; } });
26
+ var evals_1 = require("./evals.js");
27
+ Object.defineProperty(exports, "Evals", { enumerable: true, get: function () { return evals_1.Evals; } });
28
+ var me_1 = require("./me/me.js");
29
+ Object.defineProperty(exports, "Me", { enumerable: true, get: function () { return me_1.Me; } });
30
+ var search_1 = require("./search/search.js");
31
+ Object.defineProperty(exports, "Search", { enumerable: true, get: function () { return search_1.Search; } });
32
+ var sqlite_1 = require("./sqlite.js");
33
+ Object.defineProperty(exports, "Sqlite", { enumerable: true, get: function () { return sqlite_1.Sqlite; } });
34
+ var users_1 = require("./users/users.js");
35
+ Object.defineProperty(exports, "Users", { enumerable: true, get: function () { return users_1.Users; } });
36
+ var vals_1 = require("./vals/vals.js");
37
+ Object.defineProperty(exports, "Vals", { enumerable: true, get: function () { return vals_1.Vals; } });
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;AAEtF,8CAAyB;AACzB,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,oCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,sCAAsE;AAAzB,gGAAA,MAAM,OAAA;AACnD,oCAAwE;AAAvB,8FAAA,KAAK,OAAA;AACtD,iCAA6B;AAApB,wFAAA,EAAE,OAAA;AACX,6CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,sCAA0E;AAAzB,gGAAA,MAAM,OAAA;AACvD,0CAAsC;AAA7B,8FAAA,KAAK,OAAA;AACd,uCAWqB;AADnB,4FAAA,IAAI,OAAA"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./shared.mjs";
3
+ export { Alias } from "./alias/alias.mjs";
4
+ export { Blobs } from "./blobs.mjs";
5
+ export { Emails } from "./emails.mjs";
6
+ export { Evals } from "./evals.mjs";
7
+ export { Me } from "./me/me.mjs";
8
+ export { Search } from "./search/search.mjs";
9
+ export { Sqlite } from "./sqlite.mjs";
10
+ export { Users } from "./users/users.mjs";
11
+ export { Vals, } from "./vals/vals.mjs";
12
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,KAAK,EAAE;OACT,EAAE,KAAK,EAAE;OACT,EAAsC,MAAM,EAAE;OAC9C,EAA0C,KAAK,EAAE;OACjD,EAAE,EAAE,EAAE;OACN,EAAE,MAAM,EAAE;OACV,EAA0C,MAAM,EAAE;OAClD,EAAE,KAAK,EAAE;OACT,EAUL,IAAI,GACL"}
@@ -0,0 +1,55 @@
1
+ import * as Core from '@valtown/sdk/core';
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as CommentsAPI from '@valtown/sdk/resources/me/comments';
4
+ import { PageCursorURL, type PageCursorURLParams } from '@valtown/sdk/pagination';
5
+ export declare class Comments extends APIResource {
6
+ /**
7
+ * Get comments related to current user, either given or received
8
+ */
9
+ list(query: CommentListParams, options?: Core.RequestOptions): Core.PagePromise<CommentListResponsesPageCursorURL, CommentListResponse>;
10
+ }
11
+ export declare class CommentListResponsesPageCursorURL extends PageCursorURL<CommentListResponse> {
12
+ }
13
+ export interface CommentListResponse {
14
+ id: string;
15
+ author: CommentListResponse.Author;
16
+ comment: string;
17
+ createdAt: string;
18
+ val: CommentListResponse.Val;
19
+ }
20
+ export declare namespace CommentListResponse {
21
+ interface Author {
22
+ id: string;
23
+ username: string | null;
24
+ }
25
+ interface Val {
26
+ id: string;
27
+ /**
28
+ * The user who created this val
29
+ */
30
+ author: Val.Author | null;
31
+ name: string;
32
+ privacy: 'public' | 'unlisted' | 'private';
33
+ version: number;
34
+ }
35
+ namespace Val {
36
+ /**
37
+ * The user who created this val
38
+ */
39
+ interface Author {
40
+ id: string;
41
+ username: string | null;
42
+ }
43
+ }
44
+ }
45
+ export interface CommentListParams extends PageCursorURLParams {
46
+ relationship: 'any' | 'received' | 'given';
47
+ since?: string;
48
+ until?: string;
49
+ }
50
+ export declare namespace Comments {
51
+ export import CommentListResponse = CommentsAPI.CommentListResponse;
52
+ export import CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
53
+ export import CommentListParams = CommentsAPI.CommentListParams;
54
+ }
55
+ //# sourceMappingURL=comments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/resources/me/comments.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,WAAW,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAElF,qBAAa,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,iBAAiB,EACxB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,iCAAiC,EAAE,mBAAmB,CAAC;CAM5E;AAED,qBAAa,iCAAkC,SAAQ,aAAa,CAAC,mBAAmB,CAAC;CAAG;AAE5F,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IAEX,MAAM,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAEnC,OAAO,EAAE,MAAM,CAAC;IAEhB,SAAS,EAAE,MAAM,CAAC;IAElB,GAAG,EAAE,mBAAmB,CAAC,GAAG,CAAC;CAC9B;AAED,yBAAiB,mBAAmB,CAAC;IACnC,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;IAED,UAAiB,GAAG;QAClB,EAAE,EAAE,MAAM,CAAC;QAEX;;WAEG;QACH,MAAM,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC;QAE1B,IAAI,EAAE,MAAM,CAAC;QAEb,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;QAE3C,OAAO,EAAE,MAAM,CAAC;KACjB;IAED,UAAiB,GAAG,CAAC;QACnB;;WAEG;QACH,UAAiB,MAAM;YACrB,EAAE,EAAE,MAAM,CAAC;YAEX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;SACzB;KACF;CACF;AAED,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,YAAY,EAAE,KAAK,GAAG,UAAU,GAAG,OAAO,CAAC;IAE3C,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,QAAQ,CAAC;IACxB,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IACpE,MAAM,QAAQ,iCAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;IAChG,MAAM,QAAQ,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;CACjE"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.CommentListResponsesPageCursorURL = exports.Comments = void 0;
28
+ const resource_1 = require("@valtown/sdk/resource");
29
+ const CommentsAPI = __importStar(require("@valtown/sdk/resources/me/comments"));
30
+ const pagination_1 = require("@valtown/sdk/pagination");
31
+ class Comments extends resource_1.APIResource {
32
+ /**
33
+ * Get comments related to current user, either given or received
34
+ */
35
+ list(query, options) {
36
+ return this._client.getAPIList('/v1/me/comments', CommentListResponsesPageCursorURL, {
37
+ query,
38
+ ...options,
39
+ });
40
+ }
41
+ }
42
+ exports.Comments = Comments;
43
+ class CommentListResponsesPageCursorURL extends pagination_1.PageCursorURL {
44
+ }
45
+ exports.CommentListResponsesPageCursorURL = CommentListResponsesPageCursorURL;
46
+ (function (Comments) {
47
+ Comments.CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
48
+ })(Comments = exports.Comments || (exports.Comments = {}));
49
+ //# sourceMappingURL=comments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.js","sourceRoot":"","sources":["../../src/resources/me/comments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,oDAAoD;AACpD,gFAAkE;AAClE,wDAAkF;AAElF,MAAa,QAAS,SAAQ,sBAAW;IACvC;;OAEG;IACH,IAAI,CACF,KAAwB,EACxB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,iCAAiC,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAbD,4BAaC;AAED,MAAa,iCAAkC,SAAQ,0BAAkC;CAAG;AAA5F,8EAA4F;AAwD5F,WAAiB,QAAQ;IAET,0CAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;AAElG,CAAC,EAJgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAIxB"}
@@ -0,0 +1,21 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as CommentsAPI from '@valtown/sdk/resources/me/comments';
4
+ import { PageCursorURL } from '@valtown/sdk/pagination';
5
+ export class Comments extends APIResource {
6
+ /**
7
+ * Get comments related to current user, either given or received
8
+ */
9
+ list(query, options) {
10
+ return this._client.getAPIList('/v1/me/comments', CommentListResponsesPageCursorURL, {
11
+ query,
12
+ ...options,
13
+ });
14
+ }
15
+ }
16
+ export class CommentListResponsesPageCursorURL extends PageCursorURL {
17
+ }
18
+ (function (Comments) {
19
+ Comments.CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
20
+ })(Comments || (Comments = {}));
21
+ //# sourceMappingURL=comments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comments.mjs","sourceRoot":"","sources":["../../src/resources/me/comments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,uBAAuB;OAC5C,KAAK,WAAW,MAAM,oCAAoC;OAC1D,EAAE,aAAa,EAA4B,MAAM,yBAAyB;AAEjF,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,IAAI,CACF,KAAwB,EACxB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,iCAAiC,EAAE;YACnF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,iCAAkC,SAAQ,aAAkC;CAAG;AAwD5F,WAAiB,QAAQ;IAET,0CAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;AAElG,CAAC,EAJgB,QAAQ,KAAR,QAAQ,QAIxB"}
@@ -0,0 +1,6 @@
1
+ export { CommentListResponse, CommentListParams, CommentListResponsesPageCursorURL, Comments, } from "./comments.js";
2
+ export { LikeListResponse, LikeListParams, LikeListResponsesPageCursorURL, Likes } from "./likes.js";
3
+ export { Me } from "./me.js";
4
+ export { ProfileRetrieveResponse, Profile } from "./profile.js";
5
+ export { ReferenceListResponse, ReferenceListParams, ReferenceListResponsesPageCursorURL, References, } from "./references.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/me/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iCAAiC,EACjC,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,8BAA8B,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAClG,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAC;AAC1B,OAAO,EAAE,uBAAuB,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,mCAAmC,EACnC,UAAU,GACX,MAAM,cAAc,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.References = exports.ReferenceListResponsesPageCursorURL = exports.Profile = exports.Me = exports.Likes = exports.LikeListResponsesPageCursorURL = exports.Comments = exports.CommentListResponsesPageCursorURL = void 0;
5
+ var comments_1 = require("./comments.js");
6
+ Object.defineProperty(exports, "CommentListResponsesPageCursorURL", { enumerable: true, get: function () { return comments_1.CommentListResponsesPageCursorURL; } });
7
+ Object.defineProperty(exports, "Comments", { enumerable: true, get: function () { return comments_1.Comments; } });
8
+ var likes_1 = require("./likes.js");
9
+ Object.defineProperty(exports, "LikeListResponsesPageCursorURL", { enumerable: true, get: function () { return likes_1.LikeListResponsesPageCursorURL; } });
10
+ Object.defineProperty(exports, "Likes", { enumerable: true, get: function () { return likes_1.Likes; } });
11
+ var me_1 = require("./me.js");
12
+ Object.defineProperty(exports, "Me", { enumerable: true, get: function () { return me_1.Me; } });
13
+ var profile_1 = require("./profile.js");
14
+ Object.defineProperty(exports, "Profile", { enumerable: true, get: function () { return profile_1.Profile; } });
15
+ var references_1 = require("./references.js");
16
+ Object.defineProperty(exports, "ReferenceListResponsesPageCursorURL", { enumerable: true, get: function () { return references_1.ReferenceListResponsesPageCursorURL; } });
17
+ Object.defineProperty(exports, "References", { enumerable: true, get: function () { return references_1.References; } });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/me/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAKoB;AAFlB,6HAAA,iCAAiC,OAAA;AACjC,oGAAA,QAAQ,OAAA;AAEV,oCAAkG;AAAvD,uHAAA,8BAA8B,OAAA;AAAE,8FAAA,KAAK,OAAA;AAChF,8BAA0B;AAAjB,wFAAA,EAAE,OAAA;AACX,wCAA6D;AAA3B,kGAAA,OAAO,OAAA;AACzC,8CAKsB;AAFpB,iIAAA,mCAAmC,OAAA;AACnC,wGAAA,UAAU,OAAA"}
@@ -0,0 +1,7 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { CommentListResponsesPageCursorURL, Comments, } from "./comments.mjs";
3
+ export { LikeListResponsesPageCursorURL, Likes } from "./likes.mjs";
4
+ export { Me } from "./me.mjs";
5
+ export { Profile } from "./profile.mjs";
6
+ export { ReferenceListResponsesPageCursorURL, References, } from "./references.mjs";
7
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/me/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAGL,iCAAiC,EACjC,QAAQ,GACT;OACM,EAAoC,8BAA8B,EAAE,KAAK,EAAE;OAC3E,EAAE,EAAE,EAAE;OACN,EAA2B,OAAO,EAAE;OACpC,EAGL,mCAAmC,EACnC,UAAU,GACX"}
@@ -0,0 +1,46 @@
1
+ import * as Core from '@valtown/sdk/core';
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as LikesAPI from '@valtown/sdk/resources/me/likes';
4
+ import { PageCursorURL, type PageCursorURLParams } from '@valtown/sdk/pagination';
5
+ export declare class Likes extends APIResource {
6
+ /**
7
+ * Get vals liked by the current user
8
+ */
9
+ list(query: LikeListParams, options?: Core.RequestOptions): Core.PagePromise<LikeListResponsesPageCursorURL, LikeListResponse>;
10
+ }
11
+ export declare class LikeListResponsesPageCursorURL extends PageCursorURL<LikeListResponse> {
12
+ }
13
+ /**
14
+ * A Val
15
+ */
16
+ export interface LikeListResponse {
17
+ id: string;
18
+ /**
19
+ * The user who created this val
20
+ */
21
+ author: LikeListResponse.Author | null;
22
+ code: string | null;
23
+ createdAt: string;
24
+ name: string;
25
+ privacy: 'public' | 'unlisted' | 'private';
26
+ public: boolean;
27
+ type: 'interval' | 'http' | 'express' | 'email' | 'script' | 'rpc';
28
+ version: number;
29
+ }
30
+ export declare namespace LikeListResponse {
31
+ /**
32
+ * The user who created this val
33
+ */
34
+ interface Author {
35
+ id: string;
36
+ username: string | null;
37
+ }
38
+ }
39
+ export interface LikeListParams extends PageCursorURLParams {
40
+ }
41
+ export declare namespace Likes {
42
+ export import LikeListResponse = LikesAPI.LikeListResponse;
43
+ export import LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
44
+ export import LikeListParams = LikesAPI.LikeListParams;
45
+ }
46
+ //# sourceMappingURL=likes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"likes.d.ts","sourceRoot":"","sources":["../../src/resources/me/likes.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAElF,qBAAa,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,cAAc,EACrB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,8BAA8B,EAAE,gBAAgB,CAAC;CAGtE;AAED,qBAAa,8BAA+B,SAAQ,aAAa,CAAC,gBAAgB,CAAC;CAAG;AAEtF;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC;IAEvC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAElB,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,CAAC;IAE3C,MAAM,EAAE,OAAO,CAAC;IAEhB,IAAI,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAEnE,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,MAAM;QACrB,EAAE,EAAE,MAAM,CAAC;QAEX,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;CACF;AAED,MAAM,WAAW,cAAe,SAAQ,mBAAmB;CAAG;AAE9D,yBAAiB,KAAK,CAAC;IACrB,MAAM,QAAQ,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,CAAC;IAC3D,MAAM,QAAQ,8BAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;IACvF,MAAM,QAAQ,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;CACxD"}
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.LikeListResponsesPageCursorURL = exports.Likes = void 0;
28
+ const resource_1 = require("@valtown/sdk/resource");
29
+ const LikesAPI = __importStar(require("@valtown/sdk/resources/me/likes"));
30
+ const pagination_1 = require("@valtown/sdk/pagination");
31
+ class Likes extends resource_1.APIResource {
32
+ /**
33
+ * Get vals liked by the current user
34
+ */
35
+ list(query, options) {
36
+ return this._client.getAPIList('/v1/me/likes', LikeListResponsesPageCursorURL, { query, ...options });
37
+ }
38
+ }
39
+ exports.Likes = Likes;
40
+ class LikeListResponsesPageCursorURL extends pagination_1.PageCursorURL {
41
+ }
42
+ exports.LikeListResponsesPageCursorURL = LikeListResponsesPageCursorURL;
43
+ (function (Likes) {
44
+ Likes.LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
45
+ })(Likes = exports.Likes || (exports.Likes = {}));
46
+ //# sourceMappingURL=likes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"likes.js","sourceRoot":"","sources":["../../src/resources/me/likes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAGtF,oDAAoD;AACpD,0EAA4D;AAC5D,wDAAkF;AAElF,MAAa,KAAM,SAAQ,sBAAW;IACpC;;OAEG;IACH,IAAI,CACF,KAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF;AAVD,sBAUC;AAED,MAAa,8BAA+B,SAAQ,0BAA+B;CAAG;AAAtF,wEAAsF;AAyCtF,WAAiB,KAAK;IAEN,oCAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;AAEzF,CAAC,EAJgB,KAAK,GAAL,aAAK,KAAL,aAAK,QAIrB"}
@@ -0,0 +1,18 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as LikesAPI from '@valtown/sdk/resources/me/likes';
4
+ import { PageCursorURL } from '@valtown/sdk/pagination';
5
+ export class Likes extends APIResource {
6
+ /**
7
+ * Get vals liked by the current user
8
+ */
9
+ list(query, options) {
10
+ return this._client.getAPIList('/v1/me/likes', LikeListResponsesPageCursorURL, { query, ...options });
11
+ }
12
+ }
13
+ export class LikeListResponsesPageCursorURL extends PageCursorURL {
14
+ }
15
+ (function (Likes) {
16
+ Likes.LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
17
+ })(Likes || (Likes = {}));
18
+ //# sourceMappingURL=likes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"likes.mjs","sourceRoot":"","sources":["../../src/resources/me/likes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,uBAAuB;OAC5C,KAAK,QAAQ,MAAM,iCAAiC;OACpD,EAAE,aAAa,EAA4B,MAAM,yBAAyB;AAEjF,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;OAEG;IACH,IAAI,CACF,KAAqB,EACrB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,8BAA8B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF;AAED,MAAM,OAAO,8BAA+B,SAAQ,aAA+B;CAAG;AAyCtF,WAAiB,KAAK;IAEN,oCAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;AAEzF,CAAC,EAJgB,KAAK,KAAL,KAAK,QAIrB"}
@@ -0,0 +1,28 @@
1
+ import { APIResource } from '@valtown/sdk/resource';
2
+ import * as CommentsAPI from '@valtown/sdk/resources/me/comments';
3
+ import * as LikesAPI from '@valtown/sdk/resources/me/likes';
4
+ import * as ProfileAPI from '@valtown/sdk/resources/me/profile';
5
+ import * as ReferencesAPI from '@valtown/sdk/resources/me/references';
6
+ export declare class Me extends APIResource {
7
+ profile: ProfileAPI.Profile;
8
+ likes: LikesAPI.Likes;
9
+ comments: CommentsAPI.Comments;
10
+ references: ReferencesAPI.References;
11
+ }
12
+ export declare namespace Me {
13
+ export import Profile = ProfileAPI.Profile;
14
+ export import ProfileRetrieveResponse = ProfileAPI.ProfileRetrieveResponse;
15
+ export import Likes = LikesAPI.Likes;
16
+ export import LikeListResponse = LikesAPI.LikeListResponse;
17
+ export import LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
18
+ export import LikeListParams = LikesAPI.LikeListParams;
19
+ export import Comments = CommentsAPI.Comments;
20
+ export import CommentListResponse = CommentsAPI.CommentListResponse;
21
+ export import CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
22
+ export import CommentListParams = CommentsAPI.CommentListParams;
23
+ export import References = ReferencesAPI.References;
24
+ export import ReferenceListResponse = ReferencesAPI.ReferenceListResponse;
25
+ export import ReferenceListResponsesPageCursorURL = ReferencesAPI.ReferenceListResponsesPageCursorURL;
26
+ export import ReferenceListParams = ReferencesAPI.ReferenceListParams;
27
+ }
28
+ //# sourceMappingURL=me.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"me.d.ts","sourceRoot":"","sources":["../../src/resources/me/me.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,WAAW,MAAM,oCAAoC,CAAC;AAClE,OAAO,KAAK,QAAQ,MAAM,iCAAiC,CAAC;AAC5D,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,KAAK,aAAa,MAAM,sCAAsC,CAAC;AAEtE,qBAAa,EAAG,SAAQ,WAAW;IACjC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,UAAU,EAAE,aAAa,CAAC,UAAU,CAA8C;CACnF;AAED,yBAAiB,EAAE,CAAC;IAClB,MAAM,QAAQ,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IAC3C,MAAM,QAAQ,uBAAuB,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAC3E,MAAM,QAAQ,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;IACrC,MAAM,QAAQ,gBAAgB,GAAG,QAAQ,CAAC,gBAAgB,CAAC;IAC3D,MAAM,QAAQ,8BAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;IACvF,MAAM,QAAQ,cAAc,GAAG,QAAQ,CAAC,cAAc,CAAC;IACvD,MAAM,QAAQ,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAC9C,MAAM,QAAQ,mBAAmB,GAAG,WAAW,CAAC,mBAAmB,CAAC;IACpE,MAAM,QAAQ,iCAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;IAChG,MAAM,QAAQ,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC;IAChE,MAAM,QAAQ,UAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IACpD,MAAM,QAAQ,qBAAqB,GAAG,aAAa,CAAC,qBAAqB,CAAC;IAC1E,MAAM,QAAQ,mCAAmC,GAAG,aAAa,CAAC,mCAAmC,CAAC;IACtG,MAAM,QAAQ,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC;CACvE"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || function (mod) {
20
+ if (mod && mod.__esModule) return mod;
21
+ var result = {};
22
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
23
+ __setModuleDefault(result, mod);
24
+ return result;
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.Me = void 0;
28
+ const resource_1 = require("@valtown/sdk/resource");
29
+ const CommentsAPI = __importStar(require("@valtown/sdk/resources/me/comments"));
30
+ const LikesAPI = __importStar(require("@valtown/sdk/resources/me/likes"));
31
+ const ProfileAPI = __importStar(require("@valtown/sdk/resources/me/profile"));
32
+ const ReferencesAPI = __importStar(require("@valtown/sdk/resources/me/references"));
33
+ class Me extends resource_1.APIResource {
34
+ constructor() {
35
+ super(...arguments);
36
+ this.profile = new ProfileAPI.Profile(this._client);
37
+ this.likes = new LikesAPI.Likes(this._client);
38
+ this.comments = new CommentsAPI.Comments(this._client);
39
+ this.references = new ReferencesAPI.References(this._client);
40
+ }
41
+ }
42
+ exports.Me = Me;
43
+ (function (Me) {
44
+ Me.Profile = ProfileAPI.Profile;
45
+ Me.Likes = LikesAPI.Likes;
46
+ Me.LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
47
+ Me.Comments = CommentsAPI.Comments;
48
+ Me.CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
49
+ Me.References = ReferencesAPI.References;
50
+ Me.ReferenceListResponsesPageCursorURL = ReferencesAPI.ReferenceListResponsesPageCursorURL;
51
+ })(Me = exports.Me || (exports.Me = {}));
52
+ //# sourceMappingURL=me.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"me.js","sourceRoot":"","sources":["../../src/resources/me/me.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,oDAAoD;AACpD,gFAAkE;AAClE,0EAA4D;AAC5D,8EAAgE;AAChE,oFAAsE;AAEtE,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpF,CAAC;CAAA;AALD,gBAKC;AAED,WAAiB,EAAE;IACH,UAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IAE7B,QAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEvB,iCAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;IAEzE,WAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,oCAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;IAElF,aAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IAEtC,sCAAmC,GAAG,aAAa,CAAC,mCAAmC,CAAC;AAExG,CAAC,EAfgB,EAAE,GAAF,UAAE,KAAF,UAAE,QAelB"}
@@ -0,0 +1,25 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as CommentsAPI from '@valtown/sdk/resources/me/comments';
4
+ import * as LikesAPI from '@valtown/sdk/resources/me/likes';
5
+ import * as ProfileAPI from '@valtown/sdk/resources/me/profile';
6
+ import * as ReferencesAPI from '@valtown/sdk/resources/me/references';
7
+ export class Me extends APIResource {
8
+ constructor() {
9
+ super(...arguments);
10
+ this.profile = new ProfileAPI.Profile(this._client);
11
+ this.likes = new LikesAPI.Likes(this._client);
12
+ this.comments = new CommentsAPI.Comments(this._client);
13
+ this.references = new ReferencesAPI.References(this._client);
14
+ }
15
+ }
16
+ (function (Me) {
17
+ Me.Profile = ProfileAPI.Profile;
18
+ Me.Likes = LikesAPI.Likes;
19
+ Me.LikeListResponsesPageCursorURL = LikesAPI.LikeListResponsesPageCursorURL;
20
+ Me.Comments = CommentsAPI.Comments;
21
+ Me.CommentListResponsesPageCursorURL = CommentsAPI.CommentListResponsesPageCursorURL;
22
+ Me.References = ReferencesAPI.References;
23
+ Me.ReferenceListResponsesPageCursorURL = ReferencesAPI.ReferenceListResponsesPageCursorURL;
24
+ })(Me || (Me = {}));
25
+ //# sourceMappingURL=me.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"me.mjs","sourceRoot":"","sources":["../../src/resources/me/me.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE,MAAM,uBAAuB;OAC5C,KAAK,WAAW,MAAM,oCAAoC;OAC1D,KAAK,QAAQ,MAAM,iCAAiC;OACpD,KAAK,UAAU,MAAM,mCAAmC;OACxD,KAAK,aAAa,MAAM,sCAAsC;AAErE,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpF,CAAC;CAAA;AAED,WAAiB,EAAE;IACH,UAAO,GAAG,UAAU,CAAC,OAAO,CAAC;IAE7B,QAAK,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEvB,iCAA8B,GAAG,QAAQ,CAAC,8BAA8B,CAAC;IAEzE,WAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;IAEhC,oCAAiC,GAAG,WAAW,CAAC,iCAAiC,CAAC;IAElF,aAAU,GAAG,aAAa,CAAC,UAAU,CAAC;IAEtC,sCAAmC,GAAG,aAAa,CAAC,mCAAmC,CAAC;AAExG,CAAC,EAfgB,EAAE,KAAF,EAAE,QAelB"}
@@ -0,0 +1,32 @@
1
+ import * as Core from '@valtown/sdk/core';
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as ProfileAPI from '@valtown/sdk/resources/me/profile';
4
+ export declare class Profile extends APIResource {
5
+ /**
6
+ * Get profile information for the current user
7
+ */
8
+ retrieve(options?: Core.RequestOptions): Core.APIPromise<ProfileRetrieveResponse>;
9
+ }
10
+ /**
11
+ * User information, with tier included
12
+ */
13
+ export interface ProfileRetrieveResponse {
14
+ id: string;
15
+ /**
16
+ * The user’s biography, if they have provided one
17
+ */
18
+ bio: string | null;
19
+ /**
20
+ * URL that points to the user’s profile image, if one exists
21
+ */
22
+ profileImageUrl: string | null;
23
+ tier: 'free' | 'pro' | null;
24
+ /**
25
+ * The user’s handle that they chose for themselves. Does not include the @ symbol
26
+ */
27
+ username: string | null;
28
+ }
29
+ export declare namespace Profile {
30
+ export import ProfileRetrieveResponse = ProfileAPI.ProfileRetrieveResponse;
31
+ }
32
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/resources/me/profile.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAEhE,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;CAGlF;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnB;;OAEG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,IAAI,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,yBAAiB,OAAO,CAAC;IACvB,MAAM,QAAQ,uBAAuB,GAAG,UAAU,CAAC,uBAAuB,CAAC;CAC5E"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Profile = void 0;
5
+ const resource_1 = require("@valtown/sdk/resource");
6
+ class Profile extends resource_1.APIResource {
7
+ /**
8
+ * Get profile information for the current user
9
+ */
10
+ retrieve(options) {
11
+ return this._client.get('/v1/me/', options);
12
+ }
13
+ }
14
+ exports.Profile = Profile;
15
+ (function (Profile) {
16
+ })(Profile = exports.Profile || (exports.Profile = {}));
17
+ //# sourceMappingURL=profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/resources/me/profile.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAGtF,oDAAoD;AAGpD,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,OAA6B;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AAPD,0BAOC;AA0BD,WAAiB,OAAO;AAExB,CAAC,EAFgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAEvB"}
@@ -0,0 +1,13 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ export class Profile extends APIResource {
4
+ /**
5
+ * Get profile information for the current user
6
+ */
7
+ retrieve(options) {
8
+ return this._client.get('/v1/me/', options);
9
+ }
10
+ }
11
+ (function (Profile) {
12
+ })(Profile || (Profile = {}));
13
+ //# sourceMappingURL=profile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.mjs","sourceRoot":"","sources":["../../src/resources/me/profile.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAG/E,EAAE,WAAW,EAAE,MAAM,uBAAuB;AAGnD,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CAAC,OAA6B;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;CACF;AA0BD,WAAiB,OAAO;AAExB,CAAC,EAFgB,OAAO,KAAP,OAAO,QAEvB"}
@@ -0,0 +1,41 @@
1
+ import * as Core from '@valtown/sdk/core';
2
+ import { APIResource } from '@valtown/sdk/resource';
3
+ import * as ReferencesAPI from '@valtown/sdk/resources/me/references';
4
+ import { PageCursorURL, type PageCursorURLParams } from '@valtown/sdk/pagination';
5
+ export declare class References extends APIResource {
6
+ /**
7
+ * Get vals that depend on any of the user's vals
8
+ */
9
+ list(query: ReferenceListParams, options?: Core.RequestOptions): Core.PagePromise<ReferenceListResponsesPageCursorURL, ReferenceListResponse>;
10
+ }
11
+ export declare class ReferenceListResponsesPageCursorURL extends PageCursorURL<ReferenceListResponse> {
12
+ }
13
+ export interface ReferenceListResponse {
14
+ dependsOn: ReferenceListResponse.DependsOn;
15
+ reference: ReferenceListResponse.Reference;
16
+ referencedAt: string;
17
+ }
18
+ export declare namespace ReferenceListResponse {
19
+ interface DependsOn {
20
+ id: string;
21
+ author_id: string | null;
22
+ name: string;
23
+ username: string | null;
24
+ }
25
+ interface Reference {
26
+ id: string;
27
+ author_id: string | null;
28
+ name: string;
29
+ username: string | null;
30
+ }
31
+ }
32
+ export interface ReferenceListParams extends PageCursorURLParams {
33
+ since?: string;
34
+ until?: string;
35
+ }
36
+ export declare namespace References {
37
+ export import ReferenceListResponse = ReferencesAPI.ReferenceListResponse;
38
+ export import ReferenceListResponsesPageCursorURL = ReferencesAPI.ReferenceListResponsesPageCursorURL;
39
+ export import ReferenceListParams = ReferencesAPI.ReferenceListParams;
40
+ }
41
+ //# sourceMappingURL=references.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/resources/me/references.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,aAAa,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,KAAK,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAElF,qBAAa,UAAW,SAAQ,WAAW;IACzC;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,mBAAmB,EAC1B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,mCAAmC,EAAE,qBAAqB,CAAC;CAMhF;AAED,qBAAa,mCAAoC,SAAQ,aAAa,CAAC,qBAAqB,CAAC;CAAG;AAEhG,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,qBAAqB,CAAC,SAAS,CAAC;IAE3C,SAAS,EAAE,qBAAqB,CAAC,SAAS,CAAC;IAE3C,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;IAED,UAAiB,SAAS;QACxB,EAAE,EAAE,MAAM,CAAC;QAEX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAEzB,IAAI,EAAE,MAAM,CAAC;QAEb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;KACzB;CACF;AAED,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,yBAAiB,UAAU,CAAC;IAC1B,MAAM,QAAQ,qBAAqB,GAAG,aAAa,CAAC,qBAAqB,CAAC;IAC1E,MAAM,QAAQ,mCAAmC,GAAG,aAAa,CAAC,mCAAmC,CAAC;IACtG,MAAM,QAAQ,mBAAmB,GAAG,aAAa,CAAC,mBAAmB,CAAC;CACvE"}