UNPKG

@openinc/parse-server-opendash

Version:
27 lines (26 loc) 826 B
import type { Tenant } from "./Tenant"; export interface PermissionAttributes { id: string; objectId: string; createdAt: Date; updatedAt: Date; adminOnly?: boolean; description?: string; key: string; label?: string; tenant?: Tenant; } export declare class Permission extends Parse.Object<PermissionAttributes> { static className: string; constructor(data?: Partial<PermissionAttributes>); get adminOnly(): boolean | undefined; set adminOnly(value: boolean | undefined); get description(): string | undefined; set description(value: string | undefined); get key(): string; set key(value: string); get label(): string | undefined; set label(value: string | undefined); get tenant(): Tenant | undefined; set tenant(value: Tenant | undefined); }