mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-18 20:37:35 +08:00
✨ Feature: add privacy policy
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
export const SHOW_INPUT_BOX = 'SHOW_INPUT_BOX'
|
||||
export const SHOW_INPUT_BOX_RESPONSE = 'SHOW_INPUT_BOX_RESPONSE'
|
||||
export const TOGGLE_SHORTKEY_MODIFIED_MODE = 'TOGGLE_SHORTKEY_MODIFIED_MODE'
|
||||
export const BAIDU_TONGJI_INIT = 'BAIDU_TONDJI_INIT'
|
||||
export const BAIDU_TONGJI_INIT_RES = 'BAIDU_TONDJI_INIT_RES'
|
||||
export const BAIDU_TONGJI_CODE = '19a7ebdbb87f2403773c7ab0cae16d21'
|
||||
export const BAIDU_TONGJI_EVENT = 'BAIDU_TONGJI_EVENT'
|
||||
export const TALKING_DATA_APPID = '7E6832BCE3F1438696579E541DFEBFDA'
|
||||
export const TALKING_DATA_EVENT = 'TALKING_DATA_EVENT'
|
||||
export const SHOW_PRIVACY_MESSAGE = 'SHOW_PRIVACY_MESSAGE'
|
||||
|
||||
4
src/universal/types/shims-tsx.d.ts
vendored
4
src/universal/types/shims-tsx.d.ts
vendored
@@ -12,6 +12,8 @@ declare global {
|
||||
}
|
||||
|
||||
interface Window {
|
||||
_hmt: any[]
|
||||
TDAPP: {
|
||||
onEvent: (EventId: string, Label?: string, MapKv?: IStringKeyMap) => void
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
15
src/universal/types/types.d.ts
vendored
15
src/universal/types/types.d.ts
vendored
@@ -296,13 +296,10 @@ interface IAppNotification {
|
||||
icon?: string
|
||||
}
|
||||
|
||||
interface IBaiduTongJiOptions {
|
||||
category: string
|
||||
action: string
|
||||
// eslint-disable-next-line camelcase
|
||||
opt_label?: string
|
||||
// eslint-disable-next-line camelcase
|
||||
opt_value?: number
|
||||
interface ITalkingDataOptions {
|
||||
EventId: string
|
||||
Label?: string
|
||||
MapKv?: IStringKeyMap
|
||||
}
|
||||
|
||||
interface IAnalyticsData {
|
||||
@@ -311,3 +308,7 @@ interface IAnalyticsData {
|
||||
count: number
|
||||
duration?: number // 耗时
|
||||
}
|
||||
|
||||
interface IStringKeyMap {
|
||||
[propName: string]: any
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user