Add list moons command #449
No reviewers
Labels
No labels
blocked
duplicate
enhancement
good first issue
help wanted
invalid
needs criteria
needs estimate
needs testing
question
type
admin
type
bug
type
change
type
defect
type
dependencies
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
type
subtask
wontfix
blocked
duplicate
needs criteria
needs designs
needs estimate
needs testing
question
type
admin
type
alert
type
bug
type
defect
type
dependencies
type
design
type
documentation
type
epic
type
incident
type
investigation
type
spike
type
story
won't fix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: RabbitLabs/vylbot-app#449
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/195-list-moons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#195
@ -0,0 +1,9 @@
CREATE TABLE `moon` (
Need to specify the primary key
I haven't for previous migrations, is it worth still doing?
@ -0,0 +1,3 @@
export default class MoonValues {
Maybe call this
MoonConstants
? I think that would make more sense@ -0,0 +31,4 @@
}
public static async FetchPaginatedMoonsByUserId(userId: string, page: number): Promise<[ Moon[], number ]> {
const rangeStart = page * MoonValues.ListPageLength;
ListPageLength
could just be a parameter tbhOr we make it a global page length, affecting all future pages?
I think just make it a parameter, the issue with that would be adjusting it for 1 and having unintended changes on other pages
See comments