17 lines
326 B
TypeScript
Executable File
17 lines
326 B
TypeScript
Executable File
export interface Permission {
|
|
id: number;
|
|
name: string;
|
|
advanced?: boolean;
|
|
display_name: string;
|
|
description: string;
|
|
group: string;
|
|
restrictions: PermissionRestriction[];
|
|
}
|
|
|
|
export interface PermissionRestriction {
|
|
name: string;
|
|
type: string;
|
|
value?: string | number | boolean;
|
|
description?: string;
|
|
}
|