Skip to content

Commit

Permalink
feat: move core types to root shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
karrui committed Jul 14, 2021
1 parent 835171f commit b5aaba5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 8 additions & 0 deletions shared/types/core.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
export interface ErrorDto {
message: string
}

export interface PrivateFormErrorDto extends ErrorDto {
isPageFound: true
formTitle: string
}
9 changes: 1 addition & 8 deletions src/types/api/core.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1 @@
export interface ErrorDto {
message: string
}

export interface PrivateFormErrorDto extends ErrorDto {
isPageFound: true
formTitle: string
}
export * from '../../../shared/types/core'

0 comments on commit b5aaba5

Please sign in to comment.