64 lines
1.9 KiB
TypeScript
64 lines
1.9 KiB
TypeScript
declare module 'slash2';
|
|
declare module '*.css';
|
|
declare module '*.less';
|
|
declare module '*.scss';
|
|
declare module '*.sass';
|
|
declare module '*.svg';
|
|
declare module '*.png';
|
|
declare module '*.jpg';
|
|
declare module '*.jpeg';
|
|
declare module '*.gif';
|
|
declare module '*.bmp';
|
|
declare module '*.tiff';
|
|
declare module 'omit.js';
|
|
|
|
// google analytics interface
|
|
interface GAFieldsObject {
|
|
eventCategory: string;
|
|
eventAction: string;
|
|
eventLabel?: string;
|
|
eventValue?: number;
|
|
nonInteraction?: boolean;
|
|
}
|
|
interface Window {
|
|
ga: (
|
|
command: 'send',
|
|
hitType: 'event' | 'pageview',
|
|
fieldsObject: GAFieldsObject | string,
|
|
) => void;
|
|
reloadAuthorized: () => void;
|
|
}
|
|
|
|
declare let ga: Function;
|
|
|
|
declare interface Window {
|
|
ntkoBrowser: any;
|
|
}
|
|
|
|
// preview.pro.ant.design only do not use in your production ;
|
|
// preview.pro.ant.design 专用环境变量,请不要在你的项目中使用它。
|
|
declare let ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: 'site' | undefined;
|
|
|
|
declare const REACT_APP_ENV: 'test' | 'dev' | 'pre' | false;
|
|
/**ENV-商城2.0跳转地址 */
|
|
declare const REACT_APP_MALL_V2_URL: string
|
|
/**ENV-系统跳转参数KEY */
|
|
declare const REACT_APP_CLIENT_KEY: string
|
|
/**ENV-系统跳转参数SECRET */
|
|
// declare const REACT_APP_CLIENT_SECRET: string
|
|
/**ENV-密码加密参数CIPHERMODE */
|
|
declare const REACT_APP_PASSWORD_CIPHERMODE: string
|
|
/**ENV-密码加密参数PUBLICKEY */
|
|
declare const REACT_APP_PASSWORD_PUBLICKEY: string
|
|
/**ENV-环境参数 */
|
|
declare const START_ENV: string
|
|
/**ENV-询价查看报价跳转地址 */
|
|
// declare const REACT_APP_XUNJIA_REDIRECT: string
|
|
/**ENV-询价查看报价跳转地址 */
|
|
declare const REACT_APP_XUNJIA_UID: string
|
|
//智慧客服
|
|
declare const REACT_APP_CUSTOMERSERVICE_USERCENTER: string
|
|
declare const REACT_APP_CUSTOMERSERVICE_CLIENT_ID: string
|
|
declare const REACT_APP_CUSTOMERSERVICE_REDIRECT: string
|
|
declare const UPLOAD_URL: string
|
|
declare const REQUEST_BASE: string |