overrideOutline

declare function overrideOutline(outlineSchema: TOutlineSchema): IOutlineSchema<any, any>;

Overrides an existing outline schema in the swarm system by updating it with the provided partial schema. Ensures the operation runs in a clean context using beginContext to avoid interference from existing method or execution contexts. Logs the operation if logging is enabled in the global configuration.

Parameter Description
outlineSchema The partial outline schema containing the outline name and optional schema properties to override.