Appearance
UpsertComponentArtworkFileInput
Type: Input
Input for creating or updating a component artwork file reference
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| componentId | ComponentID! | Parent component ID (required) | |
| description | String | Human-readable description of this file's role | |
| externalUri | String | External URI for artwork not in the file store (e.g. DAM, CDN link) | |
| fileId | FileID | Reference to a tracked file record. Provide at least one of fileId or externalUri. | |
| id | ComponentArtworkFileID | ID for update; omit for create | |
| pageCount | Int | Number of pages contributed by this file | |
| pageRange | String | Page range within the file to use (e.g. '1-32' or 'all') | |
| sortOrder | Int | Sort order (defaults to 0) | |
| usageRole | ComponentFileUsageRole | Role this file plays for the component. Defaults to ARTWORK. |