From 20363baab69902c10a445d6f37698ca627edb369 Mon Sep 17 00:00:00 2001 From: Al0cam Date: Mon, 11 Aug 2025 11:16:18 +0200 Subject: [PATCH] initial creation of RuleIO --- IO/RuleIO.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 IO/RuleIO.ts diff --git a/IO/RuleIO.ts b/IO/RuleIO.ts new file mode 100644 index 0000000..d4d392c --- /dev/null +++ b/IO/RuleIO.ts @@ -0,0 +1,20 @@ +class SettingsIO { + private static instance: SettingsIO; + + private constructor() {} + + public static getInstance(): SettingsIO { + if (!SettingsIO.instance) { + SettingsIO.instance = new SettingsIO(); + } + return SettingsIO.instance; + } + + // reading from yaml + // reading from json + // reading from regular txt file + +} + +const settingsIO = SettingsIO.getInstance(); +export default settingsIO;