Aster TypeScript 0.3.893
    Preparing search index...

    Interface AsterServerOptions

    Options for creating an AsterServer.

    interface AsterServerOptions {
        services: object[];
        generated?: Pick<
            RegisterGeneratedOptions,
            "SERVICES"
            | "WIRE_TYPES"
            | "buildAllTypes",
        >;
        config?: Partial<AsterConfig>;
        identity?: string;
        peer?: string;
        allowAllConsumers?: boolean;
        interceptors?: unknown[];
    }
    Index

    Properties

    services: object[]
    generated?: Pick<
        RegisterGeneratedOptions,
        "SERVICES"
        | "WIRE_TYPES"
        | "buildAllTypes",
    >

    Explicit generated metadata (output of aster-gen). When omitted, start() auto-imports ./aster-rpc.generated.js from the working directory. Pass this only when the auto-import can't work (e.g. bundled apps where dynamic import paths aren't resolvable).

    config?: Partial<AsterConfig>
    identity?: string

    Path to .aster-identity file. Overrides config.identityFile.

    peer?: string

    Peer name for identity file lookup.

    allowAllConsumers?: boolean

    Allow all consumers without credentials (dev mode). Defaults to resolved config.

    interceptors?: unknown[]