Skip to content

Commit

Permalink
apollo client codegen updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcmichael committed Aug 1, 2024
1 parent 2cd9b24 commit d72741d
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 85 deletions.
17 changes: 8 additions & 9 deletions client/src/app/generated/civic.apollo-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,33 +373,32 @@ export type BrowseTherapyEdgeFieldPolicy = {
cursor?: FieldPolicy<any> | FieldReadFunction<any>,
node?: FieldPolicy<any> | FieldReadFunction<any>
};
export type BrowseUserKeySpecifier = ('acceptedLicense' | 'areaOfExpertise' | 'bio' | 'countryId' | 'createdAt' | 'deleted' | 'deletedAt' | 'displayName' | 'email' | 'evidenceCount' | 'facebookProfile' | 'id' | 'lastSeenAt' | 'linkedinProfile' | 'mostRecentActivityTimestamp' | 'mostRecentOrganizationId' | 'name' | 'orcid' | 'organizations' | 'profileImagePath' | 'revisionCount' | 'role' | 'signupComplete' | 'twitterHandle' | 'updatedAt' | 'url' | 'username' | BrowseUserKeySpecifier)[];
export type BrowseUserKeySpecifier = ('areaOfExpertise' | 'bio' | 'country' | 'displayName' | 'email' | 'events' | 'evidenceCount' | 'facebookProfile' | 'id' | 'linkedinProfile' | 'mostRecentActivityTimestamp' | 'mostRecentConflictOfInterestStatement' | 'mostRecentEvent' | 'mostRecentOrganizationId' | 'name' | 'notifications' | 'orcid' | 'organizations' | 'profileImagePath' | 'ranks' | 'revisionCount' | 'role' | 'statsHash' | 'twitterHandle' | 'url' | 'username' | BrowseUserKeySpecifier)[];
export type BrowseUserFieldPolicy = {
acceptedLicense?: FieldPolicy<any> | FieldReadFunction<any>,
areaOfExpertise?: FieldPolicy<any> | FieldReadFunction<any>,
bio?: FieldPolicy<any> | FieldReadFunction<any>,
countryId?: FieldPolicy<any> | FieldReadFunction<any>,
createdAt?: FieldPolicy<any> | FieldReadFunction<any>,
deleted?: FieldPolicy<any> | FieldReadFunction<any>,
deletedAt?: FieldPolicy<any> | FieldReadFunction<any>,
country?: FieldPolicy<any> | FieldReadFunction<any>,
displayName?: FieldPolicy<any> | FieldReadFunction<any>,
email?: FieldPolicy<any> | FieldReadFunction<any>,
events?: FieldPolicy<any> | FieldReadFunction<any>,
evidenceCount?: FieldPolicy<any> | FieldReadFunction<any>,
facebookProfile?: FieldPolicy<any> | FieldReadFunction<any>,
id?: FieldPolicy<any> | FieldReadFunction<any>,
lastSeenAt?: FieldPolicy<any> | FieldReadFunction<any>,
linkedinProfile?: FieldPolicy<any> | FieldReadFunction<any>,
mostRecentActivityTimestamp?: FieldPolicy<any> | FieldReadFunction<any>,
mostRecentConflictOfInterestStatement?: FieldPolicy<any> | FieldReadFunction<any>,
mostRecentEvent?: FieldPolicy<any> | FieldReadFunction<any>,
mostRecentOrganizationId?: FieldPolicy<any> | FieldReadFunction<any>,
name?: FieldPolicy<any> | FieldReadFunction<any>,
notifications?: FieldPolicy<any> | FieldReadFunction<any>,
orcid?: FieldPolicy<any> | FieldReadFunction<any>,
organizations?: FieldPolicy<any> | FieldReadFunction<any>,
profileImagePath?: FieldPolicy<any> | FieldReadFunction<any>,
ranks?: FieldPolicy<any> | FieldReadFunction<any>,
revisionCount?: FieldPolicy<any> | FieldReadFunction<any>,
role?: FieldPolicy<any> | FieldReadFunction<any>,
signupComplete?: FieldPolicy<any> | FieldReadFunction<any>,
statsHash?: FieldPolicy<any> | FieldReadFunction<any>,
twitterHandle?: FieldPolicy<any> | FieldReadFunction<any>,
updatedAt?: FieldPolicy<any> | FieldReadFunction<any>,
url?: FieldPolicy<any> | FieldReadFunction<any>,
username?: FieldPolicy<any> | FieldReadFunction<any>
};
Expand Down
147 changes: 71 additions & 76 deletions client/src/app/generated/civic.apollo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -684,17 +684,17 @@ export type BrowseMolecularProfileEdge = {

export type BrowseOrganization = {
__typename: 'BrowseOrganization';
activityCount: Scalars['Int'];
activityCount: Scalars['Int']['output'];
childOrganizations: Array<Organization>;
createdAt?: Maybe<Scalars['ISO8601DateTime']>;
description: Scalars['String'];
id: Scalars['Int'];
memberCount: Scalars['Int'];
mostRecentActivityTimestamp?: Maybe<Scalars['ISO8601DateTime']>;
name: Scalars['String'];
parentId?: Maybe<Scalars['Int']>;
updatedAt?: Maybe<Scalars['ISO8601DateTime']>;
url: Scalars['String'];
createdAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
description: Scalars['String']['output'];
id: Scalars['Int']['output'];
memberCount: Scalars['Int']['output'];
mostRecentActivityTimestamp?: Maybe<Scalars['ISO8601DateTime']['output']>;
name: Scalars['String']['output'];
parentId?: Maybe<Scalars['Int']['output']>;
updatedAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
url: Scalars['String']['output'];
};

/** The connection type for BrowseOrganization. */
Expand All @@ -703,24 +703,24 @@ export type BrowseOrganizationConnection = {
/** A list of edges. */
edges: Array<BrowseOrganizationEdge>;
/** The total number of records in this set. */
filteredCount: Scalars['Int'];
filteredCount: Scalars['Int']['output'];
/** The last time the data in this browse table was refreshed */
lastUpdated: Scalars['ISO8601DateTime'];
lastUpdated: Scalars['ISO8601DateTime']['output'];
/** A list of nodes. */
nodes: Array<BrowseOrganization>;
/** Total number of pages, based on filtered count and pagesize. */
pageCount: Scalars['Int'];
pageCount: Scalars['Int']['output'];
/** Information to aid in pagination. */
pageInfo: PageInfo;
/** The total number of records of this type, regardless of any filtering. */
totalCount: Scalars['Int'];
totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type BrowseOrganizationEdge = {
__typename: 'BrowseOrganizationEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String'];
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node?: Maybe<BrowseOrganization>;
};
Expand Down Expand Up @@ -855,38 +855,58 @@ export type BrowseTherapyEdge = {

export type BrowseUser = {
__typename: 'BrowseUser';
acceptedLicense?: Maybe<Scalars['Boolean']>;
areaOfExpertise?: Maybe<Scalars['String']>;
bio?: Maybe<Scalars['String']>;
countryId?: Maybe<Scalars['Int']>;
createdAt?: Maybe<Scalars['ISO8601DateTime']>;
deleted?: Maybe<Scalars['Boolean']>;
deletedAt?: Maybe<Scalars['ISO8601DateTime']>;
displayName: Scalars['String'];
email?: Maybe<Scalars['String']>;
evidenceCount: Scalars['Int'];
facebookProfile?: Maybe<Scalars['String']>;
id: Scalars['Int'];
lastSeenAt?: Maybe<Scalars['ISO8601DateTime']>;
linkedinProfile?: Maybe<Scalars['String']>;
mostRecentActivityTimestamp?: Maybe<Scalars['ISO8601DateTime']>;
mostRecentOrganizationId?: Maybe<Scalars['Int']>;
name?: Maybe<Scalars['String']>;
orcid?: Maybe<Scalars['String']>;
areaOfExpertise?: Maybe<AreaOfExpertise>;
bio?: Maybe<Scalars['String']['output']>;
country?: Maybe<Country>;
displayName: Scalars['String']['output'];
email?: Maybe<Scalars['String']['output']>;
events: EventConnection;
evidenceCount: Scalars['Int']['output'];
facebookProfile?: Maybe<Scalars['String']['output']>;
id: Scalars['Int']['output'];
linkedinProfile?: Maybe<Scalars['String']['output']>;
mostRecentActivityTimestamp?: Maybe<Scalars['ISO8601DateTime']['output']>;
mostRecentConflictOfInterestStatement?: Maybe<Coi>;
mostRecentEvent?: Maybe<Event>;
mostRecentOrganizationId?: Maybe<Scalars['Int']['output']>;
name?: Maybe<Scalars['String']['output']>;
/** Filterable list of notifications for the logged in user. */
notifications?: Maybe<NotificationConnection>;
orcid?: Maybe<Scalars['String']['output']>;
organizations: Array<Organization>;
profileImagePath?: Maybe<Scalars['String']>;
revisionCount: Scalars['Int'];
role: Scalars['String'];
signupComplete?: Maybe<Scalars['Boolean']>;
twitterHandle?: Maybe<Scalars['String']>;
updatedAt?: Maybe<Scalars['ISO8601DateTime']>;
url?: Maybe<Scalars['String']>;
username?: Maybe<Scalars['String']>;
profileImagePath?: Maybe<Scalars['String']['output']>;
ranks: Ranks;
revisionCount: Scalars['Int']['output'];
role: UserRole;
statsHash: Stats;
twitterHandle?: Maybe<Scalars['String']['output']>;
url?: Maybe<Scalars['String']['output']>;
username: Scalars['String']['output'];
};


export type BrowseUserEventsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};


export type BrowseUserNotificationsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
eventType?: InputMaybe<EventAction>;
first?: InputMaybe<Scalars['Int']['input']>;
includeSeen?: InputMaybe<Scalars['Boolean']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
notificationType?: InputMaybe<NotificationReason>;
subscriptionId?: InputMaybe<Scalars['Int']['input']>;
};


