@ray-js/api 1.2.2 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ /// <reference path="../@types/PlayNetKit.d.ts" />
2
+ export declare const home: {
3
+ getCurrentHomeInfo: typeof ty.home.getCurrentHomeInfo;
4
+ getDeviceIdList: typeof ty.home.getDeviceIdList;
5
+ getRoomList: typeof ty.home.getRoomList;
6
+ getDeviceRoomInfo: typeof ty.home.getDeviceRoomInfo;
7
+ };
@@ -0,0 +1,12 @@
1
+ /// <reference path="../@types/PlayNetKit.d.ts" />
2
+ export declare const map: {
3
+ chooseLocation: typeof ty.map.chooseLocation;
4
+ getLocation: typeof ty.map.getLocation;
5
+ getMapList: typeof ty.map.getMapList;
6
+ isGeofenceReachLimit: typeof ty.map.isGeofenceReachLimit;
7
+ openGeofenceMap: typeof ty.map.openGeofenceMap;
8
+ openMapAppLocation: typeof ty.map.openMapAppLocation;
9
+ registerGeofence: typeof ty.map.registerGeofence;
10
+ unregisterGeofence: typeof ty.map.unregisterGeofence;
11
+ updateGeofence: typeof ty.map.updateGeofence;
12
+ };
package/lib/all-kits.d.ts CHANGED
@@ -3,5 +3,7 @@ export * from './BizKit-3.2.7';
3
3
  export * from './DeviceKit-3.3.1';
4
4
  export * from './MiniKit-3.1.0';
5
5
  export * from './PlayNetKit-1.1.3';
6
+ export * from './MapKit-3.0.7';
7
+ export * from './HomeKit-3.1.4';
6
8
  import * as device from './DeviceKit-3.3.1';
7
9
  export { device };
package/lib/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="../@types/api.d.ts" />
2
+ export * from './constants';
2
3
  export * from './all-kits';
3
4
  export * from './lifecycles';
4
5
  export { default as getApp } from './getApp';
@@ -25,10 +26,6 @@ export { default as getCdnUrl } from './getCdnUrl';
25
26
  */
26
27
  export { default as globalApi } from './global-api';
27
28
  export * from './cloud';
28
- /**
29
- * panel-sdk中一些面板小程序中必用API
30
- */
31
- export * from './panel';
32
29
  /**
33
30
  * 0.10.3将一部分未支持的api导入
34
31
  */
package/lib/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  /// <reference path="../@types/api.d.ts" />
2
+ export * from './constants';
2
3
  export * from './all-kits';
3
4
  export * from './lifecycles';
4
5
  export { default as getApp } from './getApp';
@@ -26,11 +27,6 @@ export { default as getCdnUrl } from './getCdnUrl';
26
27
 
27
28
  export { default as globalApi } from './global-api';
28
29
  export * from './cloud';
