Download src/constants/populates/project.populate.ts from lynfera/api: direct link, hf CLI and curl.
- Browser
- Download file 718 Bytes
-
https://huggingface.co/spaces/lynfera/api/resolve/main/src/constants/populates/project.populate.ts
- Command line
-
hf download hf://spaces/lynfera/api/src/constants/populates/project.populate.ts
-
curl -L -o project.populate.ts https://huggingface.co/spaces/lynfera/api/resolve/main/src/constants/populates/project.populate.ts
718 Bytes
| export const PROJECT_POPULATE_MAP = { | |
| user: { | |
| path: "user", | |
| select: "name email profileImage", | |
| }, | |
| deployments: { | |
| path: "deployments", | |
| select: "status createdAt", | |
| }, | |
| } as const; | |
| export const projectBasicFields = [ | |
| "name", | |
| "branch", | |
| "repoURL", | |
| "techStack", | |
| "status", | |
| "currentDeployment", | |
| "tempDeployment", | |
| "lastDeployment", | |
| "subdomain", | |
| "user", | |
| "deployments", | |
| "lastDeployedAt", | |
| "createdAt", | |
| ]; | |
| export const projectSettingsFields = [ | |
| "_id", | |
| "name", | |
| "branch", | |
| "repoURL", | |
| "status", | |
| "subdomain", | |
| "user", | |
| "createdAt", | |
| "buildCommand", | |
| "env", | |
| "outputDirectory", | |
| "rootDir", | |
| "isDisabled", | |
| "isDeleted", | |
| "rewriteNonFilePaths", | |
| ]; | |
| export const projectUpdateFieldsString = ["name", "_id"]; | |