Moved Shlink API services to api module

This commit is contained in:
Alejandro Celaya
2020-12-22 09:55:39 +01:00
parent 8c6eaf2f1d
commit b2abfd543e
35 changed files with 43 additions and 40 deletions

View File

@@ -9,7 +9,7 @@ import reducer, {
CreateShortUrlAction,
} from '../../../src/short-urls/reducers/shortUrlCreation';
import { ShortUrl } from '../../../src/short-urls/data';
import ShlinkApiClient from '../../../src/utils/services/ShlinkApiClient';
import ShlinkApiClient from '../../../src/api/services/ShlinkApiClient';
import { ShlinkState } from '../../../src/container/types';
describe('shortUrlCreationReducer', () => {

View File

@@ -8,7 +8,7 @@ import reducer, {
deleteShortUrl,
} from '../../../src/short-urls/reducers/shortUrlDeletion';
import { ProblemDetailsError } from '../../../src/api/types';
import ShlinkApiClient from '../../../src/utils/services/ShlinkApiClient';
import ShlinkApiClient from '../../../src/api/services/ShlinkApiClient';
describe('shortUrlDeletionReducer', () => {
describe('reducer', () => {

View File

@@ -10,7 +10,7 @@ import { SHORT_URL_DELETED } from '../../../src/short-urls/reducers/shortUrlDele
import { SHORT_URL_META_EDITED } from '../../../src/short-urls/reducers/shortUrlMeta';
import { CREATE_VISITS } from '../../../src/visits/reducers/visitCreation';
import { ShortUrl } from '../../../src/short-urls/data';
import ShlinkApiClient from '../../../src/utils/services/ShlinkApiClient';
import ShlinkApiClient from '../../../src/api/services/ShlinkApiClient';
import { ShlinkPaginator, ShlinkShortUrlsResponse } from '../../../src/api/types';
import { CREATE_SHORT_URL } from '../../../src/short-urls/reducers/shortUrlCreation';
import { SHORT_URL_EDITED } from '../../../src/short-urls/reducers/shortUrlEdition';