mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-12 02:06:37 +08:00
feat(push): implement system notification and push framework
This commit is contained in:
@@ -26,6 +26,7 @@ import {UserService} from './user';
|
||||
import {ConfigService} from './config';
|
||||
import {UploadService} from './upload';
|
||||
import {DbManageService} from './db-manage';
|
||||
import {PushService} from './push';
|
||||
|
||||
/**
|
||||
* 服务对象
|
||||
@@ -47,6 +48,8 @@ const services = {
|
||||
upload: UploadService,
|
||||
/** 数据库管理服务 */
|
||||
dbManage: DbManageService,
|
||||
/** 通知推送服务 */
|
||||
push: PushService,
|
||||
} as const;
|
||||
|
||||
export default services;
|
||||
@@ -131,3 +134,7 @@ export type { UploadImageResponse } from './upload';
|
||||
// 数据库管理服务
|
||||
export { DbManageService } from './db-manage';
|
||||
export type { DBOverview, TableDataResponse, ExecuteSQLResponse } from './db-manage';
|
||||
|
||||
// 通知推送服务
|
||||
export { PushService } from './push';
|
||||
export type { PushEvent, PushHistory, PushChannelConfig, ListPushHistoriesRequest, ListPushHistoriesResponse, UpdatePushEventRequest, TestPushRequest } from './push';
|
||||
|
||||
Reference in New Issue
Block a user