Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(submission): wip- legacy submission #8

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

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?

@@ -31,6 +31,7 @@
"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