From 1730c1d56f17afc3225ef282174448b78c41bed5 Mon Sep 17 00:00:00 2001 From: Sosthene Date: Wed, 27 Aug 2025 17:30:34 +0200 Subject: [PATCH] Add AppConstants --- src/front/Config/AppConstants.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/front/Config/AppConstants.ts diff --git a/src/front/Config/AppConstants.ts b/src/front/Config/AppConstants.ts new file mode 100644 index 00000000..1663c182 --- /dev/null +++ b/src/front/Config/AppConstants.ts @@ -0,0 +1,20 @@ +/** + * Application-wide constants + * This file contains constants that are used across multiple components and services + */ + +export const APP_CONSTANTS = { + /** + * Default validator ID used for creating various entities (customers, documents, roles, etc.) + * This is a system-level validator that has permissions to create and manage entities + */ + DEFAULT_VALIDATOR_ID: 'c87bbb4873fd4c8427655b083b098c4b3f3a8ebf436d286b69c8036db4a2a029:0', +} as const; + +// Export individual constants for easier imports +export const DEFAULT_VALIDATOR_ID = APP_CONSTANTS.DEFAULT_VALIDATOR_ID; + +// Define +export const DEFAULT_STORAGE_URLS = [ + 'https://dev3.4nkweb.com/storage' +] as const;