From a574747d9667d672d7bd5171f64feb1f9dde32a4 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Wed, 15 Sep 2021 01:45:48 -0700 Subject: [PATCH] Rename dbtypes -> types --- src/App.tsx | 2 +- src/Entries.tsx | 3 +-- src/requests.ts | 2 +- src/{dbtypes.ts => types.ts} | 0 4 files changed, 3 insertions(+), 4 deletions(-) rename src/{dbtypes.ts => types.ts} (100%) 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