PhoenixKitStaff.Paths (PhoenixKitStaff v0.2.0)

Copy Markdown View Source

Centralized path helpers for the Staff module.

All paths go through PhoenixKit.Utils.Routes.path/1 for prefix/locale handling.

Summary

Functions

Show page for a single department.

Departments index.

Edit form for a department.

Edit form for a person.

Edit form for a team.

Staff dashboard root.

New-department form.

New-person form.

New-team form.

Staff index (people list).

Show page for a single person.

Show page for a single team.

Teams index.

Functions

department(id)

@spec department(UUIDv7.t() | String.t()) :: String.t()

Show page for a single department.

departments()

@spec departments() :: String.t()

Departments index.

edit_department(id)

@spec edit_department(UUIDv7.t() | String.t()) :: String.t()

Edit form for a department.

edit_person(id)

@spec edit_person(UUIDv7.t() | String.t()) :: String.t()

Edit form for a person.

edit_team(id)

@spec edit_team(UUIDv7.t() | String.t()) :: String.t()

Edit form for a team.

index()

@spec index() :: String.t()

Staff dashboard root.

new_department()

@spec new_department() :: String.t()

New-department form.

new_person()

@spec new_person() :: String.t()

New-person form.

new_team()

@spec new_team() :: String.t()

New-team form.

people()

@spec people() :: String.t()

Staff index (people list).

person(id)

@spec person(UUIDv7.t() | String.t()) :: String.t()

Show page for a single person.

team(id)

@spec team(UUIDv7.t() | String.t()) :: String.t()

Show page for a single team.

teams()

@spec teams() :: String.t()

Teams index.