Skip to content

Commit 9ed6109

Browse files
committed
autogen(docs): generate cli docs
1 parent 4b3aa00 commit 9ed6109

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

docs/kratos/concepts/messages.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,11 @@
457457
"text": "Phone number",
458458
"type": "info"
459459
},
460+
{
461+
"id": 1070018,
462+
"text": "Email or phone number",
463+
"type": "info"
464+
},
460465
{
461466
"id": 1080001,
462467
"text": "An email containing a verification link has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.",
@@ -472,6 +477,16 @@
472477
"text": "An email containing a verification code has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with.",
473478
"type": "info"
474479
},
480+
{
481+
"id": 1080004,
482+
"text": "A text message containing a verification code has been sent to the phone number you provided. If you have not received a text message, check the spelling of the number and make sure to use the number you registered with.",
483+
"type": "info"
484+
},
485+
{
486+
"id": 1080005,
487+
"text": "You successfully verified your phone number.",
488+
"type": "success"
489+
},
475490
{
476491
"id": 4000001,
477492
"text": "{reason}",

docs/kratos/concepts/ui-messages.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,16 @@
833833
}
834834
```
835835

836+
###### Email or phone number (1070018)
837+
838+
```json
839+
{
840+
"id": 1070018,
841+
"text": "Email or phone number",
842+
"type": "info"
843+
}
844+
```
845+
836846
###### An email containing a verification link has been sent to the email address you provided. If you have not received an email, check the spelling of the address and make sure to use the address you registered with. (1080001)
837847

838848
```json
@@ -863,6 +873,26 @@
863873
}
864874
```
865875

876+
###### A text message containing a verification code has been sent to the phone number you provided. If you have not received a text message, check the spelling of the number and make sure to use the number you registered with. (1080004)
877+
878+
```json
879+
{
880+
"id": 1080004,
881+
"text": "A text message containing a verification code has been sent to the phone number you provided. If you have not received a text message, check the spelling of the number and make sure to use the number you registered with.",
882+
"type": "info"
883+
}
884+
```
885+
886+
###### You successfully verified your phone number. (1080005)
887+
888+
```json
889+
{
890+
"id": 1080005,
891+
"text": "You successfully verified your phone number.",
892+
"type": "success"
893+
}
894+
```
895+
866896
###### {reason} (4000001)
867897

868898
```json

0 commit comments

Comments
 (0)