mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 03:31:27 +00:00
Complete preliminary list, update, create group in project
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { TOrgRole } from "../roles/types";
|
||||
|
||||
// TODO: rectify/standardize types
|
||||
|
||||
export type TGroupOrgMembership = TGroup & {
|
||||
customRole?: TOrgRole;
|
||||
}
|
||||
@@ -12,4 +14,23 @@ export type TGroup = {
|
||||
createAt: string;
|
||||
updatedAt: string;
|
||||
role: string;
|
||||
};
|
||||
|
||||
export type TGroupMembership = {
|
||||
id: string;
|
||||
group: TGroup;
|
||||
roles: {
|
||||
id: string;
|
||||
role: "owner" | "admin" | "member" | "no-access" | "custom";
|
||||
customRoleId: string;
|
||||
customRoleName: string;
|
||||
customRoleSlug: string;
|
||||
isTemporary: boolean;
|
||||
temporaryMode: string | null;
|
||||
temporaryRange: string | null;
|
||||
temporaryAccessStartTime: string | null;
|
||||
temporaryAccessEndTime: string | null;
|
||||
}[];
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
Reference in New Issue
Block a user