mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-18 21:43:49 +00:00
Move date components and helpers to shlink-web-component
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { fromPartial } from '@total-typescript/shoehorn';
|
||||
import { addDays, formatISO, subDays } from 'date-fns';
|
||||
import { formatIsoDate } from '../../../shlink-web-component/utils/dates/helpers/date';
|
||||
import type { DateInterval } from '../../../shlink-web-component/utils/dates/helpers/dateIntervals';
|
||||
import {
|
||||
getOrphanVisits as getOrphanVisitsCreator,
|
||||
orphanVisitsReducerCreator,
|
||||
@@ -10,8 +12,6 @@ import type { Visit } from '../../../shlink-web-component/visits/types';
|
||||
import type { ShlinkApiClient } from '../../../src/api/services/ShlinkApiClient';
|
||||
import type { ShlinkVisits } from '../../../src/api/types';
|
||||
import type { ShlinkState } from '../../../src/container/types';
|
||||
import { formatIsoDate } from '../../../src/utils/helpers/date';
|
||||
import type { DateInterval } from '../../../src/utils/helpers/dateIntervals';
|
||||
import { rangeOf } from '../../../src/utils/utils';
|
||||
|
||||
describe('orphanVisitsReducer', () => {
|
||||
|
||||
Reference in New Issue
Block a user