alchemy 0.21.0 → 0.22.0

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 (308) hide show
  1. package/lib/ai/astro-file.d.ts +4 -4
  2. package/lib/ai/client.d.ts +1 -1
  3. package/lib/ai/css-file.d.ts +4 -4
  4. package/lib/ai/data.d.ts +4 -4
  5. package/lib/ai/document.d.ts +5 -5
  6. package/lib/ai/html-file.d.ts +4 -4
  7. package/lib/ai/index.d.ts +10 -10
  8. package/lib/ai/json-file.d.ts +4 -4
  9. package/lib/ai/typescript-file.d.ts +4 -4
  10. package/lib/ai/vue-file.d.ts +4 -4
  11. package/lib/ai/yaml-file.d.ts +4 -4
  12. package/lib/alchemy.d.ts +5 -5
  13. package/lib/apply.d.ts +2 -2
  14. package/lib/aws/bucket.d.ts +2 -2
  15. package/lib/aws/control/error.d.ts +1 -1
  16. package/lib/aws/control/index.d.ts +4 -4
  17. package/lib/aws/control/resource.d.ts +2 -2
  18. package/lib/aws/credentials.d.ts +1 -1
  19. package/lib/aws/function.d.ts +3 -3
  20. package/lib/aws/index.d.ts +9 -9
  21. package/lib/aws/oidc/github-oidc-provider.d.ts +1 -1
  22. package/lib/aws/oidc/index.d.ts +2 -2
  23. package/lib/aws/oidc/oidc-provider.d.ts +2 -2
  24. package/lib/aws/policy-attachment.d.ts +2 -2
  25. package/lib/aws/policy.d.ts +2 -2
  26. package/lib/aws/queue.d.ts +2 -2
  27. package/lib/aws/role.d.ts +3 -3
  28. package/lib/aws/ses.d.ts +2 -2
  29. package/lib/aws/table.d.ts +2 -2
  30. package/lib/cloudflare/account-api-token.d.ts +5 -5
  31. package/lib/cloudflare/account-id.d.ts +1 -1
  32. package/lib/cloudflare/ai-gateway.d.ts +3 -3
  33. package/lib/cloudflare/api.d.ts +2 -2
  34. package/lib/cloudflare/assets.d.ts +2 -2
  35. package/lib/cloudflare/auth.d.ts +1 -1
  36. package/lib/cloudflare/bindings.d.ts +18 -18
  37. package/lib/cloudflare/bound.d.ts +16 -16
  38. package/lib/cloudflare/bucket.d.ts +4 -4
  39. package/lib/cloudflare/bundle/bundle-worker.d.ts +2 -2
  40. package/lib/cloudflare/custom-domain.d.ts +3 -3
  41. package/lib/cloudflare/custom-domain.js.map +1 -1
  42. package/lib/cloudflare/d1-clone.d.ts +3 -3
  43. package/lib/cloudflare/d1-database.d.ts +3 -3
  44. package/lib/cloudflare/d1-export.d.ts +1 -1
  45. package/lib/cloudflare/d1-import.d.ts +1 -1
  46. package/lib/cloudflare/d1-migrations.d.ts +1 -1
  47. package/lib/cloudflare/dns-records.d.ts +4 -4
  48. package/lib/cloudflare/durable-object-namespace.d.ts +1 -1
  49. package/lib/cloudflare/event-source.d.ts +2 -2
  50. package/lib/cloudflare/hyperdrive.d.ts +4 -4
  51. package/lib/cloudflare/index.d.ts +40 -39
  52. package/lib/cloudflare/index.d.ts.map +1 -1
  53. package/lib/cloudflare/index.js +1 -0
  54. package/lib/cloudflare/index.js.map +1 -1
  55. package/lib/cloudflare/kv-namespace.d.ts +3 -3
  56. package/lib/cloudflare/nuxt.d.ts +4 -4
  57. package/lib/cloudflare/nuxt.d.ts.map +1 -1
  58. package/lib/cloudflare/nuxt.js +2 -1
  59. package/lib/cloudflare/nuxt.js.map +1 -1
  60. package/lib/cloudflare/permission-groups.d.ts +3 -3
  61. package/lib/cloudflare/pipeline.d.ts +4 -4
  62. package/lib/cloudflare/queue-consumer.d.ts +4 -4
  63. package/lib/cloudflare/queue.d.ts +3 -3
  64. package/lib/cloudflare/r2-rest-state-store.d.ts +3 -3
  65. package/lib/cloudflare/react-router.d.ts +13 -0
  66. package/lib/cloudflare/react-router.d.ts.map +1 -0
  67. package/lib/cloudflare/react-router.js +29 -0
  68. package/lib/cloudflare/react-router.js.map +1 -0
  69. package/lib/cloudflare/redwood.d.ts +4 -4
  70. package/lib/cloudflare/route.d.ts +4 -4
  71. package/lib/cloudflare/tanstack-start.d.ts +4 -4
  72. package/lib/cloudflare/user.d.ts +2 -2
  73. package/lib/cloudflare/vectorize-index.d.ts +3 -3
  74. package/lib/cloudflare/vectorize-metadata-index.d.ts +4 -4
  75. package/lib/cloudflare/vite.d.ts +4 -4
  76. package/lib/cloudflare/website.d.ts +3 -3
  77. package/lib/cloudflare/website.d.ts.map +1 -1
  78. package/lib/cloudflare/website.js +30 -35
  79. package/lib/cloudflare/website.js.map +1 -1
  80. package/lib/cloudflare/worker-assets.d.ts +3 -3
  81. package/lib/cloudflare/worker-metadata.d.ts +5 -5
  82. package/lib/cloudflare/worker-stub.d.ts +3 -3
  83. package/lib/cloudflare/worker.d.ts +12 -11
  84. package/lib/cloudflare/worker.d.ts.map +1 -1
  85. package/lib/cloudflare/worker.js +2 -1
  86. package/lib/cloudflare/worker.js.map +1 -1
  87. package/lib/cloudflare/workflow.d.ts +2 -2
  88. package/lib/cloudflare/wrangler.json.d.ts +13 -2
  89. package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
  90. package/lib/cloudflare/wrangler.json.js +1 -0
  91. package/lib/cloudflare/wrangler.json.js.map +1 -1
  92. package/lib/cloudflare/zone.d.ts +4 -4
  93. package/lib/context.d.ts +3 -3
  94. package/lib/destroy.d.ts +2 -2
  95. package/lib/dns/import-dns.d.ts +3 -3
  96. package/lib/dns/index.d.ts +2 -2
  97. package/lib/esbuild/bundle.d.ts +2 -2
  98. package/lib/esbuild/index.d.ts +1 -1
  99. package/lib/fs/copy-file.d.ts +2 -2
  100. package/lib/fs/file-system-state-store.d.ts +2 -2
  101. package/lib/fs/file.d.ts +5 -5
  102. package/lib/fs/folder.d.ts +2 -2
  103. package/lib/fs/index.d.ts +14 -14
  104. package/lib/fs/static-astro-file.d.ts +1 -1
  105. package/lib/fs/static-css-file.d.ts +1 -1
  106. package/lib/fs/static-html-file.d.ts +1 -1
  107. package/lib/fs/static-json-file.d.ts +1 -1
  108. package/lib/fs/static-text-file.d.ts +1 -1
  109. package/lib/fs/static-typescript-file.d.ts +1 -1
  110. package/lib/fs/static-vue-file.d.ts +1 -1
  111. package/lib/fs/static-yaml-file.d.ts +1 -1
  112. package/lib/github/index.d.ts +2 -2
  113. package/lib/github/repository-environment.d.ts +2 -2
  114. package/lib/github/secret.d.ts +3 -3
  115. package/lib/index.d.ts +10 -10
  116. package/lib/internal/docs/providers.d.ts +2 -2
  117. package/lib/neon/api.d.ts +1 -1
  118. package/lib/neon/index.d.ts +3 -3
  119. package/lib/neon/project.d.ts +4 -4
  120. package/lib/os/exec.d.ts +2 -2
  121. package/lib/os/index.d.ts +1 -1
  122. package/lib/resource.d.ts +2 -2
  123. package/lib/runtime/bind.d.ts +3 -3
  124. package/lib/runtime/global.d.ts +1 -1
  125. package/lib/runtime/state.d.ts +1 -1
  126. package/lib/scope.d.ts +3 -3
  127. package/lib/sentry/api.d.ts +1 -1
  128. package/lib/sentry/client-key.d.ts +3 -3
  129. package/lib/sentry/index.d.ts +4 -4
  130. package/lib/sentry/project.d.ts +3 -3
  131. package/lib/sentry/team.d.ts +3 -3
  132. package/lib/serde.d.ts +3 -3
  133. package/lib/state.d.ts +2 -2
  134. package/lib/stripe/index.d.ts +4 -4
  135. package/lib/stripe/index.d.ts.map +1 -1
  136. package/lib/stripe/index.js +1 -1
  137. package/lib/stripe/index.js.map +1 -1
  138. package/lib/stripe/meter.d.ts +2 -2
  139. package/lib/stripe/price.d.ts +2 -2
  140. package/lib/stripe/product.d.ts +2 -2
  141. package/lib/stripe/webhook.d.ts +2 -2
  142. package/lib/test/bun.d.ts +3 -3
  143. package/lib/upstash/api.d.ts +1 -1
  144. package/lib/upstash/index.d.ts +3 -3
  145. package/lib/upstash/redis.d.ts +4 -4
  146. package/lib/vercel/api.d.ts +1 -1
  147. package/lib/vercel/index.d.ts +3 -3
  148. package/lib/vercel/project-domain.d.ts +3 -3
  149. package/lib/vercel/project.d.ts +4 -4
  150. package/lib/web/astro.d.ts +2 -2
  151. package/lib/web/shadcn-component.d.ts +2 -2
  152. package/lib/web/shadcn.d.ts +3 -3
  153. package/lib/web/tailwind.d.ts +2 -2
  154. package/lib/web/vite.d.ts +2 -2
  155. package/lib/web/vitepress/config.d.ts +1 -1
  156. package/lib/web/vitepress/custom-theme.d.ts +4 -4
  157. package/lib/web/vitepress/dependencies.d.ts +2 -2
  158. package/lib/web/vitepress/home-page.d.ts +3 -3
  159. package/lib/web/vitepress/index.d.ts +5 -5
  160. package/lib/web/vitepress/vitepress.d.ts +2 -2
  161. package/package.json +7 -7
  162. package/src/ai/astro-file.ts +5 -5
  163. package/src/ai/client.ts +1 -1
  164. package/src/ai/css-file.ts +5 -5
  165. package/src/ai/data.ts +5 -5
  166. package/src/ai/document.ts +5 -5
  167. package/src/ai/html-file.ts +5 -5
  168. package/src/ai/index.ts +10 -10
  169. package/src/ai/json-file.ts +6 -6
  170. package/src/ai/typescript-file.ts +5 -5
  171. package/src/ai/vue-file.ts +5 -5
  172. package/src/ai/yaml-file.ts +6 -6
  173. package/src/alchemy.ts +9 -9
  174. package/src/apply.ts +6 -6
  175. package/src/aws/bucket.ts +3 -3
  176. package/src/aws/control/client.ts +1 -1
  177. package/src/aws/control/error.ts +1 -1
  178. package/src/aws/control/index.ts +4 -4
  179. package/src/aws/control/proxy.ts +1 -1
  180. package/src/aws/control/resource.ts +5 -5
  181. package/src/aws/credentials.ts +1 -1
  182. package/src/aws/function.ts +4 -4
  183. package/src/aws/index.ts +9 -9
  184. package/src/aws/oidc/github-oidc-provider.ts +1 -1
  185. package/src/aws/oidc/index.ts +2 -2
  186. package/src/aws/oidc/oidc-provider.ts +3 -3
  187. package/src/aws/policy-attachment.ts +3 -3
  188. package/src/aws/policy.ts +2 -2
  189. package/src/aws/queue.ts +2 -2
  190. package/src/aws/role.ts +4 -4
  191. package/src/aws/ses.ts +3 -3
  192. package/src/aws/table.ts +4 -4
  193. package/src/cloudflare/account-api-token.ts +7 -7
  194. package/src/cloudflare/account-id.ts +1 -1
  195. package/src/cloudflare/ai-gateway.ts +6 -6
  196. package/src/cloudflare/api.ts +5 -5
  197. package/src/cloudflare/assets.ts +3 -3
  198. package/src/cloudflare/auth.ts +1 -1
  199. package/src/cloudflare/bindings.ts +18 -18
  200. package/src/cloudflare/bound.ts +16 -16
  201. package/src/cloudflare/bucket.ts +7 -7
  202. package/src/cloudflare/bundle/bundle-worker.ts +8 -8
  203. package/src/cloudflare/bundle/local-dev-cloudflare-shim.ts +1 -1
  204. package/src/cloudflare/bundle/nodejs-compat.ts +1 -1
  205. package/src/cloudflare/custom-domain.ts +5 -5
  206. package/src/cloudflare/d1-clone.ts +3 -3
  207. package/src/cloudflare/d1-database.ts +7 -7
  208. package/src/cloudflare/d1-export.ts +1 -1
  209. package/src/cloudflare/d1-import.ts +1 -1
  210. package/src/cloudflare/d1-migrations.ts +2 -2
  211. package/src/cloudflare/dns-records.ts +5 -5
  212. package/src/cloudflare/durable-object-namespace.ts +1 -1
  213. package/src/cloudflare/event-source.ts +2 -2
  214. package/src/cloudflare/hyperdrive.ts +7 -7
  215. package/src/cloudflare/index.ts +40 -39
  216. package/src/cloudflare/kv-namespace.ts +7 -7
  217. package/src/cloudflare/nuxt.ts +6 -5
  218. package/src/cloudflare/permission-groups.ts +3 -3
  219. package/src/cloudflare/pipeline.ts +7 -7
  220. package/src/cloudflare/queue-consumer.ts +5 -5
  221. package/src/cloudflare/queue.ts +6 -6
  222. package/src/cloudflare/r2-rest-state-store.ts +8 -8
  223. package/src/cloudflare/react-router.ts +45 -0
  224. package/src/cloudflare/redwood.ts +4 -4
  225. package/src/cloudflare/route.ts +5 -5
  226. package/src/cloudflare/tanstack-start.ts +4 -4
  227. package/src/cloudflare/user.ts +3 -3
  228. package/src/cloudflare/vectorize-index.ts +6 -6
  229. package/src/cloudflare/vectorize-metadata-index.ts +5 -5
  230. package/src/cloudflare/vite.ts +4 -4
  231. package/src/cloudflare/website.ts +42 -48
  232. package/src/cloudflare/worker-assets.ts +4 -4
  233. package/src/cloudflare/worker-metadata.ts +7 -7
  234. package/src/cloudflare/worker-stub.ts +4 -4
  235. package/src/cloudflare/worker.ts +36 -33
  236. package/src/cloudflare/workflow.ts +3 -3
  237. package/src/cloudflare/wrangler.json.ts +17 -2
  238. package/src/cloudflare/zone.ts +5 -5
  239. package/src/context.ts +4 -4
  240. package/src/destroy.ts +4 -4
  241. package/src/dns/import-dns.ts +3 -3
  242. package/src/dns/index.ts +2 -2
  243. package/src/esbuild/bundle.ts +2 -2
  244. package/src/esbuild/index.ts +1 -1
  245. package/src/fs/copy-file.ts +3 -3
  246. package/src/fs/file-system-state-store.ts +5 -5
  247. package/src/fs/file.ts +7 -7
  248. package/src/fs/folder.ts +3 -3
  249. package/src/fs/index.ts +14 -14
  250. package/src/fs/static-astro-file.ts +1 -1
  251. package/src/fs/static-css-file.ts +1 -1
  252. package/src/fs/static-html-file.ts +1 -1
  253. package/src/fs/static-json-file.ts +1 -1
  254. package/src/fs/static-text-file.ts +1 -1
  255. package/src/fs/static-typescript-file.ts +1 -1
  256. package/src/fs/static-vue-file.ts +1 -1
  257. package/src/fs/static-yaml-file.ts +1 -1
  258. package/src/github/index.ts +2 -2
  259. package/src/github/repository-environment.ts +3 -3
  260. package/src/github/secret.ts +4 -4
  261. package/src/index.ts +10 -10
  262. package/src/internal/docs/providers.ts +4 -4
  263. package/src/neon/api.ts +2 -2
  264. package/src/neon/index.ts +3 -3
  265. package/src/neon/project.ts +6 -6
  266. package/src/os/exec.ts +2 -2
  267. package/src/os/index.ts +1 -1
  268. package/src/resource.ts +3 -3
  269. package/src/runtime/bind.ts +7 -7
  270. package/src/runtime/global.ts +1 -1
  271. package/src/runtime/state.ts +1 -1
  272. package/src/scope.ts +5 -5
  273. package/src/secret.ts +1 -1
  274. package/src/sentry/api.ts +2 -2
  275. package/src/sentry/client-key.ts +4 -4
  276. package/src/sentry/index.ts +4 -4
  277. package/src/sentry/project.ts +4 -4
  278. package/src/sentry/team.ts +4 -4
  279. package/src/serde.ts +4 -4
  280. package/src/state.ts +3 -3
  281. package/src/stripe/index.ts +4 -4
  282. package/src/stripe/meter.ts +2 -2
  283. package/src/stripe/price.ts +2 -2
  284. package/src/stripe/product.ts +2 -2
  285. package/src/stripe/webhook.ts +2 -2
  286. package/src/test/bun.ts +5 -5
  287. package/src/upstash/api.ts +1 -1
  288. package/src/upstash/index.ts +3 -3
  289. package/src/upstash/redis.ts +6 -6
  290. package/src/vercel/api.ts +2 -2
  291. package/src/vercel/index.ts +3 -3
  292. package/src/vercel/project-domain.ts +4 -4
  293. package/src/vercel/project.ts +4 -4
  294. package/src/web/astro.ts +7 -7
  295. package/src/web/shadcn-component.ts +3 -3
  296. package/src/web/shadcn.ts +6 -6
  297. package/src/web/tailwind.ts +4 -4
  298. package/src/web/vite.ts +8 -8
  299. package/src/web/vitepress/config.ts +1 -1
  300. package/src/web/vitepress/custom-theme.ts +10 -10
  301. package/src/web/vitepress/dependencies.ts +2 -2
  302. package/src/web/vitepress/home-page.ts +4 -4
  303. package/src/web/vitepress/index.ts +5 -5
  304. package/src/web/vitepress/vitepress.ts +7 -7
  305. package/lib/runtime/shims.d.ts +0 -6
  306. package/lib/runtime/shims.d.ts.map +0 -1
  307. package/lib/runtime/shims.js +0 -27
  308. package/lib/runtime/shims.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import prettier from "prettier";
