chore: instance admins endpoint added and ui/ux improvement (#2895)
* style: sidebar improvement * style: header height consistency * chore: layout consistency and general page improvement * chore: layout, email form and image form improvement * chore: instance admins endpoint intergrated and code refactor * chore: code refactor * chore: google client secret section removed
This commit is contained in:
parent
f79bd9df60
commit
6e940399cb
16 changed files with 140 additions and 109 deletions
17
web/types/instance.d.ts
vendored
17
web/types/instance.d.ts
vendored
|
|
@ -2,7 +2,6 @@ import { IUserLite } from "./users";
|
|||
|
||||
export interface IInstance {
|
||||
id: string;
|
||||
primary_owner_details: IUserLite;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
instance_name: string;
|
||||
|
|
@ -11,14 +10,12 @@ export interface IInstance {
|
|||
license_key: string | null;
|
||||
api_key: string;
|
||||
version: string;
|
||||
primary_email: string;
|
||||
last_checked_at: string;
|
||||
namespace: string | null;
|
||||
is_telemetry_enabled: boolean;
|
||||
is_support_required: boolean;
|
||||
created_by: string | null;
|
||||
updated_by: string | null;
|
||||
primary_owner: string;
|
||||
}
|
||||
|
||||
export interface IInstanceConfiguration {
|
||||
|
|
@ -31,6 +28,18 @@ export interface IInstanceConfiguration {
|
|||
updated_by: string | null;
|
||||
}
|
||||
|
||||
export interface IFormattedInstanceConfiguration{
|
||||
export interface IFormattedInstanceConfiguration {
|
||||
[key: string]: string;
|
||||
}
|
||||
|
||||
export interface IInstanceAdmin {
|
||||
created_at: string;
|
||||
created_by: string;
|
||||
id: string;
|
||||
instance: string;
|
||||
role: string;
|
||||
updated_at: string;
|
||||
updated_by: string;
|
||||
user: string;
|
||||
user_detail: IUserLite;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue