Skip to content
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

Let events become trackable... #77

Open
dskunkler opened this issue Aug 28, 2023 · 4 comments · Fixed by #79
Open

Let events become trackable... #77

dskunkler opened this issue Aug 28, 2023 · 4 comments · Fixed by #79

Comments

@dskunkler
Copy link
Owner

No description provided.

@dskunkler dskunkler added this to the Make it trackable milestone Aug 28, 2023
@dskunkler
Copy link
Owner Author

dskunkler commented Aug 28, 2023

Maybe just stringify and parse and keep it on the info object.. We can use guards/mapping (Wtf is this really called?) To get type safety.
NOTE: add a node: string to each of these
OM: {goal: string, pitches: [{grade: Grade, tries: number, sent: boolean}]}
ARC: {grade: 5a, sets:2, duration: 20minutes}
HB: {exercise: [{set: number, grip: string, set: number, reps: number, resistance: number, rest: number}]} // I think we should make an interface for this one
WBL: {time: number, climbers :{grade: Grade, attempts: number}}
C: {name: string, left: number, right: number} Add matching ladders, basic ladders, max ladders, typewriters, bumps, touches, double dynos, up down ups, probably need to have specific number things for some
LB: {moves: [{grade: Grade, attempts: number, rest: number, note: string}]}
SE: {exercises:[{name: string, weight: number, reps: number, sets: number}]}
RP/OS: {climbs: [{name: string, grade: Grade, attempts: number, sent: Boolean, note: string}]}
LBC: {difficulty: Grade, sets: number, pace: string, note: string }
INT: {grade: Grade, pace: string, sets: number note: string}
AOE: {name: string, time: number, note: string}
SK: {techniques: [{name: string, time: number, note: string}]}

I THINK SOME OF THESE SHOULD JUST BE ARRAYS

@dskunkler
Copy link
Owner Author

Add more later I'm tired

@dskunkler
Copy link
Owner Author

Ok I added these to the defaults, follow those patterns

@dskunkler dskunkler linked a pull request Aug 31, 2023 that will close this issue
@dskunkler dskunkler reopened this Aug 31, 2023
@dskunkler
Copy link
Owner Author

Keeping this open until the sub projects are completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant