Prometheus Entity Management API
    Preparing search index...

    In-memory TaskStore backed by a triple-nested Map (tenant -> owner -> taskId -> Task). Owner identity comes from an OwnerResolver (defaulting to resolveUserScope).

    Implements

    Index
    • Parameters

      • OptionalownerResolver: OwnerResolver

      Returns InMemoryTaskStore

    • Lists tasks visible to the authenticated caller, with filtering and pagination.

      Parameters

      • params: ListTasksRequest

        Filtering and pagination parameters.

      • context: ServerCallContext

        The context of the current call. Use context.tenant for tenant-scoped listing and context.user for owner scoping.

      Returns Promise<ListTasksResponse>

    • Loads a task by ID, or undefined if not found / not accessible.

      Parameters

      • taskId: string

        The ID of the task to load.

      • context: ServerCallContext

        The context of the current call. Use context.tenant for tenant-scoped lookups and context.user for owner scoping.

      Returns Promise<Task | undefined>

    • Saves a task, overwriting any existing entry with the same ID.

      Parameters

      • task: Task

        The task to save.

      • context: ServerCallContext

        The context of the current call. Use context.tenant for tenant-scoped storage and context.user for owner scoping.

      Returns Promise<void>