feat: filtering logic

This commit is contained in:
Carlos Valente
2025-01-12 10:08:21 +01:00
committed by Carlos Valente
parent 2cc434b0e9
commit bc9345199b
4 changed files with 214 additions and 24 deletions
@@ -41,6 +41,6 @@ const baseState: RuntimeState = {
},
};
export function makeRuntimeStateData(patch?: Partial<RuntimeState>) {
return deepmerge(baseState, patch);
export function makeRuntimeStateData(patch?: Partial<RuntimeState>): RuntimeState {
return deepmerge(baseState, patch) as RuntimeState;
}