fix: use snjs proper types location

This commit is contained in:
Mo Bitar
2020-04-30 11:23:02 -05:00
parent bbfb40dcba
commit 78e4ae0a16
30 changed files with 64 additions and 75079 deletions

View File

@@ -14,7 +14,7 @@ import {
STRING_DEFAULT_FILE_ERROR
} from '@/strings';
import { PureViewCtrl } from '@Views/abstract/pure_view_ctrl';
import { PermissionDialog } from '@/../../../../snjs/dist/@types/services/component_manager';
import { PermissionDialog } from '@node_modules/snjs/dist/@types/services/component_manager';
class ApplicationViewCtrl extends PureViewCtrl {
private $compile?: ng.ICompileService

View File

@@ -32,7 +32,6 @@ import {
StringDeleteNote,
StringEmptyTrash
} from '@/strings';
import { RawPayload } from '@/../../../../snjs/dist/@types/protocol/payloads/generator';
const NOTE_PREVIEW_CHAR_LIMIT = 80;
const MINIMUM_STATUS_DURATION = 400;

View File

@@ -19,7 +19,7 @@ import {
STRING_NEW_UPDATE_READY
} from '@/strings';
import { PureViewCtrl } from '@Views/abstract/pure_view_ctrl';
import { ComponentMutator } from '@/../../../../snjs/dist/@types/models';
import { ComponentMutator } from '@node_modules/snjs/dist/@types/models';
type DockShortcut = {
name: string,

View File

@@ -23,7 +23,7 @@ import {
NoteSortKey,
notePassesFilter
} from './note_utils';
import { UuidString } from '@/../../../../snjs/dist/@types/types';
import { UuidString } from '@node_modules/snjs/dist/@types/types';
type NotesState = {
panelTitle: string

View File

@@ -15,8 +15,8 @@ import { AppStateEvent } from '@/ui_models/app_state';
import { PANEL_NAME_TAGS } from '@/views/constants';
import { STRING_DELETE_TAG } from '@/strings';
import { PureViewCtrl } from '@Views/abstract/pure_view_ctrl';
import { UuidString } from '@/../../../../snjs/dist/@types/types';
import { TagMutator } from '@/../../../../snjs/dist/@types/models/app/tag';
import { UuidString } from '@node_modules/snjs/dist/@types/types';
import { TagMutator } from '@node_modules/snjs/dist/@types/models/app/tag';
type NoteCounts = Partial<Record<string, number>>