Merge branch 'master' of ssh://github.com/micro/services

This commit is contained in:
Asim Aslam
2021-10-28 08:55:03 +01:00
3 changed files with 8 additions and 4 deletions

View File

@@ -95,9 +95,11 @@ type Account struct {
// unix timestamp
Updated int64 `json:"updated,string"`
// alphanumeric username
Username string `json:"username"`
VerificationDate int64 `json:"verificationDate,string"`
Verified bool `json:"verified"`
Username string `json:"username"`
// date of verification
VerificationDate int64 `json:"verificationDate,string"`
// if the account is verified
Verified bool `json:"verified"`
}
type CreateRequest struct {

View File

@@ -76,5 +76,5 @@
"prepare": "npm run build"
},
"types": "index.d.ts",
"version": "1.0.581"
"version": "1.0.591"
}

View File

@@ -28,7 +28,9 @@ message Account {
int64 created = 4;
// unix timestamp
int64 updated = 5;
// if the account is verified
bool verified = 6;
// date of verification
int64 verificationDate = 7;
// Store any custom data you want about your users in this fields.
map<string,string> profile = 8;