Add creator and modifier fields

This commit is contained in:
cuigh
2021-12-16 16:11:16 +08:00
parent bd7b8364d9
commit c3115b952c
48 changed files with 668 additions and 544 deletions

View File

@@ -22,6 +22,14 @@ export interface Chart {
};
createdAt: string;
updatedAt: string;
createdBy: {
id: string;
name: string;
};
updatedBy: {
id: string;
name: string;
};
}
export interface Dashboard {

View File

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

View File

@@ -7,6 +7,14 @@ export interface Role {
perms: string[];
createdAt: string;
updatedAt: string;
createdBy: {
id: string;
name: string;
};
updatedBy: {
id: string;
name: string;
};
}
export class RoleApi {

View File

@@ -7,9 +7,15 @@ export interface Stack {
services?: string[];
internal: boolean;
createdAt: string;
createdBy: string;
updatedAt: string;
updatedBy: string;
createdBy: {
id: string;
name: string;
};
updatedBy: {
id: string;
name: string;
};
}
export interface SearchArgs {

View File

@@ -16,9 +16,17 @@ export interface User {
type: string;
status: number;
email: string;
roles: string[];
createdAt: string;
updatedAt: string;
roles: string[];
createdBy: {
id: string;
name: string;
};
updatedBy: {
id: string;
name: string;
};
}
export interface LoginArgs {