aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-03-01 22:08:56 +0100
committerArmand Philippot <git@armandphilippot.com>2022-03-01 22:08:56 +0100
commit80d54805e26a6a6971c5ad214b02456dcc226628 (patch)
tree9b81e0cd3ff881b2cbeb81f9f96b52b510d67646 /src/ts/types
parent99ae0a9d3a923ca1e998dc9b504dad607fdfd768 (diff)
parent8bd9784acdee6871ad70e86d0d7120299bf76969 (diff)
refactor: various refactoring
Improve maintenance (meta splitting) and try to improve performance (dynamic imports).
Diffstat (limited to 'src/ts/types')
-rw-r--r--src/ts/types/app.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ts/types/app.ts b/src/ts/types/app.ts
index 0960cbd..444733c 100644
--- a/src/ts/types/app.ts
+++ b/src/ts/types/app.ts
@@ -99,6 +99,8 @@ export type Meta = {
updatedOn: string;
};
+export type MetaKind = 'article' | 'list';
+
export type NoticeType = 'error' | 'info' | 'success' | 'warning';
export type PageInfo = {