@lobehub/chat 1.50.1 → 1.50.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -32,13 +32,13 @@
32
32
  "applications": [
33
33
  {
34
34
  "owner": "admin",
35
- "name": "app-built-in",
35
+ "name": "lobechat",
36
36
  "createdTime": "2024-09-09T09:26:06Z",
37
37
  "displayName": "LobeChat",
38
38
  "logo": "https://lobehub.com/icon-192x192.png",
39
39
  "homepageUrl": "https://lobehub.com",
40
40
  "description": "LobeChat",
41
- "organization": "built-in",
41
+ "organization": "lobechat",
42
42
  "cert": "cert-built-in",
43
43
  "headerHtml": "",
44
44
  "enablePassword": true,
@@ -230,7 +230,9 @@
230
230
  "isCustom": false
231
231
  }
232
232
  ],
233
- "grantTypes": ["authorization_code"],
233
+ "grantTypes": [
234
+ "authorization_code"
235
+ ],
234
236
  "organizationObj": null,
235
237
  "certPublicKey": "",
236
238
  "tags": [],
@@ -238,7 +240,12 @@
238
240
  "isShared": false,
239
241
  "clientId": "a387a4892ee19b1a2249",
240
242
  "clientSecret": "dbf205949d704de81b0b5b3603174e23fbecc354",
241
- "redirectUris": ["http://localhost:3210/api/auth/callback/casdoor"],
243
+ "redirectUris": [
244
+ "http://localhost:3210/api/auth/callback/casdoor",
245
+ "https://localhost:3210/api/auth/callback/casdoor",
246
+ "http://example.com/api/auth/callback/casdoor",
247
+ "https://example.com/api/auth/callback/casdoor"
248
+ ],
242
249
  "tokenFormat": "JWT",
243
250
  "tokenSigningMethod": "",
244
251
  "tokenFields": [],
@@ -352,12 +359,306 @@
352
359
  "favicon": "https://cdn.casbin.org/img/casbin/favicon.ico",
353
360
  "passwordType": "plain",
354
361
  "passwordSalt": "",
