index.ets 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. export enum AdStatus {
  2. AD_LOAD = 'onAdLoad',
  3. AD_FAIL = 'onAdFail',
  4. AD_OPEN = 'onAdOpen',
  5. AD_CLICKED = 'onAdClick',
  6. AD_CLOSED = 'onAdClose',
  7. AD_REWARDED = 'onAdReward',
  8. AD_VIDEO_START = 'onVideoPlayBegin',
  9. AD_COMPLETED = 'onVideoPlayEnd'
  10. }
  11. //微信APP_ID
  12. export const APP_ID: string = ''
  13. export enum AppStorageKeyCollect {
  14. /**
  15. * @type string
  16. * @description 用户登录令牌token
  17. */
  18. TOKEN = 'token',
  19. /**
  20. * @type string
  21. * @description 验证码登录防伪标识
  22. */
  23. UUID = 'uuid',
  24. /**
  25. * @type string
  26. * @description 设备唯一标识
  27. */
  28. OAID = 'oaid',
  29. /**
  30. * @type boolean
  31. * @description 是否已加载广告
  32. */
  33. AD_IS_LOADED = 'isLoaded',
  34. /**
  35. * @type Record<string, string>
  36. * @description 验证码登录手机号与验证码
  37. */
  38. CAPTCHA_LOGIN = 'captchaLogin'
  39. }
  40. export enum EmitterKeyCollection {
  41. /**
  42. * @description 刷新已经渲染的食物列表
  43. */
  44. REFRESH_FOOD_LIST = 'refreshFoodList',
  45. /**
  46. * @description 删除并刷新文件夹
  47. */
  48. DELETE_AND_REFRESH_FOLDER = 'deleteAndRefreshFolder',
  49. /**
  50. * @description 登录
  51. */
  52. LOGIN = 'userLoginIn',
  53. /**
  54. * @description 登出
  55. */
  56. LOGOUT = 'UserLogout',
  57. /**
  58. * @description 全选删除
  59. */
  60. GROUP_SELECTED_DELETE = 'groupSelected',
  61. /**
  62. * @description 选择项恢复初始状态
  63. */
  64. SELECTED_RESET = 'selectedReset',
  65. /**
  66. * @description 刷新日历数据
  67. */
  68. REFRESH_CALENDER_DATA = 'refreshCalenderData',
  69. /**
  70. * @description 刷新当前选中日期数据
  71. */
  72. REFRESH_CURRENT_DATE_DATA = 'refreshCurrentDateData',
  73. }