@temboplus/afloat 0.1.43 → 0.1.44
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.
- package/esm/src/features/admin/repository.d.ts +3 -5
- package/esm/src/features/admin/repository.d.ts.map +1 -1
- package/esm/src/features/admin/repository.js +2 -2
- package/package.json +1 -1
- package/script/src/features/admin/repository.d.ts +3 -5
- package/script/src/features/admin/repository.d.ts.map +1 -1
- package/script/src/features/admin/repository.js +2 -2
|
@@ -39,7 +39,7 @@ export declare class UserManagementRepository extends BaseRepository<typeof user
|
|
|
39
39
|
/**
|
|
40
40
|
* Archives (soft deletes) a user account by ID.
|
|
41
41
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
42
|
-
* @returns {Promise<
|
|
42
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
43
43
|
* @throws {PermissionError} If the user lacks required permissions
|
|
44
44
|
* @throws {APIError} If the response status code is not 200.
|
|
45
45
|
*/
|
|
@@ -47,13 +47,11 @@ export declare class UserManagementRepository extends BaseRepository<typeof user
|
|
|
47
47
|
/**
|
|
48
48
|
* Archives (soft deletes) a user account by ID.
|
|
49
49
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
50
|
-
* @returns {Promise<
|
|
50
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
51
51
|
* @throws {PermissionError} If the user lacks required permissions
|
|
52
52
|
* @throws {APIError} If the response status code is not 200.
|
|
53
53
|
*/
|
|
54
|
-
unArchiveUser(id: string): Promise<
|
|
55
|
-
isArchived: boolean;
|
|
56
|
-
}>;
|
|
54
|
+
unArchiveUser(id: string): Promise<ManagedUser>;
|
|
57
55
|
/**
|
|
58
56
|
* Resets a user's password.
|
|
59
57
|
* @param {string} id - The unique identifier of the user account.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../src/src/features/admin/repository.ts"],"names":[],"mappings":"AAAA,OAAO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69
69
|
* Archives (soft deletes) a user account by ID.
|
|
70
70
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
71
|
-
* @returns {Promise<
|
|
71
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
72
72
|
* @throws {PermissionError} If the user lacks required permissions
|
|
73
73
|
* @throws {APIError} If the response status code is not 200.
|
|
74
74
|
*/
|
|
@@ -92,7 +92,7 @@ export class UserManagementRepository extends BaseRepository {
|
|
|
92
92
|
/**
|
|
93
93
|
* Archives (soft deletes) a user account by ID.
|
|
94
94
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
95
|
-
* @returns {Promise<
|
|
95
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
96
96
|
* @throws {PermissionError} If the user lacks required permissions
|
|
97
97
|
* @throws {APIError} If the response status code is not 200.
|
|
98
98
|
*/
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export declare class UserManagementRepository extends BaseRepository<typeof user
|
|
|
39
39
|
/**
|
|
40
40
|
* Archives (soft deletes) a user account by ID.
|
|
41
41
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
42
|
-
* @returns {Promise<
|
|
42
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
43
43
|
* @throws {PermissionError} If the user lacks required permissions
|
|
44
44
|
* @throws {APIError} If the response status code is not 200.
|
|
45
45
|
*/
|
|
@@ -47,13 +47,11 @@ export declare class UserManagementRepository extends BaseRepository<typeof user
|
|
|
47
47
|
/**
|
|
48
48
|
* Archives (soft deletes) a user account by ID.
|
|
49
49
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
50
|
-
* @returns {Promise<
|
|
50
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
51
51
|
* @throws {PermissionError} If the user lacks required permissions
|
|
52
52
|
* @throws {APIError} If the response status code is not 200.
|
|
53
53
|
*/
|
|
54
|
-
unArchiveUser(id: string): Promise<
|
|
55
|
-
isArchived: boolean;
|
|
56
|
-
}>;
|
|
54
|
+
unArchiveUser(id: string): Promise<ManagedUser>;
|
|
57
55
|
/**
|
|
58
56
|
* Resets a user's password.
|
|
59
57
|
* @param {string} id - The unique identifier of the user account.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../src/src/features/admin/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,WAAW,EAGZ,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAiB,MAAM,sBAAsB,CAAC;AAE3D;;;GAGG;AACH,qBAAa,wBACX,SAAQ,cAAc,CAAC,OAAO,sBAAsB,CAAC;IACrD;;;;;OAKG;gBACS,KAAK,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,UAAU,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;IAIxD;;;;;;OAMG;IACG,UAAU,CAAC,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAgBvE;;;;;;;OAOG;IACG,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,GAAG,OAAO,CAAC,WAAW,CAAC;IAuB5E;;;;;;OAMG;IACG,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAoBnD;;;;;;OAMG;IACG,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../../src/src/features/admin/repository.ts"],"names":[],"mappings":"AAA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uB/C;;;;;;;;;OASG;IACG,WAAW,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAsBpC;;;;;;;;;;OAUG;IACG,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAmBzC"}
|
|
@@ -71,7 +71,7 @@ class UserManagementRepository extends base_repository_js_1.BaseRepository {
|
|
|
71
71
|
/**
|
|
72
72
|
* Archives (soft deletes) a user account by ID.
|
|
73
73
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
74
|
-
* @returns {Promise<
|
|
74
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
75
75
|
* @throws {PermissionError} If the user lacks required permissions
|
|
76
76
|
* @throws {APIError} If the response status code is not 200.
|
|
77
77
|
*/
|
|
@@ -95,7 +95,7 @@ class UserManagementRepository extends base_repository_js_1.BaseRepository {
|
|
|
95
95
|
/**
|
|
96
96
|
* Archives (soft deletes) a user account by ID.
|
|
97
97
|
* @param {string} id - The unique identifier of the user account to archive.
|
|
98
|
-
* @returns {Promise<
|
|
98
|
+
* @returns {Promise<ManagedUser>} A promise with the updated user object.
|
|
99
99
|
* @throws {PermissionError} If the user lacks required permissions
|
|
100
100
|
* @throws {APIError} If the response status code is not 200.
|
|
101
101
|
*/
|