Skip to content

Commit

Permalink
feat: add type folder and worspace type
Browse files Browse the repository at this point in the history
  • Loading branch information
hyex committed Dec 6, 2020
1 parent 8d0dc00 commit a4f5501
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
14 changes: 14 additions & 0 deletions client/src/type/workspace.type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export interface WorkspaceResponseType extends Object {
id: number
name: string
imageUrl: string
}

export interface CreateWorkspaceRequestType {
name: string
imageUrl: string
}

export interface JoinWorkspaceRequestType {
workspaceId: number
}
7 changes: 4 additions & 3 deletions client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"@molecule": ["src/component/molecule/index"],
"@organism": ["src/component/organism/index"],
"@store": ["src/store/index"],
"@page":["src/page/index"],
"@hook":["src/hoc/index"],
"@page": ["src/page/index"],
"@hook": ["src/hoc/index"],

"@atom/*": ["src/component/atom/*"],
"@molecule/*": ["src/component/molecule/*"],
Expand All @@ -31,7 +31,8 @@
"@store/*": ["src/store/*"],
"@util/*": ["src/util/*"],
"@api/*": ["src/api/*"],
"@hoc/*":["src/hoc/*"],
"@hoc/*": ["src/hoc/*"],
"@type/*": ["src/type/*"]
}
},
"exclude": ["node_modules"],
Expand Down
1 change: 1 addition & 0 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
'@util': path.resolve(__dirname, 'src/util'),
'@api': path.resolve(__dirname, 'src/api'),
'@hoc': path.resolve(__dirname, 'src/hoc'),
'@type': path.resolve(__dirname, 'src/type'),
},
},

Expand Down

0 comments on commit a4f5501

Please sign in to comment.