Documentation
    Preparing search index...

    Type Alias ActorConfig<TState, TConnParams, TConnState, TVars, TInput, TDatabase>

    ActorConfig: Omit<
        z.infer<typeof ActorConfigSchema>,

            | "actions"
            | "onCreate"
            | "onWake"
            | "onStateChange"
            | "onBeforeConnect"
            | "onConnect"
            | "onDisconnect"
            | "onBeforeActionResponse"
            | "onRequest"
            | "onWebSocket"
            | "state"
            | "createState"
            | "connState"
            | "createConnState"
            | "vars"
            | "createVars"
            | "db",
    > & BaseActorConfig<
        TState,
        TConnParams,
        TConnState,
        TVars,
        TInput,
        TDatabase,
        Actions<TState, TConnParams, TConnState, TVars, TInput, TDatabase>,
    > & CreateState<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & CreateConnState<
        TState,
        TConnParams,
        TConnState,
        TVars,
        TInput,
        TDatabase,
    > & CreateVars<TState, TConnParams, TConnState, TVars, TInput, TDatabase> & ActorDatabaseConfig<
        TDatabase,
    >

    Type Parameters

    • TState
    • TConnParams
    • TConnState
    • TVars
    • TInput
    • TDatabase extends AnyDatabaseProvider