mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
chore: rename linkToken to oauthLinkToken
This commit is contained in:
@@ -18013,7 +18013,7 @@
|
||||
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
|
||||
"type": "string"
|
||||
},
|
||||
"linkToken": {
|
||||
"oauthLinkToken": {
|
||||
"description": "OAuth link token to consume on successful login",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -21799,15 +21799,15 @@
|
||||
"pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$",
|
||||
"type": "string"
|
||||
},
|
||||
"linkToken": {
|
||||
"description": "OAuth link token to consume on successful login",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "User name",
|
||||
"example": "Admin",
|
||||
"type": "string"
|
||||
},
|
||||
"oauthLinkToken": {
|
||||
"description": "OAuth link token to consume on successful login",
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"description": "User password",
|
||||
"example": "password",
|
||||
|
||||
@@ -1008,10 +1008,10 @@ export type AssetOcrResponseDto = {
|
||||
export type SignUpDto = {
|
||||
/** User email */
|
||||
email: string;
|
||||
/** OAuth link token to consume on successful login */
|
||||
linkToken?: string;
|
||||
/** User name */
|
||||
name: string;
|
||||
/** OAuth link token to consume on successful login */
|
||||
oauthLinkToken?: string;
|
||||
/** User password */
|
||||
password: string;
|
||||
};
|
||||
@@ -1027,7 +1027,7 @@ export type LoginCredentialDto = {
|
||||
/** User email */
|
||||
email: string;
|
||||
/** OAuth link token to consume on successful login */
|
||||
linkToken?: string;
|
||||
oauthLinkToken?: string;
|
||||
/** User password */
|
||||
password: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user