mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-04 11:22:05 +00:00
21 lines
580 B
TypeScript
21 lines
580 B
TypeScript
|
|
/**
|
||
|
|
* PM Schedule API capabilities aligned with production backend (`origin/Dev`).
|
||
|
|
*
|
||
|
|
* Exposed controller endpoints on Dev:
|
||
|
|
* - GET PMSchedule/GetList
|
||
|
|
* - POST PMSchedule/Save (Id=0 create, Id>0 update)
|
||
|
|
*
|
||
|
|
* Not exposed on Dev (present on `main` after 59385cf):
|
||
|
|
* - GET PMSchedule/GetById
|
||
|
|
* - POST PMSchedule/Delete
|
||
|
|
*
|
||
|
|
* Flip flags to true only after Dev exposes the matching endpoints.
|
||
|
|
*/
|
||
|
|
export const pmScheduleCapabilities = {
|
||
|
|
canCreate: true,
|
||
|
|
canEdit: false,
|
||
|
|
canDelete: false,
|
||
|
|
} as const;
|
||
|
|
|
||
|
|
export type PmScheduleCapabilities = typeof pmScheduleCapabilities;
|