From 13572bfca3ccd61476f214749d367eda56545b26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6ninger?= <44400490+p-hoeni@users.noreply.github.com> Date: Sat, 26 Oct 2024 22:43:29 +0200 Subject: [PATCH] [#24] create file edit models --- .../src/app/file-items/shared/file-action-type.enum.ts | 6 ++++++ .../src/app/file-items/shared/file-item-edit.model.ts | 7 +++++++ 2 files changed, 13 insertions(+) create mode 100644 CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-action-type.enum.ts create mode 100644 CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-item-edit.model.ts diff --git a/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-action-type.enum.ts b/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-action-type.enum.ts new file mode 100644 index 0000000..3d7dabc --- /dev/null +++ b/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-action-type.enum.ts @@ -0,0 +1,6 @@ +export enum EnFileAction { + Create = 1, + Edit = 2, + Rename = 3, + ChangeColor = 4, +} diff --git a/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-item-edit.model.ts b/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-item-edit.model.ts new file mode 100644 index 0000000..d3eb59d --- /dev/null +++ b/CLIENT/CLIENT.FileSharing/src/app/file-items/shared/file-item-edit.model.ts @@ -0,0 +1,7 @@ +import { EnFileAction } from './file-action-type.enum'; + +export interface FileItemEditModel { + name: string; + color: string; + action: EnFileAction; +}