Skip to content

Commit

Permalink
refactor: add changeset for graphql-types updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhotimee committed Feb 22, 2024
1 parent 0909390 commit 9030e6d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/smooth-suits-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-test-data/graphql-types': minor
---

Include Core and MC generated types to the package.
1 change: 1 addition & 0 deletions models/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@babel/runtime-corejs3": "^7.17.9",
"@commercetools-test-data/commons": "6.11.0",
"@commercetools-test-data/core": "6.11.0",
"@commercetools-test-data/graphql-types": "7.0.0",
"@commercetools-test-data/project": "workspace:^",
"@commercetools-test-data/utils": "6.11.0",
"@commercetools/platform-sdk": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion models/user/src/mc-user/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { TBuilder } from '@commercetools-test-data/core';
import type {
TMcUser as TMcUserGraphql,
TMcIdTokenUserInfo as TMcIdTokenUserInfoGraphql,
} from '../../../../graphql-types/src/generated/mc';
} from '@commercetools-test-data/graphql-types/src/generated/mc';
export type { TMcUserGraphql, TMcIdTokenUserInfoGraphql };

export type TMcUser = Omit<TMcUserGraphql, '__typename'>;
Expand Down
2 changes: 1 addition & 1 deletion models/user/src/user/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { TBuilder } from '@commercetools-test-data/core';
import { TCoreUser } from '../../../../graphql-types/src/generated/core';
import { TCoreUser } from '@commercetools-test-data/graphql-types/src/generated/core';

type BusinessRole =
| 'ExecutiveManagement'
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9030e6d

Please sign in to comment.