Pushes a hand-written field change; returns the layer id. Throws a StateError for a sync-owned entity.
int patchEntity(String key, Map<String, Object?> fields) => actions.patchEntity(key, fields);