gi-nx / patchProperties
ts
function patchProperties(projects: ProjectFeatureCollection, newProps: (f: Feature) => Record<string, number | string | boolean>): Promise<void[]>;Parameters
| Parameter | Type | Description |
|---|---|---|
projects | ProjectFeatureCollection | FeatureCollection of projects to update |
newProps | (f: Feature) => Record<string, number | string | boolean> | Function that returns new properties for each feature |
Returns
Promise<void[]>
Promise that resolves when all patches are complete