UNPKG

@openinc/parse-server-opendash

Version:
12 lines (11 loc) 275 B
export interface PermissionInterface { label: string; description: string; key: string; } export type FunctionKeys<T> = { [K in keyof T]: T[K] extends (...args: any[]) => any ? K : never; }[keyof T]; export interface PermissionMap { [key: string]: any; }