Membrane SDK - v0.29.2
    Preparing search index...

    Function setEditablePropertiesForWorkspaceElement

    • Sets editable properties on a workspace element. Uses lenient parsing to extract only the fields defined in the export schema, then adds undefined for missing properties (PUT semantics).

      Type Parameters

      • T extends Record<string, unknown>

      Parameters

      • currentElement: T
      • newEditableFields: Record<string, unknown>
      • exportSchema: ZodType

      Returns T