pashto-dictionary/library.ts

58 lines
1.2 KiB
TypeScript
Raw Normal View History

2021-09-18 12:43:03 +00:00
import * as AT from "./website/src/types/account-types";
import * as FT from "./website/src/types/functions-types";
2022-05-17 20:03:59 +00:00
import * as DT from "./website/src/types/dictionary-types";
2021-09-19 00:23:48 +00:00
import {
getTimestamp,
} from "./account/src/lib/time-utils";
2021-09-19 03:44:34 +00:00
import {
userObjIsEqual,
objIsEqual,
} from "./website/src/lib/misc-helpers";
2022-05-17 18:46:22 +00:00
import {
DictionaryDb,
} from "./website/src/lib/dictionary-core";
import {
allEntries,
entryFeeder,
dictionary,
} from "./website/src/lib/dictionary";
2021-09-18 12:43:03 +00:00
import {
myFetch,
signOut,
upgradeAccount,
upgradeToStudentRequest,
getUser,
2021-09-19 03:11:51 +00:00
postTestResults,
2021-09-18 12:43:03 +00:00
} from "./website/src/lib/backend-calls";
import {
lingdocsUserExpressMiddleware,
withLingdocsUserApiRoute,
withLingdocsUserSsr,
} from "./account/src/lib/with-user";
2021-09-18 12:43:03 +00:00
export {
// FUNCTIONS
2021-09-19 00:23:48 +00:00
getTimestamp,
2021-09-19 03:44:34 +00:00
objIsEqual,
userObjIsEqual,
2022-05-17 18:46:22 +00:00
DictionaryDb,
allEntries,
entryFeeder,
dictionary,
2021-09-18 12:51:32 +00:00
// fetching
2021-09-18 12:43:03 +00:00
myFetch,
signOut,
upgradeAccount,
upgradeToStudentRequest,
getUser,
2021-09-19 03:11:51 +00:00
postTestResults,
// withLingdocsUser functions
lingdocsUserExpressMiddleware,
withLingdocsUserApiRoute,
withLingdocsUserSsr,
2021-09-18 12:43:03 +00:00
// TYPES
AT,
FT,
2022-05-17 20:03:59 +00:00
DT,
2021-09-18 12:43:03 +00:00
};