-
Notifications
You must be signed in to change notification settings - Fork 2
imp(): improved project resolver with dailyEvents #519
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
Merged
Merged
Changes from 4 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
0758a12
imp(): improved project resolver with dailyEvents
e11sy d4bc87f
merging repetitions on api side
slaveeks 99899a5
fix lint
slaveeks 0d3f614
Bump version up to 1.1.31
github-actions[bot] c12d698
Merge branch 'master' into refactor-project-overview
e11sy 5d2d445
Bump version up to 1.1.31
github-actions[bot] bdfbc1a
Merge branch 'master' of github.com:codex-team/hawk.api.nodejs into r…
slaveeks 107567c
Merge branch 'repetitions' of github.com:codex-team/hawk.api.nodejs i…
slaveeks 6f01048
Bump version up to 1.1.33
github-actions[bot] 795acae
revert some types changes
slaveeks 5f4d987
Merge branch 'repetitions' of github.com:codex-team/hawk.api.nodejs i…
slaveeks ce24a61
fix lint
slaveeks bcd7929
fix docs
slaveeks cb54d3a
fixes
slaveeks d009928
fix get repetitions by repetition
slaveeks d843f3e
chore(): type defs
e11sy ada2a24
review changes
slaveeks a507bb9
fixes
slaveeks ff67dc7
fixes
slaveeks fc94873
fixes test
slaveeks 69d64e1
fix
slaveeks 1d85ff6
Merge pull request #518 from codex-team/repetitions
slaveeks 33692e3
chore(): update from master
e11sy 33e2ed8
chore(): update from master
e11sy 1ac14b3
imp(): type defs
e11sy cbe8876
Bump version up to 1.1.34
github-actions[bot] 0aa318d
fix(): fix visitedBy issue
e11sy 17c654a
chore(): clean up
e11sy 788de82
chore(): clean up
e11sy e10a613
imp(): naming and descriptions
e11sy f3d87ad
imp(): pass original event id to getEventRepetitions
e11sy 24017f4
chore(): lint fix
e11sy 5800e2a
review cghanges
slaveeks 68166d0
Merge branch 'refactor-project-overview' of github.com:codex-team/haw…
slaveeks 1ad7524
test addons merhing
slaveeks 245361f
fix test
slaveeks 8e38bac
imp(): throw exceptions
e11sy d4786bd
imp(): get rid of event id in repetitionsPortion
e11sy e52d4d1
chore(): clean up
e11sy ffd9040
chore(): lint fix
e11sy 4cd5782
imp(): daily events cursor types
e11sy d3d61a0
fix original event without repetition in project overview
slaveeks af05990
Merge branch 'refactor-project-overview' of github.com:codex-team/haw…
slaveeks db61825
Revert "fix original event without repetition in project overview"
slaveeks e478c93
unwnd
slaveeks a65dcd4
imp(): rename
e11sy 9e2fa3e
imp(): remove redundant db calls
e11sy f88331d
Merge branch 'master' into refactor-project-overview
e11sy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -11,6 +11,47 @@ enum EventsSortOrder { | |||||
| BY_AFFECTED_USERS | ||||||
| } | ||||||
|
|
||||||
| """ | ||||||
| Pagination cursor of events portion and list of daily events | ||||||
| """ | ||||||
| type DailyEventsPortion { | ||||||
| """ | ||||||
| Cursor to the next portion of the events, null if there are no events left | ||||||
neSpecc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| """ | ||||||
| nextCursor: String | ||||||
|
|
||||||
| """ | ||||||
| Daily event information | ||||||
neSpecc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| """ | ||||||
| dailyEvents: [DailyEvent] | ||||||
| } | ||||||
|
|
||||||
| """ | ||||||
| Daily event information with event itself | ||||||
| """ | ||||||
| type DailyEvent { | ||||||
| """ | ||||||
| ID of the daily event | ||||||
| """ | ||||||
| id: ID! | ||||||
| """ | ||||||
| Count of events in this day | ||||||
| """ | ||||||
| count: Int! | ||||||
| """ | ||||||
| Count of the users affected by this event in this day | ||||||
| """ | ||||||
| affectedUsers: Int! | ||||||
| """ | ||||||
| Timestamp of the event grouping | ||||||
| """ | ||||||
| groupingTimestamp: Int! | ||||||
| """ | ||||||
| Event itself | ||||||
|
||||||
| Event itself | |
| Last repetition of this day |
Outdated
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
| Next Cursor to fetch next portion of events | |
| Next Cursor to fetch next portion of events. Id of the next daily event |
neSpecc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
neSpecc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.