Insurance

Policies and contracts in a single-module plugin. This guide follows version 3.1.7 (03acdf712c).

For the plugin pattern, see Backend Plugins.

Backend

backend/plugins/insurance_api/src/modules/insurance/ holds @types, database definitions and models, GraphQL schemas and resolvers, services, and utilities. The service layout is src/{apollo,modules,trpc,connectionResolvers.ts,main.ts}.

There is no src/meta/ directory and no src/meta/permissions.ts in the checked revision; verify authorization and extension wiring in your checkout.

Frontend

frontend/plugins/insurance_ui/src/modules/insurance/ provides the insurance screens. Dev remote port is 3002.

Verify

  1. Create a policy and confirm its lifecycle transitions in staging.
  2. Attach the policy to a customer or company and confirm the relation.
  3. Confirm role access before exposing insurance operations beyond the team.

Source references

Was this helpful?