What does this PR do?
Handle imported/uploaded file data and perform validation for the same.
Related Issue(s)
Addresses #144
Changes
Complete the function isValidCubesData which accepts the contents of the uploaded file and performs validation before accepting it. The validation ensures the uploaded data matches the required format and is also type safe at the same time.
Additional Comments
I have tested it with as many edge cases as I could think of, if there is something unexpected/breaking behaviour please make sure to revert back so I can look into the same. 😄
By submitting this PR, I confirm that:
[x] I have reviewed my code and believe it is ready for merging.
[x] I understand that this PR may be subject to review and changes.
[x] I agree to abide by the code of conduct and contributing guidelines of this project.
What does this PR do? Handle imported/uploaded file data and perform validation for the same.
Related Issue(s) Addresses #144
Changes Complete the function
isValidCubesData
which accepts the contents of the uploaded file and performs validation before accepting it. The validation ensures the uploaded data matches the required format and is also type safe at the same time.Additional Comments I have tested it with as many edge cases as I could think of, if there is something unexpected/breaking behaviour please make sure to revert back so I can look into the same. 😄
By submitting this PR, I confirm that: