MCPcopy Create free account
hub / github.com/comuline/api / createStationKey

Function createStationKey

src/sync/station.ts:7–8  ·  view source on GitHub ↗
(type: StationType, id: string)

Source from the content-addressed store, hash-verified

5import { KAI_HEADERS } from "./headers"
6
7const createStationKey = (type: StationType, id: string) =>
8 `st_${type}_${id}`.toLocaleLowerCase()
9
10const sync = async () => {
11 if (!process.env.DATABASE_URL) throw new Error("DATABASE_URL env is missing")

Callers 1

syncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected