Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no-Jira] Upgrade @graphql-codegen/* dependencies #928

Merged
merged 3 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,541 changes: 1,360 additions & 1,181 deletions .pnp.cjs

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/jwa-npm-1.4.1-4f19d6572c-ff30ea7c2d.zip
Binary file not shown.
Binary file removed .yarn/cache/jws-npm-3.2.2-c1ae59c7af-f0213fe5b7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/ws-npm-8.12.0-4e21348613-818ff3f874.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion codegen.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
overwrite: true
generates:
./src/graphql/types.generated.ts:
schema:
Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,19 +93,20 @@
},
"devDependencies": {
"@brainly/onesky-utils": "1.4.2",
"@graphql-codegen/add": "^3.2.1",
"@graphql-codegen/cli": "^2.16.4",
"@graphql-codegen/fragment-matcher": "^3.3.1",
"@graphql-codegen/near-operation-file-preset": "^2.4.3",
"@graphql-codegen/schema-ast": "^2.5.1",
"@graphql-codegen/typescript": "^2.8.0",
"@graphql-codegen/typescript-operations": "^2.5.5",
"@graphql-codegen/typescript-react-apollo": "^3.3.5",
"@graphql-codegen/typescript-resolvers": "^2.7.5",
"@graphql-codegen/add": "^5.0.2",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/fragment-matcher": "^5.0.2",
"@graphql-codegen/near-operation-file-preset": "^3.0.0",
"@graphql-codegen/schema-ast": "^4.0.2",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-codegen/typescript-react-apollo": "^3.3.7",
"@graphql-codegen/typescript-resolvers": "^4.0.6",
"@graphql-tools/jest-transform": "^1.2.2",
"@graphql-tools/schema": "^9.0.4",
"@next/bundle-analyzer": "^12.3.1",
"@next/eslint-plugin-next": "^12.3.1",
"@parcel/watcher": "^2.4.1",
"@react-dnd/invariant": "^2.0.0",
"@storybook/addon-actions": "^6.5.16",
"@storybook/addon-controls": "^6.5.16",
Expand Down
6 changes: 3 additions & 3 deletions pages/api/auth/apiOauthSignIn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ import { gql } from '@apollo/client';
import * as Apollo from '@apollo/client';
const defaultOptions = {} as const;
export type ApiOauthSignInMutationVariables = Types.Exact<{
accessToken: Types.Scalars['String'];
accessToken: Types.Scalars['String']['input'];
}>;

type ApiOauthSignInMutationPayload = {
__typename?: 'ApiOauthSignInMutationPayload';
/** A unique identifier for the client performing the mutation. */
clientMutationId?: Types.Maybe<Types.Scalars['String']>;
token?: Types.Maybe<Types.Scalars['String']>;
clientMutationId?: Types.Maybe<Types.Scalars['String']['input']>;
token?: Types.Maybe<Types.Scalars['String']['input']>;
user?: Types.Maybe<Types.User>;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
Contact,
ContactConnection,
ContactFilterPledgeReceivedEnum,
Scalars,
StatusEnum,
} from 'src/graphql/types.generated';
import { useAccountListId } from 'src/hooks/useAccountListId';
Expand Down Expand Up @@ -92,7 +91,7 @@ const LateCommitments = ({
return filteredLatePledges.length > 0;
};

const determineDaysLate = (lateAt: Scalars['ISO8601Date']) => {
const determineDaysLate = (lateAt: string) => {
return Math.round(
DateTime.local().diff(DateTime.fromISO(lateAt), 'days').days,
);
Expand Down
Loading
Loading