mirror of
https://github.com/cuigh/swirl
synced 2025-06-26 18:16:50 +00:00
Add creator and modifier fields
This commit is contained in:
@@ -22,6 +22,14 @@ export interface Chart {
|
||||
};
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
createdBy: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
updatedBy: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface Dashboard {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user