generated from template/apps-template
21 lines
382 B
TypeScript
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>[];
|
|
}
|
|
} |