export type BrowseUserProfileImagePathArgs = {
size?: InputMaybe<Scalars['Int']>;
size?: InputMaybe<Scalars['Int']['input']>;
};

/** The connection type for BrowseUser. */
Expand All @@ -895,24 +915,24 @@ export type BrowseUserConnection = {
/** A list of edges. */
edges: Array<BrowseUserEdge>;
/** The total number of records in this set. */
filteredCount: Scalars['Int'];
filteredCount: Scalars['Int']['output'];
/** The last time the data in this browse table was refreshed */
lastUpdated: Scalars['ISO8601DateTime'];
lastUpdated: Scalars['ISO8601DateTime']['output'];
/** A list of nodes. */
nodes: Array<BrowseUser>;
/** Total number of pages, based on filtered count and pagesize. */
pageCount: Scalars['Int'];
pageCount: Scalars['Int']['output'];
/** Information to aid in pagination. */
pageInfo: PageInfo;
/** The total number of records of this type, regardless of any filtering. */
totalCount: Scalars['Int'];
totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type BrowseUserEdge = {
__typename: 'BrowseUserEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String'];
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node?: Maybe<BrowseUser>;
};
Expand Down Expand Up @@ -4117,31 +4137,6 @@ export type OrganizationProfileImagePathArgs = {
size?: InputMaybe<Scalars['Int']['input']>;
};


