@chuzi/shared 1.3.14 → 1.3.16
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.
- package/dist/api/index.d.ts +3 -18
- package/dist/api/index.js +2 -4
- package/dist/api/index.js.map +1 -1
- package/dist/config/index.js +30 -0
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +32 -4
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +12 -5
- package/dist/types/index.js.map +1 -1
- package/dist/ui/index.js +30 -0
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -223,6 +223,7 @@ var REALMS = {
|
|
|
223
223
|
director_profile_tab_experience_mapping: "Experience Mapping",
|
|
224
224
|
director_profile_admin_only: "Admin only",
|
|
225
225
|
director_profile_cancel: "Cancel",
|
|
226
|
+
director_profile_close: "Close",
|
|
226
227
|
director_profile_save: "Save",
|
|
227
228
|
director_profile_saving: "Saving\u2026",
|
|
228
229
|
director_profile_name_required: "Name is required.",
|
|
@@ -269,6 +270,15 @@ var REALMS = {
|
|
|
269
270
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
270
271
|
experience_mapping_save_experience: "Save to experience",
|
|
271
272
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
273
|
+
auth_email_placeholder: "Email",
|
|
274
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
275
|
+
auth_signing_in: "Sending...",
|
|
276
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
277
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
278
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
279
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
280
|
+
auth_magic_link_cta: "Use another email",
|
|
281
|
+
auth_login_failed: "Sign-in failed.",
|
|
272
282
|
experience_mapping_group_experience_root: "Experience Root",
|
|
273
283
|
experience_mapping_group_node_types: "Node Types",
|
|
274
284
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -451,6 +461,7 @@ var REALMS = {
|
|
|
451
461
|
director_profile_tab_experience_mapping: "Experience Mapping",
|
|
452
462
|
director_profile_admin_only: "Admin only",
|
|
453
463
|
director_profile_cancel: "Cancel",
|
|
464
|
+
director_profile_close: "Close",
|
|
454
465
|
director_profile_save: "Save",
|
|
455
466
|
director_profile_saving: "Saving\u2026",
|
|
456
467
|
director_profile_name_required: "Name is required.",
|
|
@@ -497,6 +508,15 @@ var REALMS = {
|
|
|
497
508
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
498
509
|
experience_mapping_save_experience: "Save to experience",
|
|
499
510
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
511
|
+
auth_email_placeholder: "Email",
|
|
512
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
513
|
+
auth_signing_in: "Sending...",
|
|
514
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
515
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
516
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
517
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
518
|
+
auth_magic_link_cta: "Use another email",
|
|
519
|
+
auth_login_failed: "Sign-in failed.",
|
|
500
520
|
experience_mapping_group_experience_root: "Experience Root",
|
|
501
521
|
experience_mapping_group_node_types: "Node Types",
|
|
502
522
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -677,6 +697,7 @@ var FALLBACK_LEXICON = {
|
|
|
677
697
|
director_profile_tab_experience_mapping: "Experience Mapping",
|
|
678
698
|
director_profile_admin_only: "Admin only",
|
|
679
699
|
director_profile_cancel: "Cancel",
|
|
700
|
+
director_profile_close: "Close",
|
|
680
701
|
director_profile_save: "Save",
|
|
681
702
|
director_profile_saving: "Saving\u2026",
|
|
682
703
|
director_profile_name_required: "Name is required.",
|
|
@@ -723,6 +744,15 @@ var FALLBACK_LEXICON = {
|
|
|
723
744
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
724
745
|
experience_mapping_save_experience: "Save to experience",
|
|
725
746
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
747
|
+
auth_email_placeholder: "Email",
|
|
748
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
749
|
+
auth_signing_in: "Sending...",
|
|
750
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
751
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
752
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
753
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
754
|
+
auth_magic_link_cta: "Use another email",
|
|
755
|
+
auth_login_failed: "Sign-in failed.",
|
|
726
756
|
experience_mapping_group_experience_root: "Experience Root",
|
|
727
757
|
experience_mapping_group_node_types: "Node Types",
|
|
728
758
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -946,11 +976,9 @@ function createChuziClient(config) {
|
|
|
946
976
|
const request = makeRequester(config);
|
|
947
977
|
return {
|
|
948
978
|
auth: {
|
|
949
|
-
|
|
950
|
-
|
|
979
|
+
requestMagicLink: (req) => request("POST", "/api/v1/auth/magic-link/request", { body: req }),
|
|
980
|
+
verifyMagicLink: (req) => request("POST", "/api/v1/auth/magic-link/verify", { body: req }),
|
|
951
981
|
logout: () => request("POST", "/api/v1/auth/logout"),
|
|
952
|
-
forgotPassword: (req) => request("POST", "/api/v1/auth/forgot-password", { body: req }),
|
|
953
|
-
resetPassword: (req) => request("POST", "/api/v1/auth/reset-password", { body: req }),
|
|
954
982
|
user: () => request("GET", "/api/v1/auth/user")
|
|
955
983
|
},
|
|
956
984
|
catalog: {
|