mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-03 21:26:04 +00:00
feat(server): rebased migration files and resolved commits
This commit is contained in:
@@ -53,11 +53,11 @@ export const projectMembershipDALFactory = (db: TDbClient) => {
|
|||||||
|
|
||||||
const members = sqlNestRelationships({
|
const members = sqlNestRelationships({
|
||||||
data: docs,
|
data: docs,
|
||||||
parentMapper: ({ email, firstName, lastName, publicKey, isGhost, id, userId }) => ({
|
parentMapper: ({ email, firstName, username, lastName, publicKey, isGhost, id, userId }) => ({
|
||||||
id,
|
id,
|
||||||
userId,
|
userId,
|
||||||
projectId,
|
projectId,
|
||||||
user: { email, firstName, lastName, id: userId, publicKey, isGhost }
|
user: { email, username, firstName, lastName, id: userId, publicKey, isGhost }
|
||||||
}),
|
}),
|
||||||
key: "id",
|
key: "id",
|
||||||
childrenMapper: [
|
childrenMapper: [
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export type TWorkspaceUser = {
|
|||||||
id: string;
|
id: string;
|
||||||
user: {
|
user: {
|
||||||
email: string;
|
email: string;
|
||||||
|
username: string;
|
||||||
firstName: string;
|
firstName: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
id: string;
|
id: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user