This commit is contained in:
2025-12-12 11:50:30 +08:00
parent c4ae0bef19
commit 63ae48a592
12 changed files with 324 additions and 6 deletions

21
auto/callback/index.ts Normal file
View 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>[];
}
}