Skip to content

Commit

Permalink
docs: fix typos (#692)
Browse files Browse the repository at this point in the history
# Description

Typo fix in README and code comments:
```
README.md
packages/gql-utils/prisma/connection-key.ts
packages/gql-utils/prisma/create-connection-loader.ts
packages/ui/index.ts b/packages/ui/index.ts
```

### Checklist

- [x] discord username: `sadikkuzu`
- [ ] Closes #<issue-number>
- [ ] PR must be created for an issue from issues under "In progress"
column from [our project
board](https://github.com/orgs/kamp-us/projects/2/views/1).
- [x] A descriptive and understandable title: The PR title should
clearly describe the nature and purpose of the changes. The PR title
should be the first thing displayed when the PR is opened. And it should
follow the semantic commit rules, and should include the
app/package/service name in the title. For example, a title like
"docs(@kampus-apps/pano): Add README.md" can be used.
- [ ] Related file selection: Only relevant files should be touched and
no other files should be affected.
- [ ] I ran `npx turbo run` at the root of the repository, and build was
successful.
- [ ] I installed the npm packages using `npm install --save-exact
<package>` so my package is pinned to a specific npm version. Leave
empty if no package was installed. Leave empty if no package was
installed with this PR.

### How were these changes tested?

Code inspection only.
  • Loading branch information
sadikkuzu authored Aug 27, 2023
1 parent 44d977f commit fc17a07
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ npm run dev
```

```sh
# Runs only "gql" server so backend work can be done separetly.
# Runs only "gql" server so backend work can be done separately.
npm run gql
```

Expand Down
2 changes: 1 addition & 1 deletion packages/gql-utils/prisma/connection-key.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { type FindManyArgs } from "./types";
*/
export class ConnectionKey {
/**
* This is useful for cases where we want to fetch "list of X belogs to Y"
* This is useful for cases where we want to fetch "list of X belongs to Y"
* It's going to be used as value for connection loader's "identifier" when
* fetching the connection. Set it to null if you are using this key to
* fetch top level connections (e.g: PanoQuery.posts)
Expand Down
2 changes: 1 addition & 1 deletion packages/gql-utils/prisma/create-connection-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function createPrismaConnectionLoader<TPrisma extends { id: string }>(
const queryArgs = {
...overrides,
// we are making sure that [identifier]: parentID and deletedAt is
// not overriden
// not overridden
where: { ...overrides.where, ...where },
};

Expand Down
2 changes: 1 addition & 1 deletion packages/ui/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { z } from "zod";

// export zod for convinience
// export zod for convenience
export { z };

export * from "./components";

0 comments on commit fc17a07

Please sign in to comment.