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

Add error for move folder #51

Merged
merged 3 commits into from
Jan 11, 2024
Merged

Add error for move folder #51

merged 3 commits into from
Jan 11, 2024

Conversation

Sergey-weber
Copy link
Collaborator

Add new error, for move folder

ENTRY_TYPE,
} from '../const';

import {Entry} from '../db/models/new/entry';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's remove the duplicate ENTRY_SCOPE and ENTRY_TYPE and move the EntryScope and EntryType enums into a separate file - src/db/models/new/entry/types.ts. After that, these imports will work:

import type {Entry} from '../db/models/new/entry';
import {EntryScope, EntryType} from '../db/models/new/entry/types';

@Sergey-weber Sergey-weber merged commit c033701 into main Jan 11, 2024
4 checks passed
@Sergey-weber Sergey-weber deleted the CHARTS-8924-add-new-errors branch January 11, 2024 14:14
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.

2 participants