Skip to content

Commit 147e862

Browse files
authored
fix: use schema contracts federation library (#6964)
1 parent 2d7e7be commit 147e862

18 files changed

+64
-4151
lines changed

integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@hive/schema": "workspace:*",
2222
"@hive/server": "workspace:*",
2323
"@hive/storage": "workspace:*",
24-
"@theguild/federation-composition": "0.19.1",
24+
"@theguild/federation-composition": "0.20.0",
2525
"@trpc/client": "10.45.2",
2626
"@trpc/server": "10.45.2",
2727
"@types/async-retry": "1.4.8",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"@sentry/cli": "2.40.0",
7474
"@swc/core": "1.13.5",
7575
"@theguild/eslint-config": "0.12.1",
76+
"@theguild/federation-composition": "0.20.0",
7677
"@theguild/prettier-config": "2.0.7",
7778
"@types/node": "22.10.5",
7879
"bob-the-bundler": "7.0.1",

packages/libraries/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@oclif/core": "^3.26.6",
6060
"@oclif/plugin-help": "6.0.22",
6161
"@oclif/plugin-update": "4.2.13",
62-
"@theguild/federation-composition": "0.19.1",
62+
"@theguild/federation-composition": "0.20.0",
6363
"colors": "1.4.0",
6464
"env-ci": "7.3.0",
6565
"graphql": "^16.8.1",

packages/services/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@sentry/node": "7.120.2",
3838
"@sentry/types": "7.120.2",
3939
"@slack/web-api": "7.8.0",
40-
"@theguild/federation-composition": "0.19.1",
40+
"@theguild/federation-composition": "0.20.0",
4141
"@trpc/client": "10.45.2",
4242
"@trpc/server": "10.45.2",
4343
"@types/bcryptjs": "2.4.6",

packages/services/api/src/modules/organization/module.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export default gql`
7575
description: String @tag(name: "public")
7676
"""
7777
List of permissions that are assigned to the access token.
78-
A list of available permissions can be retrieved via the \`Organization.availableOrganizationAccessTokenPermissionGroups\` field.
78+
A list of available permissions can be retrieved via the 'Organization.availableOrganizationAccessTokenPermissionGroups' field.
7979
"""
8080
permissions: [String!]! @tag(name: "public")
8181
"""
@@ -521,7 +521,7 @@ export default gql`
521521
"""
522522
description: String! @tag(name: "public")
523523
"""
524-
A list of available permissions can be retrieved via the \`Organization.availableMemberPermissionGroups\` field.
524+
A list of available permissions can be retrieved via the 'Organization.availableMemberPermissionGroups' field.
525525
"""
526526
selectedPermissions: [String!]! @tag(name: "public")
527527
}

packages/services/api/src/modules/shared/module.graphql.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { gql } from 'graphql-modules';
22

33
export default gql`
44
"""
5-
A date-time string at UTC, such as \`2007-12-03T10:15:30Z\`, is compliant with the date-time format outlined
5+
A date-time string at UTC, such as '2007-12-03T10:15:30Z', is compliant with the date-time format outlined
66
in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
77
88
This scalar is a description of an exact instant on the timeline such as the instant that a user account was created.
99
1010
This scalar ignores leap seconds (thereby assuming that a minute constitutes 59 seconds). In this respect, it diverges from the RFC 3339 profile.
1111
12-
Where an RFC 3339 compliant date-time string has a time-zone other than UTC, it is shifted to UTC. For example, the date-time string \`2016-01-01T14:10:20+01:00\` is shifted to \`2016-01-01T13:10:20Z\`.
12+
Where an RFC 3339 compliant date-time string has a time-zone other than UTC, it is shifted to UTC. For example, the date-time string '2016-01-01T14:10:20+01:00' is shifted to '2016-01-01T13:10:20Z'.
1313
"""
1414
scalar DateTime
1515
@tag(name: "public")

packages/services/schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@graphql-tools/stitching-directives": "3.1.38",
1616
"@hive/service-common": "workspace:*",
1717
"@sentry/node": "7.120.2",
18-
"@theguild/federation-composition": "0.19.1",
18+
"@theguild/federation-composition": "0.20.0",
1919
"@trpc/server": "10.45.2",
2020
"@types/async-retry": "1.4.8",
2121
"@types/ioredis-mock": "8.2.5",

0 commit comments

Comments
 (0)