Files
siphoned-valut/lib/connector-preview.d.ts
T
2026-10-12 23:20:56 +03:30

13 lines
433 B
TypeScript

declare module "virtual:sites-connector-preview" {
const binding: import("./connector-contract.mjs").ConnectorBinding;
export default binding;
}
// Only the local preview uses an environment binding. Hosted Sites receive the
// request-scoped capability through ctx.props.CONNECTORS in sites-worker.ts.
declare namespace Cloudflare {
interface Env {
CONNECTORS?: import("./connector-contract.mjs").ConnectorBinding;
}
}