/** The connection type for Organization. */
export type OrganizationConnection = {
__typename: 'OrganizationConnection';
/** A list of edges. */
edges: Array<OrganizationEdge>;
/** A list of nodes. */
nodes: Array<Organization>;
/** Total number of pages, based on filtered count and pagesize. */
pageCount: Scalars['Int']['output'];
/** Information to aid in pagination. */
pageInfo: PageInfo;
/** The total number of records in this filtered collection. */
totalCount: Scalars['Int']['output'];
};

/** An edge in a connection. */
export type OrganizationEdge = {
__typename: 'OrganizationEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node?: Maybe<Organization>;
};

/** Filter on organization id and whether or not to include the organization's subgroups */
export type OrganizationFilter = {
/** The organization ID. */
Expand Down Expand Up @@ -7681,9 +7676,9 @@ export type UsersBrowseQueryVariables = Exact<{
}>;


export type UsersBrowseQuery = { __typename: 'Query', users: { __typename: 'BrowseUserConnection', totalCount: number, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | undefined }, edges: Array<{ __typename: 'BrowseUserEdge', cursor: string, node?: { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username?: string | undefined, role: string, evidenceCount: number, revisionCount: number, profileImagePath?: string | undefined, mostRecentActivityTimestamp?: any | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string }> } | undefined }> } };
export type UsersBrowseQuery = { __typename: 'Query', users: { __typename: 'BrowseUserConnection', totalCount: number, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | undefined }, edges: Array<{ __typename: 'BrowseUserEdge', cursor: string, node?: { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username: string, role: UserRole, evidenceCount: number, revisionCount: number, profileImagePath?: string | undefined, mostRecentActivityTimestamp?: any | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string }> } | undefined }> } };

