alchemy 0.20.1 → 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.
- package/lib/ai/astro-file.d.ts +4 -4
- package/lib/ai/client.d.ts +1 -1
- package/lib/ai/css-file.d.ts +4 -4
- package/lib/ai/data.d.ts +4 -4
- package/lib/ai/document.d.ts +5 -5
- package/lib/ai/html-file.d.ts +4 -4
- package/lib/ai/index.d.ts +10 -10
- package/lib/ai/json-file.d.ts +4 -4
- package/lib/ai/typescript-file.d.ts +4 -4
- package/lib/ai/vue-file.d.ts +4 -4
- package/lib/ai/yaml-file.d.ts +4 -4
- package/lib/alchemy.d.ts +5 -5
- package/lib/apply.d.ts +2 -2
- package/lib/aws/bucket.d.ts +2 -2
- package/lib/aws/control/error.d.ts +1 -1
- package/lib/aws/control/index.d.ts +4 -4
- package/lib/aws/control/resource.d.ts +2 -2
- package/lib/aws/credentials.d.ts +1 -1
- package/lib/aws/function.d.ts +3 -3
- package/lib/aws/index.d.ts +9 -9
- package/lib/aws/oidc/github-oidc-provider.d.ts +1 -1
- package/lib/aws/oidc/index.d.ts +2 -2
- package/lib/aws/oidc/oidc-provider.d.ts +2 -2
- package/lib/aws/policy-attachment.d.ts +2 -2
- package/lib/aws/policy.d.ts +2 -2
- package/lib/aws/queue.d.ts +2 -2
- package/lib/aws/role.d.ts +3 -3
- package/lib/aws/ses.d.ts +2 -2
- package/lib/aws/table.d.ts +2 -2
- package/lib/cloudflare/account-api-token.d.ts +5 -5
- package/lib/cloudflare/account-id.d.ts +1 -1
- package/lib/cloudflare/ai-gateway.d.ts +3 -3
- package/lib/cloudflare/api.d.ts +2 -2
- package/lib/cloudflare/assets.d.ts +2 -2
- package/lib/cloudflare/auth.d.ts +1 -1
- package/lib/cloudflare/bindings.d.ts +18 -18
- package/lib/cloudflare/bound.d.ts +19 -16
- package/lib/cloudflare/bound.d.ts.map +1 -1
- package/lib/cloudflare/bucket.d.ts +4 -4
- package/lib/cloudflare/bundle/bundle-worker.d.ts +2 -2
- package/lib/cloudflare/custom-domain.d.ts +3 -3
- package/lib/cloudflare/custom-domain.js.map +1 -1
- package/lib/cloudflare/d1-clone.d.ts +3 -3
- package/lib/cloudflare/d1-database.d.ts +3 -3
- package/lib/cloudflare/d1-export.d.ts +1 -1
- package/lib/cloudflare/d1-import.d.ts +1 -1
- package/lib/cloudflare/d1-migrations.d.ts +1 -1
- package/lib/cloudflare/dns-records.d.ts +4 -4
- package/lib/cloudflare/durable-object-namespace.d.ts +1 -1
- package/lib/cloudflare/event-source.d.ts +2 -2
- package/lib/cloudflare/hyperdrive.d.ts +4 -4
- package/lib/cloudflare/index.d.ts +40 -39
- package/lib/cloudflare/index.d.ts.map +1 -1
- package/lib/cloudflare/index.js +1 -0
- package/lib/cloudflare/index.js.map +1 -1
- package/lib/cloudflare/kv-namespace.d.ts +3 -3
- package/lib/cloudflare/nuxt.d.ts +4 -4
- package/lib/cloudflare/nuxt.d.ts.map +1 -1
- package/lib/cloudflare/nuxt.js +2 -1
- package/lib/cloudflare/nuxt.js.map +1 -1
- package/lib/cloudflare/permission-groups.d.ts +3 -3
- package/lib/cloudflare/pipeline.d.ts +4 -4
- package/lib/cloudflare/queue-consumer.d.ts +4 -4
- package/lib/cloudflare/queue.d.ts +3 -3
- package/lib/cloudflare/r2-rest-state-store.d.ts +3 -3
- package/lib/cloudflare/react-router.d.ts +13 -0
- package/lib/cloudflare/react-router.d.ts.map +1 -0
- package/lib/cloudflare/react-router.js +29 -0
- package/lib/cloudflare/react-router.js.map +1 -0
- package/lib/cloudflare/redwood.d.ts +4 -4
- package/lib/cloudflare/route.d.ts +4 -4
- package/lib/cloudflare/tanstack-start.d.ts +4 -4
- package/lib/cloudflare/user.d.ts +2 -2
- package/lib/cloudflare/vectorize-index.d.ts +3 -3
- package/lib/cloudflare/vectorize-metadata-index.d.ts +4 -4
- package/lib/cloudflare/vite.d.ts +4 -4
- package/lib/cloudflare/website.d.ts +3 -3
- package/lib/cloudflare/website.d.ts.map +1 -1
- package/lib/cloudflare/website.js +30 -35
- package/lib/cloudflare/website.js.map +1 -1
- package/lib/cloudflare/worker-assets.d.ts +3 -3
- package/lib/cloudflare/worker-metadata.d.ts +6 -6
- package/lib/cloudflare/worker-metadata.d.ts.map +1 -1
- package/lib/cloudflare/worker-metadata.js +110 -26
- package/lib/cloudflare/worker-metadata.js.map +1 -1
- package/lib/cloudflare/worker-stub.d.ts +3 -3
- package/lib/cloudflare/worker.d.ts +26 -17
- package/lib/cloudflare/worker.d.ts.map +1 -1
- package/lib/cloudflare/worker.js +21 -16
- package/lib/cloudflare/worker.js.map +1 -1
- package/lib/cloudflare/workflow.d.ts +3 -1
- package/lib/cloudflare/workflow.d.ts.map +1 -1
- package/lib/cloudflare/workflow.js +3 -0
- package/lib/cloudflare/workflow.js.map +1 -1
- package/lib/cloudflare/wrangler.json.d.ts +13 -2
- package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
- package/lib/cloudflare/wrangler.json.js +5 -0
- package/lib/cloudflare/wrangler.json.js.map +1 -1
- package/lib/cloudflare/zone.d.ts +4 -4
- package/lib/context.d.ts +3 -3
- package/lib/destroy.d.ts +2 -2
- package/lib/dns/import-dns.d.ts +3 -3
- package/lib/dns/index.d.ts +2 -2
- package/lib/esbuild/bundle.d.ts +2 -2
- package/lib/esbuild/index.d.ts +1 -1
- package/lib/fs/copy-file.d.ts +2 -2
- package/lib/fs/file-system-state-store.d.ts +2 -2
- package/lib/fs/file.d.ts +5 -5
- package/lib/fs/folder.d.ts +2 -2
- package/lib/fs/index.d.ts +14 -14
- package/lib/fs/static-astro-file.d.ts +1 -1
- package/lib/fs/static-css-file.d.ts +1 -1
- package/lib/fs/static-html-file.d.ts +1 -1
- package/lib/fs/static-json-file.d.ts +1 -1
- package/lib/fs/static-text-file.d.ts +1 -1
- package/lib/fs/static-typescript-file.d.ts +1 -1
- package/lib/fs/static-vue-file.d.ts +1 -1
- package/lib/fs/static-yaml-file.d.ts +1 -1
- package/lib/github/index.d.ts +2 -2
- package/lib/github/repository-environment.d.ts +2 -2
- package/lib/github/secret.d.ts +3 -3
- package/lib/index.d.ts +10 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/internal/docs/providers.d.ts +2 -2
- package/lib/neon/api.d.ts +1 -1
- package/lib/neon/index.d.ts +3 -3
- package/lib/neon/project.d.ts +4 -4
- package/lib/os/exec.d.ts +2 -2
- package/lib/os/index.d.ts +1 -1
- package/lib/resource.d.ts +2 -2
- package/lib/runtime/bind.d.ts +3 -3
- package/lib/runtime/global.d.ts +1 -1
- package/lib/runtime/state.d.ts +1 -1
- package/lib/scope.d.ts +3 -3
- package/lib/sentry/api.d.ts +1 -1
- package/lib/sentry/client-key.d.ts +3 -3
- package/lib/sentry/index.d.ts +4 -4
- package/lib/sentry/project.d.ts +3 -3
- package/lib/sentry/team.d.ts +3 -3
- package/lib/serde.d.ts +3 -3
- package/lib/state.d.ts +2 -2
- package/lib/stripe/index.d.ts +4 -4
- package/lib/stripe/index.d.ts.map +1 -1
- package/lib/stripe/index.js +1 -1
- package/lib/stripe/index.js.map +1 -1
- package/lib/stripe/meter.d.ts +2 -2
- package/lib/stripe/price.d.ts +2 -2
- package/lib/stripe/product.d.ts +2 -2
- package/lib/stripe/webhook.d.ts +2 -2
- package/lib/test/bun.d.ts +3 -3
- package/lib/type.d.ts +6 -0
- package/lib/type.d.ts.map +1 -0
- package/lib/type.js +7 -0
- package/lib/type.js.map +1 -0
- package/lib/upstash/api.d.ts +1 -1
- package/lib/upstash/index.d.ts +3 -3
- package/lib/upstash/redis.d.ts +4 -4
- package/lib/vercel/api.d.ts +1 -1
- package/lib/vercel/index.d.ts +3 -3
- package/lib/vercel/project-domain.d.ts +3 -3
- package/lib/vercel/project.d.ts +4 -4
- package/lib/web/astro.d.ts +2 -2
- package/lib/web/shadcn-component.d.ts +2 -2
- package/lib/web/shadcn.d.ts +3 -3
- package/lib/web/tailwind.d.ts +2 -2
- package/lib/web/vite.d.ts +2 -2
- package/lib/web/vitepress/config.d.ts +1 -1
- package/lib/web/vitepress/custom-theme.d.ts +4 -4
- package/lib/web/vitepress/dependencies.d.ts +2 -2
- package/lib/web/vitepress/home-page.d.ts +3 -3
- package/lib/web/vitepress/index.d.ts +5 -5
- package/lib/web/vitepress/vitepress.d.ts +2 -2
- package/package.json +7 -7
- package/src/ai/astro-file.ts +5 -5
- package/src/ai/client.ts +1 -1
- package/src/ai/css-file.ts +5 -5
- package/src/ai/data.ts +5 -5
- package/src/ai/document.ts +5 -5
- package/src/ai/html-file.ts +5 -5
- package/src/ai/index.ts +10 -10
- package/src/ai/json-file.ts +6 -6
- package/src/ai/typescript-file.ts +5 -5
- package/src/ai/vue-file.ts +5 -5
- package/src/ai/yaml-file.ts +6 -6
- package/src/alchemy.ts +9 -9
- package/src/apply.ts +6 -6
- package/src/aws/bucket.ts +3 -3
- package/src/aws/control/client.ts +1 -1
- package/src/aws/control/error.ts +1 -1
- package/src/aws/control/index.ts +4 -4
- package/src/aws/control/proxy.ts +1 -1
- package/src/aws/control/resource.ts +5 -5
- package/src/aws/credentials.ts +1 -1
- package/src/aws/function.ts +4 -4
- package/src/aws/index.ts +9 -9
- package/src/aws/oidc/github-oidc-provider.ts +1 -1
- package/src/aws/oidc/index.ts +2 -2
- package/src/aws/oidc/oidc-provider.ts +3 -3
- package/src/aws/policy-attachment.ts +3 -3
- package/src/aws/policy.ts +2 -2
- package/src/aws/queue.ts +2 -2
- package/src/aws/role.ts +4 -4
- package/src/aws/ses.ts +3 -3
- package/src/aws/table.ts +4 -4
- package/src/cloudflare/account-api-token.ts +7 -7
- package/src/cloudflare/account-id.ts +1 -1
- package/src/cloudflare/ai-gateway.ts +6 -6
- package/src/cloudflare/api.ts +5 -5
- package/src/cloudflare/assets.ts +3 -3
- package/src/cloudflare/auth.ts +1 -1
- package/src/cloudflare/bindings.ts +18 -18
- package/src/cloudflare/bound.ts +60 -50
- package/src/cloudflare/bucket.ts +7 -7
- package/src/cloudflare/bundle/bundle-worker.ts +8 -8
- package/src/cloudflare/bundle/local-dev-cloudflare-shim.ts +1 -1
- package/src/cloudflare/bundle/nodejs-compat.ts +1 -1
- package/src/cloudflare/custom-domain.ts +5 -5
- package/src/cloudflare/d1-clone.ts +3 -3
- package/src/cloudflare/d1-database.ts +7 -7
- package/src/cloudflare/d1-export.ts +1 -1
- package/src/cloudflare/d1-import.ts +1 -1
- package/src/cloudflare/d1-migrations.ts +2 -2
- package/src/cloudflare/dns-records.ts +5 -5
- package/src/cloudflare/durable-object-namespace.ts +1 -1
- package/src/cloudflare/event-source.ts +2 -2
- package/src/cloudflare/hyperdrive.ts +7 -7
- package/src/cloudflare/index.ts +40 -39
- package/src/cloudflare/kv-namespace.ts +7 -7
- package/src/cloudflare/nuxt.ts +6 -5
- package/src/cloudflare/permission-groups.ts +3 -3
- package/src/cloudflare/pipeline.ts +7 -7
- package/src/cloudflare/queue-consumer.ts +5 -5
- package/src/cloudflare/queue.ts +6 -6
- package/src/cloudflare/r2-rest-state-store.ts +8 -8
- package/src/cloudflare/react-router.ts +45 -0
- package/src/cloudflare/redwood.ts +4 -4
- package/src/cloudflare/route.ts +5 -5
- package/src/cloudflare/tanstack-start.ts +4 -4
- package/src/cloudflare/user.ts +3 -3
- package/src/cloudflare/vectorize-index.ts +6 -6
- package/src/cloudflare/vectorize-metadata-index.ts +5 -5
- package/src/cloudflare/vite.ts +4 -4
- package/src/cloudflare/website.ts +42 -48
- package/src/cloudflare/worker-assets.ts +4 -4
- package/src/cloudflare/worker-metadata.ts +134 -43
- package/src/cloudflare/worker-stub.ts +4 -4
- package/src/cloudflare/worker.ts +169 -124
- package/src/cloudflare/workflow.ts +7 -2
- package/src/cloudflare/wrangler.json.ts +21 -2
- package/src/cloudflare/zone.ts +5 -5
- package/src/context.ts +4 -4
- package/src/destroy.ts +4 -4
- package/src/dns/import-dns.ts +3 -3
- package/src/dns/index.ts +2 -2
- package/src/esbuild/bundle.ts +2 -2
- package/src/esbuild/index.ts +1 -1
- package/src/fs/copy-file.ts +3 -3
- package/src/fs/file-system-state-store.ts +5 -5
- package/src/fs/file.ts +7 -7
- package/src/fs/folder.ts +3 -3
- package/src/fs/index.ts +14 -14
- package/src/fs/static-astro-file.ts +1 -1
- package/src/fs/static-css-file.ts +1 -1
- package/src/fs/static-html-file.ts +1 -1
- package/src/fs/static-json-file.ts +1 -1
- package/src/fs/static-text-file.ts +1 -1
- package/src/fs/static-typescript-file.ts +1 -1
- package/src/fs/static-vue-file.ts +1 -1
- package/src/fs/static-yaml-file.ts +1 -1
- package/src/github/index.ts +2 -2
- package/src/github/repository-environment.ts +3 -3
- package/src/github/secret.ts +4 -4
- package/src/index.ts +10 -9
- package/src/internal/docs/providers.ts +4 -4
- package/src/neon/api.ts +2 -2
- package/src/neon/index.ts +3 -3
- package/src/neon/project.ts +6 -6
- package/src/os/exec.ts +2 -2
- package/src/os/index.ts +1 -1
- package/src/resource.ts +3 -3
- package/src/runtime/bind.ts +7 -7
- package/src/runtime/global.ts +1 -1
- package/src/runtime/state.ts +1 -1
- package/src/scope.ts +5 -5
- package/src/secret.ts +1 -1
- package/src/sentry/api.ts +2 -2
- package/src/sentry/client-key.ts +4 -4
- package/src/sentry/index.ts +4 -4
- package/src/sentry/project.ts +4 -4
- package/src/sentry/team.ts +4 -4
- package/src/serde.ts +4 -4
- package/src/state.ts +3 -3
- package/src/stripe/index.ts +4 -4
- package/src/stripe/meter.ts +2 -2
- package/src/stripe/price.ts +2 -2
- package/src/stripe/product.ts +2 -2
- package/src/stripe/webhook.ts +2 -2
- package/src/test/bun.ts +5 -5
- package/src/type.ts +9 -0
- package/src/upstash/api.ts +1 -1
- package/src/upstash/index.ts +3 -3
- package/src/upstash/redis.ts +6 -6
- package/src/vercel/api.ts +2 -2
- package/src/vercel/index.ts +3 -3
- package/src/vercel/project-domain.ts +4 -4
- package/src/vercel/project.ts +4 -4
- package/src/web/astro.ts +7 -7
- package/src/web/shadcn-component.ts +3 -3
- package/src/web/shadcn.ts +6 -6
- package/src/web/tailwind.ts +4 -4
- package/src/web/vite.ts +8 -8
- package/src/web/vitepress/config.ts +1 -1
- package/src/web/vitepress/custom-theme.ts +10 -10
- package/src/web/vitepress/dependencies.ts +2 -2
- package/src/web/vitepress/home-page.ts +4 -4
- package/src/web/vitepress/index.ts +5 -5
- package/src/web/vitepress/vitepress.ts +7 -7
- package/lib/runtime/shims.d.ts +0 -6
- package/lib/runtime/shims.d.ts.map +0 -1
- package/lib/runtime/shims.js +0 -27
- package/lib/runtime/shims.js.map +0 -1
|
@@ -24,6 +24,7 @@ export const WranglerJson = Resource("cloudflare::WranglerJson", async function
|
|
|
24
24
|
// see: https://developers.cloudflare.com/workers/configuration/compatibility-dates/
|
|
25
25
|
compatibility_date: worker.compatibilityDate,
|
|
26
26
|
compatibility_flags: props.worker.compatibilityFlags,
|
|
27
|
+
assets: props.assets,
|
|
27
28
|
};
|
|
28
29
|
// Process bindings if they exist
|
|
29
30
|
if (worker.bindings) {
|
|
@@ -87,6 +88,10 @@ function processBindings(spec, bindings, eventSources, workerName) {
|
|
|
87
88
|
}
|
|
88
89
|
// Process each binding
|
|
89
90
|
for (const [bindingName, binding] of Object.entries(bindings)) {
|
|
91
|
+
if (typeof binding === "function") {
|
|
92
|
+
// this is only reachable in the
|
|
93
|
+
throw new Error(`Invalid binding ${bindingName} is a function`);
|
|
94
|
+
}
|
|
90
95
|
if (typeof binding === "string") {
|
|
91
96
|
// Plain text binding - add to vars
|
|
92
97
|
if (!spec.vars) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrangler.json.js","sourceRoot":"","sources":["../../src/cloudflare/wrangler.json.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC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,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IAClC,CAAC;IAED,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAChC,IAAI,CAAC,SAAS,GAAG,gBAAgB,CAAC;IACpC,CAAC;IAED,IAAI,kBAAkB,CAAC,MAAM,GAAG,CAAC,IAAI,WAAW,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC5D,IAAI,CAAC,UAAU,GAAG;YAChB;gBACE,GAAG,EAAE,IAAI;gBACT,kBAAkB;gBAClB,WAAW;aACZ;SACF,CAAC;IACJ,CAAC;IAED,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IAED,IAAI,uBAAuB,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACvC,IAAI,CAAC,yBAAyB,GAAG,uBAAuB,CAAC;IAC3D,CAAC;IAED,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;IAED,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACzB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;AACH,CAAC"}
|
package/lib/cloudflare/zone.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import { type CloudflareApiOptions } from "./api.
|
|
4
|
-
import type { AlwaysUseHTTPSValue, AutomaticHTTPSRewritesValue, BrotliValue, DevelopmentModeValue, EarlyHintsValue, EmailObfuscationValue, HTTP2Value, HTTP3Value, HotlinkProtectionValue, IPv6Value, MinTLSVersionValue, SSLValue, TLS13Value, WebSocketsValue, ZeroRTTValue } from "./zone-settings.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import { type CloudflareApiOptions } from "./api.ts";
|
|
4
|
+
import type { AlwaysUseHTTPSValue, AutomaticHTTPSRewritesValue, BrotliValue, DevelopmentModeValue, EarlyHintsValue, EmailObfuscationValue, HTTP2Value, HTTP3Value, HotlinkProtectionValue, IPv6Value, MinTLSVersionValue, SSLValue, TLS13Value, WebSocketsValue, ZeroRTTValue } from "./zone-settings.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Properties for creating or updating a Zone
|
|
7
7
|
*/
|
package/lib/context.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ResourceFQN, ResourceID, ResourceKind, type Resource, type ResourceProps } from "./resource.
|
|
2
|
-
import type { Scope } from "./scope.
|
|
3
|
-
import type { State } from "./state.
|
|
1
|
+
import { ResourceFQN, ResourceID, ResourceKind, type Resource, type ResourceProps } from "./resource.ts";
|
|
2
|
+
import type { Scope } from "./scope.ts";
|
|
3
|
+
import type { State } from "./state.ts";
|
|
4
4
|
export type Context<Out extends Resource, Props extends ResourceProps = ResourceProps> = CreateContext<Out> | UpdateContext<Out, Props> | DeleteContext<Out, Props>;
|
|
5
5
|
export interface CreateContext<Out extends Resource> extends BaseContext<Out> {
|
|
6
6
|
phase: "create";
|
package/lib/destroy.d.ts
CHANGED
package/lib/dns/import-dns.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import { type DnsRecordType } from "./record.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import { type DnsRecordType } from "./record.ts";
|
|
4
4
|
/**
|
|
5
5
|
* DNS record response structure from Cloudflare DNS API
|
|
6
6
|
* with both data (original) and content (for compatibility)
|
package/lib/dns/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./import-dns.
|
|
2
|
-
export * from "./record.
|
|
1
|
+
export * from "./import-dns.ts";
|
|
2
|
+
export * from "./record.ts";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/esbuild/bundle.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type esbuild from "esbuild";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating an esbuild bundle
|
|
6
6
|
*/
|
package/lib/esbuild/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./bundle.
|
|
1
|
+
export * from "./bundle.ts";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/fs/copy-file.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Scope } from "../scope.
|
|
2
|
-
import { type State, type StateStore } from "../state.
|
|
1
|
+
import type { Scope } from "../scope.ts";
|
|
2
|
+
import { type State, type StateStore } from "../state.ts";
|
|
3
3
|
export declare class FileSystemStateStore implements StateStore {
|
|
4
4
|
readonly scope: Scope;
|
|
5
5
|
readonly dir: string;
|
package/lib/fs/file.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { FileCollection } from "./file-collection.
|
|
4
|
-
import type { FileRef } from "./file-ref.
|
|
5
|
-
declare module "../alchemy.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { FileCollection } from "./file-collection.ts";
|
|
4
|
+
import type { FileRef } from "./file-ref.ts";
|
|
5
|
+
declare module "../alchemy.ts" {
|
|
6
6
|
interface Alchemy {
|
|
7
7
|
/**
|
|
8
8
|
* Creates a reference to a file in the filesystem.
|
package/lib/fs/folder.d.ts
CHANGED
package/lib/fs/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from "./copy-file.
|
|
2
|
-
export * from "./file-collection.
|
|
3
|
-
export * from "./file-ref.
|
|
4
|
-
export * from "./file-system-state-store.
|
|
5
|
-
export * from "./file.
|
|
6
|
-
export * from "./folder.
|
|
7
|
-
export * from "./static-astro-file.
|
|
8
|
-
export * from "./static-css-file.
|
|
9
|
-
export * from "./static-html-file.
|
|
10
|
-
export * from "./static-json-file.
|
|
11
|
-
export * from "./static-text-file.
|
|
12
|
-
export * from "./static-typescript-file.
|
|
13
|
-
export * from "./static-vue-file.
|
|
14
|
-
export * from "./static-yaml-file.
|
|
1
|
+
export * from "./copy-file.ts";
|
|
2
|
+
export * from "./file-collection.ts";
|
|
3
|
+
export * from "./file-ref.ts";
|
|
4
|
+
export * from "./file-system-state-store.ts";
|
|
5
|
+
export * from "./file.ts";
|
|
6
|
+
export * from "./folder.ts";
|
|
7
|
+
export * from "./static-astro-file.ts";
|
|
8
|
+
export * from "./static-css-file.ts";
|
|
9
|
+
export * from "./static-html-file.ts";
|
|
10
|
+
export * from "./static-json-file.ts";
|
|
11
|
+
export * from "./static-text-file.ts";
|
|
12
|
+
export * from "./static-typescript-file.ts";
|
|
13
|
+
export * from "./static-vue-file.ts";
|
|
14
|
+
export * from "./static-yaml-file.ts";
|
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/github/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./repository-environment.
|
|
2
|
-
export * from "./secret.
|
|
1
|
+
export * from "./repository-environment.ts";
|
|
2
|
+
export * from "./secret.ts";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/github/secret.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a GitHub Secret
|
|
6
6
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export type { AlchemyOptions } from "./alchemy.
|
|
2
|
-
export type * from "./context.
|
|
3
|
-
export * from "./resource.
|
|
4
|
-
export type * from "./scope.
|
|
5
|
-
export * from "./secret.
|
|
6
|
-
export * from "./serde.
|
|
7
|
-
export * from "./state.
|
|
8
|
-
export * from "./
|
|
9
|
-
|
|
1
|
+
export type { AlchemyOptions } from "./alchemy.ts";
|
|
2
|
+
export type * from "./context.ts";
|
|
3
|
+
export * from "./resource.ts";
|
|
4
|
+
export type * from "./scope.ts";
|
|
5
|
+
export * from "./secret.ts";
|
|
6
|
+
export * from "./serde.ts";
|
|
7
|
+
export * from "./state.ts";
|
|
8
|
+
export * from "./type.ts";
|
|
9
|
+
export * from "./util/ignore.ts";
|
|
10
|
+
import { alchemy } from "./alchemy.ts";
|
|
10
11
|
export default alchemy;
|
|
11
12
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,mBAAmB,cAAc,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,YAAY,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,eAAe,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,mBAAmB,cAAc,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,YAAY,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,eAAe,OAAO,CAAC"}
|
package/lib/index.js
CHANGED
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAE9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,eAAe,OAAO,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAE9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,eAAe,OAAO,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Document } from "../../ai/document.
|
|
2
|
-
import { Folder } from "../../fs/folder.
|
|
1
|
+
import { Document } from "../../ai/document.ts";
|
|
2
|
+
import { Folder } from "../../fs/folder.ts";
|
|
3
3
|
export interface DocsProps {
|
|
4
4
|
/**
|
|
5
5
|
* The output directory for the docs.
|
package/lib/neon/api.d.ts
CHANGED
package/lib/neon/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./api-error.
|
|
2
|
-
export * from "./api.
|
|
3
|
-
export * from "./project.
|
|
1
|
+
export * from "./api-error.ts";
|
|
2
|
+
export * from "./api.ts";
|
|
3
|
+
export * from "./project.ts";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/neon/project.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
4
|
-
import { type NeonApiOptions } from "./api.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
|
+
import { type NeonApiOptions } from "./api.ts";
|
|
5
5
|
/**
|
|
6
6
|
* A Neon region where projects can be provisioned
|
|
7
7
|
*/
|
package/lib/os/exec.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type SpawnOptions } from "node:child_process";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for executing a shell command
|
|
6
6
|
*/
|
package/lib/os/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./exec.
|
|
1
|
+
export * from "./exec.ts";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/resource.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Context } from "./context.
|
|
2
|
-
import { type Scope } from "./scope.
|
|
1
|
+
import type { Context } from "./context.ts";
|
|
2
|
+
import { type Scope } from "./scope.ts";
|
|
3
3
|
export declare const PROVIDERS: Map<ResourceKind, Provider<string, any>>;
|
|
4
4
|
export type DynamicResourceResolver = (typeName: string) => Provider | undefined;
|
|
5
5
|
/**
|
package/lib/runtime/bind.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Binding as CloudflareBinding } from "../cloudflare/bindings.
|
|
2
|
-
import type { Bound as CloudflareBound } from "../cloudflare/bound.
|
|
3
|
-
import { type Resource } from "../resource.
|
|
1
|
+
import type { Binding as CloudflareBinding } from "../cloudflare/bindings.ts";
|
|
2
|
+
import type { Bound as CloudflareBound } from "../cloudflare/bound.ts";
|
|
3
|
+
import { type Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Get a Resource's Binding from the Environment.
|
|
6
6
|
*/
|
package/lib/runtime/global.d.ts
CHANGED
package/lib/runtime/state.d.ts
CHANGED
package/lib/scope.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
2
|
-
import type { Phase } from "./alchemy.
|
|
3
|
-
import { ResourceID, type PendingResource } from "./resource.
|
|
4
|
-
import type { StateStore, StateStoreType } from "./state.
|
|
2
|
+
import type { Phase } from "./alchemy.ts";
|
|
3
|
+
import { ResourceID, type PendingResource } from "./resource.ts";
|
|
4
|
+
import type { StateStore, StateStoreType } from "./state.ts";
|
|
5
5
|
export type ScopeOptions = {
|
|
6
6
|
appName?: string;
|
|
7
7
|
stage?: string;
|
package/lib/sentry/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a ClientKey
|
|
6
6
|
*/
|
package/lib/sentry/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./api.
|
|
2
|
-
export * from "./client-key.
|
|
3
|
-
export * from "./project.
|
|
4
|
-
export * from "./team.
|
|
1
|
+
export * from "./api.ts";
|
|
2
|
+
export * from "./client-key.ts";
|
|
3
|
+
export * from "./project.ts";
|
|
4
|
+
export * from "./team.ts";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/sentry/project.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a Project
|
|
6
6
|
*/
|
package/lib/sentry/team.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a Team
|
|
6
6
|
*/
|
package/lib/serde.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ResourceFQN, type Resource } from "./resource.
|
|
2
|
-
import { Scope } from "./scope.
|
|
3
|
-
import { Secret } from "./secret.
|
|
1
|
+
import { ResourceFQN, type Resource } from "./resource.ts";
|
|
2
|
+
import { Scope } from "./scope.ts";
|
|
3
|
+
import { Secret } from "./secret.ts";
|
|
4
4
|
import type { Type } from "arktype";
|
|
5
5
|
export type Serialized<T> = T extends undefined | null | boolean | number | string | bigint ? T : T extends Type<any, any> ? {
|
|
6
6
|
"@schema": string;
|
package/lib/state.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Resource, type ResourceProps } from "./resource.
|
|
2
|
-
import { Scope } from "./scope.
|
|
1
|
+
import { type Resource, type ResourceProps } from "./resource.ts";
|
|
2
|
+
import { Scope } from "./scope.ts";
|
|
3
3
|
export type State<Kind extends string = string, Props extends ResourceProps | undefined = ResourceProps | undefined, Out extends Resource = Resource> = {
|
|
4
4
|
status: `creating` | `created` | `updating` | `updated` | `deleting` | `deleted`;
|
|
5
5
|
kind: Kind;
|
package/lib/stripe/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./
|
|
2
|
-
export * from "./
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./
|
|
1
|
+
export * from "./meter.ts";
|
|
2
|
+
export * from "./price.ts";
|
|
3
|
+
export * from "./product.ts";
|
|
4
|
+
export * from "./webhook.ts";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
package/lib/stripe/index.js
CHANGED
package/lib/stripe/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/stripe/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC"}
|
package/lib/stripe/meter.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Stripe from "stripe";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a Stripe Meter.
|
|
6
6
|
* Note: Nested objects like defaultAggregation, customerMapping, valueSettings
|
package/lib/stripe/price.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Stripe from "stripe";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for price recurring configuration
|
|
6
6
|
*/
|
package/lib/stripe/product.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Stripe from "stripe";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
type ProductType = Stripe.Product.Type;
|
|
5
5
|
/**
|
|
6
6
|
* Properties for creating a Stripe product
|
package/lib/stripe/webhook.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Stripe from "stripe";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { Resource } from "../resource.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
export type EnabledEvent = Stripe.WebhookEndpointUpdateParams.EnabledEvent;
|
|
5
5
|
/**
|
|
6
6
|
* Properties for creating a Stripe webhook endpoint
|
package/lib/test/bun.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Scope } from "../scope.
|
|
2
|
-
import type { StateStoreType } from "../state.
|
|
1
|
+
import { Scope } from "../scope.ts";
|
|
2
|
+
import type { StateStoreType } from "../state.ts";
|
|
3
3
|
/**
|
|
4
4
|
* Extend the Alchemy interface to include test functionality
|
|
5
5
|
*/
|
|
6
|
-
declare module "../alchemy.
|
|
6
|
+
declare module "../alchemy.ts" {
|
|
7
7
|
interface Alchemy {
|
|
8
8
|
test: typeof test;
|
|
9
9
|
}
|
package/lib/type.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC;AACrC;;GAEG;AACH,eAAO,MAAM,IAAI,EAEX,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,GAEhB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC"}
|