chore(contracts): align local DTOs and document mokosh-server drift (MAPPS-138) #125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/mapps-138-contract-drift-local-subset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes the server-independent subset of the cross-repo contract-drift audit. These changes are verifiable with
just check(wasm check + clippy + fmt) andjust test, none requiring the mokosh-server repo or a live server.Addressed acceptance criteria:
duration_minutesaligned toi32to match the serverTimeEntryResponse(src/pages/tickets.rs).rust_decimal-as-JSON comments corrected: under therust_decimalserdefeature the server serializesDecimalas a JSON string, not a number; the client enables the same feature so it decodes losslessly (src/modules/contracts/models.rs,src/modules/sla/models.rs).CreateAppointmentRequestnow carries optionaltask_id/site_idso the SPA can link an appointment to a task or site (src/modules/calendar/models.rs,src/pages/calendar.rs).sort/sort_dirparams the server ignores (src/pages/knowledge_base.rs).author_idrecorded as no-fix (serde drops the unknown key; no author display) (src/modules/kb/models.rs).src/pages/contracts.rs)./api/v1/auth/*surface confirmed backend-only / not SPA-facing (src/modules/oidc/config.rs).src/pages/profile.rs).src/modules/audit/models.rs).Deliberately out of scope for this local PR (each needs the mokosh-server repo, a live server to verify, or an architecture decision that is the user's call; track as follow-ups):
mokosh-types(forks deleted) vs a CI diff gate. Needs the server crate / both repos in CI plus a design decision; covers thetime_tracking/contracts/contacts/tenants/calendarforks and theNotificationPagedecode struct.priority_idresolution and ticket-list status/priority/qfilter forwarding: runtime fixes that must be verified against the live/tickets+/tickets/prioritiescontracts.company_typeand contactcompany_namesorts: changes live in the mokosh-server repo (src/modules/contacts/service.rs), not this repo.#MAPPS-138