generated from template/apps-template
temp
This commit is contained in:
21
agents/noco/callback/index.ts
Normal file
21
agents/noco/callback/index.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
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>[];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user