Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
initiative-api
command
Command initiative-api serves the Initiative! API.
|
Command initiative-api serves the Initiative! API. |
|
reconciler
command
Command reconciler runs one OpenFGA tuple reconciliation pass and exits (PADR-0035, PADR-0038).
|
Command reconciler runs one OpenFGA tuple reconciliation pass and exits (PADR-0035, PADR-0038). |
|
seed
command
Command seed applies the checked-in game-system definitions to the configured database.
|
Command seed applies the checked-in game-system definitions to the configured database. |
|
Package config loads and validates the service configuration from the environment.
|
Package config loads and validates the service configuration from the environment. |
|
Package constants holds service-wide names and environment variable keys.
|
Package constants holds service-wide names and environment variable keys. |
|
Package data is initiative-api's data layer.
|
Package data is initiative-api's data layer. |
|
Package domain holds initiative-api's rules over the owner-scoped data layer: rosters and characters, and moving cast between rosters and encounters.
|
Package domain holds initiative-api's rules over the owner-scoped data layer: rosters and characters, and moving cast between rosters and encounters. |
|
Package entitlements is the client for entitlements-api's check routes (docs/entitlements-check-contract.md in the platform repo, PADR-0034).
|
Package entitlements is the client for entitlements-api's check routes (docs/entitlements-check-contract.md in the platform repo, PADR-0034). |
|
Package events consumes auth-api's change events from the platform bus (PADR-0039): a deny or a role removal ends the subject's integration credentials.
|
Package events consumes auth-api's change events from the platform bus (PADR-0039): a deny or a role removal ends the subject's integration credentials. |
|
Package reconcile rebuilds the OpenFGA session tuples from the membership collection, which is the source of truth (PADR-0035).
|
Package reconcile rebuilds the OpenFGA session tuples from the membership collection, which is the source of truth (PADR-0035). |
|
Package relations is the client for auth-api's POST /authz/check-relation (PADR-0035).
|
Package relations is the client for auth-api's POST /authz/check-relation (PADR-0035). |
|
Package seed loads the versioned game-system definitions checked into this repo.
|
Package seed loads the versioned game-system definitions checked into this repo. |
|
Package server wires the HTTP routes and middleware.
|
Package server wires the HTTP routes and middleware. |
|
Package store is the narrow MongoDB surface the data layer needs.
|
Package store is the narrow MongoDB surface the data layer needs. |
|
fake
Package fake is an in-memory store.Collection for tests.
|
Package fake is an in-memory store.Collection for tests. |
Click to show internal directories.
Click to hide internal directories.