OptionalownerResolver: OwnerResolverLists tasks visible to the authenticated caller, with filtering and pagination.
Filtering and pagination parameters.
The context of the current call. Use context.tenant
for tenant-scoped listing and context.user for owner scoping.
Loads a task by ID, or undefined if not found / not accessible.
The ID of the task to load.
The context of the current call. Use context.tenant
for tenant-scoped lookups and context.user for owner scoping.
Saves a task, overwriting any existing entry with the same ID.
The task to save.
The context of the current call. Use context.tenant
for tenant-scoped storage and context.user for owner scoping.
In-memory TaskStore backed by a triple-nested Map (tenant -> owner -> taskId -> Task). Owner identity comes from an OwnerResolver (defaulting to resolveUserScope).