2
- import type { Context } from "../context.js";
3
- import { Resource } from "../resource.js";
4
- import type { Secret } from "../secret.js";
5
- import { type ModelConfig } from "./client.js";
2
+ import type { Context } from "../context.ts";
3
+ import { Resource } from "../resource.ts";
4
+ import type { Secret } from "../secret.ts";
5
+ import { type ModelConfig } from "./client.ts";
6
6
  /**
7
7
  * Properties for creating or updating an AstroFile
8
8
  */
@@ -1,4 +1,4 @@
1
- import type { Secret } from "../secret.js";
1
+ import type { Secret } from "../secret.ts";
2
2
  /**
3
3
  * Model configuration for AI operations
4
4
  */
@@ -1,7 +1,7 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type ModelConfig } from "./client.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type ModelConfig } from "./client.ts";
5
5
  /**
6
6
  * Properties for creating or updating a CSSFile
7
7
  */
package/lib/ai/data.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { type CoreMessage } from "ai";
2
2
  import type { JsonSchema, Type, type } from "arktype";
3
- import type { Context } from "../context.js";
4
- import { Resource } from "../resource.js";
5
- import type { Secret } from "../secret.js";
6
- import { type ModelConfig } from "./client.js";
3
+ import type { Context } from "../context.ts";
4
+ import { Resource } from "../resource.ts";
5
+ import type { Secret } from "../secret.ts";
6
+ import { type ModelConfig } from "./client.ts";
7
7
  /**
8
8
  * Properties for creating or updating an AI Object
9
9
  */
