@adtrackify/at-service-common 3.0.99 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,47 @@
1
+ import * as AdminTypes from './admin.types';
2
+ export type GetProductQueryVariables = AdminTypes.Exact<{
3
+ id: AdminTypes.Scalars['ID']['input'];
4
+ }>;
5
+ export type GetProductQuery = {
6
+ product?: AdminTypes.Maybe<(Pick<AdminTypes.Product, 'id' | 'handle' | 'title' | 'productType' | 'tags'> & {
7
+ variantsCount?: AdminTypes.Maybe<Pick<AdminTypes.Count, 'count'>>;
8
+ variants: {
9
+ nodes: Array<Pick<AdminTypes.ProductVariant, 'id' | 'title' | 'sku'>>;
10
+ };
11
+ media: {
12
+ nodes: Array<(Pick<AdminTypes.ExternalVideo, 'id' | 'mediaContentType' | 'status'> & {
13
+ preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
14
+ image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
15
+ })>;
16
+ }) | (Pick<AdminTypes.MediaImage, 'id' | 'mediaContentType' | 'status'> & {
17
+ preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
18
+ image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
19
+ })>;
20
+ }) | (Pick<AdminTypes.Model3d, 'id' | 'mediaContentType' | 'status'> & {
21
+ preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
22
+ image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
23
+ })>;
24
+ }) | (Pick<AdminTypes.Video, 'id' | 'mediaContentType' | 'status'> & {
25
+ preview?: AdminTypes.Maybe<(Pick<AdminTypes.MediaPreviewImage, 'status'> & {
26
+ image?: AdminTypes.Maybe<Pick<AdminTypes.Image, 'id' | 'url'>>;
27
+ })>;
28
+ })>;
29
+ };
30
+ })>;
31
+ };
32
+ interface GeneratedQueryTypes {
33
+ "\n #graphql\n query GetProduct($id: ID!) {\n product(id: $id) {\n id\n handle\n title\n productType\n variantsCount {\n count\n }\n variants (first: 100) {\n nodes {\n id\n title\n sku\n }\n }\n media (first: 10) {\n nodes {\n id\n mediaContentType\n status\n preview {\n image {\n id\n url\n }\n status\n }\n }\n }\n tags\n }\n }\n ": {
34
+ return: GetProductQuery;
35
+ variables: GetProductQueryVariables;
36
+ };
37
+ }
38
+ interface GeneratedMutationTypes {
39
+ }
40
+ declare module '@shopify/admin-api-client' {
41
+ type InputMaybe<T> = AdminTypes.InputMaybe<T>;
42
+ interface AdminQueries extends GeneratedQueryTypes {
43
+ }
44
+ interface AdminMutations extends GeneratedMutationTypes {
45
+ }
46
+ }
47
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=admin.generated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"admin.generated.js","sourceRoot":"","sources":["../../../../src/types/shopify-graphql-types/admin.generated.ts"],"names":[],"mappings":""}