all the haul

This commit is contained in:
2026-04-07 23:56:31 +00:00
parent 87cce83030
commit 24f303355b
244 changed files with 33743 additions and 11249 deletions
@@ -0,0 +1,23 @@
import { SrSource as CwServiceTicketSource } from "../../generated/prisma/client";
import { ServiceTicketSource as ApiServiceTicketSource } from "../../../api/generated/prisma/client";
import { Translation } from "./types";
export const serviceTicketSourceTranslation: Translation<
CwServiceTicketSource,
ApiServiceTicketSource
> = {
values: [
{ from: "srSourceRecId", to: "id" },
{
from: "description",
to: "name",
process: (value) => (value ? value : "Unknown Source"),
},
{ from: "description", to: "description" },
{ from: "defaultFlag", to: "defaultFlag" },
{ from: "enteredBy", to: "createdById" },
{ from: "updatedBy", to: "updatedById" },
{ from: "dateEnteredUtc", to: "createdAt" },
{ from: "lastUpdatedUtc", to: "updatedAt" },
],
};