mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 15:28:25 +00:00
chore: new group with project memberships type
This commit is contained in:
@@ -4,7 +4,7 @@ import { TOrgRole } from "../roles/types";
|
|||||||
|
|
||||||
export type TGroupOrgMembership = TGroup & {
|
export type TGroupOrgMembership = TGroup & {
|
||||||
customRole?: TOrgRole;
|
customRole?: TOrgRole;
|
||||||
}
|
};
|
||||||
|
|
||||||
export type TGroup = {
|
export type TGroup = {
|
||||||
id: string;
|
id: string;
|
||||||
@@ -33,4 +33,31 @@ export type TGroupMembership = {
|
|||||||
}[];
|
}[];
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type TGroupWithProjectMemberships = {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
slug: string;
|
||||||
|
orgId: string;
|
||||||
|
projectMemberships: {
|
||||||
|
id: string;
|
||||||
|
project: {
|
||||||
|
id: string;
|
||||||
|
name: string;
|
||||||
|
slug: string;
|
||||||
|
};
|
||||||
|
roles: {
|
||||||
|
id: string;
|
||||||
|
role: string;
|
||||||
|
customRoleId: string | null;
|
||||||
|
customRoleName: string | null;
|
||||||
|
customRoleSlug: string | null;
|
||||||
|
temporaryRange: string | null;
|
||||||
|
temporaryMode: string | null;
|
||||||
|
temporaryAccessEndTime: string | null;
|
||||||
|
temporaryAccessStartTime: string | null;
|
||||||
|
isTemporary: boolean;
|
||||||
|
}[];
|
||||||
|
}[];
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user