@hylid/types
Advanced tools
Comparing version 4.0.8 to 4.0.9
@@ -47,3 +47,9 @@ /// <reference types="miniprogram" /> | ||
isInstalledApp(args?: any): void; | ||
navigateToBizScene(args?: any): void; | ||
navigateToBizScene(args: { | ||
sceneCode: string; | ||
param?: { | ||
scheme?: string; | ||
[key: string]: any; | ||
}; | ||
} & AsyncCallback<void>): void; | ||
paySignCenter(args?: any): void; | ||
@@ -145,7 +151,7 @@ rpc(args: IRPCArgs & AsyncCallback<{ | ||
path?: string; | ||
} & AsyncCallback<void>) => void; | ||
}) => Promise<void>; | ||
openInApp: (args: { | ||
url: string; | ||
path?: string; | ||
} & AsyncCallback<void>) => void; | ||
}) => Promise<void>; | ||
openOtherApp: (args: { | ||
@@ -155,10 +161,10 @@ appId: string; | ||
launchParams?: Record<string, any>; | ||
} & AsyncCallback<void>) => void; | ||
}) => Promise<void>; | ||
openInBrowser: (args: { | ||
url: string; | ||
path?: string; | ||
} & AsyncCallback<void>) => void; | ||
openPayCodePage: () => void; | ||
openApPayCodePage: () => void; | ||
openScanPage: () => void; | ||
}) => Promise<void>; | ||
openPayCodePage: () => Promise<void>; | ||
openApPayCodePage: () => Promise<void>; | ||
openScanPage: () => Promise<void>; | ||
getMainSelectedCity: (args: AsyncCallback<{ | ||
@@ -214,5 +220,47 @@ fullName: string; | ||
}) => void; | ||
getRunScene: (args: AsyncCallback<{ | ||
envVersion: 'develop' | 'trial' | 'release'; | ||
}>) => void; | ||
setCanPullDown: (args: { | ||
canPullDown: boolean; | ||
} & AsyncCallback<void>) => void; | ||
chooseFileFromDisk: (args: AsyncCallback<{ | ||
success: boolean; | ||
apFilePath: string; | ||
}> & { | ||
appId?: string; | ||
}) => void; | ||
chooseVideo: (args: AsyncCallback<{ | ||
filePath: string; | ||
duration: number; | ||
size: number; | ||
height: number; | ||
width: number; | ||
tempFilePath: string; | ||
}> & { | ||
sourceType?: string[]; | ||
compressed?: boolean; | ||
maxDuration?: number; | ||
camera?: string; | ||
}) => void; | ||
compressImage: (args: AsyncCallback<{ | ||
apFilePaths: string[]; | ||
}> & { | ||
apFilePaths: string[]; | ||
compressLevel?: number; | ||
compressedWidth?: number; | ||
compressedHeight?: number; | ||
maxWidth?: number; | ||
maxHeight?: number; | ||
}) => void; | ||
setTabBarItem: (args: { | ||
index?: number; | ||
text: string; | ||
iconPath: string; | ||
selectedIconPath: string; | ||
} & AsyncCallback<void>) => void; | ||
showTabBar: (args: { | ||
animation?: boolean; | ||
} & AsyncCallback<void>) => void; | ||
hideBackHome: () => void; | ||
} | ||
@@ -219,0 +267,0 @@ export declare type HeadModel = { |
{ | ||
"name": "@hylid/types", | ||
"version": "4.0.8", | ||
"version": "4.0.9", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21090
638