瀏覽代碼

feat(notice): add Config/Template component

Lind 4 年之前
父節點
當前提交
05475a9b5b
共有 2 個文件被更改,包括 13 次插入2 次删除
  1. 7 1
      src/pages/notice/Config/typings.d.ts
  2. 6 1
      src/pages/notice/Template/typings.d.ts

+ 7 - 1
src/pages/notice/Config/typings.d.ts

@@ -1,4 +1,10 @@
-type Item = {
+type ConfigItem = {
   id: string;
   name: string;
+  type: string;
+  provider: string;
+  maxRetryTimes: number;
+  creatorId: string;
+  createTime: number;
+  configuration: Record<string, unknown>;
 };

+ 6 - 1
src/pages/notice/Template/typings.d.ts

@@ -1,4 +1,9 @@
-type Item = {
+type TemplateItem = {
   id: string;
   name: string;
+  type: string;
+  template: string;
+  provider: string;
+  creatorId: string;
+  createTime: number;
 };