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

Add Role schema to @mapeo/schema #124

Closed
Tracked by #189 ...
gmaclennan opened this issue Aug 18, 2023 · 0 comments · Fixed by #127
Closed
Tracked by #189 ...

Add Role schema to @mapeo/schema #124

gmaclennan opened this issue Aug 18, 2023 · 0 comments · Fixed by #127

Comments

@gmaclennan
Copy link
Member

gmaclennan commented Aug 18, 2023

type Role = {
  docId: string, // should be auth core ID (hex of auth core key)
  roleId: string, // random 64-bit ID as hex string
  fromIndex: number
}

See digidem/comapeo-core#189

@gmaclennan gmaclennan transferred this issue from digidem/comapeo-core Aug 18, 2023
gmaclennan added a commit that referenced this issue Aug 18, 2023
gmaclennan added a commit that referenced this issue Aug 23, 2023
* feat: Add updated `Role` data type

Fixes #124
For details see digidem/comapeo-core#189

* Update & add tests; fix things

* clarify description of `fromIndex`

Still not particularly clear, but hopefully a bit more so
gmaclennan added a commit that referenced this issue Aug 23, 2023
* feat: Add updated `Role` data type

Fixes #124
For details see digidem/comapeo-core#189

* Update & add tests; fix things

* feat: device -> deviceInfo & new schema

Fixes #126

For more info see digidem/comapeo-core#182

* add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant