define TaskFileContentReference

This commit is contained in:
marlon-erler
2024-07-22 11:20:43 +02:00
parent b78c924d12
commit 63c49ba0fc
2 changed files with 11 additions and 1 deletions
-1
View File
@@ -141,7 +141,6 @@ export const FileContentReference: FileContent = {
id: "", id: "",
creationDate: "", creationDate: "",
type: "", type: "",
}; };
+11
View File
@@ -3,6 +3,7 @@
import FileModel, { FileContent } from "./fileModel"; import FileModel, { FileContent } from "./fileModel";
import ChatModel from "../Chat/chatModel"; import ChatModel from "../Chat/chatModel";
import { DATA_VERSION } from "../Utility/typeSafety";
export default class TaskModel { export default class TaskModel {
chatModel: ChatModel; chatModel: ChatModel;
@@ -29,3 +30,13 @@ export interface TaskFileContent extends FileContent {
date?: string; date?: string;
time?: string; time?: string;
} }
export const TaskFileContentReference: TaskFileContent = {
dataVersion: DATA_VERSION,
id: "",
creationDate: "",
type: "task",
board: "",
};