UNPKG

kuzzle-sdk

Version:
23 lines (22 loc) 511 B
import { JSONObject, RoleRightsDefinition } from "../../types"; export declare class Role { /** * Role unique ID */ _id: string; /** * List of rights on controllers/actions */ controllers: RoleRightsDefinition; private _kuzzle; /** * @param {Kuzzle} kuzzle * @param {Object} data */ constructor(kuzzle: any, _id?: any, controllers?: {}); protected get kuzzle(): any; /** * Serialize the instance */ serialize(): JSONObject; }