export const VD_SYNC_VERSION = 2

export const PAGE_CREATE = 2
export const MOUNTED_DATA = 4
export const UPDATED_DATA = 6
export const PAGE_CREATED = 10

export const UI_EVENT = 20

export const LAYOUT_READY = 30

export const VD_SYNC = 'vdSync'

export const APP_SERVICE_ID = '__uniapp__service'

export const WEBVIEW_READY = 'webviewReady'
export const WEBVIEW_UI_EVENT = 'webviewUIEvent'
export const VD_SYNC_CALLBACK = 'vdSyncCallback'
export const INVOKE_API = 'invokeApi'
export const WEB_INVOKE_APPSERVICE = 'WEB_INVOKE_APPSERVICE'
export const WEBVIEW_INSERTED = 'webviewInserted'
export const WEBVIEW_REMOVED = 'webviewRemoved'
export const WEBVIEW_ID_PREFIX = 'webviewId'
export const SET_LOCALE = 'setLocale'
