Spaces:
Sleeping

api / src /constants /populates /deployment.populate.ts
Amal Jose
added files
4e83772
Raw History Blame Contribute Delete
328 Bytes
export const DEPLOYMENT_POPULATE_MAP = {
user: {
path: "user",
select: "name email profileImage",
},
project: {
path: "project",
select: "name branch subdomain repoURL currentDeployment",
},
} as const;
export const deploymentBasicFields = ["_id", "project", "commit_hash", "publicId", "status", "identifierSlug"];