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 // unix timestamp
Updated int64 `json:"updated,string"` Updated int64 `json:"updated,string"`
// alphanumeric username // alphanumeric username
Username string `json:"username"` Username string `json:"username"`
VerificationDate int64 `json:"verificationDate,string"` // date of verification
Verified bool `json:"verified"` VerificationDate int64 `json:"verificationDate,string"`
// if the account is verified
Verified bool `json:"verified"`
} }
type CreateRequest struct { type CreateRequest struct {

View File

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

View File

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