From 0e3844d5e549f2a3c75a0a28c62de0273efefee3 Mon Sep 17 00:00:00 2001 From: Vit Horacek Date: Wed, 28 Feb 2024 21:46:31 +0000 Subject: [PATCH] Add features properties to policy --- src/types/onyx/Policy.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/types/onyx/Policy.ts b/src/types/onyx/Policy.ts index cf242311dd63..7f7f1cb507cc 100644 --- a/src/types/onyx/Policy.ts +++ b/src/types/onyx/Policy.ts @@ -229,6 +229,24 @@ type Policy = OnyxCommon.OnyxValueWithOfflineFeedback< /** All the integration connections attached to the policy */ connections?: Record; + + /** Whether the Categories feature is enabled */ + areCategoriesEnabled?: boolean; + + /** Whether the Tags feature is enabled */ + areTagsEnabled?: boolean; + + /** Whether the Distance Rates feature is enabled */ + areDistanceRatessEnabled?: boolean; + + /** Whether the workflows feature is enabled */ + areWorkflowsEnabled?: boolean; + + /** Whether the Report Fields feature is enabled */ + areReportFieldsEnabled?: boolean; + + /** Whether the Connections feature is enabled */ + areConnectionsEnabled?: boolean; }, 'generalSettings' | 'addWorkspaceRoom' >;