Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amitksingh1490 committed Dec 22, 2023
1 parent 20fad34 commit ea346cd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
8 changes: 5 additions & 3 deletions docs/getting_started/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
title: Configuration
sidebar_position: 2
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"

For our first example, we are going to compose a GraphQL schema from the REST APIs at <a href="https://jsonplaceholder.typicode.com" target="_blank">https://jsonplaceholder.typicode.com</a>, a free online REST API with some fake data.
We will use the API at `/users` to get a list of users, and `/users/:id/posts` to get the posts for each user, and compose them into a single GraphQL schema.
Expand Down Expand Up @@ -56,7 +57,7 @@ type Post {

`jsonplaceholder.yml`

```yml showLineNumbers
```yml showLineNumbers
server:
port: 8000
graphiql: true
Expand Down Expand Up @@ -200,6 +201,7 @@ types:
}
}
```

</TabItem>
</Tabs>

Expand Down
5 changes: 3 additions & 2 deletions docs/getting_started/launch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
title: Launch
sidebar_position: 3
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"

Now, run the following command to start the server with the full path to the file that you created earlier.

Expand Down
1 change: 1 addition & 0 deletions docs/guides/operators/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ sidebar_position: 1
Tailcall DSL builds on your existing GraphQL knowledge by allowing the addition of some custom operators. These operators provide powerful compile time guarantees to make sure your API composition is tight and robust. The operator information is used to automatically generates highly optimized resolver logic for your types.

# Composition

Operators can be composed and used together to create new and powerful transformations.

This example illustrates the concept of composition in GraphQL, which allows you to combine multiple operations (known as "operators") to build more complex transformations of data.
Expand Down
1 change: 0 additions & 1 deletion src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ export default function HomepageFeatures(): JSX.Element {
const INITIAL = 3
return (
<section className={styles.features}>

<div className="container">
<div className="row">
{FeatureList.slice(0, INITIAL).map((props, idx) => (
Expand Down
2 changes: 1 addition & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,4 @@ blockquote::before {

* {
letter-spacing: -0.02em;
}
}

0 comments on commit ea346cd

Please sign in to comment.