@@ -1,9 +1,9 @@
1
1
  import { type CoreMessage } from "ai";
2
- import type { Context } from "../context.js";
3
- import { StaticTextFile } from "../fs/static-text-file.js";
4
- import { Resource } from "../resource.js";
5
- import type { Secret } from "../secret.js";
6
- import { type ModelConfig } from "./client.js";
2
+ import type { Context } from "../context.ts";
3
+ import { StaticTextFile } from "../fs/static-text-file.ts";
4
+ import { Resource } from "../resource.ts";
5
+ import type { Secret } from "../secret.ts";
6
+ import { type ModelConfig } from "./client.ts";
7
7
  /**
8
8
  * Properties for creating or updating a Document
9
9
  */
@@ -1,7 +1,7 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type ModelConfig } from "./client.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type ModelConfig } from "./client.ts";
5
5
  /**
6
6
  * Properties for creating or updating an HTMLFile
7
7
  */
package/lib/ai/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from "./ark.js";
2
- export * from "./astro-file.js";
3
- export * from "./css-file.js";
4
- export * from "./data.js";
5
- export * from "./document.js";
6
- export * from "./html-file.js";
7
- export * from "./json-file.js";
8
- export * from "./typescript-file.js";
9
- export * from "./vue-file.js";
10
- export * from "./yaml-file.js";
1
+ export * from "./ark.ts";
2
+ export * from "./astro-file.ts";
3
+ export * from "./css-file.ts";
4
+ export * from "./data.ts";
5
+ export * from "./document.ts";
6
+ export * from "./html-file.ts";
7
+ export * from "./json-file.ts";
8
+ export * from "./typescript-file.ts";
9
+ export * from "./vue-file.ts";
10
+ export * from "./yaml-file.ts";
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import type { JsonSchema, Type, type } from "arktype";
2
- import type { Context } from "../context.js";
3
- import { Resource } from "../resource.js";
4
- import type { Secret } from "../secret.js";
5
- import { type ModelConfig } from "./client.js";
2
+ import type { Context } from "../context.ts";
3
+ import { Resource } from "../resource.ts";
4
+ import type { Secret } from "../secret.ts";
5
+ import { type ModelConfig } from "./client.ts";
6
6
  /**
7
7
  * Properties for creating or updating a JSONFile
8
8
  */
