refactor: types and constants directories
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { MILLISECONDS_IN_A_DAY } from '@/Constants'
|
||||
import { MILLISECONDS_IN_A_DAY } from '@/Constants/Constants'
|
||||
|
||||
export const calculateDifferenceBetweenDatesInDays = (firstDate: Date, secondDate: Date) => {
|
||||
const firstDateAsUTCMilliseconds = Date.UTC(firstDate.getFullYear(), firstDate.getMonth(), firstDate.getDate())
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { MAX_MENU_SIZE_MULTIPLIER, MENU_MARGIN_FROM_APP_BORDER } from '@/Constants'
|
||||
import { MAX_MENU_SIZE_MULTIPLIER, MENU_MARGIN_FROM_APP_BORDER } from '@/Constants/Constants'
|
||||
|
||||
export type SubmenuStyle = {
|
||||
top?: number | 'auto'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Platform, platformFromString } from '@standardnotes/snjs'
|
||||
import { IsDesktopPlatform, IsWebPlatform } from '@/Version'
|
||||
import { EMAIL_REGEX } from '../Constants'
|
||||
import { IsDesktopPlatform, IsWebPlatform } from '@/Constants/Version'
|
||||
import { EMAIL_REGEX } from '../Constants/Constants'
|
||||
export { isMobile } from './IsMobile'
|
||||
|
||||
declare const process: {
|
||||
|
||||
Reference in New Issue
Block a user