first pass at access control setup
This commit is contained in:
@@ -6,73 +6,72 @@
|
||||
* Response DTO for rule information
|
||||
*/
|
||||
export type RuleResponse = {
|
||||
/**
|
||||
* Action ID (null if the referenced action has been deleted)
|
||||
*/
|
||||
action?: number | null;
|
||||
/**
|
||||
* Parameters to pass to the action when rule is triggered
|
||||
*/
|
||||
action_params: Record<string, any>;
|
||||
/**
|
||||
* Action reference
|
||||
*/
|
||||
action_ref: string;
|
||||
/**
|
||||
* Conditions for rule evaluation
|
||||
*/
|
||||
conditions: Record<string, any>;
|
||||
/**
|
||||
* Creation timestamp
|
||||
*/
|
||||
created: string;
|
||||
/**
|
||||
* Rule description
|
||||
*/
|
||||
description: string;
|
||||
/**
|
||||
* Whether the rule is enabled
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Rule ID
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* Whether this is an ad-hoc rule (not from pack installation)
|
||||
*/
|
||||
is_adhoc: boolean;
|
||||
/**
|
||||
* Human-readable label
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* Pack ID
|
||||
*/
|
||||
pack: number;
|
||||
/**
|
||||
* Pack reference
|
||||
*/
|
||||
pack_ref: string;
|
||||
/**
|
||||
* Unique reference identifier
|
||||
*/
|
||||
ref: string;
|
||||
/**
|
||||
* Trigger ID (null if the referenced trigger has been deleted)
|
||||
*/
|
||||
trigger?: number | null;
|
||||
/**
|
||||
* Parameters for trigger configuration and event filtering
|
||||
*/
|
||||
trigger_params: Record<string, any>;
|
||||
/**
|
||||
* Trigger reference
|
||||
*/
|
||||
trigger_ref: string;
|
||||
/**
|
||||
* Last update timestamp
|
||||
*/
|
||||
updated: string;
|
||||
/**
|
||||
* Action ID (null if the referenced action has been deleted)
|
||||
*/
|
||||
action?: number | null;
|
||||
/**
|
||||
* Parameters to pass to the action when rule is triggered
|
||||
*/
|
||||
action_params: Record<string, any>;
|
||||
/**
|
||||
* Action reference
|
||||
*/
|
||||
action_ref: string;
|
||||
/**
|
||||
* Conditions for rule evaluation
|
||||
*/
|
||||
conditions: Record<string, any>;
|
||||
/**
|
||||
* Creation timestamp
|
||||
*/
|
||||
created: string;
|
||||
/**
|
||||
* Rule description
|
||||
*/
|
||||
description: string | null;
|
||||
/**
|
||||
* Whether the rule is enabled
|
||||
*/
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Rule ID
|
||||
*/
|
||||
id: number;
|
||||
/**
|
||||
* Whether this is an ad-hoc rule (not from pack installation)
|
||||
*/
|
||||
is_adhoc: boolean;
|
||||
/**
|
||||
* Human-readable label
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* Pack ID
|
||||
*/
|
||||
pack: number;
|
||||
/**
|
||||
* Pack reference
|
||||
*/
|
||||
pack_ref: string;
|
||||
/**
|
||||
* Unique reference identifier
|
||||
*/
|
||||
ref: string;
|
||||
/**
|
||||
* Trigger ID (null if the referenced trigger has been deleted)
|
||||
*/
|
||||
trigger?: number | null;
|
||||
/**
|
||||
* Parameters for trigger configuration and event filtering
|
||||
*/
|
||||
trigger_params: Record<string, any>;
|
||||
/**
|
||||
* Trigger reference
|
||||
*/
|
||||
trigger_ref: string;
|
||||
/**
|
||||
* Last update timestamp
|
||||
*/
|
||||
updated: string;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user