355
- "passwordOptions": ["AtLeast6"],
356
- "countryCodes": ["US", "ES", "FR", "DE", "GB", "CN", "JP", "KR", "VN", "ID", "SG", "IN"],
362
+ "passwordOptions": [
363
+ "AtLeast6"
364
+ ],
365
+ "countryCodes": [
366
+ "US",
367
+ "ES",
368
+ "FR",
369
+ "DE",
370
+ "GB",
371
+ "CN",
372
+ "JP",
373
+ "KR",
374
+ "VN",
375
+ "ID",
376
+ "SG",
377
+ "IN"
378
+ ],
379
+ "defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
380
+ "defaultApplication": "",
381
+ "tags": [],
382
+ "languages": [
383
+ "en",
384
+ "zh",
385
+ "es",
386
+ "fr",
387
+ "de",
388
+ "id",
389
+ "ja",
390
+ "ko",
391
+ "ru",
392
+ "vi",
393
+ "pt"
394
+ ],
395
+ "themeData": null,
396
+ "masterPassword": "",
397
+ "defaultPassword": "",
398
+ "masterVerificationCode": "",
399
+ "initScore": 2000,
400
+ "enableSoftDeletion": false,
401
+ "isProfilePublic": false,
402
+ "useEmailAsUsername": false,
403
+ "enableTour": true,
404
+ "mfaItems": null,
405
+ "accountItems": [
406
+ {
407
+ "name": "Organization",
408
+ "visible": true,
409
+ "viewRule": "Public",
410
+ "modifyRule": "Admin",
411
+ "regex": ""
412
+ },
413
+ {
414
+ "name": "ID",
415
+ "visible": true,
416
+ "viewRule": "Public",
417
+ "modifyRule": "Immutable",
418
+ "regex": ""
419
+ },
420
+ {
421
+ "name": "Name",
422
+ "visible": true,
423
+ "viewRule": "Public",
424
+ "modifyRule": "Admin",
425
+ "regex": ""
426
+ },
427
+ {
428
+ "name": "Display name",
429
+ "visible": true,
430
+ "viewRule": "Public",
431
+ "modifyRule": "Self",
432
+ "regex": ""
433
+ },
434
+ {
435
+ "name": "Avatar",
436
+ "visible": true,
437
+ "viewRule": "Public",
438
+ "modifyRule": "Self",
439
+ "regex": ""
440
+ },
441
+ {
442
+ "name": "User type",
443
+ "visible": true,
444
+ "viewRule": "Public",
445
+ "modifyRule": "Admin",
446
+ "regex": ""
447
+ },
448
+ {
449
+ "name": "Password",
450
+ "visible": true,
451
+ "viewRule": "Self",
452
+ "modifyRule": "Self",
453
+ "regex": ""
454
+ },
455
+ {
456
+ "name": "Email",
457
+ "visible": true,
458
+ "viewRule": "Public",
459
+ "modifyRule": "Self",
460
+ "regex": ""
461
+ },
462
+ {
463
+ "name": "Phone",
464
+ "visible": true,
465
+ "viewRule": "Public",
466
+ "modifyRule": "Self",
467
+ "regex": ""
468
+ },
469
+ {
470
+ "name": "Country code",
471
+ "visible": true,
472
+ "viewRule": "Public",
473
+ "modifyRule": "Admin",
474
+ "regex": ""
475
+ },
476
+ {
477
+ "name": "Country/Region",
478
+ "visible": true,
479
+ "viewRule": "Public",
480
+ "modifyRule": "Self",
481
+ "regex": ""
482
+ },
483
+ {
484
+ "name": "Location",
485
+ "visible": true,
486
+ "viewRule": "Public",
487
+ "modifyRule": "Self",
488
+ "regex": ""
489
+ },
490
+ {
491
+ "name": "Affiliation",
492
+ "visible": true,
493
+ "viewRule": "Public",
494
+ "modifyRule": "Self",
495
+ "regex": ""
496
+ },
497
+ {
498
+ "name": "Title",
499
+ "visible": true,
500
+ "viewRule": "Public",
501
+ "modifyRule": "Self",
502
+ "regex": ""
503
+ },
504
+ {
505
+ "name": "Homepage",
506
+ "visible": true,
507
+ "viewRule": "Public",
508
+ "modifyRule": "Self",
509
+ "regex": ""
510
+ },
511
+ {
512
+ "name": "Bio",
513
+ "visible": true,
514
+ "viewRule": "Public",
515
+ "modifyRule": "Self",
516
+ "regex": ""
517
+ },
518
+ {
519
+ "name": "Tag",
520
+ "visible": true,
521
+ "viewRule": "Public",
522
+ "modifyRule": "Admin",
523
+ "regex": ""
524
+ },
525
+ {
526
+ "name": "Signup application",
527
+ "visible": true,
528
+ "viewRule": "Public",
529
+ "modifyRule": "Admin",
530
+ "regex": ""
531
+ },
532
+ {
533
+ "name": "Roles",
534
+ "visible": true,
535
+ "viewRule": "Public",
536
+ "modifyRule": "Immutable",
537
+ "regex": ""
538
+ },
539
+ {
540
+ "name": "Permissions",
541
+ "visible": true,
542
+ "viewRule": "Public",
543
+ "modifyRule": "Immutable",
544
+ "regex": ""
545
+ },
546
+ {
547
+ "name": "Groups",
548
+ "visible": true,
549
+ "viewRule": "Public",
550
+ "modifyRule": "Admin",
551
+ "regex": ""
552
+ },
553
+ {
554
+ "name": "3rd-party logins",
555
+ "visible": true,
556
+ "viewRule": "Self",
557
+ "modifyRule": "Self",
558
+ "regex": ""
559
+ },
560
+ {
561
+ "name": "Properties",
562
+ "visible": true,
563
+ "viewRule": "Admin",
564
+ "modifyRule": "Admin",
565
+ "regex": ""
566
+ },
567
+ {
568
+ "name": "Is admin",
569
+ "visible": true,
570
+ "viewRule": "Admin",
571
+ "modifyRule": "Admin",
572
+ "regex": ""
573
+ },
574
+ {
575
+ "name": "Is forbidden",
576
+ "visible": true,
577
+ "viewRule": "Admin",
578
+ "modifyRule": "Admin",
579
+ "regex": ""
580
+ },
581
+ {
582
+ "name": "Is deleted",
583
+ "visible": true,
584
+ "viewRule": "Admin",
585
+ "modifyRule": "Admin",
586
+ "regex": ""
587
+ },
588
+ {
589
+ "name": "Multi-factor authentication",
590
+ "visible": true,
591
+ "viewRule": "Self",
592
+ "modifyRule": "Self",
593
+ "regex": ""
594
+ },
595
+ {
596
+ "name": "WebAuthn credentials",
597
+ "visible": true,
598
+ "viewRule": "Self",
599
+ "modifyRule": "Self",
600
+ "regex": ""
601
+ },
602
+ {
603
+ "name": "Managed accounts",
604
+ "visible": true,
605
+ "viewRule": "Self",
606
+ "modifyRule": "Self",
607
+ "regex": ""
608
+ },
609
+ {
610
+ "name": "MFA accounts",
611
+ "visible": true,
612
+ "viewRule": "Self",
613
+ "modifyRule": "Self",
614
+ "regex": ""
615
+ }
616
+ ]
617
+ },
618
+ {
619
+ "owner": "admin",
620
+ "name": "lobechat",
621
+ "createdTime": "2024-09-09T09:26:04Z",
622
+ "displayName": "LobeChat Organization",
623
+ "websiteUrl": "https://lobehub.com",
624
+ "logo": "https://lobehub.com/icon-192x192.png",
625
+ "logoDark": "",
626
+ "favicon": "https://lobehub.com/favicon.ico",
627
+ "passwordType": "plain",
628
+ "passwordSalt": "",
629
+ "passwordOptions": [
630
+ "AtLeast6"
631
+ ],
632
+ "countryCodes": [
633
+ "US",
634
+ "ES",
635
+ "FR",
636
+ "DE",
637
+ "GB",
638
+ "CN",
639
+ "JP",
640
+ "KR",
641
+ "VN",
642
+ "ID",
643
+ "SG",
644
+ "IN"
645
+ ],
357
646
  "defaultAvatar": "https://cdn.casbin.org/img/casbin.svg",
358
647
  "defaultApplication": "",
359
648
  "tags": [],
360
- "languages": ["en", "zh", "es", "fr", "de", "id", "ja", "ko", "ru", "vi", "pt"],
649
+ "languages": [
650
+ "en",
651
+ "zh",
652
+ "es",
653
+ "fr",
654
+ "de",
655
+ "id",
656
+ "ja",
657
+ "ko",
658
+ "ru",
659
+ "vi",
660
+ "pt"
661
+ ],
361
662
  "themeData": null,
362
663
  "masterPassword": "",
363
664
  "defaultPassword": "",
@@ -590,15 +891,23 @@
590
891
  "createdTime": "2024-09-09T09:26:04Z",
591
892
  "displayName": "Built-in Permission",
592
893
  "description": "Built-in Permission",
593
- "users": ["built-in/*"],
894
+ "users": [
895
+ "built-in/*"
896
+ ],
594
897
  "groups": [],
595
898
  "roles": [],
596
899
  "domains": [],
597
900
  "model": "user-model-built-in",
598
901
  "adapter": "",
599
902
  "resourceType": "Application",
600
- "resources": ["app-built-in"],
601
- "actions": ["Read", "Write", "Admin"],
903
+ "resources": [
904
+ "app-built-in"
905
+ ],
906
+ "actions": [
907
+ "Read",
908
+ "Write",
909
+ "Admin"
910
+ ],
602
911
  "effect": "Allow",
603
912
  "isEnabled": true,
604
913
  "submitter": "admin",
@@ -640,7 +949,7 @@
640
949
  "permanentAvatar": "",
641
950
  "email": "admin@example.com",
642
951
  "emailVerified": false,
643
- "phone": "12345678910",
952
+ "phone": "13245678910",
644
953
  "countryCode": "US",
645
954
  "region": "",
646
955
  "location": "",
@@ -771,7 +1080,159 @@
771
1080
  "managedAccounts": null,
772
1081
  "mfaAccounts": null,
773
1082
  "needUpdatePassword": false
1083
+ },
1084
+ {
1085
+ "owner": "lobechat",
1086
+ "name": "user",
1087
+ "createdTime": "2024-09-09T09:26:05Z",
1088
+ "updatedTime": "",
1089
+ "deletedTime": "",
1090
+ "id": "b5a7c5b5-3e79-47ff-85a8-537b07fee2f9",
1091
+ "externalId": "",
1092
+ "type": "normal-user",
1093
+ "password": "123",
1094
+ "passwordSalt": "",
1095
+ "passwordType": "plain",
1096
+ "displayName": "User",
1097
+ "firstName": "",
1098
+ "lastName": "",
1099
+ "avatar": "https://cdn.casbin.org/img/casbin.svg",
1100
+ "avatarType": "",
1101
+ "permanentAvatar": "",
1102
+ "email": "user@example.com",
1103
+ "emailVerified": false,
1104
+ "phone": "13245678910",
1105
+ "countryCode": "US",
1106
+ "region": "",
1107
+ "location": "",
1108
+ "address": [],
1109
+ "affiliation": "Example Inc.",
1110
+ "title": "",
1111
+ "idCardType": "",
1112
+ "idCard": "",
1113
+ "homepage": "",
1114
+ "bio": "",
1115
+ "tag": "staff",
1116
+ "language": "",
1117
+ "gender": "",
1118
+ "birthday": "",
1119
+ "education": "",
1120
+ "score": 2000,
1121
+ "karma": 0,
1122
+ "ranking": 1,
1123
+ "balance": 0,
1124
+ "currency": "",
1125
+ "isDefaultAvatar": false,
1126
+ "isOnline": false,
1127
+ "isAdmin": false,
1128
+ "isForbidden": false,
1129
+ "isDeleted": false,
1130
+ "signupApplication": "lobechat",
1131
+ "hash": "",
1132
+ "preHash": "",
1133
+ "accessKey": "",
1134
+ "accessSecret": "",
1135
+ "accessToken": "",
1136
+ "createdIp": "127.0.0.1",
1137
+ "lastSigninTime": "",
1138
+ "lastSigninIp": "",
1139
+ "github": "",
1140
+ "google": "",
1141
+ "qq": "",
1142
+ "wechat": "",
1143
+ "facebook": "",
1144
+ "dingtalk": "",
1145
+ "weibo": "",
1146
+ "gitee": "",
1147
+ "linkedin": "",
1148
+ "wecom": "",
1149
+ "lark": "",
1150
+ "gitlab": "",
1151
+ "adfs": "",
1152
+ "baidu": "",
1153
+ "alipay": "",
1154
+ "casdoor": "",
1155
+ "infoflow": "",
1156
+ "apple": "",
1157
+ "azuread": "",
1158
+ "azureadb2c": "",
1159
+ "slack": "",
1160
+ "steam": "",
1161
+ "bilibili": "",
1162
+ "okta": "",
1163
+ "douyin": "",
1164
+ "line": "",
1165
+ "amazon": "",
1166
+ "auth0": "",
1167
+ "battlenet": "",
1168
+ "bitbucket": "",
1169
+ "box": "",
1170
+ "cloudfoundry": "",
1171
+ "dailymotion": "",
1172
+ "deezer": "",
1173
+ "digitalocean": "",
1174
+ "discord": "",
1175
+ "dropbox": "",
1176
+ "eveonline": "",
1177
+ "fitbit": "",
1178
+ "gitea": "",
1179
+ "heroku": "",
1180
+ "influxcloud": "",
1181
+ "instagram": "",
1182
+ "intercom": "",
1183
+ "kakao": "",
1184
+ "lastfm": "",
1185
+ "mailru": "",
1186
+ "meetup": "",
1187
+ "microsoftonline": "",
1188
+ "naver": "",
1189
+ "nextcloud": "",
1190
+ "onedrive": "",
1191
+ "oura": "",
1192
+ "patreon": "",
1193
+ "paypal": "",
1194
+ "salesforce": "",
1195
+ "shopify": "",
1196
+ "soundcloud": "",
1197
+ "spotify": "",
1198
+ "strava": "",
1199
+ "stripe": "",
1200
+ "tiktok": "",
1201
+ "tumblr": "",
1202
+ "twitch": "",
1203
+ "twitter": "",
1204
+ "typetalk": "",
1205
+ "uber": "",
1206
+ "vk": "",
1207
+ "wepay": "",
1208
+ "xero": "",
1209
+ "yahoo": "",
1210
+ "yammer": "",
1211
+ "yandex": "",
1212
+ "zoom": "",
1213
+ "metamask": "",
1214
+ "web3onboard": "",
1215
+ "custom": "",
1216
+ "webauthnCredentials": null,
1217
+ "preferredMfaType": "",
1218
+ "recoveryCodes": null,
1219
+ "totpSecret": "",
1220
+ "mfaPhoneEnabled": false,
1221
+ "mfaEmailEnabled": false,
1222
+ "invitation": "",
1223
+ "invitationCode": "",
1224
+ "faceIds": null,
1225
+ "ldap": "",
1226
+ "properties": {},
1227
+ "roles": null,
1228
+ "permissions": null,
1229
+ "groups": null,
1230
+ "lastSigninWrongTime": "",
1231
+ "signinWrongTimes": 0,
1232
+ "managedAccounts": null,
1233
+ "mfaAccounts": null,
1234
+ "needUpdatePassword": false
774
1235
  }
775
1236
  ],
776
1237
  "webhooks": []
777
- }
1238
+ }