Skip to content

Comments

feat(submission): wip- legacy submission#8

Open
hamidre13 wants to merge 12 commits intomainfrom
feature/plat-2251
Open

feat(submission): wip- legacy submission#8
hamidre13 wants to merge 12 commits intomainfrom
feature/plat-2251

Conversation

@hamidre13
Copy link

No description provided.

import { LegacySubmissionSchema } from "../schema/submission/Submission";
import LegacyResourceSubmissionDomain from "./LegacyResourceSubmission";

const submissionTypes = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move these to a common constants file?

"grpc-server-reflection": "^0.1.5",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"moment-timezone": "^0.5.41",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use dayjs - it's what we use in ACL generally

import {CreateUploadInput, DeleteSubmissionUploadInput, UpdateUploadInput} from '../models/domain-layer/legacy/upload';
import {UploadSchema} from '../schema/submission/Upload';

const UPLOAD_STATUS = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should be in a common constants/config directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants