Skip to content

Commit

Permalink
Merge pull request #928 from CruGlobal/upgrade-gql-codegen
Browse files Browse the repository at this point in the history
[no-Jira] Upgrade @graphql-codegen/* dependencies
  • Loading branch information
canac committed Apr 26, 2024
2 parents abed14b + 4e11fd0 commit 2fb823b
Show file tree
Hide file tree
Showing 194 changed files with 2,504 additions and 2,004 deletions.
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

0 comments on commit 2fb823b

Please sign in to comment.