plane/web/types/instance.d.ts
Anmol Singh Bhatia 2d04917951
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
2023-11-27 17:15:11 +05:30

46 lines
945 B
TypeScript

import { IUserLite } from "./users";
export interface IInstance {
id: string;
created_at: string;
updated_at: string;
instance_name: string;
whitelist_emails: string | null;
instance_id: string;
license_key: string | null;
api_key: string;
version: string;
last_checked_at: string;
namespace: string | null;
is_telemetry_enabled: boolean;
is_support_required: boolean;
created_by: string | null;
updated_by: string | null;
}
export interface IInstanceConfiguration {
id: string;
created_at: string;
updated_at: string;
key: string;
value: string;
created_by: string | null;
updated_by: string | null;
}
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;
}