@rocket.chat/apps-engine
Advanced tools
Comparing version 0.4.6 to 0.4.7
{ | ||
"name": "@rocket.chat/apps-engine", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.", | ||
@@ -47,3 +47,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@rocket.chat/apps-ts-definition": "^0.7.12", | ||
"@rocket.chat/apps-ts-definition": "^0.7.14", | ||
"adm-zip": "^0.4.7", | ||
@@ -50,0 +50,0 @@ "semver": "^5.3.0", |
@@ -13,4 +13,4 @@ import { IPersistence } from '@rocket.chat/apps-ts-definition/accessors'; | ||
remove(id: string): object; | ||
removeByAssociation(association: RocketChatAssociationRecord): number; | ||
removeByAssociations(associations: Array<RocketChatAssociationRecord>): number; | ||
removeByAssociation(association: RocketChatAssociationRecord): Array<object>; | ||
removeByAssociations(associations: Array<RocketChatAssociationRecord>): Array<object>; | ||
} |
@@ -56,5 +56,5 @@ import { RocketChatAssociationRecord } from '@rocket.chat/apps-ts-definition/metadata'; | ||
* @argument appId the id of the app calling this | ||
* @returns the amount of records removed | ||
* @returns the data of the removed records | ||
*/ | ||
removeByAssociations(associations: Array<RocketChatAssociationRecord>, appId: string): number; | ||
removeByAssociations(associations: Array<RocketChatAssociationRecord>, appId: string): Array<object>; | ||
/** | ||
@@ -61,0 +61,0 @@ * Updates the record in the database, with the option of creating a new one if it doesn't exist. |
Sorry, the diff of this file is not supported yet
378559