Skip to content

Commit

Permalink
Merge pull request #82 from UN-OCHA/HPC-8397
Browse files Browse the repository at this point in the history
HPC-8397:Download all indicators disaggregated data is throwing timout error for Syria HRP 2022 -2023 plan
  • Loading branch information
Pl217 authored Apr 11, 2022
2 parents bb9d12e + c6aa673 commit 9bbb272
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/db/models/job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const JOB_STATUS = {
export const JOB_TYPE = {
confirmableCommand: null,
locationImport: null,
projectExcelGeneration: null,
projectPdfGeneration: null,
};

Expand All @@ -45,6 +46,11 @@ export const JOB_METADATA_PROJECT_PDF = t.partial({
files: t.array(PDF_FILE_RECORD),
});

export const JOB_METADATA_PROJECT_EXCEL = t.partial({
startedBy: PARTICIPANT_ID,
fileName: t.string,
});

const JOB_METADATA_CONFIRMABLE_ADMIN_COMMAND = t.type({
requester: PARTICIPANT_ID,
command: t.string,
Expand All @@ -53,6 +59,7 @@ const JOB_METADATA_CONFIRMABLE_ADMIN_COMMAND = t.type({

const JOB_METADATA = t.union([
JOB_METADATA_LOCATION_IMPORT,
JOB_METADATA_PROJECT_EXCEL,
JOB_METADATA_PROJECT_PDF,
JOB_METADATA_CONFIRMABLE_ADMIN_COMMAND,
]);
Expand Down

0 comments on commit 9bbb272

Please sign in to comment.