Heading to the Printing United trade show? Schedule a meeting with our representatives.

ISurfacesChanges Interface

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

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 }
    ]
}
For example, you may obtain such an IUserChanges structure if the user changed the Name and Position fields on two pages.

Indexable

[surfaceName: string ]: object

The surface name.

  • inStringPlaceholders: IUserChangeItem []

    An array of texts entered by the user in text placeholders.

  • texts: IUserChangeItem []

    An array of texts entered by the user in text elements.