Files
noco-auto/agents/noco/callback/index.ts
2025-12-06 18:56:08 +08:00

21 lines
382 B
TypeScript

export type BaseNocoItem<T = {}> = {
Id: number,
CreatedAt: string
UpdatedAt: string
} & T;
export type NocoWehookPayload<NocoItem = {}> = {
/** 请求id */
id: string;
type: "records.after.trigger";
/**
* 多维表base id
**/
base_id: string;
version: "v3",
data: {
table_id: string;
table_name: string;
rows: BaseNocoItem<NocoItem>[];
}
}