generated from template/apps-template
temp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { NocoApi } from "@kevisual/noco";
|
||||
import { columns } from "../common/base-table.ts";
|
||||
|
||||
import { ColumnItem } from "./base-table.ts";
|
||||
type ReponseData<T = {}> = {
|
||||
code: number,
|
||||
message?: string,
|
||||
@@ -11,19 +11,7 @@ export type CoreOptions<T = {}> = {
|
||||
baseId?: string
|
||||
} & T
|
||||
|
||||
type CoreItem = {
|
||||
Id: number,
|
||||
标题: string,
|
||||
总结?: string,
|
||||
启动时间?: string,
|
||||
标签?: string,
|
||||
任务?: string, // 运行中,已完成,未开始
|
||||
链接?: string,
|
||||
数据?: string,
|
||||
类型?: string,
|
||||
提示词?: string,
|
||||
任务结果?: string,
|
||||
}
|
||||
type CoreItem = ColumnItem
|
||||
export class Core {
|
||||
nocoApi: NocoApi;
|
||||
baseId?: string;
|
||||
@@ -68,7 +56,7 @@ export class Core {
|
||||
tableId = res?.data?.id;
|
||||
}
|
||||
this.tableId = tableId;
|
||||
if(this.nocoApi.record) {
|
||||
if (this.nocoApi.record) {
|
||||
this.nocoApi.record.table = tableId;
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user