worker-configuration.d.ts
This file
Path
apps/web/worker-configuration.d.ts
27 lines · 997 bytes · TypeScript
Last changed by
Merge infra/drop-demo into mainoscabrielbefore adoptionc49b6bf
History of this fileTake it
The walk stopped after 200 commits: lines older than 678c8b8 point at it.
Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
line 1why, one step back1/* eslint-disable */Merge infra/drop-demo into mainoscabrielbefore adoptionc49b6bf
line 2why, one step back2// Generated by Wrangler by running `wrangler types --include-runtime=false --strict-vars=false` (hash: 481cae1d12dc617f3b372080caafe1b8)Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 3–4why, one step back3interface __BaseEnv_Env {4 PUBLIC_PLATFORM_URL: string;Merge infra/drop-demo into mainoscabrielbefore adoptionc49b6bf
line 5why, one step back5 PLATFORM: Fetcher /* platform-dev-oscabriel */ | Fetcher /* platform-prod */ | Fetcher /* platform */;Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 6–7why, one step back6}7declare namespace Cloudflare {Merge perf/workers-cache into mainoscabrielbefore adoptionccd5da2
lines 8–10why, one step back8 interface GlobalProps {9 mainModule: typeof import("./src/server");10 }Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 11–13why, one step back11 interface DevOscabrielEnv {12 PUBLIC_PLATFORM_URL: string;13 PLATFORM: Fetcher /* platform-dev-oscabriel */;Add a prod stage served on the brand's own domainoscabrielbefore adoption78a5062
lines 14–17why, one step back14 }15 interface ProdEnv {16 PUBLIC_PLATFORM_URL: string;17 PLATFORM: Fetcher /* platform-prod */;Merge build/614-env-service: deciders set write-only values for @sensitive items, the public sees the env shape, and checks see only placeholdersoscabrielbefore adoption678c8b8
lines 18–27why, one step back18 }19 interface Env extends __BaseEnv_Env {}20}21interface Env extends __BaseEnv_Env {}22type StringifyValues<EnvType extends Record<string, unknown>> = {23 [Binding in keyof EnvType]: EnvType[Binding] extends string ? EnvType[Binding] : string;24};25declare namespace NodeJS {26 interface ProcessEnv extends StringifyValues<Pick<Cloudflare.Env, "PUBLIC_PLATFORM_URL">> {}27}