1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed ramda imports to reduce bundle size

This commit is contained in:
Fedor Katurov 2022-01-25 11:24:42 +07:00
parent a497912049
commit 097b091abd
47 changed files with 208 additions and 91 deletions

View file

@ -1,7 +1,7 @@
import { autorun, makeAutoObservable, runInAction } from 'mobx';
import { keys, values, without } from 'ramda';
import { EmbedMetadata } from '~/types/metadata';
import { keys, values, without } from '~/utils/ramda';
const MAX_QUEUE_SIZE = 25;

View file

@ -1,9 +1,9 @@
import { makeAutoObservable, runInAction } from 'mobx';
import { has, omit, values } from 'ramda';
import { ERROR_LITERAL, ERRORS } from '~/constants/errors';
import { UploadType } from '~/constants/uploads';
import { IFile, UUID } from '~/types';
import { has, omit, values } from '~/utils/ramda';
import { getFileType, uploadGetThumb } from '~/utils/uploader';
export interface UploadStatus {