This commit is contained in:
Aleksandr Kraiz
2023-03-31 19:43:30 +04:00
parent facf5153df
commit 665bd568a4
16 changed files with 43 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
import { fetchWithValidation } from 'simple-typed-fetch';
import stf from 'simple-typed-fetch';
import {
errorSchema,
miniStatsSchema,
@@ -9,6 +9,8 @@ import {
linkSchema,
} from './schemas/index.js';
const { fetchWithValidation } = stf;
type CreateLinkPayloadType = {
referer: string
link_option: number