Skip to content

Commit

Permalink
Merge branch 'main' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
acoffman committed Feb 8, 2024
2 parents 163b2d9 + 60d7354 commit 0754c6f
Show file tree
Hide file tree
Showing 16 changed files with 681 additions and 21 deletions.
72 changes: 71 additions & 1 deletion client/src/app/generated/server.model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ interface ActivityInterface {
The connection type for ActivityInterface.
"""
type ActivityInterfaceConnection {
"""
List of activity types that have occured on this entity.
"""
activityTypes: [ActivityTypeInput!]!

"""
A list of edges.
"""
Expand All @@ -112,10 +117,27 @@ type ActivityInterfaceConnection {
"""
pageInfo: PageInfo!

"""
List of all organizations who are involved in this activity stream.
"""
participatingOrganizations: [Organization!]!
subjectTypes: [ActivitySubjectInput!]!

"""
The total number of records in this filtered collection.
"""
totalCount: Int!

"""
When filtered on a subject, user, or organization, the total number of events
for that subject/user/organization, irregardless of other filters.
"""
unfilteredCount: Int!

"""
List of all users that have performed an activity on the subject entity.
"""
uniqueParticipants: [User!]!
}

"""
Expand All @@ -133,6 +155,41 @@ type ActivityInterfaceEdge {
node: ActivityInterface
}

enum ActivitySubjectInput {
ASSERTION
EVIDENCE_ITEM
FEATURE
FLAG
MOLECULAR_PROFILE
REVISION
REVISION_SET
SOURCE
SOURCE_SUGGESTION
VARIANT
VARIANT_GROUP
}

enum ActivityTypeInput {
ACCEPT_REVISIONS
COMMENT
CREATE_COMPLEX_MOLECULAR_PROFILE
CREATE_FEATURE
CREATE_VARIANT
DEPRECATE_COMPLEX_MOLECULAR_PROFILE
DEPRECATE_FEATURE
DEPRECATE_VARIANT
FLAG_ENTITY
MODERATE_ASSERTION
MODERATE_EVIDENCE_ITEM
REJECT_REVISIONS
RESOLVE_FLAG
SUBMIT_ASSERTION
SUBMIT_EVIDENCE_ITEM
SUGGEST_REVISION
SUGGEST_SOURCE
UPDATE_SOURCE_SUGGESTION
}

"""
Autogenerated input type of AddComment
"""
Expand Down Expand Up @@ -2206,7 +2263,9 @@ enum EventAction {
ASSERTION_SUBMITTED
COMMENTED
COMPLEX_MOLECULAR_PROFILE_CREATED
CREATED_FEATURE
CURATED_SOURCE_SUGGESTION
DEPRECATED_FEATURE
DEPRECATED_MOLECULAR_PROFILE
DEPRECATED_VARIANT
FLAGGED
Expand Down Expand Up @@ -5311,6 +5370,8 @@ type Query {
List and filter activities
"""
activities(
activityType: [ActivityTypeInput!]

"""
Returns the elements in the list that come after the specified cursor.
"""
Expand All @@ -5330,7 +5391,16 @@ type Query {
Returns the last _n_ elements from the list.
"""
last: Int
userId: Int
mode: EventFeedMode
organizationId: [Int!]

"""
Sort order for the activities. Defaults to most recent.
"""
sortBy: DateSort
subject: [SubscribableQueryInput!]
subjectType: [ActivitySubjectInput!]
userId: [Int!]
): ActivityInterfaceConnection!

"""
Expand Down
Loading

0 comments on commit 0754c6f

Please sign in to comment.