FrontEnd Angular - v0.0.1-alpha
This commit is contained in:
15
src/app/shared/model/token/token.model-ti.ts
Normal file
15
src/app/shared/model/token/token.model-ti.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* This module was automatically generated by `ts-interface-builder`
|
||||
*/
|
||||
import * as t from "ts-interface-checker";
|
||||
// tslint:disable:object-literal-key-quotes
|
||||
|
||||
export const Token = t.iface([], {
|
||||
"token": "string",
|
||||
"expirationDate": t.union("string", "number"),
|
||||
});
|
||||
|
||||
const exportedTypeSuite: t.ITypeSuite = {
|
||||
Token,
|
||||
};
|
||||
export default exportedTypeSuite;
|
||||
4
src/app/shared/model/token/token.model.ts
Normal file
4
src/app/shared/model/token/token.model.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface Token {
|
||||
token: string,
|
||||
expirationDate: string|number
|
||||
}
|
||||
Reference in New Issue
Block a user