@spytecgps/nova-orm 1.3.108 → 1.3.110

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,4 @@
1
+ import { NovaDataSource } from '../../novaDataSource';
2
+ import { Logger } from '../../types/logger';
3
+ import { DeleteUserParams } from '../../types/user';
4
+ export declare const deleteUserData: (novaDataSource: NovaDataSource, params: DeleteUserParams, logger: Logger) => Promise<boolean>;
@@ -144,4 +144,11 @@ export declare class UsersRepository extends BaseRepository {
144
144
  * @returns The user information with the amazon devices
145
145
  */
146
146
  getUserInfoWithAmazonDevicesInfo(params: GetUserInfoWithAmazonDevicesInfoParams): Promise<UserInfoWithAmazonDevicesInfo>;
147
+ /**
148
+ * Delete a user
149
+ * @param {DeleteUserParams} params containing information to delete a user data
150
+ * id: the user id, required
151
+ * @returns Whether the user data was deleted or not
152
+ */
153
+ deleteUserData(params: DeleteUserParams): Promise<boolean>;
147
154
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spytecgps/nova-orm",
3
- "version": "1.3.108",
3
+ "version": "1.3.110",
4
4
  "description": "ORM with PlanetScale",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",