implemented
This commit is contained in:
parent
a31bd8246c
commit
d3638e2e69
18 changed files with 1643 additions and 120 deletions
25
shared/constants.json
Normal file
25
shared/constants.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"roles": {
|
||||
"ADMIN": "admin",
|
||||
"REGULAR": "regular"
|
||||
},
|
||||
"inviteStatuses": {
|
||||
"READY": "ready",
|
||||
"SPENT": "spent",
|
||||
"REVOKED": "revoked"
|
||||
},
|
||||
"validation": {
|
||||
"telegram": {
|
||||
"maxLengthAfterAt": 32,
|
||||
"mustStartWith": "@"
|
||||
},
|
||||
"signal": {
|
||||
"maxLength": 64
|
||||
},
|
||||
"nostrNpub": {
|
||||
"prefix": "npub1",
|
||||
"bech32Words": 52
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue