mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 09:53:32 +01:00
Changing AuthToken to be complex type so can have a version, rather than just a string
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import { v4 as uuid } from 'uuid';
|
||||
|
||||
export type AuthToken = {
|
||||
value: string,
|
||||
version: string
|
||||
}
|
||||
|
||||
export type Association = {
|
||||
authToken: string
|
||||
authToken: AuthToken
|
||||
userId: string
|
||||
nickname: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user