@pintahub/shopify-next 0.6.0 → 0.7.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,33 @@
1
+ import type { AdminApiClient } from '@shopify/admin-api-client';
2
+ import { Command } from '../../client/Command';
3
+ export interface GetCollectionInput {
4
+ id: string;
5
+ }
6
+ export interface CollectionImage {
7
+ id: string | null;
8
+ url: string;
9
+ altText: string | null;
10
+ height: number | null;
11
+ width: number | null;
12
+ }
13
+ export interface CollectionSEO {
14
+ title: string | null;
15
+ description: string | null;
16
+ }
17
+ export interface GetCollectionOutput {
18
+ id: string;
19
+ handle: string;
20
+ title: string;
21
+ updatedAt: string;
22
+ description: string;
23
+ descriptionHtml: string;
24
+ seo: CollectionSEO;
25
+ productsCount: {
26
+ count: number;
27
+ precision: string;
28
+ } | null;
29
+ image: CollectionImage | null;
30
+ }
31
+ export declare class GetCollectionCommand extends Command<GetCollectionInput, GetCollectionOutput | null> {
32
+ execute(client: AdminApiClient): Promise<GetCollectionOutput | null>;
33
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetCollectionCommand = void 0;
4
+ const Command_1 = require("../../client/Command");
5
+ const handleErrors_1 = require("../../utils/handleErrors");
6
+ const globalId_1 = require("../../utils/globalId");
7
+ const QUERY = /* GraphQL */ `
8
+ query GetCollection($id: ID!) {
9
+ collection(id: $id) {
10
+ id
11
+ handle
12
+ title
13
+ updatedAt
14
+ description
15
+ descriptionHtml
16
+ seo {
17
+ title
18
+ description
19
+ }
20
+ productsCount {
21
+ count
22
+ precision
23
+ }
24
+ image {
25
+ id
26
+ url
27
+ altText
28
+ height
29
+ width
30
+ }
31
+ }
32
+ }
33
+ `;
34
+ class GetCollectionCommand extends Command_1.Command {
35
+ async execute(client) {
36
+ const variables = { id: (0, globalId_1.getGlobalID)(this.input.id, 'Collection') };
37
+ const { data, errors } = await client.request(QUERY, { variables });
38
+ (0, handleErrors_1.handleErrors)(errors);
39
+ if (!data)
40
+ throw new Error('GetCollectionCommand: no data returned');
41
+ return data.collection;
42
+ }
43
+ }
44
+ exports.GetCollectionCommand = GetCollectionCommand;
45
+ //# sourceMappingURL=GetCollectionCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetCollectionCommand.js","sourceRoot":"","sources":["../../../src/commands/collections/GetCollectionCommand.ts"],"names":[],"mappings":";;;AACA,kDAA4C;AAC5C,2DAAqD;AACrD,mDAAgD;AAEhD,MAAM,KAAK,GAAG,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CA0B3B,CAAA;AAmCD,MAAa,oBAAqB,SAAQ,iBAGzC;IACC,KAAK,CAAC,OAAO,CAAC,MAAsB;QAClC,MAAM,SAAS,GAAG,EAAC,EAAE,EAAE,IAAA,sBAAW,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE,EAAE,YAAY,CAAC,EAAC,CAAA;QAChE,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,MAAM,MAAM,CAAC,OAAO,CAAgB,KAAK,EAAE,EAAC,SAAS,EAAC,CAAC,CAAA;QAC9E,IAAA,2BAAY,EAAC,MAAM,CAAC,CAAA;QACpB,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAA;QAEpE,OAAO,IAAI,CAAC,UAAU,CAAA;IACxB,CAAC;CACF;AAZD,oDAYC","sourcesContent":["import type {AdminApiClient} from '@shopify/admin-api-client'\nimport {Command} from '../../client/Command'\nimport {handleErrors} from '../../utils/handleErrors'\nimport {getGlobalID} from '../../utils/globalId'\n\nconst QUERY = /* GraphQL */ `\n query GetCollection($id: ID!) {\n collection(id: $id) {\n id\n handle\n title\n updatedAt\n description\n descriptionHtml\n seo {\n title\n description\n }\n productsCount {\n count\n precision\n }\n image {\n id\n url\n altText\n height\n width\n }\n }\n }\n`\n\nexport interface GetCollectionInput {\n id: string\n}\n\nexport interface CollectionImage {\n id: string | null\n url: string\n altText: string | null\n height: number | null\n width: number | null\n}\n\nexport interface CollectionSEO {\n title: string | null\n description: string | null\n}\n\nexport interface GetCollectionOutput {\n id: string\n handle: string\n title: string\n updatedAt: string\n description: string\n descriptionHtml: string\n seo: CollectionSEO\n productsCount: {count: number; precision: string} | null\n image: CollectionImage | null\n}\n\ninterface QueryResponse {\n collection: GetCollectionOutput | null\n}\n\nexport class GetCollectionCommand extends Command<\n GetCollectionInput,\n GetCollectionOutput | null\n> {\n async execute(client: AdminApiClient): Promise<GetCollectionOutput | null> {\n const variables = {id: getGlobalID(this.input.id, 'Collection')}\n const {data, errors} = await client.request<QueryResponse>(QUERY, {variables})\n handleErrors(errors)\n if (!data) throw new Error('GetCollectionCommand: no data returned')\n\n return data.collection\n }\n}\n"]}
@@ -0,0 +1,26 @@
1
+ import type { AdminApiClient } from '@shopify/admin-api-client';
2
+ import { Command } from '../../client/Command';
3
+ export type CollectionSortKey = 'ID' | 'RELEVANCE' | 'TITLE' | 'UPDATED_AT';
4
+ export interface SearchCollectionsInput {
5
+ first?: number;
6
+ after?: string;
7
+ reverse?: boolean;
8
+ sortKey?: CollectionSortKey;
9
+ query?: string;
10
+ }
11
+ export interface CollectionNode {
12
+ id: string;
13
+ handle: string;
14
+ title: string;
15
+ updatedAt: string;
16
+ }
17
+ export interface SearchCollectionsOutput {
18
+ items: CollectionNode[];
19
+ pageInfo: {
20
+ hasNextPage: boolean;
21
+ endCursor: string | null;
22
+ };
23
+ }
24
+ export declare class SearchCollectionsCommand extends Command<SearchCollectionsInput, SearchCollectionsOutput> {
25
+ execute(client: AdminApiClient): Promise<SearchCollectionsOutput>;
26
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchCollectionsCommand = void 0;
4
+ const Command_1 = require("../../client/Command");
5
+ const handleErrors_1 = require("../../utils/handleErrors");
6
+ const QUERY = /* GraphQL */ `
7
+ query SearchCollections(
8
+ $first: Int!
9
+ $after: String
10
+ $reverse: Boolean
11
+ $sortKey: CollectionSortKeys
12
+ $query: String
13
+ ) {
14
+ collections(
15
+ first: $first
16
+ after: $after
17
+ reverse: $reverse
18
+ sortKey: $sortKey
19
+ query: $query
20
+ ) {
21
+ nodes {
22
+ id
23
+ handle
24
+ title
25
+ updatedAt
26
+ }
27
+ pageInfo {
28
+ hasNextPage
29
+ endCursor
30
+ }
31
+ }
32
+ }
33
+ `;
34
+ class SearchCollectionsCommand extends Command_1.Command {
35
+ async execute(client) {
36
+ const variables = {
37
+ first: this.input.first ?? 100,
38
+ after: this.input.after,
39
+ reverse: this.input.reverse ?? false,
40
+ sortKey: this.input.sortKey ?? 'UPDATED_AT',
41
+ query: this.input.query,
42
+ };
43
+ const { data, errors } = await client.request(QUERY, { variables });
44
+ (0, handleErrors_1.handleErrors)(errors);
45
+ if (!data)
46
+ throw new Error('SearchCollectionsCommand: no data returned');
47
+ return { items: data.collections.nodes, pageInfo: data.collections.pageInfo };
48
+ }
49
+ }
50
+ exports.SearchCollectionsCommand = SearchCollectionsCommand;
51
+ //# sourceMappingURL=SearchCollectionsCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchCollectionsCommand.js","sourceRoot":"","sources":["../../../src/commands/collections/SearchCollectionsCommand.ts"],"names":[],"mappings":";;;AACA,kDAA4C;AAC5C,2DAAqD;AAErD,MAAM,KAAK,GAAG,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2B3B,CAAA;AAkCD,MAAa,wBAAyB,SAAQ,iBAG7C;IACC,KAAK,CAAC,OAAO,CAAC,MAAsB;QAClC,MAAM,SAAS,GAAG;YAChB,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG;YAC9B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;YACvB,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,KAAK;YACpC,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,IAAI,YAAY;YAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK;SACxB,CAAA;QACD,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,MAAM,MAAM,CAAC,OAAO,CAAgB,KAAK,EAAE,EAAC,SAAS,EAAC,CAAC,CAAA;QAC9E,IAAA,2BAAY,EAAC,MAAM,CAAC,CAAA;QACpB,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;QAExE,OAAO,EAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAC,CAAA;IAC7E,CAAC;CACF;AAlBD,4DAkBC","sourcesContent":["import type {AdminApiClient} from '@shopify/admin-api-client'\nimport {Command} from '../../client/Command'\nimport {handleErrors} from '../../utils/handleErrors'\n\nconst QUERY = /* GraphQL */ `\n query SearchCollections(\n $first: Int!\n $after: String\n $reverse: Boolean\n $sortKey: CollectionSortKeys\n $query: String\n ) {\n collections(\n first: $first\n after: $after\n reverse: $reverse\n sortKey: $sortKey\n query: $query\n ) {\n nodes {\n id\n handle\n title\n updatedAt\n }\n pageInfo {\n hasNextPage\n endCursor\n }\n }\n }\n`\n\nexport type CollectionSortKey = 'ID' | 'RELEVANCE' | 'TITLE' | 'UPDATED_AT'\n\nexport interface SearchCollectionsInput {\n first?: number\n after?: string\n reverse?: boolean\n sortKey?: CollectionSortKey\n query?: string\n}\n\nexport interface CollectionNode {\n id: string\n handle: string\n title: string\n updatedAt: string\n}\n\nexport interface SearchCollectionsOutput {\n items: CollectionNode[]\n pageInfo: {\n hasNextPage: boolean\n endCursor: string | null\n }\n}\n\ninterface QueryResponse {\n collections: {\n nodes: CollectionNode[]\n pageInfo: SearchCollectionsOutput['pageInfo']\n }\n}\n\nexport class SearchCollectionsCommand extends Command<\n SearchCollectionsInput,\n SearchCollectionsOutput\n> {\n async execute(client: AdminApiClient): Promise<SearchCollectionsOutput> {\n const variables = {\n first: this.input.first ?? 100,\n after: this.input.after,\n reverse: this.input.reverse ?? false,\n sortKey: this.input.sortKey ?? 'UPDATED_AT',\n query: this.input.query,\n }\n const {data, errors} = await client.request<QueryResponse>(QUERY, {variables})\n handleErrors(errors)\n if (!data) throw new Error('SearchCollectionsCommand: no data returned')\n\n return {items: data.collections.nodes, pageInfo: data.collections.pageInfo}\n }\n}\n"]}
@@ -0,0 +1,22 @@
1
+ import type { AdminApiClient } from '@shopify/admin-api-client';
2
+ import { Command } from '../../client/Command';
3
+ export interface CollectionSEOInput {
4
+ title?: string;
5
+ description?: string;
6
+ }
7
+ export interface UpdateCollectionInput {
8
+ id: string;
9
+ title?: string;
10
+ handle?: string;
11
+ descriptionHtml?: string;
12
+ seo?: CollectionSEOInput;
13
+ templateSuffix?: string;
14
+ }
15
+ export interface UpdateCollectionOutput {
16
+ id: string;
17
+ title: string;
18
+ handle: string;
19
+ }
20
+ export declare class UpdateCollectionCommand extends Command<UpdateCollectionInput, UpdateCollectionOutput> {
21
+ execute(client: AdminApiClient): Promise<UpdateCollectionOutput>;
22
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateCollectionCommand = void 0;
4
+ const Command_1 = require("../../client/Command");
5
+ const handleErrors_1 = require("../../utils/handleErrors");
6
+ const globalId_1 = require("../../utils/globalId");
7
+ const MUTATION = /* GraphQL */ `
8
+ mutation UpdateCollection($input: CollectionInput!) {
9
+ collectionUpdate(input: $input) {
10
+ collection {
11
+ id
12
+ title
13
+ handle
14
+ }
15
+ userErrors {
16
+ field
17
+ message
18
+ }
19
+ }
20
+ }
21
+ `;
22
+ class UpdateCollectionCommand extends Command_1.Command {
23
+ async execute(client) {
24
+ const { id, ...rest } = this.input;
25
+ const input = { ...rest, id: (0, globalId_1.getGlobalID)(id, 'Collection') };
26
+ const { data, errors } = await client.request(MUTATION, {
27
+ variables: { input },
28
+ });
29
+ (0, handleErrors_1.handleErrors)(errors);
30
+ if (!data)
31
+ throw new Error('UpdateCollectionCommand: no data returned');
32
+ const { collection, userErrors } = data.collectionUpdate;
33
+ (0, handleErrors_1.assertNoUserErrors)(userErrors, 'UpdateCollectionCommand');
34
+ if (!collection)
35
+ throw new Error('UpdateCollectionCommand: collection is null');
36
+ return collection;
37
+ }
38
+ }
39
+ exports.UpdateCollectionCommand = UpdateCollectionCommand;
40
+ //# sourceMappingURL=UpdateCollectionCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateCollectionCommand.js","sourceRoot":"","sources":["../../../src/commands/collections/UpdateCollectionCommand.ts"],"names":[],"mappings":";;;AACA,kDAA4C;AAC5C,2DAAyF;AACzF,mDAAgD;AAEhD,MAAM,QAAQ,GAAG,aAAa,CAAC;;;;;;;;;;;;;;CAc9B,CAAA;AA6BD,MAAa,uBAAwB,SAAQ,iBAG5C;IACC,KAAK,CAAC,OAAO,CAAC,MAAsB;QAClC,MAAM,EAAC,EAAE,EAAE,GAAG,IAAI,EAAC,GAAG,IAAI,CAAC,KAAK,CAAA;QAChC,MAAM,KAAK,GAAG,EAAC,GAAG,IAAI,EAAE,EAAE,EAAE,IAAA,sBAAW,EAAC,EAAE,EAAE,YAAY,CAAC,EAAC,CAAA;QAE1D,MAAM,EAAC,IAAI,EAAE,MAAM,EAAC,GAAG,MAAM,MAAM,CAAC,OAAO,CAAmB,QAAQ,EAAE;YACtE,SAAS,EAAE,EAAC,KAAK,EAAC;SACnB,CAAC,CAAA;QACF,IAAA,2BAAY,EAAC,MAAM,CAAC,CAAA;QACpB,IAAI,CAAC,IAAI;YAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAA;QAEvE,MAAM,EAAC,UAAU,EAAE,UAAU,EAAC,GAAG,IAAI,CAAC,gBAAgB,CAAA;QACtD,IAAA,iCAAkB,EAAC,UAAU,EAAE,yBAAyB,CAAC,CAAA;QACzD,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,CAAA;QAE/E,OAAO,UAAU,CAAA;IACnB,CAAC;CACF;AApBD,0DAoBC","sourcesContent":["import type {AdminApiClient} from '@shopify/admin-api-client'\nimport {Command} from '../../client/Command'\nimport {handleErrors, assertNoUserErrors, type UserError} from '../../utils/handleErrors'\nimport {getGlobalID} from '../../utils/globalId'\n\nconst MUTATION = /* GraphQL */ `\n mutation UpdateCollection($input: CollectionInput!) {\n collectionUpdate(input: $input) {\n collection {\n id\n title\n handle\n }\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface CollectionSEOInput {\n title?: string\n description?: string\n}\n\nexport interface UpdateCollectionInput {\n id: string\n title?: string\n handle?: string\n descriptionHtml?: string\n seo?: CollectionSEOInput\n templateSuffix?: string\n}\n\nexport interface UpdateCollectionOutput {\n id: string\n title: string\n handle: string\n}\n\ninterface MutationResponse {\n collectionUpdate: {\n collection: UpdateCollectionOutput | null\n userErrors: UserError[]\n }\n}\n\nexport class UpdateCollectionCommand extends Command<\n UpdateCollectionInput,\n UpdateCollectionOutput\n> {\n async execute(client: AdminApiClient): Promise<UpdateCollectionOutput> {\n const {id, ...rest} = this.input\n const input = {...rest, id: getGlobalID(id, 'Collection')}\n\n const {data, errors} = await client.request<MutationResponse>(MUTATION, {\n variables: {input},\n })\n handleErrors(errors)\n if (!data) throw new Error('UpdateCollectionCommand: no data returned')\n\n const {collection, userErrors} = data.collectionUpdate\n assertNoUserErrors(userErrors, 'UpdateCollectionCommand')\n if (!collection) throw new Error('UpdateCollectionCommand: collection is null')\n\n return collection\n }\n}\n"]}
@@ -0,0 +1,3 @@
1
+ export * from './SearchCollectionsCommand';
2
+ export * from './GetCollectionCommand';
3
+ export * from './UpdateCollectionCommand';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SearchCollectionsCommand"), exports);
18
+ __exportStar(require("./GetCollectionCommand"), exports);
19
+ __exportStar(require("./UpdateCollectionCommand"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/collections/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C;AAC1C,yDAAsC;AACtC,4DAAyC","sourcesContent":["export * from './SearchCollectionsCommand'\nexport * from './GetCollectionCommand'\nexport * from './UpdateCollectionCommand'\n"]}
package/dist/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export * from './commands/customers';
7
7
  export * from './commands/payments';
8
8
  export * from './commands/menus';
9
9
  export * from './commands/orders';
10
+ export * from './commands/collections';
package/dist/index.js CHANGED
@@ -30,4 +30,5 @@ __exportStar(require("./commands/customers"), exports);
30
30
  __exportStar(require("./commands/payments"), exports);
31
31
  __exportStar(require("./commands/menus"), exports);
32
32
  __exportStar(require("./commands/orders"), exports);
33
+ __exportStar(require("./commands/collections"), exports);
33
34
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAK+B;AAJ7B,8GAAA,aAAa,OAAA;AAKf,4CAAwC;AAAhC,kGAAA,OAAO,OAAA;AACf,qDAM6B;AAL3B,4GAAA,YAAY,OAAA;AACZ,kHAAA,kBAAkB,OAAA;AAKpB,6CAAmE;AAA3D,uGAAA,WAAW,OAAA;AAAE,iHAAA,qBAAqB,OAAA;AAG1C,gCAAgC;AAChC,uDAAoC;AACpC,sDAAmC;AACnC,mDAAgC;AAChC,oDAAiC","sourcesContent":["export {\n ShopifyClient,\n type ShopifyClientOptions,\n type StoreId,\n type Middleware,\n} from './client/ShopifyClient'\nexport {Command} from './client/Command'\nexport {\n handleErrors,\n assertNoUserErrors,\n type GraphQLError,\n type ResponseErrors,\n type UserError,\n} from './utils/handleErrors'\nexport {getGlobalID, extractIdFromGlobalID} from './utils/globalId'\nexport type {MoneyV2} from './utils/money'\n\n// Commands grouped by namespace\nexport * from './commands/customers'\nexport * from './commands/payments'\nexport * from './commands/menus'\nexport * from './commands/orders'\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wDAK+B;AAJ7B,8GAAA,aAAa,OAAA;AAKf,4CAAwC;AAAhC,kGAAA,OAAO,OAAA;AACf,qDAM6B;AAL3B,4GAAA,YAAY,OAAA;AACZ,kHAAA,kBAAkB,OAAA;AAKpB,6CAAmE;AAA3D,uGAAA,WAAW,OAAA;AAAE,iHAAA,qBAAqB,OAAA;AAG1C,gCAAgC;AAChC,uDAAoC;AACpC,sDAAmC;AACnC,mDAAgC;AAChC,oDAAiC;AACjC,yDAAsC","sourcesContent":["export {\n ShopifyClient,\n type ShopifyClientOptions,\n type StoreId,\n type Middleware,\n} from './client/ShopifyClient'\nexport {Command} from './client/Command'\nexport {\n handleErrors,\n assertNoUserErrors,\n type GraphQLError,\n type ResponseErrors,\n type UserError,\n} from './utils/handleErrors'\nexport {getGlobalID, extractIdFromGlobalID} from './utils/globalId'\nexport type {MoneyV2} from './utils/money'\n\n// Commands grouped by namespace\nexport * from './commands/customers'\nexport * from './commands/payments'\nexport * from './commands/menus'\nexport * from './commands/orders'\nexport * from './commands/collections'\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/shopify-next",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "Shopify Admin GraphQL client for pintahub services via shopify-gateway",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",