insite-users-client
Version:
inSite users client side
50 lines • 1.41 kB
TypeScript
import { SubscriptionGroup, type SubscriptionMapWithSubscription, type SubscriptionObjectWithSubscription } from "insite-subscriptions-client";
import { handleExtendedOrgs, handleOrgs, handleOrgsBeforeSubscribe } from "./orgs";
import { handleRoles } from "./roles";
import { handleUser } from "./user";
import { handleExtendedUsers, handleUsers } from "./users";
import type { UsersSubscriptionGroupOptions } from "./types";
export declare class UsersSubscriptionGroup extends SubscriptionGroup<[
[
"orgs",
SubscriptionMapWithSubscription | "map",
typeof handleOrgs,
typeof handleOrgsBeforeSubscribe
],
[
"users",
SubscriptionMapWithSubscription | "map",
typeof handleUsers
],
[
"user",
SubscriptionObjectWithSubscription | [true],
typeof handleUser
]
] | [
[
"roles",
"map",
typeof handleRoles
],
[
"extendedUsers",
"map",
"users.extended",
typeof handleExtendedUsers,
true
],
[
"extendedOrgs",
"map",
"orgs.extended",
typeof handleExtendedOrgs,
true
]
]> {
constructor({ values, ...options }: UsersSubscriptionGroupOptions);
isExtended: boolean | null;
extend(): Promise<void> | undefined;
unextend(): void;
}
//# sourceMappingURL=UsersSubscriptionGroup.d.ts.map