Skip to content

Commit 2891b84

Browse files
Merge pull request #6284 from Shopify/dlm-fetch-org-schemas-shop-world
Use shop world for organizations schemas
2 parents 91accc1 + 3dcb884 commit 2891b84

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

bin/get-graphql-schemas.js

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ const schemas = [
2929
localPath: './packages/app/src/cli/api/graphql/partners/cli_schema.graphql',
3030
},
3131
{
32-
owner: 'Shopify',
33-
repo: 'business-platform',
32+
owner: 'shop',
33+
repo: 'world',
3434
pathToFile: 'areas/platforms/organizations/db/graphql/destinations_schema.graphql',
3535
localPath: './packages/app/src/cli/api/graphql/business-platform-destinations/destinations_schema.graphql',
3636
},
3737
{
38-
owner: 'Shopify',
39-
repo: 'business-platform',
38+
owner: 'shop',
39+
repo: 'world',
4040
pathToFile: 'areas/platforms/organizations/db/graphql/organizations_schema.graphql',
4141
localPath: './packages/app/src/cli/api/graphql/business-platform-organizations/organizations_schema.graphql',
4242
},
@@ -80,19 +80,20 @@ const schemas = [
8080
usesLfs: true,
8181
},
8282
{
83-
owner: 'Shopify',
84-
repo: 'business-platform',
83+
owner: 'shop',
84+
repo: 'world',
8585
pathToFile: 'areas/platforms/organizations/db/graphql/destinations_schema.graphql',
8686
localPath: './packages/store/src/cli/api/graphql/business-platform-destinations/destinations_schema.graphql',
8787
},
8888
{
89-
owner: 'Shopify',
90-
repo: 'business-platform',
89+
owner: 'shop',
90+
repo: 'world',
9191
pathToFile: 'areas/platforms/organizations/db/graphql/organizations_schema.graphql',
9292
localPath: './packages/store/src/cli/api/graphql/business-platform-organizations/organizations_schema.graphql',
9393
},
9494
]
9595

96+
9697
/**
9798
* @param {Schema} schema
9899
* @param {import('@octokit/rest').Octokit} octokit

packages/app/src/cli/api/graphql/business-platform-organizations/generated/types.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ export type Scalars = {
2121
ActionAuditID: {input: any; output: any}
2222
/** The ID for a Address. */
2323
AddressID: {input: any; output: any}
24+
/** The ID for a BulkDataOperation. */
25+
BulkDataOperationID: {input: any; output: any}
2426
/** The ID for a BusinessUser. */
2527
BusinessUserID: {input: any; output: any}
2628
/** A signed decimal number, which supports arbitrary precision and is serialized as a string. */
@@ -58,6 +60,8 @@ export type Scalars = {
5860
PropertyTransferRequestID: {input: any; output: any}
5961
/** The ID for a Role. */
6062
RoleID: {input: any; output: any}
63+
/** The ID for a Shop. */
64+
ShopID: {input: any; output: any}
6165
/** The ID for a ShopifyShop. */
6266
ShopifyShopID: {input: any; output: any}
6367
/** The ID for a StoreAdditionRequest. */

0 commit comments

Comments
 (0)