Moved some types from short-url/data to api-contract

This commit is contained in:
Alejandro Celaya
2023-08-07 10:51:08 +02:00
parent 23daa2de72
commit d97db9e17c
35 changed files with 79 additions and 79 deletions

View File

@@ -1,6 +1,5 @@
import { fromPartial } from '@total-typescript/shoehorn';
import type { ShlinkApiClient } from '../../../src/api-contract';
import type { ShlinkShortUrl } from '../../../src/short-urls/data';
import type { ShlinkApiClient, ShlinkShortUrl } from '../../../src/api-contract';
import {
createShortUrl as createShortUrlCreator,
shortUrlCreationReducerCreator,

View File

@@ -1,7 +1,6 @@
import { fromPartial } from '@total-typescript/shoehorn';
import type { ShlinkApiClient } from '../../../src/api-contract';
import type { ShlinkApiClient, ShlinkShortUrl } from '../../../src/api-contract';
import type { RootState } from '../../../src/container/store';
import type { ShlinkShortUrl } from '../../../src/short-urls/data';
import { shortUrlDetailReducerCreator } from '../../../src/short-urls/reducers/shortUrlDetail';
import type { ShortUrlsList } from '../../../src/short-urls/reducers/shortUrlsList';

View File

@@ -1,5 +1,5 @@
import { fromPartial } from '@total-typescript/shoehorn';
import type { ShlinkShortUrl } from '../../../src/short-urls/data';
import type { ShlinkShortUrl } from '../../../src/api-contract';
import {
editShortUrl as editShortUrlCreator,
shortUrlEditionReducerCreator,

View File

@@ -1,6 +1,5 @@
import { fromPartial } from '@total-typescript/shoehorn';
import type { ShlinkApiClient, ShlinkShortUrlsResponse } from '../../../src/api-contract';
import type { ShlinkShortUrl } from '../../../src/short-urls/data';
import type { ShlinkApiClient, ShlinkShortUrl, ShlinkShortUrlsResponse } from '../../../src/api-contract';
import { createShortUrl as createShortUrlCreator } from '../../../src/short-urls/reducers/shortUrlCreation';
import { shortUrlDeleted } from '../../../src/short-urls/reducers/shortUrlDeletion';
import { editShortUrl as editShortUrlCreator } from '../../../src/short-urls/reducers/shortUrlEdition';