addedInput schema / properties / changes / items / properties / canvas
Added value: +{
+ "description": "set_canvas: the new canvas. Text keeps its place and size, as in the editor, so check the previews and move what needs it.",
+ "properties": {
+ "orientation": {
+ "description": "Turns the set, and the phone with it (the editor's orientation toggle). A size alone keeps the phone's stance, as the size chip does.",
+ "enum": [
+ "portrait",
+ "landscape"
+ ],
+ "type": "string"
+ },
+ "size": {
+ "description": "WIDTHxHEIGHT of the same asset: another iPhone display or the twin turned the other way, the Duo's other display, another marketing size (320 to 4096 a side).",
+ "maxLength": 12,
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
changedInput schema / properties / changes / items / properties / layer / description
Previous value: -"set_layer: only the fields to change (motion {\"move\":\"none\"} stops it). add_layer: a whole new text, svg or library layer, with create_design's fields."New value: +"set_layer: only the fields to change; fields get_asset shows that only describe a layer (id, kind, box, what, frame, model_name, screenshot, locked) are ignored. Text: text, x, y, size, font, weight, color, align, line_height, wrap_width, rotation, motion (float, drift or sway). Picture: x, y, width or height, rotation, opacity, flip, tint (library pieces), svg or library (new art), motion. Phone frame layer: phone (a device id), color, fold, orientation, x, y, width or height, rotation, opacity, flip, motion. The screen's phone (\"device\"): shown, model, color, fold (inner-open/Unfolded, outer-closed/Cover, outer-open/Open back), x, y, height or width, rotation (-15 to 15), motion (listing assets). motion {\"move\":\"none\"} stops a move. add_layer: a whole new text (id, text, x, y, size), svg (id, svg, x, y, width), library (id, library, x, y, width) or phone frame (id, phone, x, y, height or width, and color, fold, orientation; screenshot \"screen\" shows the screen's own screenshot, else fill it with replace_screenshots) layer, with create_design's fields."
changedInput schema / properties / changes / items / properties / op / description
Previous value: -"set_layer changes the fields you give of layer id (\"device\" is the phone); add_layer adds layer (on top, or at position to); remove_layer and move_layer (to a position in the screen's layer list, 0 is the bottom) take id; set_background, set_loop and set_title change the screen's; duplicate_screen copies the screen (to the screen number to, default right after it); remove_screen removes it; move_screen moves it to screen number to."New value: +"set_layer changes the fields you give of layer id (\"device\" is the phone); add_layer adds layer (on top, or at position to); remove_layer and move_layer (to a position in the screen's layer list, 0 is the bottom) take id; set_background, set_loop and set_title change the screen's; duplicate_screen copies the screen (to the screen number to, default right after it); remove_screen removes it; move_screen moves it to screen number to; set_canvas changes the canvas of every screen (canvas), as the editor's size chip and orientation toggle do."
changedInput schema / properties / changes / items / properties / op / enum
Previous value: -[
- "set_layer",
- "add_layer",
- "remove_layer",
- "move_layer",
- "set_background",
- "set_loop",
- "set_title",
- "duplicate_screen",
- "remove_screen",
- "move_screen"
-]New value: +[
+ "set_layer",
+ "add_layer",
+ "remove_layer",
+ "move_layer",
+ "set_background",
+ "set_loop",
+ "set_title",
+ "duplicate_screen",
+ "remove_screen",
+ "move_screen",
+ "set_canvas"
+]
changedInput schema / properties / changes / items / properties / screen / description
Previous value: -"Which screen, from 1, as numbered after the changes before this one."New value: +"Which screen, from 1, as numbered after the changes before this one. Every op but set_canvas, which changes them all."
changedInput schema / properties / changes / items / required
Previous value: -[
- "op",
- "screen"
-]New value: +[
+ "op"
+]
addedInput schema / properties / handle
Added value: +{
+ "description": "Instead of asset_id: the project_handle create_project returned or the design_handle create_design returned, for something you made in this conversation that the user has not saved yet. Needs no sign-in.",
+ "maxLength": 100,
+ "minLength": 10,
+ "type": "string"
+}
changedInput schema / properties / revision / description
Previous value: -"The revision get_asset (or the last edit_asset) returned. If the asset was saved since, nothing changes and you read it again."New value: +"The revision get_asset (or the last edit_asset) returned. If the asset changed since, nothing changes and you read it again."
changedInput schema / required
Previous value: -[
- "asset_id",
- "revision",
- "changes"
-]New value: +[
+ "revision",
+ "changes"
+]