Add backup images for login and background removal
- Added loginerps.png.bak (1134 KB) as a backup for the login image. - Added whithoutbackground.png.bak (3455 KB) as a backup for the image without background.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
// One typed client method per UOM endpoint (docs/11-BACKEND-PHASE1.md §2.2, FR-MD-02).
|
||||
// `list` also backs the GRN/PO line UOM picker.
|
||||
import { apiRequest, buildQuery } from "@/lib/api-client"
|
||||
import { PagedResponse } from "@/types/common"
|
||||
import { EntityStatus, PagedResponse } from "@/types/common"
|
||||
import { CreateUomRequest, Uom } from "@/types/master-data"
|
||||
|
||||
export interface ListUomsParams {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
q?: string
|
||||
status?: EntityStatus
|
||||
sort?: string
|
||||
}
|
||||
|
||||
@@ -19,4 +20,9 @@ export const uomsApi = {
|
||||
create(request: CreateUomRequest): Promise<Uom> {
|
||||
return apiRequest<Uom>("/uoms", { method: "POST", body: request })
|
||||
},
|
||||
|
||||
/** Deactivate/reactivate. There is no DELETE — masters are never hard-deleted. */
|
||||
updateStatus(uomId: number, status: EntityStatus): Promise<void> {
|
||||
return apiRequest<void>(`/uoms/${uomId}/status`, { method: "PATCH", body: { status } })
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user