Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jdolle committed Jan 24, 2025
1 parent d56a55c commit b968b8d
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions scripts/seed-local-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,10 @@ async function federation() {
const instance = createInstance(null);
const schemaInventory = /* GraphQL */ `
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.3",
import: ["@key", "@shareable", "@external", "@requires"])
@link(
url: "https://specs.apollo.dev/federation/v2.3"
import: ["@key", "@shareable", "@external", "@requires"]
)
type Product implements ProductItf @key(fields: "id") {
id: ID!
dimensions: ProductDimension @external
Expand Down Expand Up @@ -208,9 +210,7 @@ async function federation() {
`;

const schemaPandas = /* GraphQL */ `
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.3",
import: ["@tag"])
extend schema @link(url: "https://specs.apollo.dev/federation/v2.3", import: ["@tag"])
directive @tag(name: String!) repeatable on FIELD_DEFINITION
type Query {
Expand All @@ -226,8 +226,10 @@ async function federation() {

const schemaProducts = /* GraphQL */ `
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.3",
import: ["@key", "@shareable", "@inaccessible", "@tag"])
@link(
url: "https://specs.apollo.dev/federation/v2.3"
import: ["@key", "@shareable", "@inaccessible", "@tag"]
)
directive @myDirective(a: String!) on FIELD_DEFINITION
directive @hello on FIELD_DEFINITION
Expand Down Expand Up @@ -287,8 +289,10 @@ async function federation() {

const schemaReviews = /* GraphQL */ `
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.3",
import: ["@key", "@shareable", "@override"])
@link(
url: "https://specs.apollo.dev/federation/v2.3"
import: ["@key", "@shareable", "@override"]
)
type Product implements ProductItf @key(fields: "id") {
id: ID!
Expand Down Expand Up @@ -316,8 +320,7 @@ async function federation() {

const schemaUsers = /* GraphQL */ `
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.3",
import: ["@key", "@tag", "@shareable"])
@link(url: "https://specs.apollo.dev/federation/v2.3", import: ["@key", "@tag", "@shareable"])
directive @tag(name: String!) repeatable on FIELD_DEFINITION | OBJECT
type User @key(fields: "email") {
Expand Down

0 comments on commit b968b8d

Please sign in to comment.