import { PrimaryKey } from 'fastapi-rtk/api-types'; import { EntryRow } from 'fastapi-rtk/contexts'; /** * Payload accepted by a bulk handler: either a flat list of primary keys * (the common "ids only" case) or a handler-specific dynamic object whose * keys/values are not known statically. */ export type BulkActionPayload = PrimaryKey[] | EntryRow; /** * Response returned by a bulk handler. The exact shape is handler-defined * and model-driven at runtime. */ export type BulkActionResponse = EntryRow;