From c585173a327cb638777eb60814dc7bd82029f3bc Mon Sep 17 00:00:00 2001 From: Elena Date: Thu, 19 Nov 2026 21:39:00 +0200 Subject: [PATCH 1/4] docs: add demo link to README --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 933299b..094d26d 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ DocFlow is a web application for managing documents: create, organize, track status, search and filter. Team project for [RS School](https://github.com/rolling-scopes-school/tasks/blob/master/fullstack-engineering/tasks/team-project-interview/README.md). +**Demo:** https://esrudenko.github.io/docflow/ + ## Features (planned) - Create, edit and delete documents @@ -46,6 +48,8 @@ npm run dev DocFlow — веб-приложение для управления документами: создание, организация, отслеживание статусов, поиск и фильтрация. Командный проект [RS School](https://github.com/rolling-scopes-school/tasks/blob/master/fullstack-engineering/tasks/team-project-interview/README.md). +**Демо:** https://esrudenko.github.io/docflow/ + ### Возможности (в планах) - Создание, редактирование и удаление документов From 3d2d88ab81f512cba04791117bcfd6cb3f4f2ff5 Mon Sep 17 00:00:00 2001 From: Elena Date: Thu, 19 Nov 2026 22:17:38 +0200 Subject: [PATCH 2/4] feat: add Organization and Person types --- src/models/.gitkeep | 0 src/models/organization.ts | 8 ++++++++ src/models/person.ts | 9 +++++++++ 3 files changed, 17 insertions(+) delete mode 100644 src/models/.gitkeep create mode 100644 src/models/organization.ts create mode 100644 src/models/person.ts diff --git a/src/models/.gitkeep b/src/models/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/models/organization.ts b/src/models/organization.ts new file mode 100644 index 0000000..a05ca4f --- /dev/null +++ b/src/models/organization.ts @@ -0,0 +1,8 @@ +export interface Organization { + id: string; + shortName: string; + fullName: string; + address: string; + postalCode: string | null; + phone: string; +} diff --git a/src/models/person.ts b/src/models/person.ts new file mode 100644 index 0000000..c7760a8 --- /dev/null +++ b/src/models/person.ts @@ -0,0 +1,9 @@ +export interface Person { + id: string; + lastName: string; + firstName: string; + middleName: string | null; + phone: string | null; + email: string | null; + organizationId: string | null; +} From c5d06ecc41b4f7312b22e23cfc0abb1821ec2392 Mon Sep 17 00:00:00 2001 From: Elena Date: Thu, 19 Nov 2026 23:25:59 +0200 Subject: [PATCH 3/4] feat: add DrawingSet type and SetStatus --- src/models/drawing-set.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/models/drawing-set.ts diff --git a/src/models/drawing-set.ts b/src/models/drawing-set.ts new file mode 100644 index 0000000..ed6869f --- /dev/null +++ b/src/models/drawing-set.ts @@ -0,0 +1,20 @@ +export type SetStatus = 'draft' | 'in_development' | 'correction' | 'developed' | 'closed'; + +export interface CipherParts { + contractNumber: string; + queue: string; + buildingNumber: string; + mark: string; +} + +export interface DrawingSet { + id: string; + shortName: string; + fullName: string; + cipherParts: CipherParts; + customerOrganizationId: string | null; + developerId: string | null; + chiefEngineerId: string | null; + status: SetStatus; + createdAt: string; +} From b58b90f3471f31832b27b7feb2d9e038922dedf8 Mon Sep 17 00:00:00 2001 From: Elena Date: Fri, 20 Nov 2026 15:56:59 +0200 Subject: [PATCH 4/4] fix: make optional organization fields nullable --- src/models/organization.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/organization.ts b/src/models/organization.ts index a05ca4f..95a844f 100644 --- a/src/models/organization.ts +++ b/src/models/organization.ts @@ -1,8 +1,8 @@ export interface Organization { id: string; shortName: string; - fullName: string; - address: string; + fullName: string | null; + address: string | null; postalCode: string | null; - phone: string; + phone: string | null; }