-
-
Save craigzour/7085ba5d6845ddea245ff5d46a2f838b to your computer and use it in GitHub Desktop.
ex3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const step1 = [ | |
{ FormID: '1', Status: 'New', CreatedAt: 1662477251 }, // Created 10 days ago | |
{ FormID: '2', Status: 'Saved', CreatedAt: 1662477252 }, // Created 20 days ago | |
{ FormID: '1', Status: 'New', CreatedAt: 1662477254 }, // Created 28 days ago | |
{ FormID: '2', Status: 'Saved', CreatedAt: 1662477255 }, // Created 31 days ago | |
{ FormID: '1', Status: 'Saved', CreatedAt: 1662477257 }, // Created 17 days ago | |
{ FormID: '3', Status: 'New', CreatedAt: 1662477258 }, // Created 29 days ago | |
]; | |
const step2 = [ | |
[ | |
{ FormID: '1', Status: 'New', CreatedAt: 1662477251 }, // Created 10 days ago | |
{ FormID: '1', Status: 'New', CreatedAt: 1662477254 }, // Created 28 days ago | |
{ FormID: '1', Status: 'Saved', CreatedAt: 1662477257 }, // Created 17 days ago | |
], | |
[ | |
{ FormID: '2', Status: 'Saved', CreatedAt: 1662477252 }, // Created 20 days ago | |
{ FormID: '2', Status: 'Saved', CreatedAt: 1662477255 }, // Created 31 days ago | |
], | |
[ | |
{ FormID: '3', Status: 'New', CreatedAt: 1662477258 }, // Created 29 days ago | |
] | |
]; | |
const step3 = [ | |
[ | |
{ FormID: '1', Status: 'New', CreatedAt: 1662477254 }, // Created 28 days ago | |
], | |
[ | |
{ FormID: '2', Status: 'Saved', CreatedAt: 1662477255 }, // Created 31 days ago | |
], | |
[ | |
{ FormID: '3', Status: 'New', CreatedAt: 1662477258 }, // Created 29 days ago | |
] | |
]; | |
const step4 = [ | |
{ FormName: 'Form with id 1', ProgramAdministrators: ["[email protected]", "[email protected]"] }, // Response for FormID 1 that was created 28 days ago | |
{ FormName: 'Form with id 2', ProgramAdministrators: ["[email protected]"] }, // Response for FormID 2 that was created 31 days ago | |
{ FormName: 'Form with id 3', ProgramAdministrators: ["[email protected]", "[email protected]", "[email protected]"] }, // Response for FormID 3 that was created 29 days ago | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment