-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: connect Projects to the backend (#1063)"
This reverts commit 5554ae4.
- Loading branch information
1 parent
a95206e
commit 9e5d168
Showing
20 changed files
with
240 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
import { User } from '../users/types' | ||
|
||
export type UUID = `${string}-${string}-${string}-${string}-${string}` | ||
|
||
export type Project = { | ||
id: UUID | ||
id: number | ||
project_name: string | ||
project_owner: User['id'] | ||
team: User['id'][] | ||
project_owner: Omit<User, 'projects'> | ||
team: Omit<User, 'projects'>[] | ||
status: 'important' | 'completed' | 'archived' | 'in progress' | ||
created_at: string | ||
creation_date: string | ||
} | ||
|
||
export type EmptyProject = Omit<Project, 'id' | 'project_owner' | 'created_at' | 'status'> & { | ||
export type EmptyProject = Omit<Project, 'id' | 'project_owner' | 'creation_date' | 'status'> & { | ||
project_owner: Project['project_owner'] | undefined | ||
status: Project['status'] | undefined | ||
} |
Oops, something went wrong.