|
@@ -861,6 +861,22 @@ export type AdministratorList = PaginatedList & {
|
|
|
totalItems: Scalars['Int'];
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type Asset = Node & {
|
|
|
|
|
+ tags: Array<Tag>;
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+ createdAt: Scalars['DateTime'];
|
|
|
|
|
+ updatedAt: Scalars['DateTime'];
|
|
|
|
|
+ name: Scalars['String'];
|
|
|
|
|
+ type: AssetType;
|
|
|
|
|
+ fileSize: Scalars['Int'];
|
|
|
|
|
+ mimeType: Scalars['String'];
|
|
|
|
|
+ width: Scalars['Int'];
|
|
|
|
|
+ height: Scalars['Int'];
|
|
|
|
|
+ source: Scalars['String'];
|
|
|
|
|
+ preview: Scalars['String'];
|
|
|
|
|
+ focalPoint?: Maybe<Coordinate>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MimeTypeError = ErrorResult & {
|
|
export type MimeTypeError = ErrorResult & {
|
|
|
errorCode: ErrorCode;
|
|
errorCode: ErrorCode;
|
|
|
message: Scalars['String'];
|
|
message: Scalars['String'];
|
|
@@ -870,8 +886,18 @@ export type MimeTypeError = ErrorResult & {
|
|
|
|
|
|
|
|
export type CreateAssetResult = Asset | MimeTypeError;
|
|
export type CreateAssetResult = Asset | MimeTypeError;
|
|
|
|
|
|
|
|
|
|
+export type AssetListOptions = {
|
|
|
|
|
+ skip?: Maybe<Scalars['Int']>;
|
|
|
|
|
+ take?: Maybe<Scalars['Int']>;
|
|
|
|
|
+ sort?: Maybe<AssetSortParameter>;
|
|
|
|
|
+ filter?: Maybe<AssetFilterParameter>;
|
|
|
|
|
+ tags?: Maybe<Array<Scalars['String']>>;
|
|
|
|
|
+ tagsOperator?: Maybe<LogicalOperator>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type CreateAssetInput = {
|
|
export type CreateAssetInput = {
|
|
|
file: Scalars['Upload'];
|
|
file: Scalars['Upload'];
|
|
|
|
|
+ tags?: Maybe<Array<Scalars['String']>>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type CoordinateInput = {
|
|
export type CoordinateInput = {
|
|
@@ -883,6 +909,7 @@ export type UpdateAssetInput = {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
name?: Maybe<Scalars['String']>;
|
|
name?: Maybe<Scalars['String']>;
|
|
|
focalPoint?: Maybe<CoordinateInput>;
|
|
focalPoint?: Maybe<CoordinateInput>;
|
|
|
|
|
+ tags?: Maybe<Array<Scalars['String']>>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError;
|
|
export type NativeAuthenticationResult = CurrentUser | InvalidCredentialsError | NativeAuthStrategyError;
|
|
@@ -2168,21 +2195,6 @@ export type Address = Node & {
|
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type Asset = Node & {
|
|
|
|
|
- id: Scalars['ID'];
|
|
|
|
|
- createdAt: Scalars['DateTime'];
|
|
|
|
|
- updatedAt: Scalars['DateTime'];
|
|
|
|
|
- name: Scalars['String'];
|
|
|
|
|
- type: AssetType;
|
|
|
|
|
- fileSize: Scalars['Int'];
|
|
|
|
|
- mimeType: Scalars['String'];
|
|
|
|
|
- width: Scalars['Int'];
|
|
|
|
|
- height: Scalars['Int'];
|
|
|
|
|
- source: Scalars['String'];
|
|
|
|
|
- preview: Scalars['String'];
|
|
|
|
|
- focalPoint?: Maybe<Coordinate>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type Coordinate = {
|
|
export type Coordinate = {
|
|
|
x: Scalars['Float'];
|
|
x: Scalars['Float'];
|
|
|
y: Scalars['Float'];
|
|
y: Scalars['Float'];
|
|
@@ -3486,6 +3498,7 @@ export type OrderAddress = {
|
|
|
country?: Maybe<Scalars['String']>;
|
|
country?: Maybe<Scalars['String']>;
|
|
|
countryCode?: Maybe<Scalars['String']>;
|
|
countryCode?: Maybe<Scalars['String']>;
|
|
|
phoneNumber?: Maybe<Scalars['String']>;
|
|
phoneNumber?: Maybe<Scalars['String']>;
|
|
|
|
|
+ customFields?: Maybe<Scalars['JSON']>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type OrderList = PaginatedList & {
|
|
export type OrderList = PaginatedList & {
|
|
@@ -3816,6 +3829,13 @@ export type ShippingMethodList = PaginatedList & {
|
|
|
totalItems: Scalars['Int'];
|
|
totalItems: Scalars['Int'];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type Tag = Node & {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+ createdAt: Scalars['DateTime'];
|
|
|
|
|
+ updatedAt: Scalars['DateTime'];
|
|
|
|
|
+ value: Scalars['String'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type TaxCategory = Node & {
|
|
export type TaxCategory = Node & {
|
|
|
id: Scalars['ID'];
|
|
id: Scalars['ID'];
|
|
|
createdAt: Scalars['DateTime'];
|
|
createdAt: Scalars['DateTime'];
|
|
@@ -3874,13 +3894,6 @@ export type AdministratorListOptions = {
|
|
|
filter?: Maybe<AdministratorFilterParameter>;
|
|
filter?: Maybe<AdministratorFilterParameter>;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-export type AssetListOptions = {
|
|
|
|
|
- skip?: Maybe<Scalars['Int']>;
|
|
|
|
|
- take?: Maybe<Scalars['Int']>;
|
|
|
|
|
- sort?: Maybe<AssetSortParameter>;
|
|
|
|
|
- filter?: Maybe<AssetFilterParameter>;
|
|
|
|
|
-};
|
|
|
|
|
-
|
|
|
|
|
export type CollectionListOptions = {
|
|
export type CollectionListOptions = {
|
|
|
skip?: Maybe<Scalars['Int']>;
|
|
skip?: Maybe<Scalars['Int']>;
|
|
|
take?: Maybe<Scalars['Int']>;
|
|
take?: Maybe<Scalars['Int']>;
|
|
@@ -4415,7 +4428,10 @@ export type CreateAssetsMutationVariables = Exact<{
|
|
|
|
|
|
|
|
export type CreateAssetsMutation = {
|
|
export type CreateAssetsMutation = {
|
|
|
createAssets: Array<
|
|
createAssets: Array<
|
|
|
- | ({ focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>> } & AssetFragment)
|
|
|
|
|
|
|
+ | ({
|
|
|
|
|
+ focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>>;
|
|
|
|
|
+ tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
|
|
|
+ } & AssetFragment)
|
|
|
| Pick<MimeTypeError, 'message' | 'fileName' | 'mimeType'>
|
|
| Pick<MimeTypeError, 'message' | 'fileName' | 'mimeType'>
|
|
|
>;
|
|
>;
|
|
|
};
|
|
};
|
|
@@ -5348,7 +5364,10 @@ export type UpdateAssetMutationVariables = Exact<{
|
|
|
}>;
|
|
}>;
|
|
|
|
|
|
|
|
export type UpdateAssetMutation = {
|
|
export type UpdateAssetMutation = {
|
|
|
- updateAsset: { focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>> } & AssetFragment;
|
|
|
|
|
|
|
+ updateAsset: {
|
|
|
|
|
+ tags: Array<Pick<Tag, 'id' | 'value'>>;
|
|
|
|
|
+ focalPoint?: Maybe<Pick<Coordinate, 'x' | 'y'>>;
|
|
|
|
|
+ } & AssetFragment;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
export type DeleteAssetMutationVariables = Exact<{
|
|
export type DeleteAssetMutationVariables = Exact<{
|
|
@@ -6303,6 +6322,14 @@ export namespace CreateAssets {
|
|
|
{ __typename?: 'Asset' }
|
|
{ __typename?: 'Asset' }
|
|
|
>['focalPoint']
|
|
>['focalPoint']
|
|
|
>;
|
|
>;
|
|
|
|
|
+ export type Tags = NonNullable<
|
|
|
|
|
+ NonNullable<
|
|
|
|
|
+ DiscriminateUnion<
|
|
|
|
|
+ NonNullable<NonNullable<CreateAssetsMutation['createAssets']>[number]>,
|
|
|
|
|
+ { __typename?: 'Asset' }
|
|
|
|
|
+ >['tags']
|
|
|
|
|
+ >[number]
|
|
|
|
|
+ >;
|
|
|
export type MimeTypeErrorInlineFragment = DiscriminateUnion<
|
|
export type MimeTypeErrorInlineFragment = DiscriminateUnion<
|
|
|
NonNullable<NonNullable<CreateAssetsMutation['createAssets']>[number]>,
|
|
NonNullable<NonNullable<CreateAssetsMutation['createAssets']>[number]>,
|
|
|
{ __typename?: 'MimeTypeError' }
|
|
{ __typename?: 'MimeTypeError' }
|
|
@@ -7353,12 +7380,20 @@ export namespace UpdateAsset {
|
|
|
export type UpdateAsset = NonNullable<UpdateAssetMutation['updateAsset']>;
|
|
export type UpdateAsset = NonNullable<UpdateAssetMutation['updateAsset']>;
|
|
|
export type AssetInlineFragment = { __typename: 'Asset' } & Pick<
|
|
export type AssetInlineFragment = { __typename: 'Asset' } & Pick<
|
|
|
NonNullable<UpdateAssetMutation['updateAsset']>,
|
|
NonNullable<UpdateAssetMutation['updateAsset']>,
|
|
|
- 'focalPoint'
|
|
|
|
|
|
|
+ 'tags' | 'focalPoint'
|
|
|
|
|
+ >;
|
|
|
|
|
+ export type Tags = NonNullable<
|
|
|
|
|
+ NonNullable<
|
|
|
|
|
+ ({ __typename: 'Asset' } & Pick<
|
|
|
|
|
+ NonNullable<UpdateAssetMutation['updateAsset']>,
|
|
|
|
|
+ 'tags' | 'focalPoint'
|
|
|
|
|
+ >)['tags']
|
|
|
|
|
+ >[number]
|
|
|
>;
|
|
>;
|
|
|
export type FocalPoint = NonNullable<
|
|
export type FocalPoint = NonNullable<
|
|
|
({ __typename: 'Asset' } & Pick<
|
|
({ __typename: 'Asset' } & Pick<
|
|
|
NonNullable<UpdateAssetMutation['updateAsset']>,
|
|
NonNullable<UpdateAssetMutation['updateAsset']>,
|
|
|
- 'focalPoint'
|
|
|
|
|
|
|
+ 'tags' | 'focalPoint'
|
|
|
>)['focalPoint']
|
|
>)['focalPoint']
|
|
|
>;
|
|
>;
|
|
|
}
|
|
}
|