@@ -1,7 +1,7 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type ModelConfig } from "./client.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type ModelConfig } from "./client.ts";
5
5
  /**
6
6
  * Properties for creating or updating a TypeScriptFile
7
7
  */
@@ -1,7 +1,7 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type ModelConfig } from "./client.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type ModelConfig } from "./client.ts";
5
5
  /**
6
6
  * Properties for creating or updating a VueFile
7
7
  */
@@ -1,8 +1,8 @@
1
1
  import type { JsonSchema, Type, type } from "arktype";
2
- import type { Context } from "../context.js";
3
- import { Resource } from "../resource.js";
4
- import type { Secret } from "../secret.js";
5
- import { type ModelConfig } from "./client.js";
2
+ import type { Context } from "../context.ts";
3
+ import { Resource } from "../resource.ts";
4
+ import type { Secret } from "../secret.ts";
5
+ import { type ModelConfig } from "./client.ts";
6
6
  /**
7
7
  * Properties for creating or updating a YAMLFile
8
8
  */
package/lib/alchemy.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { destroy } from "./destroy.js";
2
- import { env } from "./env.js";
3
- import { Scope } from "./scope.js";
4
- import { secret } from "./secret.js";
5
- import type { StateStoreType } from "./state.js";
1
+ import { destroy } from "./destroy.ts";
2
+ import { env } from "./env.ts";
3
+ import { Scope } from "./scope.ts";
4
+ import { secret } from "./secret.ts";
5
+ import type { StateStoreType } from "./state.ts";
6
6
  /**
7
7
  * Type alias for semantic highlighting of `alchemy` as a type keyword
8
8
  */
