MCPcopy
hub / github.com/srcbookdev/srcbook / Window

Interface Window

packages/web/src/config.ts:3–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Expected to be defined in index.html
2declare global {
3 interface Window {
4 SRCBOOK_CONFIG: {
5 api: {
6 host: string;
7 origin: string;
8 };
9 };
10 }
11}
12
13export default window.SRCBOOK_CONFIG;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected