live.ts
This file
Path
apps/platform/src/visibility/live.ts
18 lines · 509 bytes · TypeScript
Last changed by
Merge build/comments-platform into mainoscabrielbefore adoptionddf09e8
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
lines 1–18why, one step back1import { Layer } from "effect";23import type { PlatformConfig } from "../platform.ts";4import type { WorkerPorts } from "../ports.ts";5import { envLive } from "./env.ts";6import { heldBackLive } from "./held-back.ts";7import { layersLive } from "./layers.ts";8import { stateLive } from "./state.ts";910export const live = (11 config: PlatformConfig12): Layer.Layer<never, never, WorkerPorts> =>13 Layer.mergeAll(14 layersLive(config),15 stateLive(config),16 envLive(config),17 heldBackLive(config)18 );