export type UserBrowseTableRowFieldsFragment = { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username?: string | undefined, role: string, evidenceCount: number, revisionCount: number, profileImagePath?: string | undefined, mostRecentActivityTimestamp?: any | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string }> };
export type UserBrowseTableRowFieldsFragment = { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username: string, role: UserRole, evidenceCount: number, revisionCount: number, profileImagePath?: string | undefined, mostRecentActivityTimestamp?: any | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string }> };

export type VariantGroupPopoverQueryVariables = Exact<{
variantGroupId: Scalars['Int']['input'];
Expand Down Expand Up @@ -8679,9 +8674,9 @@ export type OrganizationMembersQueryVariables = Exact<{
}>;


export type OrganizationMembersQuery = { __typename: 'Query', users: { __typename: 'BrowseUserConnection', pageInfo: { __typename: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | undefined, endCursor?: string | undefined }, edges: Array<{ __typename: 'BrowseUserEdge', cursor: string, node?: { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username?: string | undefined, profileImagePath?: string | undefined, role: string, url?: string | undefined, areaOfExpertise?: string | undefined, orcid?: string | undefined, twitterHandle?: string | undefined, facebookProfile?: string | undefined, linkedinProfile?: string | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string, url: string }> } | undefined }> } };
export type OrganizationMembersQuery = { __typename: 'Query', users: { __typename: 'BrowseUserConnection', pageInfo: { __typename: 'PageInfo', hasNextPage: boolean, hasPreviousPage: boolean, startCursor?: string | undefined, endCursor?: string | undefined }, edges: Array<{ __typename: 'BrowseUserEdge', cursor: string, node?: { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username: string, profileImagePath?: string | undefined, role: UserRole, url?: string | undefined, areaOfExpertise?: AreaOfExpertise | undefined, orcid?: string | undefined, twitterHandle?: string | undefined, facebookProfile?: string | undefined, linkedinProfile?: string | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string, url: string }> } | undefined }> } };

export type OrganizationMembersFieldsFragment = { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username?: string | undefined, profileImagePath?: string | undefined, role: string, url?: string | undefined, areaOfExpertise?: string | undefined, orcid?: string | undefined, twitterHandle?: string | undefined, facebookProfile?: string | undefined, linkedinProfile?: string | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string, url: string }> };
export type OrganizationMembersFieldsFragment = { __typename: 'BrowseUser', id: number, name?: string | undefined, displayName: string, username: string, profileImagePath?: string | undefined, role: UserRole, url?: string | undefined, areaOfExpertise?: AreaOfExpertise | undefined, orcid?: string | undefined, twitterHandle?: string | undefined, facebookProfile?: string | undefined, linkedinProfile?: string | undefined, organizations: Array<{ __typename: 'Organization', id: number, name: string, url: string }> };

export type PhenotypeDetailQueryVariables = Exact<{
phenotypeId: Scalars['Int']['input'];
Expand Down

0 comments on commit d72741d

Please sign in to comment.