index.ets 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. * @type number
  41. * @description 屏幕宽度
  42. */
  43. SCREEN_WIDTH = 'screenWidth',
  44. /**
  45. * @type number
  46. * @description 屏幕高度
  47. */
  48. SCREEN_HEIGHT = 'screenHeight',
  49. /**
  50. * @type string
  51. * @description 推送token
  52. */
  53. PUSH_TOKEN = 'pushToken',
  54. /**
  55. * @type boolean
  56. * @description 是否首次进入APP
  57. */
  58. FIRST_ENTER_APP = 'firstEnterApp',
  59. /**
  60. * @type boolean
  61. * @description 是否为单机状态下的app
  62. */
  63. IS_STAND_ALONE_APP = 'IsStandAloneApp'
  64. }
  65. export enum EmitterKeyCollection {
  66. /**
  67. * @description 刷新已经渲染的食物列表
  68. */
  69. REFRESH_FOOD_LIST = 'refreshFoodList',
  70. /**
  71. * @description 删除并刷新文件夹
  72. */
  73. DELETE_AND_REFRESH_FOLDER = 'deleteAndRefreshFolder',
  74. /**
  75. * @description 登录
  76. */
  77. LOGIN = 'userLoginIn',
  78. /**
  79. * @description 登出
  80. */
  81. LOGOUT = 'UserLogout',
  82. /**
  83. * @description 全选删除
  84. */
  85. GROUP_SELECTED_DELETE = 'groupSelected',
  86. /**
  87. * @description 选择项恢复初始状态
  88. */
  89. SELECTED_RESET = 'selectedReset',
  90. /**
  91. * @description 刷新日历数据
  92. */
  93. REFRESH_CALENDER_DATA = 'refreshCalenderData',
  94. /**
  95. * @description 刷新当前选中日期数据
  96. */
  97. REFRESH_CURRENT_DATE_DATA = 'refreshCurrentDateData',
  98. }