diff --git a/src/App.tsx b/src/App.tsx index 5788e6b..04da993 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ import React, {useState} from "react"; import "./App.scss"; -import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang, SearchDirection} from "./dbtypes"; +import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang, SearchDirection} from "./types"; import {SaiEntry, JutEntry, ElesuEntry, TukEntry} from "./Entries"; import {setPassword, searchEntry} from "./requests"; diff --git a/src/Entries.tsx b/src/Entries.tsx index 998cd81..d10b636 100644 --- a/src/Entries.tsx +++ b/src/Entries.tsx @@ -1,9 +1,8 @@ import React, {useState} from "react"; -import {Conlang} from "./dbtypes"; import {updateEntry, getPassword} from "./requests"; import {declineSaimiar} from "./saimiar_morphology"; -import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps} from "./dbtypes"; +import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang} from "./types"; interface BaseProps { id: number; diff --git a/src/requests.ts b/src/requests.ts index 6e9c7dd..58144d4 100644 --- a/src/requests.ts +++ b/src/requests.ts @@ -1,6 +1,6 @@ import jwt from "jsonwebtoken"; -import {Conlang, SearchDirection} from "./dbtypes"; +import {Conlang, SearchDirection} from "./types"; const backendUrl = "https://kucinakobackend.ichigo.everydayimshuflin.com"; diff --git a/src/dbtypes.ts b/src/types.ts similarity index 100% rename from src/dbtypes.ts rename to src/types.ts