hazo_auth 5.1.6 → 5.1.8
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/page_components/dev_lock.d.ts +1 -1
- package/dist/page_components/dev_lock.d.ts.map +1 -1
- package/dist/page_components/dev_lock.js +1 -1
- package/dist/page_components/forgot_password.js +1 -1
- package/dist/page_components/login.js +1 -1
- package/dist/page_components/my_settings.js +1 -1
- package/dist/page_components/register.js +1 -1
- package/dist/page_components/reset_password.js +1 -1
- package/dist/page_components/verify_email.js +1 -1
- package/dist/server/routes/app_user_data_schema.d.ts +33 -0
- package/dist/server/routes/app_user_data_schema.d.ts.map +1 -0
- package/dist/server/routes/app_user_data_schema.js +72 -0
- package/dist/server/routes/index.d.ts +1 -0
- package/dist/server/routes/index.d.ts.map +1 -1
- package/dist/server/routes/index.js +1 -0
- package/dist/server_pages/forgot_password_client_wrapper.js +1 -1
- package/dist/server_pages/login_client_wrapper.d.ts +1 -1
- package/dist/server_pages/login_client_wrapper.d.ts.map +1 -1
- package/dist/server_pages/login_client_wrapper.js +1 -1
- package/dist/server_pages/my_settings.js +1 -1
- package/dist/server_pages/register_client_wrapper.js +1 -1
- package/dist/server_pages/reset_password_client_wrapper.js +1 -1
- package/dist/server_pages/verify_email_client_wrapper.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dev_lock.d.ts","sourceRoot":"","sources":["../../src/page_components/dev_lock.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"dev_lock.d.ts","sourceRoot":"","sources":["../../src/page_components/dev_lock.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG/E,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAGlD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,GAAE,gBAAqB,2CAEvD;AAED,eAAe,WAAW,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
// section: imports
|
|
6
|
-
import DevLockLayout from "../components/layouts/dev_lock.js";
|
|
6
|
+
import DevLockLayout from "../components/layouts/dev_lock/index.js";
|
|
7
7
|
// section: component
|
|
8
8
|
/**
|
|
9
9
|
* Zero-config dev lock page component
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
// section: imports
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
|
-
import forgot_password_layout from "../components/layouts/forgot_password.js";
|
|
21
|
+
import forgot_password_layout from "../components/layouts/forgot_password/index.js";
|
|
22
22
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
23
23
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
24
24
|
// section: constants
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
// section: imports
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
|
-
import login_layout from "../components/layouts/login.js";
|
|
21
|
+
import login_layout from "../components/layouts/login/index.js";
|
|
22
22
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
23
23
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
24
24
|
// section: constants
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
// section: imports
|
|
6
|
-
import my_settings_layout from "../components/layouts/my_settings.js";
|
|
6
|
+
import my_settings_layout from "../components/layouts/my_settings/index.js";
|
|
7
7
|
// section: default_configuration
|
|
8
8
|
const DEFAULT_USER_FIELDS = {
|
|
9
9
|
show_name_field: true,
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
// section: imports
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
|
-
import register_layout from "../components/layouts/register.js";
|
|
21
|
+
import register_layout from "../components/layouts/register/index.js";
|
|
22
22
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
23
23
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
24
24
|
// section: constants
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
// section: imports
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
|
-
import reset_password_layout from "../components/layouts/reset_password.js";
|
|
21
|
+
import reset_password_layout from "../components/layouts/reset_password/index.js";
|
|
22
22
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
23
23
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
24
24
|
// section: constants
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
19
19
|
// section: imports
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
|
-
import email_verification_layout from "../components/layouts/email_verification.js";
|
|
21
|
+
import email_verification_layout from "../components/layouts/email_verification/index.js";
|
|
22
22
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
23
23
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
24
24
|
// section: constants
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from "next/server";
|
|
2
|
+
/**
|
|
3
|
+
* GET /api/hazo_auth/app_user_data/schema
|
|
4
|
+
*
|
|
5
|
+
* Returns the app_user_data schema configuration for rendering the editor.
|
|
6
|
+
* Requires authentication.
|
|
7
|
+
*
|
|
8
|
+
* Response format (schema enabled):
|
|
9
|
+
* {
|
|
10
|
+
* success: true,
|
|
11
|
+
* enabled: true,
|
|
12
|
+
* schema: { type: "object", properties: {...} },
|
|
13
|
+
* section_labels: { "electronic_funds_transfer": "Bank Account Details", ... }
|
|
14
|
+
* }
|
|
15
|
+
*
|
|
16
|
+
* Response format (schema disabled):
|
|
17
|
+
* {
|
|
18
|
+
* success: true,
|
|
19
|
+
* enabled: false,
|
|
20
|
+
* schema: null,
|
|
21
|
+
* section_labels: {}
|
|
22
|
+
* }
|
|
23
|
+
*/
|
|
24
|
+
export declare function GET(request: NextRequest): Promise<NextResponse<{
|
|
25
|
+
error: string;
|
|
26
|
+
}> | NextResponse<{
|
|
27
|
+
success: boolean;
|
|
28
|
+
enabled: boolean;
|
|
29
|
+
schema: import("../../lib/app_user_data_config.server").AppUserDataSchema | null;
|
|
30
|
+
section_labels: Record<string, string>;
|
|
31
|
+
field_labels: Record<string, Record<string, string>>;
|
|
32
|
+
}>>;
|
|
33
|
+
//# sourceMappingURL=app_user_data_schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app_user_data_schema.d.ts","sourceRoot":"","sources":["../../../src/server/routes/app_user_data_schema.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAUxD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAsB,GAAG,CAAC,OAAO,EAAE,WAAW;;;;;;;;IAkD7C"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// file_description: API route handler to get app_user_data schema configuration
|
|
2
|
+
// Returns the JSON schema and section labels for the app_user_data editor
|
|
3
|
+
// section: imports
|
|
4
|
+
import { NextResponse } from "next/server";
|
|
5
|
+
import { hazo_get_auth } from "../../lib/auth/hazo_get_auth.server.js";
|
|
6
|
+
import { get_app_user_data_config, get_section_label, get_field_label, } from "../../lib/app_user_data_config.server.js";
|
|
7
|
+
// section: api_handler
|
|
8
|
+
/**
|
|
9
|
+
* GET /api/hazo_auth/app_user_data/schema
|
|
10
|
+
*
|
|
11
|
+
* Returns the app_user_data schema configuration for rendering the editor.
|
|
12
|
+
* Requires authentication.
|
|
13
|
+
*
|
|
14
|
+
* Response format (schema enabled):
|
|
15
|
+
* {
|
|
16
|
+
* success: true,
|
|
17
|
+
* enabled: true,
|
|
18
|
+
* schema: { type: "object", properties: {...} },
|
|
19
|
+
* section_labels: { "electronic_funds_transfer": "Bank Account Details", ... }
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* Response format (schema disabled):
|
|
23
|
+
* {
|
|
24
|
+
* success: true,
|
|
25
|
+
* enabled: false,
|
|
26
|
+
* schema: null,
|
|
27
|
+
* section_labels: {}
|
|
28
|
+
* }
|
|
29
|
+
*/
|
|
30
|
+
export async function GET(request) {
|
|
31
|
+
try {
|
|
32
|
+
const auth_result = await hazo_get_auth(request);
|
|
33
|
+
if (!auth_result.authenticated) {
|
|
34
|
+
return NextResponse.json({ error: "Authentication required" }, { status: 401 });
|
|
35
|
+
}
|
|
36
|
+
const config = get_app_user_data_config();
|
|
37
|
+
// Convert Map to plain object for JSON response
|
|
38
|
+
const section_labels = {};
|
|
39
|
+
config.section_labels.forEach((value, key) => {
|
|
40
|
+
section_labels[key] = value;
|
|
41
|
+
});
|
|
42
|
+
// If schema is enabled, also compute labels for each field
|
|
43
|
+
const field_labels = {};
|
|
44
|
+
if (config.enable_schema && config.schema) {
|
|
45
|
+
for (const [section_key, section_prop] of Object.entries(config.schema.properties)) {
|
|
46
|
+
if (section_prop.type === "object" && section_prop.properties) {
|
|
47
|
+
field_labels[section_key] = {};
|
|
48
|
+
for (const field_key of Object.keys(section_prop.properties)) {
|
|
49
|
+
field_labels[section_key][field_key] = get_field_label(field_key, section_key);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
// Add section labels for keys not explicitly defined
|
|
54
|
+
for (const section_key of Object.keys(config.schema.properties)) {
|
|
55
|
+
if (!section_labels[section_key]) {
|
|
56
|
+
section_labels[section_key] = get_section_label(section_key);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
return NextResponse.json({
|
|
61
|
+
success: true,
|
|
62
|
+
enabled: config.enable_schema && config.schema !== null,
|
|
63
|
+
schema: config.schema,
|
|
64
|
+
section_labels,
|
|
65
|
+
field_labels,
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
catch (error) {
|
|
69
|
+
const error_message = error instanceof Error ? error.message : "Unknown error";
|
|
70
|
+
return NextResponse.json({ error: error_message }, { status: 500 });
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -21,6 +21,7 @@ export { GET as userManagementPermissionsGET, POST as userManagementPermissionsP
|
|
|
21
21
|
export { GET as userManagementRolesGET, POST as userManagementRolesPOST, PUT as userManagementRolesPUT } from "./user_management_roles.js";
|
|
22
22
|
export { GET as userManagementUsersRolesGET, POST as userManagementUsersRolesPOST, PUT as userManagementUsersRolesPUT } from "./user_management_users_roles.js";
|
|
23
23
|
export { GET as appUserDataGET, PATCH as appUserDataPATCH, PUT as appUserDataPUT, DELETE as appUserDataDELETE } from "./app_user_data.js";
|
|
24
|
+
export { GET as appUserDataSchemaGET } from "./app_user_data_schema.js";
|
|
24
25
|
export { GET as invitationsGET, POST as invitationsPOST, PATCH as invitationsPATCH, DELETE as invitationsDELETE } from "./invitations.js";
|
|
25
26
|
export { POST as createFirmPOST } from "./create_firm.js";
|
|
26
27
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/server/routes/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,IAAI,IAAI,YAAY,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,E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AAE,IAAI,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -30,6 +30,7 @@ export { GET as userManagementRolesGET, POST as userManagementRolesPOST, PUT as
|
|
|
30
30
|
export { GET as userManagementUsersRolesGET, POST as userManagementUsersRolesPOST, PUT as userManagementUsersRolesPUT } from "./user_management_users_roles.js";
|
|
31
31
|
// App user data routes (custom application-specific user data)
|
|
32
32
|
export { GET as appUserDataGET, PATCH as appUserDataPATCH, PUT as appUserDataPUT, DELETE as appUserDataDELETE } from "./app_user_data.js";
|
|
33
|
+
export { GET as appUserDataSchemaGET } from "./app_user_data_schema.js";
|
|
33
34
|
// Invitation routes (for inviting users to scopes)
|
|
34
35
|
export { GET as invitationsGET, POST as invitationsPOST, PATCH as invitationsPATCH, DELETE as invitationsDELETE } from "./invitations.js";
|
|
35
36
|
// Create firm routes (for new users creating their firm)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
// section: imports
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
-
import ForgotPasswordLayout from "../components/layouts/forgot_password.js";
|
|
6
|
+
import ForgotPasswordLayout from "../components/layouts/forgot_password/index.js";
|
|
7
7
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
8
8
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
9
9
|
// section: component
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LoginConfig } from "../lib/login_config.server";
|
|
2
|
-
import type { OAuthLayoutConfig } from "../components/layouts/login";
|
|
2
|
+
import type { OAuthLayoutConfig } from "../components/layouts/login/index";
|
|
3
3
|
import type { StaticImageData } from "next/image";
|
|
4
4
|
export type LoginClientWrapperProps = Omit<LoginConfig, 'imageSrc' | 'imageAlt' | 'imageBackgroundColor' | 'oauth'> & {
|
|
5
5
|
image_src: string | StaticImageData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login_client_wrapper.d.ts","sourceRoot":"","sources":["../../src/server_pages/login_client_wrapper.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"login_client_wrapper.d.ts","sourceRoot":"","sources":["../../src/server_pages/login_client_wrapper.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAG3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAElD,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,UAAU,GAAG,sBAAsB,GAAG,OAAO,CAAC,GAAG;IACpH,SAAS,EAAE,MAAM,GAAG,eAAe,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,EAAE,MAAM,CAAC;IAC/B,0BAA0B;IAC1B,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAGF;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,SAAS,EACT,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,GACN,EAAE,uBAAuB,2CAwCzB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
// section: imports
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
-
import LoginLayout from "../components/layouts/login.js";
|
|
6
|
+
import LoginLayout from "../components/layouts/login/index.js";
|
|
7
7
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
8
8
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
9
9
|
// section: component
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
// file_description: Zero-config MySettingsPage server component - drop in and use with no configuration required
|
|
3
3
|
// section: imports
|
|
4
4
|
import { get_my_settings_config } from "../lib/my_settings_config.server.js";
|
|
5
|
-
import MySettingsLayout from "../components/layouts/my_settings.js";
|
|
5
|
+
import MySettingsLayout from "../components/layouts/my_settings/index.js";
|
|
6
6
|
import { AuthPageShell } from "../components/layouts/shared/components/auth_page_shell.js";
|
|
7
7
|
// section: component
|
|
8
8
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
// section: imports
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
-
import RegisterLayout from "../components/layouts/register.js";
|
|
6
|
+
import RegisterLayout from "../components/layouts/register/index.js";
|
|
7
7
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
8
8
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
9
9
|
// section: component
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
// section: imports
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
-
import ResetPasswordLayout from "../components/layouts/reset_password.js";
|
|
6
|
+
import ResetPasswordLayout from "../components/layouts/reset_password/index.js";
|
|
7
7
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
8
8
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
9
9
|
// section: component
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
// section: imports
|
|
5
5
|
import { useEffect, useState } from "react";
|
|
6
|
-
import EmailVerificationLayout from "../components/layouts/email_verification.js";
|
|
6
|
+
import EmailVerificationLayout from "../components/layouts/email_verification/index.js";
|
|
7
7
|
import { createLayoutDataClient } from "../components/layouts/shared/data/layout_data_client.js";
|
|
8
8
|
import { create_sqlite_hazo_connect } from "../lib/hazo_connect_setup.js";
|
|
9
9
|
// section: component
|