Files
rubberquack/config/stores.ts

20 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-06-29 12:06:18 +01:00
/**
* Single source of truth for the storefronts that get built, deployed and
* linked from the showcase headbar switcher.
*
* code NEXT_PUBLIC_STORE_CODE; the @store / shop-system id. Must match a
* config/store_<code>.ts file.
* label switcher tab label.
* worker the Cloudflare Worker this storefront deploys to.
* url public URL the switcher tab links to (each storefront is its own
* deployment). Override per environment as needed.
*/
export type StoreEntry = { code: string; label: string; worker: string; url: string };
export const stores: StoreEntry[] = [
{ code: 'executive', label: 'Executive', worker: 'rubberquack-executive', url: 'https://executive.rubberquack.dev' },
{ code: 'crypto', label: 'Crypto', worker: 'rubberquack-crypto', url: 'https://crypto.rubberquack.dev' },
{ code: 'supper', label: 'Supper', worker: 'rubberquack-supper', url: 'https://supper.rubberquack.dev' },
{ code: 'collector', label: 'Collector', worker: 'rubberquack-collector', url: 'https://collector.rubberquack.dev' },
];