Skip to content

Commit e156cd6

Browse files
committed
adding the class structure for the project
1 parent 1bf32c3 commit e156cd6

4 files changed

Lines changed: 37 additions & 1 deletion

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
// https://www.npmjs.com/package/jwt-decode
3+
export interface TokenInformation {
4+
issuedAt: number;
5+
exp: number;
6+
7+
payload?: string;
8+
}
9+
10+
export interface UserTokenInformation extends TokenInformation {
11+
username: string;
12+
id: number;
13+
email: string;
14+
name: string;
15+
}
16+
17+
18+
// http://npmjs.com/package/js-cookie
19+
export interface CookieData {
20+
name: string;
21+
value: string;
22+
}
File renamed without changes.
File renamed without changes.

Libraries/Classes/src/index.ts

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1-
export * from './lib/classes.js';
1+
export * from './Models/classes.ts';
2+
3+
// Frontend
4+
export * from './Frontend/TokenInformation.ts';
5+
6+
// Models
7+
export * from './Models/Policies/PolicySubmission.ts';
8+
export * from './Models/Policies/Policy.ts';
9+
export * from './Models/Policies/AutoPolicy.ts';
10+
export * from './Models/Policies/HomePolicy.ts';
11+
12+
export * from './Models/Clients/Client.ts';
13+
export * from './Models/Agents/Agent.ts';
14+
15+
// Common

0 commit comments

Comments
 (0)