UNPKG

722 BTypeScriptView Raw
1import Taro from '@tarojs/api';
2export declare class cloud implements Taro.cloud {
3 Cloud: new (options: Taro.cloud.IOptions) => Taro.Cloud;
4 init: () => Promise<{
5 errMsg: string;
6 }>;
7 CloudID: () => Promise<{
8 errMsg: string;
9 }>;
10 callFunction: () => Promise<{
11 errMsg: string;
12 }>;
13 uploadFile: () => Promise<{
14 errMsg: string;
15 }>;
16 downloadFile: () => Promise<{
17 errMsg: string;
18 }>;
19 getTempFileURL: () => Promise<{
20 errMsg: string;
21 }>;
22 deleteFile: () => Promise<{
23 errMsg: string;
24 }>;
25 database: () => Promise<{
26 errMsg: string;
27 }>;
28 callContainer: () => Promise<{
29 errMsg: string;
30 }>;
31}