import { StorageDesc } from "oak-domain/lib/types/Storage"; import { OpSchema } from "./Schema"; import { appendOnlyActions as actions } from "oak-domain/lib/actions/action"; export const desc: StorageDesc = { attributes: { action: { notNull: true, type: "varchar", params: { length: 16 } }, data: { notNull: true, type: "object" }, filter: { type: "object" }, extra: { type: "object" }, operatorId: { type: "ref", ref: "user" }, targetEntity: { notNull: true, type: "varchar", params: { length: 32 } } }, actionType: "appendOnly", actions };