feat: 支持 push
This commit is contained in:
4
src/push-notifications/enums/device-type.enum.ts
Normal file
4
src/push-notifications/enums/device-type.enum.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export enum DeviceType {
|
||||
IOS = 'IOS',
|
||||
ANDROID = 'ANDROID',
|
||||
}
|
||||
6
src/push-notifications/enums/push-message-status.enum.ts
Normal file
6
src/push-notifications/enums/push-message-status.enum.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export enum PushMessageStatus {
|
||||
PENDING = 'PENDING',
|
||||
SENT = 'SENT',
|
||||
FAILED = 'FAILED',
|
||||
EXPIRED = 'EXPIRED',
|
||||
}
|
||||
6
src/push-notifications/enums/push-type.enum.ts
Normal file
6
src/push-notifications/enums/push-type.enum.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export enum PushType {
|
||||
ALERT = 'ALERT',
|
||||
BACKGROUND = 'BACKGROUND',
|
||||
VOIP = 'VOIP',
|
||||
LIVEACTIVITY = 'LIVEACTIVITY',
|
||||
}
|
||||
Reference in New Issue
Block a user