25 lines
521 B
TypeScript
25 lines
521 B
TypeScript
import { RecordModel } from "pocketbase";
|
|
|
|
export namespace DB {
|
|
export interface AppInfo extends RecordModel {
|
|
code_name: string;
|
|
app_id: string;
|
|
app_secret: string;
|
|
app_name: string;
|
|
avatar_url: string;
|
|
description: string;
|
|
tenant_access_token: string;
|
|
}
|
|
|
|
export interface MessageGroup extends RecordModel {
|
|
desc: string;
|
|
id: string;
|
|
name: string;
|
|
email?: string[];
|
|
chat_id?: string[];
|
|
open_id?: string[];
|
|
union_id?: string[];
|
|
user_id?: string[];
|
|
}
|
|
}
|