@fabriktor/client 0.0.19 → 0.0.20
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.
|
@@ -24,7 +24,7 @@ export interface UsersOperator {
|
|
|
24
24
|
resolveUsername(opts: ResolveUsernameOptions): Promise<Op<string>>;
|
|
25
25
|
match(opts: MatchOptions): Promise<Op<User[]>>;
|
|
26
26
|
search(opts: SearchOptions): Promise<Op<User[]>>;
|
|
27
|
-
getByUID(opts: GetByUIDOptions): Promise<Op<User>>;
|
|
27
|
+
getByUID(opts: GetByUIDOptions): Promise<Op<User[]>>;
|
|
28
28
|
}
|
|
29
29
|
export type UsersClientOptions = {
|
|
30
30
|
http: HTTPDoer;
|
|
@@ -44,6 +44,6 @@ export declare class UsersClient implements UsersOperator {
|
|
|
44
44
|
resolveUsername(opts: ResolveUsernameOptions): Promise<Op<string>>;
|
|
45
45
|
match(opts: MatchOptions): Promise<Op<User[]>>;
|
|
46
46
|
search(opts: SearchOptions): Promise<Op<User[]>>;
|
|
47
|
-
getByUID(opts: GetByUIDOptions): Promise<Op<User>>;
|
|
47
|
+
getByUID(opts: GetByUIDOptions): Promise<Op<User[]>>;
|
|
48
48
|
}
|
|
49
49
|
export declare function newUsersClient(opts: UsersClientOptions): UsersClient;
|