( object: PropertyObjectWithMetadata, )
| 440 | | SerializedEntity<Properties>; |
| 441 | |
| 442 | export const propertyObjectToPatches = ( |
| 443 | object: PropertyObjectWithMetadata, |
| 444 | ): PropertyPatchOperation[] => |
| 445 | typedEntries(object.value).map(([propertyTypeBaseUrl, property]) => { |
| 446 | return { |
| 447 | op: "add", |
| 448 | path: [propertyTypeBaseUrl], |
| 449 | property, |
| 450 | }; |
| 451 | }); |
| 452 | |
| 453 | /** |
| 454 | * Creates an array of PropertyPatchOperations that, if applied, will transform the oldProperties into the |
no test coverage detected