package/lib/apply.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { type PendingResource, type Resource, type ResourceProps } from "./resource.js";
2
- import { Scope } from "./scope.js";
1
+ import { type PendingResource, type Resource, type ResourceProps } from "./resource.ts";
2
+ import { Scope } from "./scope.ts";
3
3
  export interface ApplyOptions {
4
4
  quiet?: boolean;
5
5
  alwaysUpdate?: boolean;
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating an S3 bucket
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { ProgressEvent } from "./client.js";
1
+ import type { ProgressEvent } from "./client.ts";
2
2
  /**
3
3
  * Error thrown by Cloud Control API operations
4
4
  */
@@ -1,6 +1,6 @@
1
- export * from "./client.js";
2
- export * from "./proxy.js";
3
- export * from "./resource.js";
4
- import { AWS } from "./proxy.js";
1
+ export * from "./client.ts";
2
+ export * from "./proxy.ts";
3
+ export * from "./resource.ts";
4
+ import { AWS } from "./proxy.ts";
5
5
  export default AWS;
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { Context } from "../../context.js";
2
- import { Resource } from "../../resource.js";
1
+ import type { Context } from "../../context.ts";
2
+ import { Resource } from "../../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating a Cloud Control resource
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { Secret } from "../secret.js";
1
+ import type { Secret } from "../secret.ts";
2
2
  export interface AwsCredentials {
3
3
  accessKeyId: Secret;
4
4
  secretAccessKey: Secret;
@@ -1,7 +1,7 @@
1
1
  import { Architecture, Runtime } from "@aws-sdk/client-lambda";
2
- import type { Context } from "../context.js";
3
- import type { Bundle } from "../esbuild/bundle.js";
4
- import { Resource } from "../resource.js";
2
+ import type { Context } from "../context.ts";
3
+ import type { Bundle } from "../esbuild/bundle.ts";
4
+ import { Resource } from "../resource.ts";
5
5
  /**
6
6
  * Properties for creating or updating a Lambda function
7
7
  */
@@ -1,10 +1,10 @@
1
- export * from "./account-id.js";
2
- export * from "./bucket.js";
3
- export * from "./function.js";
4
- export * from "./policy-attachment.js";
5
- export * from "./policy.js";
6
- export * from "./queue.js";
7
- export * from "./role.js";
8
- export * from "./ses.js";
9
- export * from "./table.js";
1
+ export * from "./account-id.ts";
2
+ export * from "./bucket.ts";
3
+ export * from "./function.ts";
4
+ export * from "./policy-attachment.ts";
5
+ export * from "./policy.ts";
6
+ export * from "./queue.ts";
7
+ export * from "./role.ts";
8
+ export * from "./ses.ts";
9
+ export * from "./table.ts";
10
10
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { OIDCProvider, type OIDCProviderProps } from "./oidc-provider.js";
1
+ import { OIDCProvider, type OIDCProviderProps } from "./oidc-provider.ts";
2
2
  /**
3
3
  * Properties for configuring GitHub-specific OIDC provider
4
4
  * Simplified version of OIDCProviderProps that omits the thumbprint
@@ -1,3 +1,3 @@
1
- export * from "./github-oidc-provider.js";
2
- export * from "./oidc-provider.js";
1
+ export * from "./github-oidc-provider.ts";
2
+ export * from "./oidc-provider.ts";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,5 @@
1
- import type { Context } from "../../context.js";
2
- import { Resource } from "../../resource.js";
1
+ import type { Context } from "../../context.ts";
2
+ import { Resource } from "../../resource.ts";
3
3
  /**
4
4
  * Properties for configuring an AWS OIDC provider for GitHub Actions
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating a policy attachment
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Type of effect for a policy statement
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating an SQS queue
5
5
  */
package/lib/aws/role.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { PolicyDocument } from "./policy.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { PolicyDocument } from "./policy.ts";
4
4
  /**
5
5
  * Properties for creating or updating an IAM role
6
6
  */
package/lib/aws/ses.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type DeliveryOptions, type ReputationOptions, type SendingOptions, type SuppressionOptions, type TrackingOptions } from "@aws-sdk/client-sesv2";
2
- import type { Context } from "../context.js";
3
- import { Resource } from "../resource.js";
2
+ import type { Context } from "../context.ts";
3
+ import { Resource } from "../resource.ts";
4
4
  /**
5
5
  * Properties for configuring AWS SES resources
6
6
  */
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating a DynamoDB table
5
5
  */
@@ -1,8 +1,8 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type CloudflareApiOptions } from "./api.js";
5
- import { type PermissionGroupName } from "./permission-groups.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type CloudflareApiOptions } from "./api.ts";
5
+ import { type PermissionGroupName } from "./permission-groups.ts";
6
6
  /**
7
7
  * Permission group for a token policy
8
8
  */
@@ -1,4 +1,4 @@
1
- import { type CloudflareApiOptions } from "./api.js";
1
+ import { type CloudflareApiOptions } from "./api.ts";
2
2
  /**
3
3
  * Options for getting a Cloudflare account ID
4
4
  */
@@ -1,6 +1,6 @@
1
- import { Resource } from "../resource.js";
2
- import { type CloudflareApiOptions } from "./api.js";
3
- import type { Bound } from "./bound.js";
1
+ import { Resource } from "../resource.ts";
2
+ import { type CloudflareApiOptions } from "./api.ts";
3
+ import type { Bound } from "./bound.ts";
4
4
  /**
5
5
  * Properties for creating or updating a Cloudflare AI Gateway.
6
6
  */
@@ -1,5 +1,5 @@
1
- import type { Secret } from "../secret.js";
2
- import { type CloudflareAuthOptions } from "./auth.js";
1
+ import type { Secret } from "../secret.ts";
2
+ import { type CloudflareAuthOptions } from "./auth.ts";
3
3
  /**
4
4
  * Options for Cloudflare API requests
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
3
  /**
4
4
  * Properties for creating or updating Assets
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { Secret } from "../secret.js";
1
+ import type { Secret } from "../secret.ts";
2
2
  /**
3
3
  * Authentication options for Cloudflare API
4
4
  */
@@ -3,24 +3,24 @@
3
3
  * Based on Cloudflare API documentation:
4
4
  * https://developers.cloudflare.com/api/resources/workers/subresources/scripts/methods/update/
5
5
  */
6
- import type { Secret } from "../secret.js";
7
- import type { AiGatewayResource } from "./ai-gateway.js";
8
- import type { Ai } from "./ai.js";
9
- import type { AnalyticsEngineDataset } from "./analytics-engine.js";
10
- import type { Assets } from "./assets.js";
11
- import type { Bound } from "./bound.js";
12
- import type { BrowserRendering } from "./browser-rendering.js";
13
- import type { R2BucketResource } from "./bucket.js";
14
- import type { D1DatabaseResource } from "./d1-database.js";
15
- import type { DurableObjectNamespace } from "./durable-object-namespace.js";
16
- import type { HyperdriveResource } from "./hyperdrive.js";
17
- import type { KVNamespaceResource } from "./kv-namespace.js";
18
- import type { PipelineResource } from "./pipeline.js";
19
- import type { QueueResource } from "./queue.js";
20
- import type { VectorizeIndexResource } from "./vectorize-index.js";
21
- import type { WorkerStub } from "./worker-stub.js";
22
- import type { Worker } from "./worker.js";
23
- import type { Workflow } from "./workflow.js";
6
+ import type { Secret } from "../secret.ts";
7
+ import type { AiGatewayResource } from "./ai-gateway.ts";
8
+ import type { Ai } from "./ai.ts";
9
+ import type { AnalyticsEngineDataset } from "./analytics-engine.ts";
10
+ import type { Assets } from "./assets.ts";
11
+ import type { Bound } from "./bound.ts";
12
+ import type { BrowserRendering } from "./browser-rendering.ts";
13
+ import type { R2BucketResource } from "./bucket.ts";
14
+ import type { D1DatabaseResource } from "./d1-database.ts";
15
+ import type { DurableObjectNamespace } from "./durable-object-namespace.ts";
16
+ import type { HyperdriveResource } from "./hyperdrive.ts";
17
+ import type { KVNamespaceResource } from "./kv-namespace.ts";
18
+ import type { PipelineResource } from "./pipeline.ts";
19
+ import type { QueueResource } from "./queue.ts";
20
+ import type { VectorizeIndexResource } from "./vectorize-index.ts";
21
+ import type { WorkerStub } from "./worker-stub.ts";
22
+ import type { Worker } from "./worker.ts";
23
+ import type { Workflow } from "./workflow.ts";
24
24
  export type Bindings = {
25
25
  [bindingName: string]: Binding;
26
26
  };
@@ -1,20 +1,20 @@
1
1
  import type { Pipeline } from "cloudflare:pipelines";
