diff options
Diffstat (limited to 'core/raw/api.ts')
-rw-r--r-- | core/raw/api.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/raw/api.ts b/core/raw/api.ts index 76cdb5b..47e9075 100644 --- a/core/raw/api.ts +++ b/core/raw/api.ts @@ -33,7 +33,11 @@ export default class RawCore implements Core { }, }; - public user: CoreUser = {}; + public user: CoreUser = { + termPriority: async (uid, expression, reading, priority) => { + this._db.termPriority(uid, expression, reading, priority); + }, + }; public import: CoreImport = {}; |