Rename dbtypes -> types

This commit is contained in:
Greg Shuflin 2021-09-15 01:45:48 -07:00
parent beb9413a90
commit a574747d96
4 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,7 @@
import React, {useState} from "react"; import React, {useState} from "react";
import "./App.scss"; 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 {SaiEntry, JutEntry, ElesuEntry, TukEntry} from "./Entries";
import {setPassword, searchEntry} from "./requests"; import {setPassword, searchEntry} from "./requests";

View File

@ -1,9 +1,8 @@
import React, {useState} from "react"; import React, {useState} from "react";
import {Conlang} from "./dbtypes";
import {updateEntry, getPassword} from "./requests"; import {updateEntry, getPassword} from "./requests";
import {declineSaimiar} from "./saimiar_morphology"; import {declineSaimiar} from "./saimiar_morphology";
import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps} from "./dbtypes"; import {SaiEntryProps, JutEntryProps, ElesuEntryProps, TukEntryProps, Conlang} from "./types";
interface BaseProps { interface BaseProps {
id: number; id: number;

View File

@ -1,6 +1,6 @@
import jwt from "jsonwebtoken"; import jwt from "jsonwebtoken";
import {Conlang, SearchDirection} from "./dbtypes"; import {Conlang, SearchDirection} from "./types";
const backendUrl = "https://kucinakobackend.ichigo.everydayimshuflin.com"; const backendUrl = "https://kucinakobackend.ichigo.everydayimshuflin.com";