12 lines
568 B
TypeScript
12 lines
568 B
TypeScript
import { ActionDef } from "oak-domain/lib/types/Action";
|
|
import { GenericAction } from "oak-domain/lib/actions/action";
|
|
export type UsageState = 'unused' | 'granted' | 'denied' | 'revoked' | string;
|
|
export type UsageAction = 'revoke' | 'award' | 'deny' | string;
|
|
export type ParticularAction = UsageAction;
|
|
export declare const actions: string[];
|
|
export declare const UsageActionDef: ActionDef<UsageAction, UsageState>;
|
|
export type Action = GenericAction | ParticularAction | string;
|
|
export declare const actionDefDict: {
|
|
usageState: ActionDef<string, string>;
|
|
};
|