Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions external-accounts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

## Firestore collection:

- external-accounts

```
{
"type": string,
Expand All @@ -13,6 +11,13 @@
}
```

- Optional fields for `attributes`:
- `discordId` - number
- `username` - string
- `avatar` - string
- `discriminator` - string
- `expiry` - timestamp

### Example
- For Discord Accounts
```
Expand All @@ -21,7 +26,10 @@
"token": string,
"createdOn": timestamp,
"attributes" : {
"discordId": string,
"discordId": number,
"username": string,
"avatar": string,
"discriminator": string,
"expiry": timestamp,
}
}
Expand Down