diff --git a/src/registry.ts b/src/registry.ts
new file mode 100644
index 0000000..0c79d3c
--- /dev/null
+++ b/src/registry.ts
@@ -0,0 +1,25 @@
+/*
+ DrCr: Web-based double-entry bookkeeping framework
+ Copyright (C) 2022–2024 Lee Yingtong Li (RunasSudo)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+export const accountKinds: [string, string][] = [
+ ['drcr.asset', 'Asset'],
+ ['drcr.liability', 'Liability'],
+ ['drcr.income', 'Income'],
+ ['drcr.expense', 'Expense'],
+ ['drcr.equity', 'Equity']
+];
diff --git a/tsconfig.json b/tsconfig.json
index f7d7733..a76293d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,9 +1,9 @@
{
"compilerOptions": {
- "target": "ES2020",
+ "target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
+ "lib": ["ESNext", "DOM", "DOM.Iterable"],
"skipLibCheck": true,
/* Bundler mode */