import { actions } from "./Action"; export const desc = { attributes: { iState: { notNull: true, type: "enum", enumeration: ["transferring", "successful", "failed"] }, withdrawId: { notNull: true, type: "ref", ref: "withdraw" }, withdrawAccountId: { notNull: true, type: "ref", ref: "withdrawAccount" }, price: { notNull: true, type: "money" }, loss: { notNull: true, type: "money" }, operatorId: { type: "ref", ref: "user" }, creatorId: { notNull: true, type: "ref", ref: "user" }, externalId: { type: "varchar", params: { length: 128 } }, meta: { notNull: true, type: "object" }, reason: { type: "text" } }, actionType: "crud", actions };