frontend will can now display any serialization dict

This commit is contained in:
Mose Müller
2024-01-23 13:13:50 +01:00
parent a2518671da
commit 7279fed2aa
2 changed files with 15 additions and 9 deletions

View File

@ -6,7 +6,12 @@ export interface SerializedValue {
async?: boolean;
parameters?: unknown;
}
export type State = Record<string, SerializedValue> | null;
export type State = {
type: string;
value: Record<string, SerializedValue> | null;
readonly: boolean;
doc: string | null;
};
export function setNestedValueByPath(
serializationDict: Record<string, SerializedValue>,