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 { Manufacturer as CwManufacturer } from "../../generated/prisma/client";
import { CatalogManufacturer as ApiCatalogManufacturer } from "../../../api/generated/prisma/client";
import { Translation } from "./types";
export const catalogManufacturerTranslation: Translation<
CwManufacturer,
ApiCatalogManufacturer
> = {
values: [
{ from: "manufacturerRecId", to: "id" },
{ from: "manufacturerName", to: "name" },
{ from: "manufacturerName", to: "description" },
{
from: "inactiveFlag",
to: "inactiveFlag",
process: (value) => Boolean(value),
},
{ from: "updatedBy", to: "updatedById" },
{ from: "enteredBy", to: "createdById" },
{ from: "lastUpdatedUtc", to: "updatedAt" },
{ from: "dateEnteredUtc", to: "createdAt" },
],
};