@chuzi/shared 1.3.15 → 1.3.17
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 +4 -18
- package/dist/api/index.js +2 -3
- package/dist/api/index.js.map +1 -1
- package/dist/config/index.js +36 -0
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +38 -3
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +21 -5
- package/dist/types/index.js.map +1 -1
- package/dist/ui/index.js +36 -0
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -270,6 +270,18 @@ var REALMS = {
|
|
|
270
270
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
271
271
|
experience_mapping_save_experience: "Save to experience",
|
|
272
272
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
273
|
+
auth_email_placeholder: "Email",
|
|
274
|
+
auth_password_input_placeholder: "Password",
|
|
275
|
+
auth_password_sign_in_button: "Sign In",
|
|
276
|
+
auth_password_signing_in: "Signing in...",
|
|
277
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
278
|
+
auth_signing_in: "Sending...",
|
|
279
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
280
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
281
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
282
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
283
|
+
auth_magic_link_cta: "Use another email",
|
|
284
|
+
auth_login_failed: "Sign-in failed.",
|
|
273
285
|
experience_mapping_group_experience_root: "Experience Root",
|
|
274
286
|
experience_mapping_group_node_types: "Node Types",
|
|
275
287
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -499,6 +511,18 @@ var REALMS = {
|
|
|
499
511
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
500
512
|
experience_mapping_save_experience: "Save to experience",
|
|
501
513
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
514
|
+
auth_email_placeholder: "Email",
|
|
515
|
+
auth_password_input_placeholder: "Password",
|
|
516
|
+
auth_password_sign_in_button: "Sign In",
|
|
517
|
+
auth_password_signing_in: "Signing in...",
|
|
518
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
519
|
+
auth_signing_in: "Sending...",
|
|
520
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
521
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
522
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
523
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
524
|
+
auth_magic_link_cta: "Use another email",
|
|
525
|
+
auth_login_failed: "Sign-in failed.",
|
|
502
526
|
experience_mapping_group_experience_root: "Experience Root",
|
|
503
527
|
experience_mapping_group_node_types: "Node Types",
|
|
504
528
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -726,6 +750,18 @@ var FALLBACK_LEXICON = {
|
|
|
726
750
|
experience_mapping_helper_realm_idea: "Highest-level concept for this realm.",
|
|
727
751
|
experience_mapping_save_experience: "Save to experience",
|
|
728
752
|
experience_mapping_saved_experience: "Saved to current experience. Some labels appear immediately.",
|
|
753
|
+
auth_email_placeholder: "Email",
|
|
754
|
+
auth_password_input_placeholder: "Password",
|
|
755
|
+
auth_password_sign_in_button: "Sign In",
|
|
756
|
+
auth_password_signing_in: "Signing in...",
|
|
757
|
+
auth_sign_in_button: "Send Sign-In Link",
|
|
758
|
+
auth_signing_in: "Sending...",
|
|
759
|
+
auth_magic_link_sent: "If that email is registered, a magic link has been sent.",
|
|
760
|
+
auth_magic_link_verifying: "Verifying magic link...",
|
|
761
|
+
auth_magic_link_verified: "Signed in. Redirecting...",
|
|
762
|
+
auth_magic_link_failed: "This magic link is invalid or expired.",
|
|
763
|
+
auth_magic_link_cta: "Use another email",
|
|
764
|
+
auth_login_failed: "Sign-in failed.",
|
|
729
765
|
experience_mapping_group_experience_root: "Experience Root",
|
|
730
766
|
experience_mapping_group_node_types: "Node Types",
|
|
731
767
|
experience_mapping_group_scene_structure: "Scene Structure",
|
|
@@ -950,10 +986,9 @@ function createChuziClient(config) {
|
|
|
950
986
|
return {
|
|
951
987
|
auth: {
|
|
952
988
|
login: (req) => request("POST", "/api/v1/auth/login", { body: req }),
|
|
953
|
-
|
|
989
|
+
requestMagicLink: (req) => request("POST", "/api/v1/auth/magic-link/request", { body: req }),
|
|
990
|
+
verifyMagicLink: (req) => request("POST", "/api/v1/auth/magic-link/verify", { body: req }),
|
|
954
991
|
logout: () => request("POST", "/api/v1/auth/logout"),
|
|
955
|
-
forgotPassword: (req) => request("POST", "/api/v1/auth/forgot-password", { body: req }),
|
|
956
|
-
resetPassword: (req) => request("POST", "/api/v1/auth/reset-password", { body: req }),
|
|
957
992
|
user: () => request("GET", "/api/v1/auth/user")
|
|
958
993
|
},
|
|
959
994
|
catalog: {
|