sailfork / t3code-github / .repos/ alchemy-effect/ packages/ integration-tests/ test/ Cloudflare/ Flagship/ fixtures/ app.ts

import * as Cloudflare from "@alchemy.run/cloudflare";

/**
 * The Flagship app under test. Binding it (effect-style via
 * `FlagshipApp.bind(App)`, or declaratively via `env: { FLAGS: App }`)
 * registers the resource with the stack and wires the Worker's `flagship`
 * binding to the app's id.
 */
export const App = Cloudflare.Flagship.App("FlagshipTestApp", {
  name: "alchemy-test-flagship-binding",
});