2
- import type { Secret } from "../secret.js";
3
- import type { AiGatewayResource as _AiGateway } from "./ai-gateway.js";
4
- import type { Ai as _Ai } from "./ai.js";
5
- import type { AnalyticsEngineDataset as _AnalyticsEngineDataset } from "./analytics-engine.js";
6
- import type { Assets } from "./assets.js";
7
- import type { Binding, Json, Self } from "./bindings.js";
8
- import type { BrowserRendering } from "./browser-rendering.js";
9
- import type { R2BucketResource as _R2Bucket } from "./bucket.js";
10
- import type { D1DatabaseResource } from "./d1-database.js";
11
- import type { DurableObjectNamespace as _DurableObjectNamespace } from "./durable-object-namespace.js";
12
- import type { HyperdriveResource as _Hyperdrive } from "./hyperdrive.js";
13
- import type { PipelineResource as _Pipeline } from "./pipeline.js";
14
- import type { QueueResource as _Queue } from "./queue.js";
15
- import type { VectorizeIndexResource as _VectorizeIndex } from "./vectorize-index.js";
16
- import type { Worker as _Worker } from "./worker.js";
17
- import type { Workflow as _Workflow } from "./workflow.js";
2
+ import type { Secret } from "../secret.ts";
3
+ import type { AiGatewayResource as _AiGateway } from "./ai-gateway.ts";
4
+ import type { Ai as _Ai } from "./ai.ts";
5
+ import type { AnalyticsEngineDataset as _AnalyticsEngineDataset } from "./analytics-engine.ts";
6
+ import type { Assets } from "./assets.ts";
7
+ import type { Binding, Json, Self } from "./bindings.ts";
8
+ import type { BrowserRendering } from "./browser-rendering.ts";
9
+ import type { R2BucketResource as _R2Bucket } from "./bucket.ts";
10
+ import type { D1DatabaseResource } from "./d1-database.ts";
11
+ import type { DurableObjectNamespace as _DurableObjectNamespace } from "./durable-object-namespace.ts";
12
+ import type { HyperdriveResource as _Hyperdrive } from "./hyperdrive.ts";
13
+ import type { PipelineResource as _Pipeline } from "./pipeline.ts";
14
+ import type { QueueResource as _Queue } from "./queue.ts";
15
+ import type { VectorizeIndexResource as _VectorizeIndex } from "./vectorize-index.ts";
16
+ import type { Worker as _Worker } from "./worker.ts";
17
+ import type { Workflow as _Workflow } from "./workflow.ts";
18
18
  export type Bound<T extends Binding> = T extends _DurableObjectNamespace<infer O> ? DurableObjectNamespace<O> : T extends {
19
19
  type: "kv_namespace";
20
20
  } ? KVNamespace : T extends _Worker<any, infer RPC> ? Service<RPC> & {
@@ -1,8 +1,8 @@
1
1
  import { AwsClient } from "aws4fetch";
2
- import { Resource } from "../resource.js";
3
- import type { Secret } from "../secret.js";
4
- import { type CloudflareApi } from "./api.js";
5
- import type { Bound } from "./bound.js";
2
+ import { Resource } from "../resource.ts";
3
+ import type { Secret } from "../secret.ts";
4
+ import { type CloudflareApi } from "./api.ts";
5
+ import type { Bound } from "./bound.ts";
6
6
  /**
7
7
  * Properties for creating or updating an R2 Bucket
8
8
  */
@@ -1,5 +1,5 @@
1
- import type { Bindings } from "../bindings.js";
2
- import type { WorkerProps } from "../worker.js";
1
+ import type { Bindings } from "../bindings.ts";
2
+ import type { WorkerProps } from "../worker.ts";
3
3
  export declare function bundleWorkerScript<B extends Bindings>(props: WorkerProps<B> & {
4
4
  entrypoint: string;
5
5
  compatibilityDate: string;
@@ -1,6 +1,6 @@
1
- import type { Context } from "../context.js";
2
- import { Resource } from "../resource.js";
3
- import { type CloudflareApiOptions } from "./api.js";
1
+ import type { Context } from "../context.ts";
2
+ import { Resource } from "../resource.ts";
3
+ import { type CloudflareApiOptions } from "./api.ts";
4
4
  /**
5
5
  * Properties for creating or updating a CustomDomain
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"custom-domain.js","sourceRoot":"","sources":["../../src/cloudflare/custom-domain.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAEL,mBAAmB,GAEpB,MAAM,UAAU,CAAC;AA8DlB;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,QAAQ,CAClC,0BAA0B,EAC1B,KAAK,WAEH,SAAiB,EAAE,sDAAsD;AACzE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,CAAC,wDAAwD,EAAE;YACtE,eAAe;YACf,gBAAgB;YAChB,eAAe;SAChB,CAAC,CAAC;QACH,MAAM,IAAI,KAAK,CACb,+CAA+C,cAAc,EAAE,CAChE,CAAC;IACJ,CAAC;IAED,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAEvB,6BAA6B;IAC7B,OAAO,OAAO,CAAC;QACb,GAAG,KAAK,EAAE,0BAA0B;QACpC,EAAE,EAAE,eAAe,EAAE,wBAAwB;QAC7C,WAAW,EAAE,gBAAgB,CAAC,WAAW,EAAE,iCAAiC;QAC5E,SAAS,EAAE,OAAO,CAAC,MAAM,EAAE,SAAS,IAAI,GAAG,EAAE,kCAAkC;QAC/E,SAAS,EACP,kBAAkB,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,SAAS,IAAI,GAAG,EAAE,8BAA8B;KACzG,CAAC,CAAC;AACL,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { CloudflareApi } from "./api.js";
2
- import { type ExportD1DatabaseOptions, type ExportD1DatabaseResult } from "./d1-export.js";
3
- import { type ImportD1DatabaseOptions, type ImportD1DatabaseResult } from "./d1-import.js";
1
+ import type { CloudflareApi } from "./api.ts";
2
+ import { type ExportD1DatabaseOptions, type ExportD1DatabaseResult } from "./d1-export.ts";
3
+ import { type ImportD1DatabaseOptions, type ImportD1DatabaseResult } from "./d1-import.ts";
4
4
  /**
5
5
  * Options for cloning a D1 database
6
6
  */
@@ -1,6 +1,6 @@
1
- import { Resource } from "../resource.js";
2
- import { type Bound } from "../runtime/bind.js";
3
- import { type CloudflareApi, type CloudflareApiOptions } from "./api.js";
1
+ import { Resource } from "../resource.ts";
2
+ import { type Bound } from "../runtime/bind.ts";
3
+ import { type CloudflareApi, type CloudflareApiOptions } from "./api.ts";
4
4
  /**
5
5
  * Properties for creating or updating a D1 Database
6
6
  */
@@ -1,4 +1,4 @@
1
- import type { CloudflareApi } from "./api.js";
1
+ import type { CloudflareApi } from "./api.ts";
2
2
  /**
3
3
  * Options for exporting a D1 database
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { CloudflareApi } from "./api.js";
1
+ import type { CloudflareApi } from "./api.ts";
2
2
  /**
3
3
  * Options for importing SQL into a D1 database
4
4
  */
@@ -1,4 +1,4 @@
1
- import type { CloudflareApi } from "./api.js";
1
+ import type { CloudflareApi } from "./api.ts";
2
2
  export interface D1MigrationOptions {
3
3
  migrationsFiles: Array<{
4
4
  id: string;
@@ -1,7 +1,7 @@
1
- import type { Context } from "../context.js";
2
- import type { DnsRecord as BaseDnsRecord, DnsRecordType, DnsRecordWithMetadata } from "../dns/record.js";
3
- import { Resource } from "../resource.js";
4
- import { type CloudflareApiOptions } from "./api.js";
1
+ import type { Context } from "../context.ts";
2
+ import type { DnsRecord as BaseDnsRecord, DnsRecordType, DnsRecordWithMetadata } from "../dns/record.ts";
3
+ import { Resource } from "../resource.ts";
4
+ import { type CloudflareApiOptions } from "./api.ts";
5
5
  /**
6
6
  * Properties for a DNS record
7
7
  */
@@ -1,4 +1,4 @@
1
- import type { Binding } from "./bindings.js";
1
+ import type { Binding } from "./bindings.ts";
2
2
  /**
3
3
  * Properties for creating a Durable Object Namespace
4
4
  */