@makolabs/ripple 2.5.8 → 2.5.9
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { User, GetUsersOptions, GetUsersResult } from '../index.js';
|
|
2
|
-
export declare const getUsers: import("@sveltejs/kit").
|
|
2
|
+
export declare const getUsers: import("@sveltejs/kit").RemoteCommand<GetUsersOptions, Promise<GetUsersResult>>;
|
|
3
3
|
export declare const createUser: import("@sveltejs/kit").RemoteCommand<Partial<User>, Promise<User>>;
|
|
4
4
|
export declare const updateUser: import("@sveltejs/kit").RemoteCommand<{
|
|
5
5
|
userId: string;
|
|
@@ -248,7 +248,7 @@ async function createUserPermissions(email, permissions, clientId = CLIENT_ID) {
|
|
|
248
248
|
log.trace('createUserPermissions', 'Result:', result);
|
|
249
249
|
return result;
|
|
250
250
|
}
|
|
251
|
-
export const getUsers =
|
|
251
|
+
export const getUsers = command('unchecked', async (options) => {
|
|
252
252
|
log.trace('getUsers', 'Called with options:', options);
|
|
253
253
|
try {
|
|
254
254
|
const limit = options.pageSize;
|