CreateGlobalLayoutLibraryItemInput
Publishing a node to the Paminga shelf (product_id = NULL).
Deliberately a SEPARATE input and mutation from createLayoutLibraryItem rather than a flag on it:
saving to your own Library and publishing to every customer's shelf are different acts, and a
boolean is a poor place for that distinction to live. copy_type is absent because a shelf node is
always copy-by-VALUE (§3.3).
input CreateGlobalLayoutLibraryItemInput {
name: String!
description: String
folder_id: Int
properties: JSON!
item_type: LayoutLibraryItemType!
builder_type: LayoutBuilderType!
tags: JSON
}
Fields
CreateGlobalLayoutLibraryItemInput.name ● String! non-null scalar
CreateGlobalLayoutLibraryItemInput.description ● String scalar
CreateGlobalLayoutLibraryItemInput.folder_id ● Int scalar
CreateGlobalLayoutLibraryItemInput.properties ● JSON! non-null scalar
CreateGlobalLayoutLibraryItemInput.item_type ● LayoutLibraryItemType! non-null enum
CreateGlobalLayoutLibraryItemInput.builder_type ● LayoutBuilderType! non-null enum
CreateGlobalLayoutLibraryItemInput.tags ● JSON scalar
Member Of
createGlobalLayoutLibraryItem mutation


