Define Shlink API contract

This commit is contained in:
Alejandro Celaya
2023-07-24 17:30:58 +02:00
parent 3fe48779be
commit 5f6dc186e3
42 changed files with 161 additions and 126 deletions

View File

@@ -1,11 +1,11 @@
import type { FC } from 'react';
import { useCallback } from 'react';
import type { ShlinkApiClient } from '../../../api/services/ShlinkApiClient';
import type { ReportExporter } from '../../../common/services/ReportExporter';
import type { SelectedServer } from '../../../servers/data';
import { isServerWithId } from '../../../servers/data';
import { ExportBtn } from '../../../utils/ExportBtn';
import { useToggle } from '../../../utils/helpers/hooks';
import type { ShlinkApiClient } from '../../api-contract';
import type { ShortUrl } from '../data';
import { useShortUrlsQuery } from './hooks';