Dev cleaning (#106)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { type Base, genBase } from "./_base"
|
||||
|
||||
export interface User extends Base {
|
||||
name: string
|
||||
// password: string // not returning password from API
|
||||
status_code: string
|
||||
position_code: string
|
||||
}
|
||||
|
||||
export function genUser(): User {
|
||||
return {
|
||||
...genBase(),
|
||||
name: '',
|
||||
status_code: '',
|
||||
position_code: ''
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user