FrontEnd Angular - v0.0.1-alpha
This commit is contained in:
23
src/app/shared/model/user/user.model-ti.ts
Normal file
23
src/app/shared/model/user/user.model-ti.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* This module was automatically generated by `ts-interface-builder`
|
||||
*/
|
||||
import * as t from "ts-interface-checker";
|
||||
// tslint:disable:object-literal-key-quotes
|
||||
|
||||
export const User = t.iface([], {
|
||||
"id": t.opt("number"),
|
||||
"name": t.opt("string"),
|
||||
"email": t.opt("string"),
|
||||
"username": "string",
|
||||
"password": t.opt("string"),
|
||||
"accessToken": t.opt("Token"),
|
||||
"refreshToken": t.opt("Token"),
|
||||
"authorities": t.opt(t.array(t.iface([], {
|
||||
"authority": "string",
|
||||
}))),
|
||||
});
|
||||
|
||||
const UserTI: t.ITypeSuite = {
|
||||
User,
|
||||
};
|
||||
export default UserTI;
|
||||
Reference in New Issue
Block a user