Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/

### Возможности (в планах)

- Создание, редактирование и удаление документов
Expand Down
Empty file removed src/models/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions src/models/drawing-set.ts
Original file line number Diff line number Diff line change
@@ -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;
}
8 changes: 8 additions & 0 deletions src/models/organization.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export interface Organization {
id: string;
shortName: string;
fullName: string | null;
address: string | null;
postalCode: string | null;
phone: string | null;
}
9 changes: 9 additions & 0 deletions src/models/person.ts
Original file line number Diff line number Diff line change
@@ -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;
}