@suluk/platform - v0.6.0
    Preparing search index...

    Interface SystemManifest<T>

    A SYSTEM — the reusable, publishable template. Generic over the services tuple so serviceOpts is typed by service id.

    interface SystemManifest<
        T extends readonly ServiceRef[] = readonly ServiceRef[],
    > {
        registry?: string;
        registries?: Record<string, string>;
        services: T;
        globalServiceOpts?: Record<string, unknown>;
        serviceOpts?: Partial<{ [K in ServiceRef as IdOf<K>]: SoOf<K> }>;
        wire?: WireDecl[];
        local?: boolean;
    }

    Type Parameters

    Index

    Properties

    registry?: string

    the single core registry, e.g. "MahmoodKhalil57/suluk". (Multi-registry alias map: registries, Phase 4.)

    registries?: Record<string, string>

    alias → registry map for multi-registry systems (Phase 4). registries.core is the default when registry is unset.

    services: T

    the services, in mount order — imported Service objects (typed) and/or string ids.

    globalServiceOpts?: Record<string, unknown>

    system-wide behaviour shared by services; a service receives the keys it names in reads.globalService (else inert).

    serviceOpts?: Partial<{ [K in ServiceRef as IdOf<K>]: SoOf<K> }>

    per-service serviceOpts — TYPED by service id off the imported service objects.

    wire?: WireDecl[]

    inter-service composition edges (Phase 3).

    local?: boolean

    emit the MOCK-PROVIDER dev runtime (a src/dev.ts bun server with a bun:sqlite DB + JSON KV + mocked providers when keys are absent). A SYSTEM-level property (the app structure), swappable per brand only if a brand overrides it.