krona-staff/module.json
Ochenstarik 3e2054480c
Some checks are pending
ci / verify (push) Waiting to run
fix(push): isolate employee data and preserve platform outbox
2026-09-26 12:31:10 +07:00

65 lines
1.7 KiB
JSON

{
"$schema": "./schemas/module.schema.json",
"id": "ru.krona.staff",
"name": "Krona Staff",
"version": "0.3.2",
"min_platform_version": "3.2.0",
"dependencies": ["ru.krona.core"],
"optional_dependencies": [],
"permissions": [
"staff:employee:read",
"staff:employee:write",
"staff:employment:read",
"staff:employment:write",
"staff:sensitive:read",
"staff:sensitive:write",
"staff:audit:read",
"staff:attendance:read_own",
"staff:attendance:clock",
"staff:attendance:manage",
"staff:attendance:approve",
"staff:org_unit:read",
"staff:org_unit:write",
"staff:shift:read",
"staff:shift:confirm",
"staff:metric:read",
"staff:metric:write",
"staff:pay_rule:read",
"staff:pay_rule:write",
"staff:payroll:read",
"staff:payroll:calculate",
"staff:payroll:approve",
"staff:payout:write",
"staff:payslip:read_own"
],
"entities": [
"Employee",
"Employment",
"OrganizationUnit",
"AttendanceEvent",
"TimesheetEntry",
"MetricDefinition",
"PayRule",
"WorkSession",
"PayrollRun",
"Payout"
],
"events_emitted": [
"attendance.clock.in",
"attendance.clock.out",
"staff.work_session.confirmed",
"staff.payroll.run_calculated",
"staff.payroll.run_approved",
"staff.payout.registered"
],
"events_consumed": [],
"settings_schema": "settings.schema.json",
"configurable_entities": ["Employee", "Employment", "OrganizationUnit"],
"promote_targets": [],
"api_prefix": "/api/v1/staff",
"routes": ["/staff"],
"ui_extensions": [
{ "slot": "navigation", "component": "StaffNavigation" },
{ "slot": "settings.module", "component": "PlatformGeneratedSettings" }
]
}