GenericFile
The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON.
import { GenericFile } from '@daffodil/driver/shopify'
type GenericFile = Node & {
__typename?: 'GenericFile';
alt?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
mimeType?: Maybe<Scalars['String']['output']>;
originalFileSize?: Maybe<Scalars['Int']['output']>;
previewImage?: Maybe<Image>;
url?: Maybe<Scalars['URL']['output']>;
}
Type | Options |
---|---|
GenericFile | Node & {
__typename?: 'GenericFile';
alt?: Maybe<Scalars['String']['output']>;
id: Scalars['ID']['output'];
mimeType?: Maybe<Scalars['String']['output']>;
originalFileSize?: Maybe<Scalars['Int']['output']>;
previewImage?: Maybe<Image>;
url?: Maybe<Scalars['URL']['output']>;
} |