29
- /**
30
- * panel-sdk中一些面板小程序中必用API
31
- */
32
-
33
- export * from './panel';
34
30
  /**
35
31
  * 0.10.3将一部分未支持的api导入
36
32
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/api",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Ray universal api",
5
5
  "keywords": [
6
6
  "ray"
@@ -26,13 +26,13 @@
26
26
  "build:kit:api": "node scripts/api-creator.mjs"
27
27
  },
28
28
  "dependencies": {
29
- "@ray-js/framework": "^1.2.2",
30
- "@ray-js/router": "^1.2.2",
29
+ "@ray-js/framework": "^1.2.4",
30
+ "@ray-js/router": "^1.2.4",
31
31
  "@ray-js/wechat": "^0.0.16",
32
32
  "base64-browser": "^1.0.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@ray-js/cli": "^1.2.2",
35
+ "@ray-js/cli": "^1.2.4",
36
36
  "art-template": "^4.13.2",
37
37
  "fs-extra": "^10.1.0",
38
38
  "miniprogram-api-typings": "^3.4.3",
@@ -44,6 +44,6 @@
44
44
  "email": "tuyafe@tuya.com"
45
45
  }
46
46
  ],
47
- "gitHead": "e517fe5da418e0caa4c69c9331499d510472dc5e",
47
+ "gitHead": "356643c2705793c454d23166433f482e1f9b882d",
48
48
  "repository": {}
49
49
  }
@@ -1,59 +0,0 @@
1
- import { DevInfo } from '../types/devInfo';
2
- export interface InitPanelEnvironmentOptions {
3
- /**
4
- * @description 是否需要使用默认离线弹窗
5
- * @default true
6
- */
7
- useDefaultOffline?: boolean;
8
- /**
9
- * @description 蓝牙提示是否需要阻止交互
10
- * @default false
11
- */
12
- bleCover?: boolean;
13
- /**
14
- * @description 蓝牙及 toast 提示自定义顶部高度(自定义导航时使用)如: 100px,10vh等
15
- * @default 0
16
- */
17
- customTop?: string;
18
- /**
19
- *@description 蓝牙连接方式,默认0
20
- * 0: 网关和app都需要,默认值,本地和网关两个途径任何一个可用均可生效
21
- * 1: 仅 app, 只会判定本地是否在线, 以及本地连接是否成功
22
- * 2: 仅网关连接, 只会判定网关是否在线,以及网关连接是否成功
23
- * @default 0
24
- */
25
- bleConnectType?: number;
26
- /**
27
- * @description 是否显示蓝牙连接状态提示
28
- *
29
- * @default true
30
- * @version 2.10.4
31
- */
32
- showBLEToast?: boolean;
33
- /**
34
- * @description 当前设备 id,默认为 undefined,表示自动从小程序的 query参数中获取
35
- * @default undefined
36
- */
37
- deviceId?: string;
38
- /**
39
- * @description 当前群组 id,默认为 undefined,表示自动从小程序的 query参数中获取
40
- * @default undefined
41
- */
42
- groupId?: string;
43
- }
44
- export declare function parseDevice(dev: ty.device.DeviceInfo | DevInfo): DevInfo;
45
- /**
46
- * 初始化面板环境下使用到的设备信息
47
- * @returns Promise<DevInfo>
48
- */
49
- export declare const initDevInfo: (option?: {
50
- deviceId?: string;
51
- groupId?: string;
52
- }) => Promise<DevInfo>;
53
- export declare const getDevInfo: () => DevInfo;
54
- export declare const updateDevInfo: (devInfo: DevInfo) => void;
55
- /**
56
- * 绑定当前设备或群组基础事件
57
- * @param config: InitPanelEnvironmentOptions 配置项
58
- */
59
- export declare function initPanelEnvironment(options?: InitPanelEnvironmentOptions): Promise<void>;
@@ -1,176 +0,0 @@
1
- import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
2
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
- import _regeneratorRuntime from "@babel/runtime/regenerator";
4
- import "core-js/modules/es.object.to-string.js";
5
- import "core-js/modules/web.dom-collections.for-each.js";
6
- import "core-js/modules/es.promise.js";
7
- import { getDeviceInfo, getLaunchOptionsSync, getGroupInfo, getApp, registerDeviceListListener, registerGroupChange, exitMiniProgram, subscribeDeviceRemoved, onDeviceRemoved } from '../../';
8
- // 本地化缓存 deviceInfo 方便随时调用
9
- var __deviceInfo = null;
10
- var defaultPanelEnvironmentOptions = {
11
- useDefaultOffline: true,
12
- bleCover: false,
13
- customTop: null,
14
- bleConnectType: 0,
15
- showBLEToast: true
16
- };
17
- export function parseDevice(dev) {
18
- if (!dev) return null; // @ts-ignore
19
-
20
- var deviceInfo = _objectSpread({}, dev);
21
-
22
- var schema = dev.schema;
23
- var idCodes = {};
24
- var codeIds = {};
25
- schema.forEach(function (item) {
26
- // @ts-ignore
27
- var id = item.id,
28
- code = item.code;
29
- idCodes[id] = code;
30
- codeIds[code] = id;
31
- });
32
- deviceInfo.idCodes = idCodes;
33
- deviceInfo.codeIds = codeIds;
34
- return deviceInfo;
35
- }
36
- /**
37
- * 初始化面板环境下使用到的设备信息
38
- * @returns Promise<DevInfo>
39
- */
40
-
41
- export var initDevInfo = function (option) {
42
- return new Promise(function (resolve, reject) {
43
- if (__deviceInfo) {
44
- resolve(__deviceInfo);
45
- }
46
-
47
- var data = getLaunchOptionsSync();
48
-
49
- var _ref = option || data.query,
50
- deviceId = _ref.deviceId,
51
- groupId = _ref.groupId;
52
-
53
- if (groupId) {
54
- getGroupInfo({
55
- groupId: groupId,
56
- success: function success(groupInfo) {
57
- __deviceInfo = groupInfo;
58
- resolve(__deviceInfo);
59
- }
60
- });
61
- } else {
62
- getDeviceInfo({
63
- deviceId: deviceId,
64
- success: function success(deviceInfo) {
65
- __deviceInfo = parseDevice(deviceInfo);
66
- resolve(__deviceInfo);
67
- },
68
- fail: reject
69
- });
70
- }
71
- });
72
- };
73
- export var getDevInfo = function () {
74
- return __deviceInfo;
75
- };
76
- export var updateDevInfo = function (devInfo) {
77
- __deviceInfo = devInfo;
78
- };
79
- /**
80
- * 监听设备移除
81
- */
82
-
83
- var handleDeviceRemoved = function () {
84
- exitMiniProgram();
85
- };
86
- /**
87
- * 绑定当前设备或群组基础事件
88
- * @param config: InitPanelEnvironmentOptions 配置项
89
- */
90
-
91
-
92
- export function initPanelEnvironment() {
93
- return _initPanelEnvironment.apply(this, arguments);
94
- }
95
-
96
- function _initPanelEnvironment() {
97
- _initPanelEnvironment = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
98
- var options,
99
- App,
100
- _args = arguments;
101
- return _regeneratorRuntime.wrap(function (_context) {
102
- while (1) {
103
- switch (_context.prev = _context.next) {
104
- case 0:
105
- options = _args.length > 0 && _args[0] !== undefined ? _args[0] : defaultPanelEnvironmentOptions;
106
-
107
- if (getApp()) {
108
- _context.next = 5;
109
- break;
110
- }
111
-
112
- _context.next = 4;
113
- return new Promise(function (resolve) {
114
- setTimeout(function () {
115
- resolve(initPanelEnvironment(options));
116
- }, 0);
117
- });
118
-
119
- case 4:
120
- return _context.abrupt("return");
121
-
122
- case 5:
123
- App = getApp(); // 基础库版本需要大于 2.6.0
124
-
125
- App.onReady = function (event) {
126
- var _options$deviceId, _options$groupId;
127
-
128
- var deviceId = (_options$deviceId = options.deviceId) !== null && _options$deviceId !== void 0 ? _options$deviceId : event.query.deviceId;
129
- var groupId = (_options$groupId = options.groupId) !== null && _options$groupId !== void 0 ? _options$groupId : event.query.groupId;
130
- var useDefaultOffline = options.useDefaultOffline; // @ts-ignore
131
-
132
- if (ty.panel && ty.panel.initPanelKit && useDefaultOffline) {
133
- // @ts-ignore
134
- ty.panel.initPanelKit(_objectSpread({
135
- deviceId: deviceId,
136
- groupId: groupId
137
- }, options));
138
- } else {
139
- // 否则使用 registerDeviceListListener 注册,删除上述条件方法
140
- // 若需要能用离线逻辑,则需要在 global.config.ts 中添加 pageWrapper: ['@ray-js/ray-panel-wrapper/lib/page'],
141
- if (deviceId) {
142
- registerDeviceListListener({
143
- deviceIdList: [deviceId]
144
- });
145
- }
146
-
147
- if (groupId) {
148
- registerGroupChange({
149
- groupIdList: [groupId]
150
- });
151
- }
152
- }
153
-
154
- if (deviceId) {
155
- subscribeDeviceRemoved({
156
- deviceId: deviceId,
157
- success: function success() {
158
- onDeviceRemoved(handleDeviceRemoved);
159
- }
160
- });
161
- }
162
- }; // 使用 Promise 确保业务可以通过 initPanelEnvironment 的正常调用明确设备信息初始化完成
163
-
164
-
165
- _context.next = 9;
166
- return initDevInfo(options.deviceId || options.groupId ? options : undefined);
167
-
168
- case 9:
169
- case "end":
170
- return _context.stop();
171
- }
172
- }
173
- }, _callee);
174
- }));
175
- return _initPanelEnvironment.apply(this, arguments);
176
- }
@@ -1,3 +0,0 @@
1
- export { parseDevice, getDevInfo, initDevInfo, initPanelEnvironment } from './devInfo';
2
- export * from './normalizeNetwork';
3
- export * from './publishDps';
@@ -1,3 +0,0 @@
1
- export { parseDevice, getDevInfo, initDevInfo, initPanelEnvironment } from './devInfo';
2
- export * from './normalizeNetwork';
3
- export * from './publishDps';
@@ -1,15 +0,0 @@
1
- import { getNetworkType, onNetworkStatusChange } from '../';
2
- import { GetTTTSuccessData, GetTTTEventListenerParams, NetworkState } from './types';
3
- declare type GetNetworkResult = GetTTTSuccessData<typeof getNetworkType>;
4
- declare type NetworkStatusChangeParam = GetTTTEventListenerParams<typeof onNetworkStatusChange>;
5
- /**
6
- * 规范统一处理 network 返回值
7
- *
8
- * 1. 比如 getNetworkType 里没有返回 isConnected 字段是正常的,为了和 wx 保持统一
9
- * 2. 事件回调数据里没有返回 signalStrength 字段是正常的,为了和 wx 保持统一
10
- *
11
- * @param network - 当前的 network 数据
12
- * @param data - 从 getNetworkType 或 onNetworkStatusChange 获取到的数据
13
- */
14
- export declare function normalizeNetwork(network: NetworkState, data: GetNetworkResult | NetworkStatusChangeParam): NetworkState;
15
- export {};
@@ -1,25 +0,0 @@
1
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
-
3
- /**
4
- * 规范统一处理 network 返回值
5
- *
6
- * 1. 比如 getNetworkType 里没有返回 isConnected 字段是正常的,为了和 wx 保持统一
7
- * 2. 事件回调数据里没有返回 signalStrength 字段是正常的,为了和 wx 保持统一
8
- *
9
- * @param network - 当前的 network 数据
10
- * @param data - 从 getNetworkType 或 onNetworkStatusChange 获取到的数据
11
- */
12
- export function normalizeNetwork(network, data) {
13
- var _result$networkType;
14
-
15
- var result = _objectSpread(_objectSpread({}, network), data);
16
-
17
- var networkType = result === null || result === void 0 ? void 0 : (_result$networkType = result.networkType) === null || _result$networkType === void 0 ? void 0 : _result$networkType.toUpperCase();
18
- result.networkType = networkType;
19
-
20
- if (typeof result.isConnected === 'undefined') {
21
- result.isConnected = networkType !== 'NONE';
22
- }
23
-
24
- return result;
25
- }
@@ -1,15 +0,0 @@
1
- import { publishDpsBase } from '../';
2
- import { GetTTTAllParams, DpState } from './types';
3
- declare type PublishDpsOptions = Omit<GetTTTAllParams<typeof publishDpsBase>, 'deviceId' | 'dps'>;
4
- /**
5
- * 兼容新旧 publishDps,可以使用原有小程序提供的调用方式,也可以使用 SDK 提供的调用方式。
6
- * @param data ty.device.publishDps的参数 或 当前要下发的 DP 数据,同时支持 key 为 dp code 或 dp id
7
- * @param options publishDps 的高阶配置,默认值为 { mode: 2, options: {}, pipelines: [] } * @example
8
- *
9
- * @example
10
- * publishDps({ deviceId: string, dps: {}, mode: number, pipelines: number[], options: {}, success(){}, fail(){},complete(){} })
11
- * publishDps({ switch: false });
12
- * publishDps({ '1': false })
13
- */
14
- export declare function publishDps<T extends GetTTTAllParams<typeof publishDpsBase> | DpState>(data: T, options?: PublishDpsOptions): T extends GetTTTAllParams<typeof publishDpsBase> ? void : Promise<boolean>;
15
- export {};
@@ -1,70 +0,0 @@
1
- import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
- import "core-js/modules/es.object.to-string.js";
3
- import "core-js/modules/web.dom-collections.for-each.js";
4
- import "core-js/modules/es.object.keys.js";
5
- import "core-js/modules/es.promise.js";
6
- import { publishDpsBase } from '../';
7
- import { getDevInfo } from './devInfo';
8
- var DEFAULT_OPTIONS = {
9
- mode: 2,
10
- options: {},
11
- pipelines: []
12
- };
13
- /**
14
- * 下发 DP 点控制设备
15
- *
16
- * @param data - 当前要下发的 DP 数据,同时支持 key 为 dp code 或 dp id
17
- * @param options - publishDps 的高阶配置
18
-
19
- * @example
20
- *
21
- * publishDps({ switch: false });
22
- * publishDps({ '1': false })
23
- */
24
-
25
- export function sendDps(data) {
26
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_OPTIONS;
27
- var devInfo = getDevInfo();
28
- var dps = {};
29
- var codeIds = (devInfo === null || devInfo === void 0 ? void 0 : devInfo.codeIds) || {};
30
- Object.keys(data).forEach(function (code) {
31
- if (codeIds[code] !== undefined) {
32
- dps["".concat(codeIds[code])] = data[code];
33
- } else {
34
- dps[code] = data[code];
35
- }
36
- });
37
- return new Promise(function (resolve, reject) {
38
- publishDpsBase(_objectSpread({
39
- deviceId: devInfo.devId,
40
- dps: dps,
41
- success: function success(ret) {
42
- resolve(ret);
43
- },
44
- fail: function fail(err) {
45
- reject(err);
46
- }
47
- }, options));
48
- });
49
- }
50
- /**
51
- * 兼容新旧 publishDps,可以使用原有小程序提供的调用方式,也可以使用 SDK 提供的调用方式。
52
- * @param data ty.device.publishDps的参数 或 当前要下发的 DP 数据,同时支持 key 为 dp code 或 dp id
53
- * @param options publishDps 的高阶配置,默认值为 { mode: 2, options: {}, pipelines: [] } * @example
54
- *
55
- * @example
56
- * publishDps({ deviceId: string, dps: {}, mode: number, pipelines: number[], options: {}, success(){}, fail(){},complete(){} })
57
- * publishDps({ switch: false });
58
- * publishDps({ '1': false })
59
- */
60
-
61
- export function publishDps(data) {
62
- var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_OPTIONS;
63
-
64
- if (data.deviceId && data.dps) {
65
- publishDpsBase(_objectSpread(_objectSpread({}, data), options));
66
- } else {
67
- // @ts-ignore
68
- return sendDps(data, options);
69
- }
70
- }
@@ -1,14 +0,0 @@
1
- export interface NetworkState {
2
- /**
3
- * 是否已连接
4
- */
5
- isConnected: boolean;
6
- /**
7
- * 网络类型: WIFI | 5G | 4G | 3G | 2G | GPRS | UNKNOWN | NONE
8
- */
9
- networkType: string;
10
- /**
11
- * 信号强弱,单位 dbm
12
- */
13
- signalStrength: number;
14
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,106 +0,0 @@
1
- export declare type DpValue = boolean | number | string;
2
- export declare type DpState = Record<string, DpValue>;
3
- export interface DpSchema {
4
- attr: number;
5
- canTrigger: boolean;
6
- /**
7
- * 功能点标识码,如 switch
8
- */
9
- code: string;
10
- defaultRecommend: boolean;
11
- editPermission: boolean;
12
- executable: boolean;
13
- extContent: string;
14
- iconname: string;
15
- /**
16
- * 功能点 ID
17
- */
18
- id: number;
19
- /**
20
- * 功能点模式类型
21
- * rw: 可下发可上报(可读可写)
22
- * ro: 只可上报(仅可读)
23
- * wr: 只可下发(仅可写)
24
- */
25
- mode: 'rw' | 'ro' | 'wr';
26
- /**
27
- * 功能点名称,一般用于语音等场景
28
- */
29
- name: string;
30
- /**
31
- * 功能点属性
32
- */
33
- property?: {
34
- /**
35
- * 功能点类型
36
- */
37
- type: 'bool' | 'value' | 'enum' | 'bitmap' | 'string';
38
- /**
39
- * 枚举值范围,type = enum 时才存在
40
- */
41
- range?: string[] | readonly string[];
42
- /**
43
- * 故障型标签列表,type = bitmap 时才存在
44
- */
45
- label?: string[] | readonly string[];
46
- /**
47
- * 故障型最大长度,type = bitmap 时才存在
48
- */
49
- maxlen?: number;
50
- /**
51
- * 数值型单位,type = value 时才存在
52
- */
53
- unit?: string;
54
- /**
55
- * 数值型最小值,type = value 时才存在
56
- */
57
- min?: number;
58
- /**
59
- * 数值型最大值,type = value 时才存在
60
- */
61
- max?: number;
62
- /**
63
- * 数值型精度,type = value 时才存在
64
- * @example
65
- * scale = 0; value = 10; 则业务上显示值为 10
66
- * scale = 1; value = 10; 则业务上显示值为 1
67
- * scale = 2; value = 10; 则业务上显示值为 0.1
68
- */
69
- scale?: number;
70
- /**
71
- * 数值型步长,type = value 时才存在
72
- */
73
- step?: number;
74
- };
75
- type: 'raw' | 'obj';
76
- }
77
- interface PanelConfig {
78
- bic: Array<{
79
- code: string;
80
- selected: boolean;
81
- value?: string | undefined;
82
- }>;
83
- fun?: Record<string, any> | undefined;
84
- }
85
- /**
86
- * 设备信息
87
- */
88
- export declare type DevInfo = Omit<ty.device.DeviceInfo, 'schema' | 'panelConfig'> & {
89
- /**
90
- * dp id 与 dp code 的映射
91
- */
92
- idCodes: Record<string, string>;
93
- /**
94
- * dp code 与 dp id 的映射
95
- */
96
- codeIds: Record<string, string>;
97
- /**
98
- * 产品信息,schema,功能定义都在里面
99
- */
100
- schema: Array<DpSchema>;
101
- /**
102
- * 面板云配置
103
- */
104
- panelConfig: PanelConfig;
105
- };
106
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export * from './app';
2
- export * from './devInfo';
3
- export * from './utilities';
@@ -1,3 +0,0 @@
1
- export * from './app';
2
- export * from './devInfo';
3
- export * from './utilities';
@@ -1,9 +0,0 @@
1
- declare type AnyFn = (...args: any) => any;
2
- export declare type GetTTTAllParams<Fn extends AnyFn> = Parameters<Fn>['0'];
3
- export declare type GetTTTParams<Fn extends AnyFn> = Omit<GetTTTAllParams<Fn>, 'complete' | 'success' | 'fail'>;
4
- export declare type GetTTTSuccessData<Fn extends AnyFn, TTTParams extends AnyFn = GetTTTAllParams<Fn>['success']> = Parameters<TTTParams>['0'];
5
- export declare type GetTTTFailData<Fn extends AnyFn, TTTParams extends AnyFn = GetTTTAllParams<Fn>['failed']> = Parameters<TTTParams>['0'];
6
- export declare type GetTTTEventListener<Fn extends AnyFn> = GetTTTAllParams<Fn>;
7
- export declare type GetTTTEventListenerParams<Fn extends AnyFn, TTTEventListener extends AnyFn = GetTTTEventListener<Fn>> = Parameters<TTTEventListener>['0'];
8
- export declare type PromisifyTTT<Fn extends AnyFn> = (params: GetTTTParams<Fn>) => Promise<GetTTTSuccessData<Fn>>;
9
- export {};
@@ -1 +0,0 @@
1
- export {};