core: deprecate export =

This commit is contained in:
undefined committed 2024-06-14 13:45:16 +08:00
1 parent 35de36d80d
commit 0ab030130c
16 files changed
+73 -84

No files matched your search

+4 -2
View File
@@ -43,8 +43,10 @@ export { buildContent } from './lib/content';
export { default as mime } from './lib/mime';
export { default as rating } from './lib/rating';
export { default as avatar } from './lib/avatar';
export { default as rank } from './lib/rank';
export { default as paginate } from './lib/paginate';
/** @deprecated use Handler.paginate instead */
export const paginate = db.paginate.bind(db);
/** @deprecated use db.ranked instead */
export const rank = db.ranked.bind(db);
export { UiContextBase } from './service/layers/base';
export * from '@hydrooj/framework/decorators';
export * from '@hydrooj/framework/validator';