@web-lite/api-types
Advanced tools
Comparing version 1.3.0 to 1.4.0
# Changelog | ||
## [v1.3.0](https://github.com/weblite-wapps/api-types/tree/v1.3.0) (2021-09-19) | ||
[Full Changelog](https://github.com/weblite-wapps/api-types/compare/v1.2.1...v1.3.0) | ||
## [v1.2.1](https://github.com/weblite-wapps/api-types/tree/v1.2.1) (2021-07-27) | ||
@@ -4,0 +8,0 @@ |
@@ -131,2 +131,14 @@ import { MessageContent, ChatInfo, IMock } from './index'; | ||
}; | ||
export declare const getWappActivity: () => { | ||
search: (args: { | ||
[key: string]: any; | ||
} & { | ||
instance: string; | ||
}) => Promise<any>; | ||
postActivity: (args: { | ||
[key: string]: any; | ||
} & { | ||
instance: string; | ||
}) => Promise<void>; | ||
}; | ||
export {}; |
@@ -74,3 +74,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.getShareDBMock = exports.getImageMock = exports.getAnalyticsMock = exports.getAudioMock = exports.getMessageMock = exports.getChatMock = exports.getWappsMock = exports.getUsersMock = exports.getUserMock = exports.initializeAsync = exports.setHooks = exports.setDefaultValueForMissingProps = exports.globalUpdatePath = exports.globalLensView = exports.scopeInitiation = exports.debug = exports.GLOBALS = void 0; | ||
exports.getWappActivity = exports.getShareDBMock = exports.getImageMock = exports.getAnalyticsMock = exports.getAudioMock = exports.getMessageMock = exports.getChatMock = exports.getWappsMock = exports.getUsersMock = exports.getUserMock = exports.initializeAsync = exports.setHooks = exports.setDefaultValueForMissingProps = exports.globalUpdatePath = exports.globalLensView = exports.scopeInitiation = exports.debug = exports.GLOBALS = void 0; | ||
var R = __importStar(require("ramda")); | ||
@@ -508,1 +508,14 @@ var Storage = /** @class */ (function () { | ||
exports.getShareDBMock = getShareDBMock; | ||
var getWappActivity = function () { return ({ | ||
search: function (args) { return __awaiter(void 0, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
exports.debug('[wappActivity.search]', args); | ||
return [2 /*return*/, []]; | ||
}); | ||
}); }, | ||
postActivity: function (args) { | ||
exports.debug('[wappActivity.postActivity]', args); | ||
return Promise.resolve(); | ||
} | ||
}); }; | ||
exports.getWappActivity = getWappActivity; |
@@ -23,5 +23,6 @@ "use strict"; | ||
images: core_1.getImageMock(), | ||
shareDB: core_1.getShareDBMock() | ||
shareDB: core_1.getShareDBMock(), | ||
wappActivity: core_1.getWappActivity() | ||
}; | ||
}; | ||
exports.mockWebliteApi = mockWebliteApi; |
@@ -7,3 +7,3 @@ { | ||
"author": "Weblite Team", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Use W with type checking and mock out of the box.", | ||
@@ -10,0 +10,0 @@ "license": "BSD-3-Clause", |
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
67014
1632