Refactor code

This commit is contained in:
cuigh
2021-12-16 20:23:08 +08:00
parent c3115b952c
commit 6705bd6d64
51 changed files with 848 additions and 1176 deletions

View File

@@ -20,8 +20,8 @@ export interface Chart {
top: number;
bottom: number;
};
createdAt: string;
updatedAt: string;
createdAt: number;
updatedAt: number;
createdBy: {
id: string;
name: string;

View File

@@ -8,7 +8,7 @@ export interface Event {
name: string;
userId: string;
username: string;
time: string;
time: number;
}
export interface SearchArgs {

View File

@@ -6,8 +6,8 @@ export interface Registry {
url: string;
username: string;
password: string;
createdAt: string;
updatedAt: string;
createdAt: number;
updatedAt: number;
createdBy: {
id: string;
name: string;

View File

@@ -5,8 +5,8 @@ export interface Role {
name: string;
desc: string;
perms: string[];
createdAt: string;
updatedAt: string;
createdAt: number;
updatedAt: number;
createdBy: {
id: string;
name: string;

View File

@@ -6,8 +6,8 @@ export interface Stack {
content: string;
services?: string[];
internal: boolean;
createdAt: string;
updatedAt: string;
createdAt: number;
updatedAt: number;
createdBy: {
id: string;
name: string;

View File

@@ -17,8 +17,8 @@ export interface User {
status: number;
email: string;
roles: string[];
createdAt: string;
updatedAt: string;
createdAt: number;
updatedAt: number;
createdBy: {
id: string;
name: string;