Skip to main content

Interface: ISurfacesChanges

A structure containing changes the user made to the product on a per-surface basis.

Remarks

For example, you may obtain an IUserChanges structure if the user changed the Name and Position fields on two pages.

Example

{ "surfaces": {
"surface_0": {
"texts": [
{ "name": "Name", "usersValue": "John Wood", "isNewItem": false },
{ "name": "Position", "usersValue": "Designer", "isNewItem": false }
]
},
"surface_1": {
"texts": [
{ "name": "Name", "usersValue": "Christopher Bennett", "isNewItem": false },
{ "name": "Position", "usersValue": "Manager", "isNewItem": false }
]
}
},
"texts": [
{ "name": "Name", "usersValue": "John Wood", "isNewItem": false },
{ "name": "Position", "usersValue": "Designer", "isNewItem": false },
{ "name": "Name", "usersValue": "Christopher Bennett", "isNewItem": false },
{ "name": "Position", "usersValue": "Manager", "isNewItem": false }
]}

Indexable

[surfaceName: string]: object

The surface name.

Was this page helpful?