feat: first commit

This commit is contained in:
eleanor.mao
2025-03-31 22:34:22 +08:00
commit d25187c9c8
390 changed files with 57031 additions and 0 deletions

28
src/constants/message.ts Normal file
View File

@ -0,0 +1,28 @@
export enum MessageType {
Text = '1',
File = '2',
Image = '3',
TextAndFile = '4',
RequestAnchorContact = '5',
RequestCompanyContact = '6',
Material = '7',
Job = '8',
Location = '9',
Time = '10',
}
export enum MessageActionStatus {
Send = 0,
Agree = 1,
Reject = 2,
AgreeByDefault = 3,
}
export enum ChatWatchType {
AnchorReject = 1,
CompanyReject = 2,
}
export const REFRESH_UNREAD_COUNT_TIME = 20 * 1000;
export const REFRESH_CHAT_LIST_TIME = 20 * 1000;
export const PULL_NEW_MESSAGES_TIME = 3 * 1000;