Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

Accounting v1 (#261)

Brad Barbin859fc72a8200
diff --git a/apps/academy/app/routes/_auth+/callback.tsx b/apps/academy/app/routes/_auth+/callback.tsx
index a02807fecd..d8708ea033 100644
--- a/apps/academy/app/routes/_auth+/callback.tsx
+++ b/apps/academy/app/routes/_auth+/callback.tsx
@@ -56,6 +56,10 @@ export async function action({ request }: ActionFunctionArgs) {
.select("companyId")
.eq("userId", userId);
+ console.log({
+ companies
+ });
+
const authSession = await refreshAccessToken(
refreshToken,
companies.data?.[0]?.companyId
diff --git a/apps/academy/env.d.ts b/apps/academy/env.d.ts
index f3dfa63780..11f02fe2a0 100644
--- a/apps/academy/env.d.ts
+++ b/apps/academy/env.d.ts
@@ -1,2 +1 @@
/// <reference types="vite/client" />
-/// <reference types="@vercel/remix/globals" />
diff --git a/apps/erp/app/components/Form/CustomerStatus.tsx b/apps/erp/app/components/Form/CustomerStatus.tsx
index 00db7cd4fd..b3c2c3ba18 100644
--- a/apps/erp/app/components/Form/CustomerStatus.tsx
+++ b/apps/erp/app/components/Form/CustomerStatus.tsx
@@ -3,6 +3,7 @@ import { CreatableCombobox } from "@carbon/form";
import { useDisclosure, useMount } from "@carbon/react";
import { useMemo, useRef, useState } from "react";
import { useFetcher } from "react-router";
+import { Enumerable } from "~/components/Enumerable";
import { useRouteData } from "~/hooks";
import type {
CustomerStatus as CustomerStatusStatus,
@@ -25,7 +26,12 @@ const CustomerStatus = (props: CustomerStatusSelectProps) => {
<>
<CreatableCombobox
ref={triggerRef}
- options={options}
+ options={
+ options.map((o) => ({
+ value: o.value,
+ label: <Enumerable value={o.label} />
+ })) ?? []
+ }
{...props}
label={props?.label ?? "CustomerStatus"}
onCreateOption={(option) => {
diff --git a/apps/erp/app/components/Form/CustomerType.tsx b/apps/erp/app/components/Form/CustomerType.tsx
index ae94a11ac1..d227da9c70 100644
--- a/apps/erp/app/components/Form/CustomerType.tsx
+++ b/apps/erp/app/components/Form/CustomerType.tsx
@@ -3,6 +3,7 @@ import { CreatableCombobox } from "@carbon/form";
import { useDisclosure, useMount } from "@carbon/react";
import { useMemo, useRef, useState } from "react";
import { useFetcher } from "react-router";
+import { Enumerable } from "~/components/Enumerable";
import type { getCustomerTypesList } from "~/modules/sales";
import { CustomerTypeForm } from "~/modules/sales/ui/CustomerTypes";
import { path } from "~/utils/path";
@@ -20,7 +21,12 @@ const CustomerType = (props: CustomerTypeSelectProps) => {
<>
<CreatableCombobox
ref={triggerRef}
- options={options}
+ options={
+ options.map((o) => ({
+ value: o.value,
+ label: <Enumerable value={o.label} />
+ })) ?? []
+ }
{...props}
label={props?.label ?? "CustomerType"}
onCreateOption={(option) => {
diff --git a/apps/erp/app/components/Form/ItemPostingGroup.tsx b/apps/erp/app/components/Form/ItemPostingGroup.tsx
index 16407b5817..3f095acc1c 100644
--- a/apps/erp/app/components/Form/ItemPostingGroup.tsx
+++ b/apps/erp/app/components/Form/ItemPostingGroup.tsx
@@ -6,8 +6,19 @@ import { useFetcher } from "react-router";
import type { getItemPostingGroupsList } from "~/modules/items";
import ItemPostingGroupForm from "~/modules/items/ui/ItemPostingGroups/ItemPostingGroupForm";
import { path } from "~/utils/path";
+import { Enumerable } from "../Enumerable";
-type ItemPostingGroupSelectProps = Omit<ComboboxProps, "options">;
+type ItemPostingGroupSelectProps = Omit<ComboboxProps, "options" | "inline"> & {
+ inline?: boolean;
+};
+
+const ItemPostingGroupPreview = (
+ value: string,
+ options: { value: string; label: string | JSX.Element }[]
+) => {
+ const itemGroup = options.find((o) => o.value === value);
+ return itemGroup?.label ?? null;
+};
const ItemPostingGroup = (props: ItemPostingGroupSelectProps) => {
const newItemPostingGroupModal = useDisclosure();
@@ -20,8 +31,14 @@ const ItemPostingGroup = (props: ItemPostingGroupSelectProps) => {
<>
<CreatableCombobox
ref={triggerRef}
- options={options}
+ options={
+ options.map((o) => ({
+ value: o.value,
+ label: <Enumerable value={o.label} />
+ })) ?? []
+ }
{...props}
+ inline={props.inline ? ItemPostingGroupPreview : undefined}
label={props?.label ?? "Posting Group"}
onCreateOption={(option) => {
newItemPostingGroupModal.onOpen();
diff --git a/apps/erp/app/components/Form/SupplierStatus.tsx b/apps/erp/app/components/Form/SupplierStatus.tsx
index b4d14d7fd6..b2ee10dc04 100644
--- a/apps/erp/app/components/Form/SupplierStatus.tsx
+++ b/apps/erp/app/components/Form/SupplierStatus.tsx
@@ -3,6 +3,7 @@ import { CreatableCombobox } from "@carbon/form";
import { useDisclosure, useMount } from "@carbon/react";
import { useMemo, useRef, useState } from "react";
import { useFetcher } from "react-router";
+import { Enumerable } from "~/components/Enumerable";
import { useRouteData } from "~/hooks";
import type {
getSupplierStatusesList,
@@ -25,7 +26,12 @@ const SupplierStatus = (props: SupplierStatusSelectProps) => {
<>
<CreatableCombobox
ref={triggerRef}
- options={options}
+ options={
+ options.map((o) => ({
+ value: o.value,
+ label: <Enumerable value={o.label} />
+ })) ?? []
+ }
{...props}
label={props?.label ?? "SupplierStatus"}
onCreateOption={(option) => {
diff --git a/apps/erp/app/components/Form/SupplierType.tsx b/apps/erp/app/components/Form/SupplierType.tsx
index 7d41bcbf15..1a7b01446f 100644
--- a/apps/erp/app/components/Form/SupplierType.tsx
+++ b/apps/erp/app/components/Form/SupplierType.tsx
@@ -3,6 +3,7 @@ import { CreatableCombobox } from "@carbon/form";
import { useDisclosure, useMount } from "@carbon/react";
import { useMemo, useRef, useState } from "react";
import { useFetcher } from "react-router";
+import { Enumerable } from "~/components/Enumerable";
import type { getSupplierTypesList } from "~/modules/purchasing";
import SupplierTypeForm from "~/modules/purchasing/ui/SupplierTypes/SupplierTypeForm";
@@ -21,7 +22,12 @@ const SupplierType = (props: SupplierTypeSelectProps) => {
<>
<CreatableCombobox
ref={triggerRef}
- options={options}
+ options={
+ options.map((o) => ({
+ value: o.value,
+ label: <Enumerable value={o.label} />
+ })) ?? []
+ }
{...props}
label={props?.label ?? "SupplierType"}
onCreateOption={(option) => {
diff --git a/apps/erp/app/modules/items/items.models.ts b/apps/erp/app/modules/items/items.models.ts
index d2ea8b9050..9b80c0bfb8 100644
--- a/apps/erp/app/modules/items/items.models.ts
+++ b/apps/erp/app/modules/items/items.models.ts
@@ -81,6 +81,7 @@ export const itemValidator = z.object({
message: "Part type is required"
})
}),
+ postingGroupId: zfd.text(z.string().optional()),
unitOfMeasureCode: z
.string()
.min(1, { message: "Unit of Measure is required" }),
@@ -337,7 +338,7 @@ export const methodOperationValidator = z
export const itemCostValidator = z.object({
itemId: z.string().min(1, { message: "Item ID is required" }),
- // itemPostingGroupId: zfd.text(z.string().optional()),
+ itemPostingGroupId: zfd.text(z.string().optional()),
// costingMethod: z.enum(itemCostingMethods, {
// errorMap: (issue, ctx) => ({
// message: "Costing method is required",
diff --git a/apps/erp/app/modules/items/items.service.ts b/apps/erp/app/modules/items/items.service.ts
index 7c15b5d3fe..d2b5783108 100644
--- a/apps/erp/app/modules/items/items.service.ts
+++ b/apps/erp/app/modules/items/items.service.ts
@@ -2003,14 +2003,27 @@ export async function upsertConsumable(
if (itemInsert.error) return itemInsert;
const itemId = itemInsert.data?.id;
- const consumableInsert = await client.from("consumable").upsert({
- id: consumable.id,
- companyId: consumable.companyId,
- createdBy: consumable.createdBy,
- customFields: consumable.customFields
- });
+ const [consumableInsert, itemCostUpdate] = await Promise.all([
+ client.from("consumable").upsert({
+ id: consumable.id,
+ companyId: consumable.companyId,
+ createdBy: consumable.createdBy,
+ customFields: consumable.customFields
+ }),
+ client
+ .from("itemCost")
+ .update(
+ sanitize({
+ itemPostingGroupId: consumable.postingGroupId
+ })
+ )
+ .eq("itemId", itemId)
+ ]);
if (consumableInsert.error) return consumableInsert;
+ if (itemCostUpdate.error) {
+ console.error(itemCostUpdate.error);
+ }
const costUpdate = await client
.from("itemCost")
@@ -2102,14 +2115,27 @@ export async function upsertPart(
if (itemInsert.error) return itemInsert;
const itemId = itemInsert.data?.id;
- const partInsert = await client.from("part").upsert({
- id: part.id,
- companyId: part.companyId,
- createdBy: part.createdBy,
- customFields: part.customFields
- });
+ const [partInsert, itemCostUpdate] = await Promise.all([
+ client.from("part").upsert({
+ id: part.id,
+ companyId: part.companyId,
+ createdBy: part.createdBy,
+ customFields: part.customFields
+ }),
+ client
+ .from("itemCost")
+ .update(
+ sanitize({
+ itemPostingGroupId: part.postingGroupId
+ })
+ )
+ .eq("itemId", itemId)
+ ]);
if (partInsert.error) return partInsert;
+ if (itemCostUpdate.error) {
+ console.error(itemCostUpdate.error);
+ }
if (part.replenishmentSystem !== "Make") {
const costUpdate = await client
@@ -2636,15 +2662,21 @@ export async function upsertMaterial(
const firstError = itemInserts.find((insert) => insert.error);
return firstError!;
}
-
- const itemIds = itemInserts.map((insert) => insert.data!.id);
-
- await client
- .from("itemCost")
- .update({
- unitCost: material.unitCost
- })
- .in("itemId", itemIds);
+ const itemCostUpdate = await Promise.all(
+ itemInserts.map((insert) =>
+ client
+ .from("itemCost")
+ .update(
+ sanitize({
+ itemPostingGroupId: material.postingGroupId
+ })
+ )
+ .eq("itemId", insert.data?.id ?? "")
+ )
+ );
+ if (itemCostUpdate.some((update) => update.error)) {
+ console.error(itemCostUpdate.find((update) => update.error));
+ }
} else {
const itemInsert = await client
.from("item")
@@ -2663,13 +2695,18 @@ export async function upsertMaterial(
.select("id")
.single();
if (itemInsert.error) return itemInsert;
-
- await client
+ const itemId = itemInsert.data?.id;
+ const itemCostUpdate = await client
.from("itemCost")
- .update({
- unitCost: material.unitCost
- })
- .eq("itemId", itemInsert.data!.id);
+ .update(
+ sanitize({
+ itemPostingGroupId: material.postingGroupId
+ })
+ )
+ .eq("itemId", itemId);
+ if (itemCostUpdate.error) {
+ console.error(itemCostUpdate.error);
+ }
}
const materialInsert = await client.from("material").upsert({
@@ -3139,14 +3176,27 @@ export async function upsertTool(
if (itemInsert.error) return itemInsert;
const itemId = itemInsert.data?.id;
- const toolInsert = await client.from("tool").upsert({
- id: tool.id,
- companyId: tool.companyId,
- createdBy: tool.createdBy,
- customFields: tool.customFields
- });
+ const [toolInsert, itemCostUpdate] = await Promise.all([
+ client.from("tool").upsert({
+ id: tool.id,
+ companyId: tool.companyId,
+ createdBy: tool.createdBy,
+ customFields: tool.customFields
+ }),
+ client
+ .from("itemCost")
+ .update(
+ sanitize({
+ itemPostingGroupId: tool.postingGroupId
+ })
+ )
+ .eq("itemId", itemId)
+ ]);
if (toolInsert.error) return toolInsert;
+ if (itemCostUpdate.error) {
+ console.error(itemCostUpdate.error);
+ }
const costUpdate = await client
.from("itemCost")
diff --git a/apps/erp/app/modules/items/ui/Consumables/ConsumableForm.tsx b/apps/erp/app/modules/items/ui/Consumables/ConsumableForm.tsx
index e148fee37a..ecf00d215f 100644
--- a/apps/erp/app/modules/items/ui/Consumables/ConsumableForm.tsx
+++ b/apps/erp/app/modules/items/ui/Consumables/ConsumableForm.tsx
@@ -21,6 +21,7 @@ import {
Hidden,
Input,
InputControlled,
+ ItemPostingGroup,
// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
Number,
Select,
@@ -157,6 +158,9 @@ const ConsumableForm = ({
name="unitOfMeasureCode"
label="Unit of Measure"
/>
+ {!isEditing && (
+ <ItemPostingGroup name="postingGroupId" label="Item Group" />
+ )}
{!isEditing && (
<Number
name="unitCost"
diff --git a/apps/erp/app/modules/items/ui/Consumables/ConsumableProperties.tsx b/apps/erp/app/modules/items/ui/Consumables/ConsumableProperties.tsx
index 7d66c5dfca..bc5ca5f74d 100644
--- a/apps/erp/app/modules/items/ui/Consumables/ConsumableProperties.tsx
+++ b/apps/erp/app/modules/items/ui/Consumables/ConsumableProperties.tsx
@@ -23,8 +23,7 @@ import { z } from "zod/v3";
import { zfd } from "zod-form-data";
import { MethodBadge, MethodIcon, TrackingTypeIcon } from "~/components";
import { Enumerable } from "~/components/Enumerable";
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { Boolean, Tags } from "~/components/Form";
+import { Boolean, ItemPostingGroup, Tags } from "~/components/Form";
import CustomFormInlineFields from "~/components/Form/CustomFormInlineFields";
import { ItemThumbnailUpload } from "~/components/ItemThumnailUpload";
import { useRouteData } from "~/hooks";
@@ -85,6 +84,7 @@ const ConsumableProperties = () => {
| "replenishmentSystem"
| "defaultMethodType"
| "itemTrackingType"
+ | "itemPostingGroupId"
| "consumableId"
| "active",
value: string | null
@@ -261,6 +261,26 @@ const ConsumableProperties = () => {
/>
</VStack> */}
+ <ValidatedForm
+ defaultValues={{
+ itemPostingGroupId:
+ routeData?.consumableSummary?.itemPostingGroupId ?? undefined
+ }}
+ validator={z.object({
+ itemPostingGroupId: z.string().nullable().optional()
+ })}
+ className="w-full"
+ >
+ <ItemPostingGroup
+ label="Item Group"
+ name="itemPostingGroupId"
+ inline
+ onChange={(value) => {
+ onUpdate("itemPostingGroupId", value?.value ?? null);
+ }}
+ />
+ </ValidatedForm>
+
<VStack spacing={2}>
<h3 className="text-xs text-muted-foreground">Tracking Type</h3>
<DropdownMenu>
diff --git a/apps/erp/app/modules/items/ui/Consumables/ConsumablesTable.tsx b/apps/erp/app/modules/items/ui/Consumables/ConsumablesTable.tsx
index 9841b56b18..dd88f577ac 100644
--- a/apps/erp/app/modules/items/ui/Consumables/ConsumablesTable.tsx
+++ b/apps/erp/app/modules/items/ui/Consumables/ConsumablesTable.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Button,
Checkbox,
DropdownMenuContent,
DropdownMenuGroup,
@@ -26,6 +27,7 @@ import {
LuBookMarked,
LuCalendar,
LuCheck,
+ LuGroup,
LuPencil,
LuTag,
LuTrash,
@@ -33,7 +35,7 @@ import {
} from "react-icons/lu";
import { RxCodesandboxLogo } from "react-icons/rx";
import { TbTargetArrow } from "react-icons/tb";
-import { useFetcher, useNavigate } from "react-router";
+import { Link, useFetcher, useNavigate } from "react-router";
import {
EmployeeAvatar,
Hyperlink,
@@ -43,6 +45,8 @@ import {
Table,
TrackingTypeIcon
} from "~/components";
+import { Enumerable } from "~/components/Enumerable";
+import { useItemPostingGroups } from "~/components/Form/ItemPostingGroup";
import { ConfirmDelete } from "~/components/Modals";
import { usePermissions } from "~/hooks";
import { useCustomColumns } from "~/hooks/useCustomColumns";
@@ -68,6 +72,7 @@ const ConsumablesTable = memo(
const [selectedItem, setSelectedItem] = useState<Consumable | null>(null);
const [people] = usePeople();
+ const itemPostingGroups = useItemPostingGroups();
const customColumns = useCustomColumns<Consumable>("consumable");
const columns = useMemo<ColumnDef<Consumable>[]>(() => {
@@ -107,6 +112,27 @@ const ConsumablesTable = memo(
icon: <LuAlignJustify />
}
},
+ {
+ accessorKey: "itemPostingGroupId",
+ header: "Item Group",
+ cell: (item) => {
+ const itemPostingGroupId = item.getValue<string>();
+ const itemPostingGroup = itemPostingGroups.find(
+ (group) => group.value === itemPostingGroupId
+ );
+ return <Enumerable value={itemPostingGroup?.label ?? null} />;
+ },
+ meta: {
+ filter: {
+ type: "static",
+ options: itemPostingGroups.map((group) => ({
+ value: group.value,
+ label: <Enumerable value={group.label} />
+ }))
+ },
+ icon: <LuGroup />
+ }
+ },
{
accessorKey: "itemTrackingType",
header: "Tracking",
@@ -268,7 +294,7 @@ const ConsumablesTable = memo(
}
];
return [...defaultColumns, ...customColumns];
- }, [tags, people, customColumns]);
+ }, [tags, people, customColumns, itemPostingGroups]);
const fetcher = useFetcher<typeof action>();
useEffect(() => {
@@ -280,7 +306,11 @@ const ConsumablesTable = memo(
const onBulkUpdate = useCallback(
(
selectedRows: typeof data,
- field: "replenishmentSystem" | "defaultMethodType" | "itemTrackingType",
+ field:
+ | "replenishmentSystem"
+ | "defaultMethodType"
+ | "itemTrackingType"
+ | "itemPostingGroupId",
value: string
) => {
const formData = new FormData();
@@ -305,6 +335,27 @@ const ConsumablesTable = memo(
<DropdownMenuLabel>Update</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuGroup>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>Item Group</DropdownMenuSubTrigger>
+ <DropdownMenuPortal>
+ <DropdownMenuSubContent>
+ {itemPostingGroups.map((group) => (
+ <DropdownMenuItem
+ key={group.value}
+ onClick={() =>
+ onBulkUpdate(
+ selectedRows,
+ "itemPostingGroupId",
+ group.value
+ )
+ }
+ >
+ <Enumerable value={group.label} />
+ </DropdownMenuItem>
+ ))}
+ </DropdownMenuSubContent>
+ </DropdownMenuPortal>
+ </DropdownMenuSub>
<DropdownMenuSub>
<DropdownMenuSubTrigger>
Default Method Type
@@ -355,7 +406,7 @@ const ConsumablesTable = memo(
</DropdownMenuContent>
);
},
- [onBulkUpdate]
+ [onBulkUpdate, itemPostingGroups]
);
const renderContextMenu = useMemo(() => {
@@ -405,7 +456,12 @@ const ConsumablesTable = memo(
]}
primaryAction={
permissions.can("create", "parts") && (
- <New label="Consumable" to={path.to.newConsumable} />
+ <div className="flex items-center gap-2">
+ <Button variant="secondary" leftIcon={<LuGroup />} asChild>
+ <Link to={path.to.itemPostingGroups}>Item Groups</Link>
+ </Button>
+ <New label="Consumable" to={path.to.newConsumable} />
+ </div>
)
}
renderActions={renderActions}
diff --git a/apps/erp/app/modules/items/ui/Consumables/useConsumableNavigation.tsx b/apps/erp/app/modules/items/ui/Consumables/useConsumableNavigation.tsx
index e31608420d..296a2ead18 100644
--- a/apps/erp/app/modules/items/ui/Consumables/useConsumableNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Consumables/useConsumableNavigation.tsx
@@ -40,12 +40,12 @@ export function useConsumableNavigation() {
shortcut: "Command+Shift+p"
},
{
- name: "Costing",
+ name: "Accounting",
to: path.to.consumableCosting(itemId),
role: ["employee"],
permission: "purchasing",
icon: LuTags,
- shortcut: "Command+Shift+c"
+ shortcut: "Command+Shift+a"
},
{
name: "Planning",
diff --git a/apps/erp/app/modules/items/ui/Item/ItemCostingForm.tsx b/apps/erp/app/modules/items/ui/Item/ItemCostingForm.tsx
index e555874b37..7726ff2281 100644
--- a/apps/erp/app/modules/items/ui/Item/ItemCostingForm.tsx
+++ b/apps/erp/app/modules/items/ui/Item/ItemCostingForm.tsx
@@ -7,8 +7,14 @@ import {
CardTitle
} from "@carbon/react";
import type { z } from "zod/v3";
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { CustomFormFields, Hidden, Number, Submit } from "~/components/Form";
+import {
+ CustomFormFields,
+ Hidden,
+ ItemPostingGroup,
+ // biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
+ Number,
+ Submit
+} from "~/components/Form";
import { usePermissions, useUser } from "~/hooks";
import { itemCostValidator } from "../../items.models";
@@ -40,11 +46,16 @@ const ItemCostingForm = ({ initialValues }: ItemCostingFormProps) => {
defaultValues={initialValues}
>
<CardHeader>
- <CardTitle>Costing</CardTitle>
+ <CardTitle>Costing & Posting</CardTitle>
</CardHeader>
<CardContent>
<Hidden name="itemId" />
- <div className="grid grid-cols-1 lg:grid-cols-3 gap-x-8 gap-y-4 w-full">
+ <div className="grid grid-cols-1 lg:grid-cols-3 gap-x-8 gap-y-4 w-full items-start">
+ <ItemPostingGroup
+ name="itemPostingGroupId"
+ label="Item Group"
+ helperText="Group used together with the supplier type, customer type, and location to determine the account"
+ />
{/* <Select
name="costingMethod"
label="Part Costing Method"
@@ -53,7 +64,6 @@ const ItemCostingForm = ({ initialValues }: ItemCostingFormProps) => {
if (newValue) setItemCostingMethod(newValue.value);
}}
/>
- <ItemPostingGroup name="itemPostingGroupId" label="Posting Group" />
<Number
name="standardCost"
label="Standard Cost"
diff --git a/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx b/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
index a35183e895..967ba55610 100644
--- a/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
+++ b/apps/erp/app/modules/items/ui/ItemPostingGroups/ItemPostingGroupsTable.tsx
@@ -10,103 +10,98 @@ import { useCustomColumns } from "~/hooks/useCustomColumns";
import { path } from "~/utils/path";
import type { ItemPostingGroup } from "../../types";
-type ItemPostingGroupsTableProps = {
+type ItemGroupsTableProps = {
data: ItemPostingGroup[];
count: number;
};
-const ItemPostingGroupsTable = memo(
- ({ data, count }: ItemPostingGroupsTableProps) => {
- const [params] = useUrlParams();
- const navigate = useNavigate();
- const permissions = usePermissions();
+const ItemGroupsTable = memo(({ data, count }: ItemGroupsTableProps) => {
+ const [params] = useUrlParams();
+ const navigate = useNavigate();
+ const permissions = usePermissions();
- const rows = useMemo(() => data, [data]);
- const customColumns =
- useCustomColumns<ItemPostingGroup>("itemPostingGroup");
+ const rows = useMemo(() => data, [data]);
+ const customColumns = useCustomColumns<ItemPostingGroup>("itemGroup");
- const columns = useMemo<ColumnDef<(typeof rows)[number]>[]>(() => {
- const defaultColumns: ColumnDef<(typeof rows)[number]>[] = [
- {
- accessorKey: "name",
- header: "Name",
- cell: ({ row }) => (
- <Enumerable
- value={row.original.name}
- onClick={() =>
- navigate(
- `${path.to.itemPostingGroup(
- row.original.id
- )}?${params.toString()}`
- )
- }
- className="cursor-pointer"
- />
- )
- },
- {
- accessorKey: "description",
- header: "Description",
- cell: (item) => item.getValue()
- }
- ];
- return [...defaultColumns, ...customColumns];
- }, [navigate, params, customColumns]);
-
- const renderContextMenu = useCallback(
- (row: (typeof rows)[number]) => {
- return (
- <>
- <MenuItem
- disabled={!permissions.can("update", "parts")}
- onClick={() => {
- navigate(
- `${path.to.itemPostingGroup(row.id)}?${params.toString()}`
- );
- }}
- >
- <MenuIcon icon={<LuPencil />} />
- Edit Item Group
- </MenuItem>
- <MenuItem
- destructive
- disabled={!permissions.can("delete", "parts")}
- onClick={() => {
- navigate(
- `${path.to.deleteItemPostingGroup(
- row.id
- )}?${params.toString()}`
- );
- }}
- >
- <MenuIcon icon={<LuTrash />} />
- Delete Item Group
- </MenuItem>
- </>
- );
+ const columns = useMemo<ColumnDef<(typeof rows)[number]>[]>(() => {
+ const defaultColumns: ColumnDef<(typeof rows)[number]>[] = [
+ {
+ accessorKey: "name",
+ header: "Name",
+ cell: ({ row }) => (
+ <Enumerable
+ value={row.original.name}
+ onClick={() =>
+ navigate(
+ `${path.to.itemPostingGroup(
+ row.original.id
+ )}?${params.toString()}`
+ )
+ }
+ className="cursor-pointer"
+ />
+ )
},
- [navigate, params, permissions]
- );
+ {
+ accessorKey: "description",
+ header: "Description",
+ cell: (item) => item.getValue()
+ }
+ ];
+ return [...defaultColumns, ...customColumns];
+ }, [navigate, params, customColumns]);
+
+ const renderContextMenu = useCallback(
+ (row: (typeof rows)[number]) => {
+ return (
+ <>
+ <MenuItem
+ disabled={!permissions.can("update", "parts")}
+ onClick={() => {
+ navigate(
+ `${path.to.itemPostingGroup(row.id)}?${params.toString()}`
+ );
+ }}
+ >
+ <MenuIcon icon={<LuPencil />} />
+ Edit Item Group
+ </MenuItem>
+ <MenuItem
+ destructive
+ disabled={!permissions.can("delete", "parts")}
+ onClick={() => {
+ navigate(
+ `${path.to.deleteItemPostingGroup(row.id)}?${params.toString()}`
+ );
+ }}
+ >
+ <MenuIcon icon={<LuTrash />} />
+ Delete Item Group
+ </MenuItem>
+ </>
+ );
+ },
+ [navigate, params, permissions]
+ );
- return (
- <Table<(typeof rows)[number]>
- data={data}
- columns={columns}
- count={count}
- primaryAction={
- permissions.can("create", "parts") && (
- <New
- label="Posting Group"
- to={`${path.to.newItemPostingGroup}?${params.toString()}`}
- />
- )
- }
- renderContextMenu={renderContextMenu}
- title="Item Posting Groups"
- />
- );
- }
-);
+ return (
+ <Table<(typeof rows)[number]>
+ data={data}
+ columns={columns}
+ count={count}
+ primaryAction={
+ permissions.can("create", "parts") && (
+ <New
+ label="Group"
+ to={`${path.to.newItemPostingGroup}?${params.toString()}`}
+ />
+ )
+ }
+ renderContextMenu={renderContextMenu}
+ title="Item Groups"
+ />
+ );
+});
-ItemPostingGroupsTable.displayName = "ItemPostingGroupsTable";
-export default ItemPostingGroupsTable;
+ItemGroupsTable.displayName = "ItemGroupsTable";
+export default ItemGroupsTable;
diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialForm.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialForm.tsx
index 2877d0866a..26ca223619 100644
--- a/apps/erp/app/modules/items/ui/Materials/MaterialForm.tsx
+++ b/apps/erp/app/modules/items/ui/Materials/MaterialForm.tsx
@@ -1,5 +1,4 @@
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { Array, ValidatedForm } from "@carbon/form";
+import { ValidatedForm } from "@carbon/form";
import {
cn,
ModalCard,
@@ -19,10 +18,13 @@ import { useFetcher } from "react-router";
import type { z } from "zod/v3";
import { TrackingTypeIcon } from "~/components";
import {
+ // biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
+ Array,
CustomFormFields,
DefaultMethodType,
Hidden,
InputControlled,
+ ItemPostingGroup,
// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
Number,
Select,
@@ -299,6 +301,7 @@ const MaterialForm = ({
minValue={0}
/>
+ <ItemPostingGroup name="postingGroupId" label="Item Group" />
<Array name="sizes" label="Sizes" />
<CustomFormFields table="material" tags={initialValues.tags} />
diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
index 65c5e4c30b..5e23cb9695 100644
--- a/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
+++ b/apps/erp/app/modules/items/ui/Materials/MaterialProperties.tsx
@@ -31,8 +31,12 @@ import { Await, useFetcher, useParams } from "react-router";
import { z } from "zod/v3";
import { zfd } from "zod-form-data";
import { MethodBadge, MethodIcon, TrackingTypeIcon } from "~/components";
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { Boolean, Tags, UnitOfMeasure } from "~/components/Form";
+import {
+ Boolean,
+ ItemPostingGroup,
+ Tags,
+ UnitOfMeasure
+} from "~/components/Form";
import CustomFormInlineFields from "~/components/Form/CustomFormInlineFields";
import MaterialDimension from "~/components/Form/MaterialDimension";
import MaterialFinish from "~/components/Form/MaterialFinish";
@@ -118,6 +122,7 @@ const MaterialProperties = () => {
| "replenishmentSystem"
| "defaultMethodType"
| "itemTrackingType"
+ | "itemPostingGroupId"
| "active"
| "unitOfMeasureCode"
| "materialFormId"
@@ -150,6 +155,7 @@ const MaterialProperties = () => {
| "replenishmentSystem"
| "defaultMethodType"
| "itemTrackingType"
+ | "itemPostingGroupId"
| "active"
| "unitOfMeasureCode"
| "materialFormId"
@@ -377,6 +383,26 @@ const MaterialProperties = () => {
/>
</VStack> */}
+ <ValidatedForm
+ defaultValues={{
+ itemPostingGroupId:
+ routeData?.materialSummary?.itemPostingGroupId ?? undefined
+ }}
+ validator={z.object({
+ itemPostingGroupId: z.string().nullable().optional()
+ })}
+ className="w-full"
+ >
+ <ItemPostingGroup
+ label="Item Group"
+ name="itemPostingGroupId"
+ inline
+ onChange={(value) => {
+ onUpdate("itemPostingGroupId", value?.value ?? null);
+ }}
+ />
+ </ValidatedForm>
+
<VStack spacing={2}>
<h3 className="text-xs text-muted-foreground">Tracking Type</h3>
<DropdownMenu>
diff --git a/apps/erp/app/modules/items/ui/Materials/MaterialsTable.tsx b/apps/erp/app/modules/items/ui/Materials/MaterialsTable.tsx
index 37622eee51..49d37d6783 100644
--- a/apps/erp/app/modules/items/ui/Materials/MaterialsTable.tsx
+++ b/apps/erp/app/modules/items/ui/Materials/MaterialsTable.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Button,
Checkbox,
DropdownMenuContent,
DropdownMenuGroup,
@@ -32,6 +33,7 @@ import {
LuExpand,
LuGitPullRequestArrow,
LuGlassWater,
+ LuGroup,
LuPaintBucket,
LuPencil,
LuPuzzle,
@@ -44,7 +46,7 @@ import {
} from "react-icons/lu";
import { RxCodesandboxLogo } from "react-icons/rx";
import { TbTargetArrow } from "react-icons/tb";
-import { useFetcher, useNavigate } from "react-router";
+import { Link, useFetcher, useNavigate } from "react-router";
import {
EmployeeAvatar,
Hyperlink,
@@ -55,6 +57,7 @@ import {
TrackingTypeIcon
} from "~/components";
import { Enumerable } from "~/components/Enumerable";
+import { useItemPostingGroups } from "~/components/Form/ItemPostingGroup";
import { useUnitOfMeasure } from "~/components/Form/UnitOfMeasure";
import { ConfirmDelete } from "~/components/Modals";
import { useFilters } from "~/components/Table/components/Filter/useFilters";
@@ -82,6 +85,7 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
const [people] = usePeople();
const unitsOfMeasure = useUnitOfMeasure();
+ const itemPostingGroups = useItemPostingGroups();
const customColumns = useCustomColumns<Material>("material");
const filters = useFilters();
@@ -233,6 +237,27 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
}
}
},
+ {
+ accessorKey: "itemPostingGroupId",
+ header: "Item Group",
+ cell: (item) => {
+ const itemPostingGroupId = item.row.original.itemPostingGroupId;
+ const itemPostingGroup = itemPostingGroups.find(
+ (group) => group.value === itemPostingGroupId
+ );
+ return <Enumerable value={itemPostingGroup?.label ?? null} />;
+ },
+ meta: {
+ filter: {
+ type: "static",
+ options: itemPostingGroups.map((group) => ({
+ value: group.value,
+ label: <Enumerable value={group.label} />
+ }))
+ },
+ icon: <LuGroup />
+ }
+ },
{
accessorKey: "itemTrackingType",
header: "Tracking",
@@ -393,6 +418,7 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
}, [
materialSubstanceId,
materialFormId,
+ itemPostingGroups,
unitsOfMeasure,
tags,
people,
@@ -414,7 +440,8 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
| "materialFormId"
| "materialSubstanceId"
| "defaultMethodType"
- | "itemTrackingType",
+ | "itemTrackingType"
+ | "itemPostingGroupId",
value: string
) => {
const formData = new FormData();
@@ -439,6 +466,27 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
<DropdownMenuLabel>Update</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuGroup>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>Item Group</DropdownMenuSubTrigger>
+ <DropdownMenuPortal>
+ <DropdownMenuSubContent>
+ {itemPostingGroups.map((group) => (
+ <DropdownMenuItem
+ key={group.value}
+ onClick={() =>
+ onBulkUpdate(
+ selectedRows,
+ "itemPostingGroupId",
+ group.value
+ )
+ }
+ >
+ <Enumerable value={group.label} />
+ </DropdownMenuItem>
+ ))}
+ </DropdownMenuSubContent>
+ </DropdownMenuPortal>
+ </DropdownMenuSub>
<DropdownMenuSub>
<DropdownMenuSubTrigger>
Default Method Type
@@ -485,7 +533,7 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
</DropdownMenuContent>
);
},
- [onBulkUpdate]
+ [onBulkUpdate, itemPostingGroups]
);
const renderContextMenu = useMemo(() => {
@@ -561,7 +609,12 @@ const MaterialsTable = memo(({ data, tags, count }: MaterialsTableProps) => {
]}
primaryAction={
permissions.can("create", "parts") && (
- <New label="Material" to={path.to.newMaterial} />
+ <div className="flex items-center gap-2">
+ <Button variant="secondary" leftIcon={<LuGroup />} asChild>
+ <Link to={path.to.itemPostingGroups}>Item Groups</Link>
+ </Button>
+ <New label="Material" to={path.to.newMaterial} />
+ </div>
)
}
renderActions={renderActions}
diff --git a/apps/erp/app/modules/items/ui/Materials/useMaterialNavigation.tsx b/apps/erp/app/modules/items/ui/Materials/useMaterialNavigation.tsx
index 2f86b030b5..6b7d308780 100644
--- a/apps/erp/app/modules/items/ui/Materials/useMaterialNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Materials/useMaterialNavigation.tsx
@@ -40,12 +40,12 @@ export function useMaterialNavigation() {
shortcut: "Command+Shift+p"
},
{
- name: "Costing",
+ name: "Accounting",
to: path.to.materialCosting(itemId),
role: ["employee"],
permission: "purchasing",
icon: LuTags,
- shortcut: "Command+Shift+c"
+ shortcut: "Command+Shift+a"
},
{
name: "Planning",
diff --git a/apps/erp/app/modules/items/ui/Parts/PartForm.tsx b/apps/erp/app/modules/items/ui/Parts/PartForm.tsx
index 3ad9e1f2bf..36504942d6 100644
--- a/apps/erp/app/modules/items/ui/Parts/PartForm.tsx
+++ b/apps/erp/app/modules/items/ui/Parts/PartForm.tsx
@@ -31,6 +31,7 @@ import {
Hidden,
Input,
InputControlled,
+ ItemPostingGroup,
// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
Number,
Select,
@@ -283,7 +284,9 @@ const PartForm = ({ initialValues, type = "card", onClose }: PartFormProps) => {
name="unitOfMeasureCode"
label="Unit of Measure"
/>
-
+ {!isEditing && (
+ <ItemPostingGroup name="postingGroupId" label="Item Group" />
+ )}
{!isEditing && replenishmentSystem !== "Make" && (
<Number
name="unitCost"
diff --git a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx
index bdbb4faf92..5b23d34eae 100644
--- a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx
+++ b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx
@@ -29,8 +29,12 @@ import { Await, Link, useFetcher, useParams } from "react-router";
import { z } from "zod/v3";
import { zfd } from "zod-form-data";
import { MethodBadge, MethodIcon, TrackingTypeIcon } from "~/components";
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { Boolean, Tags, UnitOfMeasure } from "~/components/Form";
+import {
+ Boolean,
+ ItemPostingGroup,
+ Tags,
+ UnitOfMeasure
+} from "~/components/Form";
import CustomFormInlineFields from "~/components/Form/CustomFormInlineFields";
import { ReplenishmentSystemIcon } from "~/components/Icons";
import { ItemThumbnailUpload } from "~/components/ItemThumnailUpload";
@@ -97,6 +101,7 @@ const PartProperties = () => {
| "active"
| "defaultMethodType"
| "itemTrackingType"
+ | "itemPostingGroupId"
| "partId"
| "name"
| "replenishmentSystem"
@@ -291,6 +296,26 @@ const PartProperties = () => {
/>
</VStack> */}
+ <ValidatedForm
+ defaultValues={{
+ itemPostingGroupId:
+ routeData?.partSummary?.itemPostingGroupId ?? undefined
+ }}
+ validator={z.object({
+ itemPostingGroupId: z.string().nullable().optional()
+ })}
+ className="w-full"
+ >
+ <ItemPostingGroup
+ label="Item Group"
+ name="itemPostingGroupId"
+ inline
+ onChange={(value) => {
+ onUpdate("itemPostingGroupId", value?.value ?? null);
+ }}
+ />
+ </ValidatedForm>
+
<VStack spacing={2}>
<h3 className="text-xs text-muted-foreground">Tracking Type</h3>
<DropdownMenu>
diff --git a/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx b/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx
index dc88fdb3b9..dc1ede5b7a 100644
--- a/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx
+++ b/apps/erp/app/modules/items/ui/Parts/PartsTable.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Button,
Checkbox,
DropdownMenuContent,
DropdownMenuGroup,
@@ -30,6 +31,7 @@ import {
LuCalendar,
LuCheck,
LuGitPullRequestArrow,
+ LuGroup,
LuLoaderCircle,
LuPencil,
LuTag,
@@ -38,7 +40,7 @@ import {
} from "react-icons/lu";
import { RxCodesandboxLogo } from "react-icons/rx";
import { TbTargetArrow } from "react-icons/tb";
-import { useFetcher, useNavigate } from "react-router";
+import { Link, useFetcher, useNavigate } from "react-router";
import {
EmployeeAvatar,
Hyperlink,
@@ -49,6 +51,7 @@ import {
TrackingTypeIcon
} from "~/components";
import { Enumerable } from "~/components/Enumerable";
+import { useItemPostingGroups } from "~/components/Form/ItemPostingGroup";
import { ConfirmDelete } from "~/components/Modals";
import { usePermissions } from "~/hooks";
import { useCustomColumns } from "~/hooks/useCustomColumns";
@@ -76,6 +79,7 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
const [selectedItem, setSelectedItem] = useState<Part | null>(null);
const [people] = usePeople();
+ const itemPostingGroups = useItemPostingGroups();
const customColumns = useCustomColumns<Part>("part");
const columns = useMemo<ColumnDef<Part>[]>(() => {
@@ -116,7 +120,27 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
icon: <LuAlignJustify />
}
},
-
+ {
+ accessorKey: "itemPostingGroupId",
+ header: "Item Group",
+ cell: (item) => {
+ const itemPostingGroupId = item.getValue<string>();
+ const itemPostingGroup = itemPostingGroups.find(
+ (group) => group.value === itemPostingGroupId
+ );
+ return <Enumerable value={itemPostingGroup?.label ?? null} />;
+ },
+ meta: {
+ filter: {
+ type: "static",
+ options: itemPostingGroups.map((group) => ({
+ value: group.value,
+ label: <Enumerable value={group.label} />
+ }))
+ },
+ icon: <LuGroup />
+ }
+ },
{
accessorKey: "itemTrackingType",
header: "Tracking",
@@ -276,7 +300,7 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
}
];
return [...defaultColumns, ...customColumns];
- }, [tags, people, customColumns]);
+ }, [tags, people, customColumns, itemPostingGroups]);
const fetcher = useFetcher<typeof action>();
useEffect(() => {
@@ -289,7 +313,11 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
const onBulkUpdate = useCallback(
(
selectedRows: typeof data,
- field: "replenishmentSystem" | "defaultMethodType" | "itemTrackingType",
+ field:
+ | "replenishmentSystem"
+ | "defaultMethodType"
+ | "itemTrackingType"
+ | "itemPostingGroupId",
value: string
) => {
const formData = new FormData();
@@ -314,6 +342,27 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
<DropdownMenuLabel>Update</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuGroup>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>Item Group</DropdownMenuSubTrigger>
+ <DropdownMenuPortal>
+ <DropdownMenuSubContent>
+ {itemPostingGroups.map((group) => (
+ <DropdownMenuItem
+ key={group.value}
+ onClick={() =>
+ onBulkUpdate(
+ selectedRows,
+ "itemPostingGroupId",
+ group.value
+ )
+ }
+ >
+ <Enumerable value={group.label} />
+ </DropdownMenuItem>
+ ))}
+ </DropdownMenuSubContent>
+ </DropdownMenuPortal>
+ </DropdownMenuSub>
<DropdownMenuSub>
<DropdownMenuSubTrigger>Replenishment</DropdownMenuSubTrigger>
<DropdownMenuPortal>
@@ -379,7 +428,7 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
</DropdownMenuContent>
);
},
- [onBulkUpdate]
+ [onBulkUpdate, itemPostingGroups]
);
const renderContextMenu = useMemo(() => {
@@ -455,7 +504,12 @@ const PartsTable = memo(({ data, tags, count }: PartsTableProps) => {
]}
primaryAction={
permissions.can("create", "parts") && (
- <New label="Part" to={path.to.newPart} />
+ <div className="flex items-center gap-2">
+ <Button variant="secondary" leftIcon={<LuGroup />} asChild>
+ <Link to={path.to.itemPostingGroups}>Item Groups</Link>
+ </Button>
+ <New label="Part" to={path.to.newPart} />
+ </div>
)
}
renderActions={renderActions}
diff --git a/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx b/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
index 78f744b76f..d4ee875061 100644
--- a/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Parts/usePartNavigation.tsx
@@ -55,7 +55,7 @@ export function usePartNavigation() {
isActive: (pathname: string) => pathname.includes("manufacturing")
},
{
- name: "Costing",
+ name: "Accounting",
to: path.to.partCosting(itemId),
role: ["employee"],
permission: "purchasing",
diff --git a/apps/erp/app/modules/items/ui/Tools/ToolForm.tsx b/apps/erp/app/modules/items/ui/Tools/ToolForm.tsx
index df0f2a992e..3ada063ea3 100644
--- a/apps/erp/app/modules/items/ui/Tools/ToolForm.tsx
+++ b/apps/erp/app/modules/items/ui/Tools/ToolForm.tsx
@@ -30,6 +30,7 @@ import {
Hidden,
Input,
InputControlled,
+ ItemPostingGroup,
// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
Number,
Select,
@@ -279,6 +280,9 @@ const ToolForm = ({ initialValues, type = "card", onClose }: ToolFormProps) => {
name="unitOfMeasureCode"
label="Unit of Measure"
/>
+ {!isEditing && (
+ <ItemPostingGroup name="postingGroupId" label="Item Group" />
+ )}
{!isEditing && (
<Number
name="unitCost"
diff --git a/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx b/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx
index b167a1a4fc..b02ddce142 100644
--- a/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx
+++ b/apps/erp/app/modules/items/ui/Tools/ToolProperties.tsx
@@ -24,8 +24,7 @@ import { z } from "zod/v3";
import { zfd } from "zod-form-data";
import { MethodBadge, MethodIcon, TrackingTypeIcon } from "~/components";
import { Enumerable } from "~/components/Enumerable";
-// biome-ignore lint/suspicious/noShadowRestrictedNames: suppressed due to migration
-import { Boolean, Tags } from "~/components/Form";
+import { Boolean, ItemPostingGroup, Tags } from "~/components/Form";
import CustomFormInlineFields from "~/components/Form/CustomFormInlineFields";
import { ReplenishmentSystemIcon } from "~/components/Icons";
import { ItemThumbnailUpload } from "~/components/ItemThumnailUpload";
@@ -93,6 +92,7 @@ const ToolProperties = () => {
| "replenishmentSystem"
| "defaultMethodType"
| "itemTrackingType"
+ | "itemPostingGroupId"
| "toolId"
| "active",
value: string | null
@@ -275,6 +275,26 @@ const ToolProperties = () => {
/>
</VStack>
+ <ValidatedForm
+ defaultValues={{
+ itemPostingGroupId:
+ routeData?.toolSummary?.itemPostingGroupId ?? undefined
+ }}
+ validator={z.object({
+ itemPostingGroupId: z.string().nullable().optional()
+ })}
+ className="w-full"
+ >
+ <ItemPostingGroup
+ label="Item Group"
+ name="itemPostingGroupId"
+ inline
+ onChange={(value) => {
+ onUpdate("itemPostingGroupId", value?.value ?? null);
+ }}
+ />
+ </ValidatedForm>
+
<VStack spacing={2}>
<h3 className="text-xs text-muted-foreground">Tracking Type</h3>
<DropdownMenu>
diff --git a/apps/erp/app/modules/items/ui/Tools/ToolsTable.tsx b/apps/erp/app/modules/items/ui/Tools/ToolsTable.tsx
index d302eabfda..15ae7d01f0 100644
--- a/apps/erp/app/modules/items/ui/Tools/ToolsTable.tsx
+++ b/apps/erp/app/modules/items/ui/Tools/ToolsTable.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Button,
Checkbox,
DropdownMenuContent,
DropdownMenuGroup,
@@ -30,6 +31,7 @@ import {
LuCalendar,
LuCheck,
LuGitPullRequestArrow,
+ LuGroup,
LuLoaderCircle,
LuPencil,
LuTag,
@@ -38,7 +40,7 @@ import {
} from "react-icons/lu";
import { RxCodesandboxLogo } from "react-icons/rx";
import { TbTargetArrow } from "react-icons/tb";
-import { useFetcher, useNavigate } from "react-router";
+import { Link, useFetcher, useNavigate } from "react-router";
import {
EmployeeAvatar,
Hyperlink,
@@ -49,6 +51,7 @@ import {
TrackingTypeIcon
} from "~/components";
import { Enumerable } from "~/components/Enumerable";
+import { useItemPostingGroups } from "~/components/Form/ItemPostingGroup";
import { ConfirmDelete } from "~/components/Modals";
import { usePermissions } from "~/hooks";
import { useCustomColumns } from "~/hooks/useCustomColumns";
@@ -76,6 +79,7 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
const [selectedItem, setSelectedItem] = useState<Tool | null>(null);
const [people] = usePeople();
+ const itemPostingGroups = useItemPostingGroups();
const customColumns = useCustomColumns<Tool>("tool");
const columns = useMemo<ColumnDef<Tool>[]>(() => {
@@ -116,6 +120,27 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
icon: <LuAlignJustify />
}
},
+ {
+ accessorKey: "itemPostingGroupId",
+ header: "Item Group",
+ cell: (item) => {
+ const itemPostingGroupId = item.getValue<string>();
+ const itemPostingGroup = itemPostingGroups.find(
+ (group) => group.value === itemPostingGroupId
+ );
+ return <Enumerable value={itemPostingGroup?.label ?? null} />;
+ },
+ meta: {
+ filter: {
+ type: "static",
+ options: itemPostingGroups.map((group) => ({
+ value: group.value,
+ label: <Enumerable value={group.label} />
+ }))
+ },
+ icon: <LuGroup />
+ }
+ },
{
accessorKey: "itemTrackingType",
header: "Tracking",
@@ -290,7 +315,7 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
}
];
return [...defaultColumns, ...customColumns];
- }, [customColumns, people, tags]);
+ }, [customColumns, people, tags, itemPostingGroups]);
const fetcher = useFetcher<typeof action>();
useEffect(() => {
@@ -303,7 +328,11 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
const onBulkUpdate = useCallback(
(
selectedRows: typeof data,
- field: "replenishmentSystem" | "defaultMethodType" | "itemTrackingType",
+ field:
+ | "replenishmentSystem"
+ | "defaultMethodType"
+ | "itemTrackingType"
+ | "itemPostingGroupId",
value: string
) => {
const formData = new FormData();
@@ -328,6 +357,27 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
<DropdownMenuLabel>Update</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuGroup>
+ <DropdownMenuSub>
+ <DropdownMenuSubTrigger>Item Group</DropdownMenuSubTrigger>
+ <DropdownMenuPortal>
+ <DropdownMenuSubContent>
+ {itemPostingGroups.map((group) => (
+ <DropdownMenuItem
+ key={group.value}
+ onClick={() =>
+ onBulkUpdate(
+ selectedRows,
+ "itemPostingGroupId",
+ group.value
+ )
+ }
+ >
+ <Enumerable value={group.label} />
+ </DropdownMenuItem>
+ ))}
+ </DropdownMenuSubContent>
+ </DropdownMenuPortal>
+ </DropdownMenuSub>
<DropdownMenuSub>
<DropdownMenuSubTrigger>
Default Method Type
@@ -374,7 +424,7 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
</DropdownMenuContent>
);
},
- [onBulkUpdate]
+ [onBulkUpdate, itemPostingGroups]
);
const renderContextMenu = useMemo(() => {
@@ -450,7 +500,12 @@ const ToolsTable = memo(({ data, tags, count }: ToolsTableProps) => {
]}
primaryAction={
permissions.can("create", "parts") && (
- <New label="Tool" to={path.to.newTool} />
+ <div className="flex items-center gap-2">
+ <Button variant="secondary" leftIcon={<LuGroup />} asChild>
+ <Link to={path.to.itemPostingGroups}>Item Groups</Link>
+ </Button>
+ <New label="Tool" to={path.to.newTool} />
+ </div>
)
}
renderActions={renderActions}
diff --git a/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx b/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
index 14e8904eef..06f58cd9b8 100644
--- a/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
+++ b/apps/erp/app/modules/items/ui/Tools/useToolNavigation.tsx
@@ -54,12 +54,12 @@ export function useToolNavigation() {
isActive: (pathname: string) => pathname.includes("manufacturing")
},
{
- name: "Costing",
+ name: "Accounting",
to: path.to.toolCosting(itemId),
role: ["employee"],
permission: "purchasing",
icon: LuTags,
- shortcut: "Command+Shift+c"
+ shortcut: "Command+Shift+a"
},
{
name: "Planning",
diff --git a/apps/erp/app/modules/items/ui/useItemsSubmodules.tsx b/apps/erp/app/modules/items/ui/useItemsSubmodules.tsx
index 84d44d1ff9..dff8e15617 100644
--- a/apps/erp/app/modules/items/ui/useItemsSubmodules.tsx
+++ b/apps/erp/app/modules/items/ui/useItemsSubmodules.tsx
@@ -5,6 +5,7 @@ import {
LuBeef,
LuDessert,
LuGlassWater,
+ LuGroup,
LuHammer,
LuPizza,
LuPuzzle,
@@ -67,7 +68,7 @@ const itemsRoutes: AuthenticatedRouteGroup[] = [
// ],
// },
{
- name: "Configure",
+ name: "Configure Materials",
routes: [
{
name: "Dimensions",
@@ -104,13 +105,18 @@ const itemsRoutes: AuthenticatedRouteGroup[] = [
to: path.to.materialTypes,
icon: <LuPuzzle />,
role: "employee"
+ }
+ ]
+ },
+ {
+ name: "Configure",
+ routes: [
+ {
+ name: "Groups",
+ to: path.to.itemPostingGroups,
+ role: "employee",
+ icon: <LuGroup />
},
- // {
- // name: "Posting Groups",
- // to: path.to.itemPostingGroups,
- // role: "employee",
- // icon: <PiPiggyBank />,
- // },
{
name: "Units",
to: path.to.uoms,
diff --git a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx
index 442a8078d1..44717ee695 100644
--- a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx
+++ b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/ItemCard.tsx
@@ -26,7 +26,6 @@ import {
import { useSortable } from "@dnd-kit/sortable";
import { CSS } from "@dnd-kit/utilities";
import { cva } from "class-variance-authority";
-import { FaTasks } from "react-icons/fa";
import {
LuCalendarDays,
LuCircleCheck,
diff --git a/apps/erp/app/modules/purchasing/purchasing.models.ts b/apps/erp/app/modules/purchasing/purchasing.models.ts
index fda468896a..915d8a0b4c 100644
--- a/apps/erp/app/modules/purchasing/purchasing.models.ts
+++ b/apps/erp/app/modules/purchasing/purchasing.models.ts
@@ -264,8 +264,8 @@ export const supplierValidator = z.object({
supplierTypeId: zfd.text(z.string().optional()),
accountManagerId: zfd.text(z.string().optional()),
currencyCode: zfd.text(z.string().optional()),
- phone: zfd.text(z.string().optional()),
- fax: zfd.text(z.string().optional()),
+ purchasingContactId: zfd.text(z.string().optional()),
+ invoicingContactId: zfd.text(z.string().optional()),
website: zfd.text(z.string().optional())
});
diff --git a/apps/erp/app/modules/purchasing/ui/Supplier/SupplierForm.tsx b/apps/erp/app/modules/purchasing/ui/Supplier/SupplierForm.tsx
index d75d9e8d12..41092d623c 100644
--- a/apps/erp/app/modules/purchasing/ui/Supplier/SupplierForm.tsx
+++ b/apps/erp/app/modules/purchasing/ui/Supplier/SupplierForm.tsx
@@ -23,6 +23,7 @@ import {
Hidden,
Input,
Submit,
+ SupplierContact,
SupplierStatus,
SupplierType
} from "~/components/Form";
@@ -116,10 +117,23 @@ const SupplierForm = ({
<Currency name="currencyCode" label="Currency" />
- <PhoneInput name="phone" label="Phone" />
- <PhoneInput name="fax" label="Fax" />
<Input name="website" label="Website" />
+ {isEditing && (
+ <>
+ <SupplierContact
+ supplier={initialValues.id}
+ name="purchasingContactId"
+ label="Purchasing Contact"
+ />
+ <SupplierContact
+ supplier={initialValues.id}
+ name="invoicingContactId"
+ label="Invoicing Contact"
+ />
+ </>
+ )}
+
<CustomFormFields table="supplier" />
</div>
</ModalCardBody>
diff --git a/apps/erp/app/modules/purchasing/ui/Supplier/SupplierRiskRegister.tsx b/apps/erp/app/modules/purchasing/ui/Supplier/SupplierRiskRegister.tsx
index 7a7ae09e31..53e3af7185 100644
--- a/apps/erp/app/modules/purchasing/ui/Supplier/SupplierRiskRegister.tsx
+++ b/apps/erp/app/modules/purchasing/ui/Supplier/SupplierRiskRegister.tsx
@@ -5,7 +5,7 @@ type SupplierRiskRegisterProps = {
};
export default function SupplierRiskRegister({
- supplierId,
+ supplierId
}: SupplierRiskRegisterProps) {
return <RiskRegisterCard sourceId={supplierId} source="Supplier" />;
}
diff --git a/apps/erp/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx b/apps/erp/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
index cac3bc8ae9..caeff1f98c 100644
--- a/apps/erp/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
+++ b/apps/erp/app/modules/purchasing/ui/Supplier/SuppliersTable.tsx
@@ -1,4 +1,4 @@
-import { Badge, HStack, MenuIcon, MenuItem } from "@carbon/react";
+import { Badge, Button, HStack, MenuIcon, MenuItem } from "@carbon/react";
import { formatDate } from "@carbon/utils";
import type { ColumnDef } from "@tanstack/react-table";
import { memo, useMemo } from "react";
@@ -15,7 +15,7 @@ import {
LuTag,
LuUser
} from "react-icons/lu";
-import { useNavigate } from "react-router";
+import { Link, useNavigate } from "react-router";
import {
EmployeeAvatar,
Hyperlink,
@@ -297,7 +297,12 @@ const SuppliersTable = memo(
]}
primaryAction={
permissions.can("create", "purchasing") && (
- <New label="Supplier" to={path.to.newSupplier} />
+ <div className="flex items-center gap-2">
+ <Button variant="secondary" leftIcon={<LuShapes />} asChild>
+ <Link to={path.to.supplierTypes}>Supplier Types</Link>
+ </Button>
+ <New label="Supplier" to={path.to.newSupplier} />
+ </div>
)
}
renderContextMenu={renderContextMenu}
diff --git a/apps/erp/app/modules/sales/sales.models.ts b/apps/erp/app/modules/sales/sales.models.ts
index 8c749f6448..df63752588 100644
--- a/apps/erp/app/modules/sales/sales.models.ts
+++ b/apps/erp/app/modules/sales/sales.models.ts
@@ -72,8 +72,8 @@ export const customerValidator = z.object({
taxPercent: zfd.numeric(
z.number().min(0).max(1, { message: "Tax percent must be between 0 and 1" })
),
- phone: zfd.text(z.string().optional()),
- fax: zfd.text(z.string().optional()),
+ salesContactId: zfd.text(z.string().optional()),
+ invoicingContactId: zfd.text(z.string().optional()),
website: zfd.text(z.string().optional())
});
diff --git a/apps/erp/app/modules/sales/sales.service.ts b/apps/erp/app/modules/sales/sales.service.ts
index f80c9b7dc5..6741b36a2e 100644
--- a/apps/erp/app/modules/sales/sales.service.ts
+++ b/apps/erp/app/modules/sales/sales.service.ts
@@ -1,8 +1,10 @@
import { type Database, fetchAllFromTable, type Json } from "@carbon/database";
+import { PickPartial } from "@carbon/utils";
import { getLocalTimeZone, now, today } from "@internationalized/date";
import {
FunctionRegion,
type PostgrestError,
+ PostgrestResponse,
type PostgrestSingleResponse,
type SupabaseClient
} from "@supabase/supabase-js";
@@ -46,7 +48,7 @@ import type {
salesRfqValidator,
selectedLinesValidator
} from "./sales.models";
-import type { Quotation, SalesOrder, SalesRFQ } from "./types";
+import type { CustomerContact, Quotation, SalesOrder, SalesRFQ } from "./types";
export async function closeSalesOrder(
client: SupabaseClient<Database>,
@@ -1417,7 +1419,7 @@ export async function insertCustomerContact(
customerContact: {
customerId: string;
companyId: string;
- contact: z.infer<typeof customerContactValidator>;
+ contact: PickPartial<z.infer<typeof customerContactValidator>, "email">;
customerLocationId?: string;
customFields?: Json;
}
@@ -1573,7 +1575,7 @@ export async function upsertCustomer(
})
) {
if ("createdBy" in customer) {
- return client.from("customer").insert([customer]).select("*").single();
+ return client.from("customer").insert([customer]).select("id").single();
}
return client
.from("customer")
diff --git a/apps/erp/app/modules/sales/ui/Customer/CustomerContactForm.tsx b/apps/erp/app/modules/sales/ui/Customer/CustomerContactForm.tsx
index a979212895..6a54696970 100644
--- a/apps/erp/app/modules/sales/ui/Customer/CustomerContactForm.tsx
+++ b/apps/erp/app/modules/sales/ui/Customer/CustomerContactForm.tsx
@@ -8,6 +8,7 @@ import {
DrawerHeader,
DrawerTitle,
HStack,
+ toast,
VStack
} from "@carbon/react";
import { useFetcher } from "react-router";
@@ -22,6 +23,7 @@ import {
TextArea
} from "~/components/Form";
import { usePermissions } from "~/hooks";
+import { useAsyncFetcher } from "~/hooks/useAsyncFetcher";
import { path } from "~/utils/path";
import { customerContactValidator } from "../../sales.models";
@@ -40,7 +42,13 @@ const CustomerContactForm = ({
type = "drawer",
onClose
}: CustomerContactFormProps) => {
- const fetcher = useFetcher<{}>();
+ const fetcher = useAsyncFetcher<{ success?: boolean; message: string }>({
+ onStateChange(state) {
+ if (state === "idle" && fetcher.data && !fetcher.data.success) {
+ toast.error(fetcher.data.message);
+ }
+ }
+ });
const permissions = usePermissions();
const isEditing = !!initialValues?.id;
@@ -65,9 +73,10 @@ const CustomerContactForm = ({
: path.to.newCustomerContact(customerId)
}
defaultValues={initialValues}
+ // @ts-expect-error TODO: ValidatedForm types doesn't yet support useAsyncFetcher - @sidwebworks
fetcher={fetcher}
className="flex flex-col h-full"
- onSubmit={() => {
+ onAfterSubmit={() => {
if (type === "modal") {
onClose?.();
}
diff --git a/apps/erp/app/modules/sales/ui/Customer/CustomerForm.tsx b/apps/erp/app/modules/sales/ui/Customer/CustomerForm.tsx
index 7f95aa8365..8b953e1ae7 100644
--- a/apps/erp/app/modules/sales/ui/Customer/CustomerForm.tsx
+++ b/apps/erp/app/modules/sales/ui/Customer/CustomerForm.tsx
@@ -18,6 +18,7 @@ import { useFetcher } from "react-router";
import type { z } from "zod/v3";
import {
Currency,
+ CustomerContact,
CustomerStatus,
CustomerType,
CustomFormFields,
@@ -129,10 +130,23 @@ const CustomerForm = ({
}}
/>
- <PhoneInput name="phone" label="Phone" />
- <PhoneInput name="fax" label="Fax" />
<Input name="website" label="Website" />
+ {isEditing && (
+ <>
+ <CustomerContact
+ customer={initialValues.id}
+ name="salesContactId"
+ label="Sales Contact"
+ />
+ <CustomerContact
+ customer={initialValues.id}
+ name="invoicingContactId"
+ label="Invoicing Contact"
+ />
+ </>
+ )}
+
<CustomFormFields table="customer" />
</div>
</ModalCardBody>
diff --git a/apps/erp/app/modules/sales/ui/Customer/CustomerRiskRegister.tsx b/apps/erp/app/modules/sales/ui/Customer/CustomerRiskRegister.tsx
index cedc871b65..033a414d57 100644
--- a/apps/erp/app/modules/sales/ui/Customer/CustomerRiskRegister.tsx
+++ b/apps/erp/app/modules/sales/ui/Customer/CustomerRiskRegister.tsx
@@ -5,7 +5,7 @@ type CustomerRiskRegisterProps = {
};
export default function CustomerRiskRegister({
- customerId,
+ customerId
}: CustomerRiskRegisterProps) {
return <RiskRegisterCard sourceId={customerId} source="Customer" />;
}
diff --git a/apps/erp/app/modules/sales/ui/Customers/CustomersTable.tsx b/apps/erp/app/modules/sales/ui/Customers/CustomersTable.tsx
index 390db0bb6c..b572abf817 100644
--- a/apps/erp/app/modules/sales/ui/Customers/CustomersTable.tsx
+++ b/apps/erp/app/modules/sales/ui/Customers/CustomersTable.tsx
@@ -1,5 +1,6 @@
import {
Badge,
+ Button,
HStack,
MenuIcon,
MenuItem,
@@ -13,6 +14,7 @@ import {
LuCalendar,
LuEuro,
LuGlobe,
+ LuGroup,
LuPencil,
LuPhone,
LuPrinter,
@@ -22,7 +24,7 @@ import {
LuTrash,
LuUser
} from "react-icons/lu";
-import { useNavigate } from "react-router";
+import { Link, useNavigate } from "react-router";
import {
CustomerAvatar,
EmployeeAvatar,
@@ -77,7 +79,7 @@ const CustomersTable = memo(
},
{
accessorKey: "status",
- header: "Customer Status",
+ header: "Status",
cell: (item) => <Enumerable value={item.getValue<string>()} />,
meta: {
filter: {
@@ -87,6 +89,7 @@ const CustomersTable = memo(
label: <Enumerable value={status.name ?? ""} />
}))
},
+ pluralHeader: "Statuses",
icon: <LuStar />
}
},
@@ -293,7 +296,17 @@ const CustomersTable = memo(
]}
primaryAction={
permissions.can("create", "sales") && (
- <New label="Customer" to={path.to.newCustomer} />
+ <div className="flex items-center gap-2">
+ <Button
+ className="hidden md:inline-flex"
+ variant="secondary"
+ leftIcon={<LuShapes />}
+ asChild
+ >
+ <Link to={path.to.customerTypes}>Customer Types</Link>
+ </Button>
+ <New label="Customer" to={path.to.newCustomer} />
+ </div>
)
}
renderContextMenu={renderContextMenu}
diff --git a/apps/erp/app/modules/settings/settings.service.ts b/apps/erp/app/modules/settings/settings.service.ts
index 8757a4b020..fc89b70d11 100644
--- a/apps/erp/app/modules/settings/settings.service.ts
+++ b/apps/erp/app/modules/settings/settings.service.ts
@@ -625,6 +625,26 @@ export async function updateSequence(
.eq("table", table);
}
+export async function updateIntegrationMetadata(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ integrationId: string,
+ metadata: any,
+ updatedBy?: string
+) {
+ return client
+ .from("companyIntegration")
+ .update(
+ sanitize({
+ metadata,
+ updatedAt: new Date().toISOString(),
+ updatedBy
+ })
+ )
+ .eq("companyId", companyId)
+ .eq("id", integrationId);
+}
+
export async function upsertWebhook(
client: SupabaseClient<Database>,
webhook:
diff --git a/apps/erp/app/modules/settings/ui/Integrations/IntegrationCard.tsx b/apps/erp/app/modules/settings/ui/Integrations/IntegrationCard.tsx
new file mode 100644
index 0000000000..86ad8739df
--- /dev/null
+++ b/apps/erp/app/modules/settings/ui/Integrations/IntegrationCard.tsx
@@ -0,0 +1,123 @@
+import type { IntegrationConfig } from "@carbon/ee";
+import {
+ Badge,
+ Button,
+ Card,
+ CardContent,
+ CardFooter,
+ CardHeader,
+ CardTitle
+} from "@carbon/react";
+import { useRouteData } from "@carbon/remix";
+import { Link, useFetcher, useNavigate } from "react-router";
+import { path } from "~/utils/path";
+
+export function IntegrationCard({
+ integration,
+ installed
+}: {
+ integration: IntegrationConfig;
+ installed: boolean;
+}) {
+ const fetcher = useFetcher<{}>();
+ const navigate = useNavigate();
+ const routeData = useRouteData<{ state: string }>(path.to.integrations);
+
+ const getOauthUrl = (integration: IntegrationConfig) => {
+ if ("oauth" in integration && !!integration.oauth) {
+ const { clientId, redirectUri, scopes } = integration.oauth;
+ const encodedRedirectUri = encodeURIComponent(
+ `${window.location.origin}${redirectUri}`
+ );
+ const encodedScopes = encodeURIComponent(scopes.join(" "));
+ const encodedState = encodeURIComponent(
+ routeData?.state ?? Math.random().toString(36).substring(2, 15)
+ );
+
+ return `${integration.oauth.authUrl}?client_id=${clientId}&redirect_uri=${encodedRedirectUri}&response_type=code&state=${encodedState}&scope=${encodedScopes}`;
+ }
+ return null;
+ };
+
+ const handleInstall = async () => {
+ const oauthUrl = getOauthUrl(integration);
+
+ if (oauthUrl) {
+ window.open(oauthUrl);
+ } else if (integration.settings.some((setting) => setting.required)) {
+ navigate(path.to.integration(integration.id));
+ } else if (integration.onInitialize) {
+ await integration.onInitialize?.();
+ } else {
+ const formData = new FormData();
+ fetcher.submit(formData, {
+ method: "post",
+ action: path.to.integration(integration.id)
+ });
+ }
+ };
+
+ const handleUninstall = async () => {
+ await integration?.onUninstall?.();
+ };
+
+ return (
+ <Card>
+ <div className="pt-6 px-6 h-16 flex items-center justify-between gap-6">
+ <integration.logo className="h-10 w-auto" />
+ {integration.active ? (
+ installed ? (
+ <Badge className="flex-shrink-0" variant="green">
+ Installed
+ </Badge>
+ ) : null
+ ) : (
+ <Badge className="flex-shrink-0" variant="secondary">
+ Coming soon
+ </Badge>
+ )}
+ </div>
+ <CardHeader className="pb-0">
+ <div className="flex items-center space-x-2 pb-4">
+ <CardTitle className="text-md font-medium leading-none p-0 m-0">
+ {integration.name}
+ </CardTitle>
+ </div>
+ </CardHeader>
+ <CardContent className="text-sm text-muted-foreground pb-4">
+ {integration.description}
+ </CardContent>
+ <CardFooter className="flex flex-end flex-row-reverse gap-2">
+ <Button isDisabled={!installed} variant="secondary" asChild>
+ <Link to={integration.active && installed ? integration.id : "#"}>
+ Details
+ </Link>
+ </Button>
+ {installed ? (
+ <fetcher.Form
+ method="post"
+ action={path.to.integrationDeactivate(integration.id)}
+ onSubmit={handleUninstall}
+ >
+ <Button
+ variant="destructive"
+ type="submit"
+ isDisabled={fetcher.state !== "idle"}
+ isLoading={fetcher.state !== "idle"}
+ >
+ Uninstall
+ </Button>
+ </fetcher.Form>
+ ) : (
+ <Button
+ isDisabled={!integration.active || fetcher.state !== "idle"}
+ isLoading={fetcher.state !== "idle"}
+ onClick={handleInstall}
+ >
+ Install
+ </Button>
+ )}
+ </CardFooter>
+ </Card>
+ );
+}
diff --git a/apps/erp/app/modules/settings/ui/Integrations/IntegrationsList.tsx b/apps/erp/app/modules/settings/ui/Integrations/IntegrationsList.tsx
index 80e7dc1262..2db9930f10 100644
--- a/apps/erp/app/modules/settings/ui/Integrations/IntegrationsList.tsx
+++ b/apps/erp/app/modules/settings/ui/Integrations/IntegrationsList.tsx
@@ -1,17 +1,16 @@
import type { IntegrationConfig } from "@carbon/ee";
+
import {
- Badge,
- Button,
- Card,
- CardContent,
- CardFooter,
- CardHeader,
- CardTitle
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue
} from "@carbon/react";
import { useUrlParams } from "@carbon/remix";
-import { Link, useFetcher, useNavigate } from "react-router";
+import { useMemo, useState } from "react";
import { SearchFilter } from "~/components";
-import { path } from "~/utils/path";
+import { IntegrationCard } from "./IntegrationCard";
type IntegrationsListProps = {
availableIntegrations: IntegrationConfig[];
@@ -23,22 +22,60 @@ const IntegrationsList = ({
availableIntegrations
}: IntegrationsListProps) => {
const [params] = useUrlParams();
+ const [filter, setFilter] = useState<"all" | "installed" | "available">(
+ "all"
+ );
const search = params.get("search") || "";
- if (search) {
- availableIntegrations = availableIntegrations.filter((integration) =>
- integration.name.toLowerCase().includes(search.toLowerCase())
- );
- }
+
+ const filteredIntegrations = useMemo(() => {
+ let filtered = availableIntegrations;
+
+ if (search) {
+ filtered = filtered.filter((integration) =>
+ integration.name.toLowerCase().includes(search.toLowerCase())
+ );
+ }
+
+ if (filter === "installed") {
+ filtered = filtered.filter((integration) =>
+ installedIntegrations.includes(integration.id)
+ );
+ } else if (filter === "available") {
+ filtered = filtered.filter(
+ (integration) =>
+ !installedIntegrations.includes(integration.id) && integration.active
+ );
+ }
+
+ return filtered;
+ }, [availableIntegrations, installedIntegrations, search, filter]);
return (
<div className="flex flex-col gap-4">
- <div className="flex flex-row gap-4 pt-4 px-4">
+ <div className="flex flex-row gap-2 pt-4 px-4">
<div>
<SearchFilter param="search" size="sm" placeholder="Search" />
</div>
+ <div>
+ <Select
+ value={filter}
+ onValueChange={(value) =>
+ setFilter(value as "all" | "installed" | "available")
+ }
+ >
+ <SelectTrigger size="sm">
+ <SelectValue placeholder="Select a category" />
+ </SelectTrigger>
+ <SelectContent>
+ <SelectItem value="all">All</SelectItem>
+ <SelectItem value="installed">Installed</SelectItem>
+ <SelectItem value="available">Available</SelectItem>
+ </SelectContent>
+ </Select>
+ </div>
</div>
<div className="grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 pb-4 px-4 w-full">
- {availableIntegrations.map((integration) => {
+ {filteredIntegrations.map((integration) => {
return (
<IntegrationCard
key={integration.id}
@@ -52,93 +89,4 @@ const IntegrationsList = ({
);
};
-function IntegrationCard({
- integration,
- installed
-}: {
- integration: IntegrationConfig;
- installed: boolean;
-}) {
- const fetcher = useFetcher<{}>();
- const navigate = useNavigate();
-
- const handleInstall = async () => {
- if (integration.settings.some((setting) => setting.required)) {
- navigate(path.to.integration(integration.id));
- } else if (integration.onInitialize) {
- await integration.onInitialize?.();
- } else {
- const formData = new FormData();
- fetcher.submit(formData, {
- method: "post",
- action: path.to.integration(integration.id)
- });
- }
- };
-
- const handleUninstall = async () => {
- await integration?.onUninstall?.();
- };
-
- return (
- <Card>
- <div className="pt-6 px-6 h-16 flex items-center justify-between gap-6">
- <integration.logo className="h-10 w-auto" />
- {integration.active ? (
- installed ? (
- <Badge variant="green" className="flex-shrink-0">
- Installed
- </Badge>
- ) : null
- ) : (
- <Badge variant="secondary" className="flex-shrink-0">
- Coming soon
- </Badge>
- )}
- </div>
- <CardHeader className="pb-0">
- <div className="flex items-center space-x-2 pb-4">
- <CardTitle className="text-md font-medium leading-none p-0 m-0">
- {integration.name}
- </CardTitle>
- </div>
- </CardHeader>
- <CardContent className="text-sm text-muted-foreground pb-4">
- {integration.description}
- </CardContent>
- <CardFooter className="flex flex-end flex-row-reverse gap-2">
- <Button isDisabled={!installed} variant="secondary" asChild>
- <Link to={integration.active && installed ? integration.id : "#"}>
- Details
- </Link>
- </Button>
- {installed ? (
- <fetcher.Form
- method="post"
- action={path.to.integrationDeactivate(integration.id)}
- onSubmit={handleUninstall}
- >
- <Button
- variant="destructive"
- type="submit"
- isDisabled={fetcher.state !== "idle"}
- isLoading={fetcher.state !== "idle"}
- >
- Uninstall
- </Button>
- </fetcher.Form>
- ) : (
- <Button
- isDisabled={!integration.active || fetcher.state !== "idle"}
- isLoading={fetcher.state !== "idle"}
- onClick={handleInstall}
- >
- Install
- </Button>
- )}
- </CardFooter>
- </Card>
- );
-}
-
export default IntegrationsList;
diff --git a/apps/erp/app/modules/shared/shared.models.ts b/apps/erp/app/modules/shared/shared.models.ts
index 987e5fa4dd..6932897ed9 100644
--- a/apps/erp/app/modules/shared/shared.models.ts
+++ b/apps/erp/app/modules/shared/shared.models.ts
@@ -105,6 +105,11 @@ export const suggestionValidator = z.object({
userId: zfd.text(z.string().optional())
});
+export const oAuthCallbackSchema = z.object({
+ code: z.string(),
+ state: z.string()
+});
+
export const operationStepValidator = z
.object({
id: zfd.text(z.string().optional()),
diff --git a/apps/erp/app/root.tsx b/apps/erp/app/root.tsx
index 2e09e40cc4..dc45686a13 100644
--- a/apps/erp/app/root.tsx
+++ b/apps/erp/app/root.tsx
@@ -61,14 +61,16 @@ export async function loader({ request, context }: LoaderFunctionArgs) {
CARBON_EDITION,
CLOUDFLARE_TURNSTILE_SITE_KEY,
CONTROLLED_ENVIRONMENT,
+ GOOGLE_PLACES_API_KEY,
+ NOVU_APPLICATION_ID,
POSTHOG_API_HOST,
POSTHOG_PROJECT_PUBLIC_KEY,
- SUPABASE_URL,
+ QUICKBOOKS_CLIENT_ID,
SUPABASE_ANON_KEY,
- NOVU_APPLICATION_ID,
+ SUPABASE_URL,
VERCEL_ENV,
VERCEL_URL,
- GOOGLE_PLACES_API_KEY
+ XERO_CLIENT_ID
} = getBrowserEnv();
const sessionFlash = await getSessionFlash(request);
@@ -79,14 +81,16 @@ export async function loader({ request, context }: LoaderFunctionArgs) {
CARBON_EDITION,
CLOUDFLARE_TURNSTILE_SITE_KEY,
CONTROLLED_ENVIRONMENT,
+ GOOGLE_PLACES_API_KEY,
+ NOVU_APPLICATION_ID,
POSTHOG_API_HOST,
POSTHOG_PROJECT_PUBLIC_KEY,
- SUPABASE_URL,
+ QUICKBOOKS_CLIENT_ID,
SUPABASE_ANON_KEY,
- NOVU_APPLICATION_ID,
+ SUPABASE_URL,
VERCEL_ENV,
VERCEL_URL,
- GOOGLE_PLACES_API_KEY
+ XERO_CLIENT_ID
},
mode: getMode(request),
theme: getTheme(request),
diff --git a/apps/erp/app/routes/api+/integrations.quickbooks.oauth.ts b/apps/erp/app/routes/api+/integrations.quickbooks.oauth.ts
new file mode 100644
index 0000000000..be67f1b7b4
--- /dev/null
+++ b/apps/erp/app/routes/api+/integrations.quickbooks.oauth.ts
@@ -0,0 +1,104 @@
+import {
+ QUICKBOOKS_CLIENT_ID,
+ QUICKBOOKS_CLIENT_SECRET,
+ VERCEL_URL
+} from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { QuickBooks } from "@carbon/ee";
+import { QuickBooksProvider } from "@carbon/ee/quickbooks";
+import { data, type LoaderFunctionArgs, redirect } from "react-router";
+import z from "zod";
+import { upsertCompanyIntegration } from "~/modules/settings/settings.server";
+import { oAuthCallbackSchema } from "~/modules/shared";
+import { path } from "~/utils/path";
+
+export const config = {
+ runtime: "nodejs"
+};
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ const { client, userId, companyId } = await requirePermissions(request, {
+ update: "settings"
+ });
+
+ const url = new URL(request.url);
+ const searchParams = Object.fromEntries(url.searchParams.entries());
+
+ const quickbooksAuthResponse = oAuthCallbackSchema
+ .extend({
+ realmId: z.string()
+ })
+ .safeParse(searchParams);
+
+ if (!quickbooksAuthResponse.success) {
+ return data({ error: "Invalid QuickBooks auth response" }, { status: 400 });
+ }
+
+ const { data: d } = quickbooksAuthResponse;
+
+ // TODO: Verify state parameter
+ if (!d.state) {
+ return data({ error: "Invalid state parameter" }, { status: 400 });
+ }
+
+ if (!QUICKBOOKS_CLIENT_ID || !QUICKBOOKS_CLIENT_SECRET) {
+ return data({ error: "QuickBooks OAuth not configured" }, { status: 500 });
+ }
+
+ try {
+ // Use the QuickBooksProvider to handle the OAuth flow
+ const provider = new QuickBooksProvider({
+ clientId: QUICKBOOKS_CLIENT_ID,
+ clientSecret: QUICKBOOKS_CLIENT_SECRET,
+ redirectUri: `${url.origin}/api/integrations/quickbooks/oauth`,
+ environment:
+ process.env.NODE_ENV === "production" ? "production" : "sandbox"
+ });
+
+ // Exchange the authorization code for tokens
+ const auth = await provider.exchangeCodeForToken(d.code);
+ if (!auth) {
+ return data(
+ { error: "Failed to exchange code for token" },
+ { status: 500 }
+ );
+ }
+
+ const createdQuickBooksIntegration = await upsertCompanyIntegration(
+ client,
+ {
+ id: QuickBooks.id,
+ active: true,
+ // @ts-ignore
+ metadata: {
+ ...auth,
+ tenantId: d.realmId
+ },
+ updatedBy: userId,
+ companyId: companyId
+ }
+ );
+
+ if (createdQuickBooksIntegration?.data?.metadata) {
+ const requestUrl = new URL(request.url);
+
+ if (!VERCEL_URL || VERCEL_URL.includes("localhost")) {
+ requestUrl.protocol = "http";
+ }
+
+ const redirectUrl = `${requestUrl.origin}${path.to.integrations}`;
+
+ return redirect(redirectUrl);
+ } else {
+ return data(
+ { error: "Failed to save QuickBooks integration" },
+ { status: 500 }
+ );
+ }
+ } catch (err) {
+ return data(
+ { error: "Failed to exchange code for token" },
+ { status: 500 }
+ );
+ }
+}
diff --git a/apps/erp/app/routes/api+/integrations.slack.interactive.ts b/apps/erp/app/routes/api+/integrations.slack.interactive.ts
index 12e869c3c6..01bdf05234 100644
--- a/apps/erp/app/routes/api+/integrations.slack.interactive.ts
+++ b/apps/erp/app/routes/api+/integrations.slack.interactive.ts
@@ -177,9 +177,8 @@ async function handleShortcut(
slackToken: string,
serviceRole: SupabaseClient<Database>
) {
- // Handle different shortcut types based on callback_id
const callbackId = payload.callback_id;
- console.log({ function: "handleShortcut", callbackId });
+
switch (callbackId) {
case "create_ncr_modal":
return handleCreateNcrShortcut(
@@ -374,7 +373,6 @@ async function handleViewSubmission(
serviceRole: SupabaseClient<Database>,
integration: Database["public"]["Tables"]["companyIntegration"]["Row"]
) {
- console.log({ function: "handleViewSubmission", payload });
const view = payload.view;
if (view.callback_id !== "create_ncr_modal") {
diff --git a/apps/erp/app/routes/api+/integrations.slack.oauth.ts b/apps/erp/app/routes/api+/integrations.slack.oauth.ts
index b39a25b45e..8f80fc4579 100644
--- a/apps/erp/app/routes/api+/integrations.slack.oauth.ts
+++ b/apps/erp/app/routes/api+/integrations.slack.oauth.ts
@@ -15,6 +15,7 @@ import {
import { data, type LoaderFunctionArgs, redirect } from "react-router";
import { z } from "zod/v3";
import { upsertCompanyIntegration } from "~/modules/settings/settings.server";
+import { oAuthCallbackSchema } from "~/modules/shared";
import { path } from "~/utils/path";
export async function loader({ request }: LoaderFunctionArgs) {
@@ -25,7 +26,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
const url = new URL(request.url);
const searchParams = Object.fromEntries(url.searchParams.entries());
- const slackAuthResponse = slackOAuthCallbackSchema.safeParse(searchParams);
+ const slackAuthResponse = oAuthCallbackSchema.safeParse(searchParams);
if (!slackAuthResponse.success) {
return data({ error: "Invalid Slack auth response" }, { status: 400 });
diff --git a/apps/erp/app/routes/api+/integrations.xero.oauth.ts b/apps/erp/app/routes/api+/integrations.xero.oauth.ts
new file mode 100644
index 0000000000..07460aef4b
--- /dev/null
+++ b/apps/erp/app/routes/api+/integrations.xero.oauth.ts
@@ -0,0 +1,128 @@
+import { VERCEL_URL, XERO_CLIENT_ID, XERO_CLIENT_SECRET } from "@carbon/auth";
+import { requirePermissions } from "@carbon/auth/auth.server";
+import { Xero } from "@carbon/ee";
+import { XeroProvider } from "@carbon/ee/xero";
+import { data, type LoaderFunctionArgs, redirect } from "react-router";
+import { upsertCompanyIntegration } from "~/modules/settings/settings.server";
+import { oAuthCallbackSchema } from "~/modules/shared";
+import { path } from "~/utils/path";
+
+export const config = {
+ runtime: "nodejs"
+};
+
+export async function loader({ request }: LoaderFunctionArgs) {
+ const { client, userId, companyId } = await requirePermissions(request, {
+ update: "settings"
+ });
+
+ const url = new URL(request.url);
+ const searchParams = Object.fromEntries(url.searchParams.entries());
+
+ const xeroAuthResponse = oAuthCallbackSchema.safeParse(searchParams);
+
+ if (!xeroAuthResponse.success) {
+ return data({ error: "Invalid Xero auth response" }, { status: 400 });
+ }
+
+ const { data: params } = xeroAuthResponse;
+
+ // TODO: Verify state parameter
+ if (!params.state) {
+ return data({ error: "Invalid state parameter" }, { status: 400 });
+ }
+
+ if (!XERO_CLIENT_ID || !XERO_CLIENT_SECRET) {
+ return data({ error: "Xero OAuth not configured" }, { status: 500 });
+ }
+
+ try {
+ const provider = new XeroProvider({
+ clientId: XERO_CLIENT_ID,
+ clientSecret: XERO_CLIENT_SECRET,
+ companyId
+ });
+
+ // Exchange the authorization code for tokens
+ const auth = await provider.authenticate(
+ params.code,
+ `${url.origin}/api/integrations/xero/oauth`
+ );
+
+ if (!auth) {
+ return data(
+ { error: "Failed to exchange code for token" },
+ { status: 500 }
+ );
+ }
+
+ // Fetch tenant ID from Xero connections endpoint
+ const connectionsResponse = await fetch(
+ "https://api.xero.com/connections",
+ {
+ method: "GET",
+ headers: {
+ Authorization: `Bearer ${auth.accessToken}`,
+ "Content-Type": "application/json"
+ }
+ }
+ );
+
+ if (!connectionsResponse.ok) {
+ return data(
+ { error: "Failed to fetch Xero connections" },
+ { status: 500 }
+ );
+ }
+
+ const connections = await connectionsResponse.json();
+
+ if (!Array.isArray(connections) || connections.length === 0) {
+ return data({ error: "No Xero connections found" }, { status: 500 });
+ }
+
+ // Get the first connection's tenant ID
+ const tenantId = connections[0].tenantId;
+
+ if (!tenantId) {
+ return data(
+ { error: "No tenant ID found in Xero connections" },
+ { status: 500 }
+ );
+ }
+
+ const createdXeroIntegration = await upsertCompanyIntegration(client, {
+ id: Xero.id,
+ active: true,
+ // @ts-ignore
+ metadata: {
+ ...auth,
+ tenantId
+ },
+ updatedBy: userId,
+ companyId: companyId
+ });
+
+ if (createdXeroIntegration?.data?.metadata) {
+ const requestUrl = new URL(request.url);
+
+ if (!VERCEL_URL || VERCEL_URL.includes("localhost")) {
+ requestUrl.protocol = "http";
+ }
+
+ const redirectUrl = `${requestUrl.origin}${path.to.integrations}`;
+
+ return redirect(redirectUrl);
+ } else {
+ return data(
+ { error: "Failed to save Xero integration" },
+ { status: 500 }
+ );
+ }
+ } catch (err) {
+ return data(
+ { error: "Failed to exchange code for token" },
+ { status: 500 }
+ );
+ }
+}
diff --git a/apps/erp/app/routes/api+/items.groups.ts b/apps/erp/app/routes/api+/items.groups.ts
index b9a9c528fb..49dfc34810 100644
--- a/apps/erp/app/routes/api+/items.groups.ts
+++ b/apps/erp/app/routes/api+/items.groups.ts
@@ -1,9 +1,34 @@
import { requirePermissions } from "@carbon/auth/auth.server";
-import type { LoaderFunctionArgs } from "react-router";
+import type {
+ ClientLoaderFunctionArgs,
+ LoaderFunctionArgs
+} from "react-router";
+
import { getItemPostingGroupsList } from "~/modules/items";
+import { getCompanyId, itemPostingGroupsQuery } from "~/utils/react-query";
export async function loader({ request }: LoaderFunctionArgs) {
const { client, companyId } = await requirePermissions(request, {});
return await getItemPostingGroupsList(client, companyId);
}
+
+export async function clientLoader({ serverLoader }: ClientLoaderFunctionArgs) {
+ const companyId = getCompanyId();
+
+ if (!companyId) {
+ return await serverLoader<typeof loader>();
+ }
+
+ const queryKey = itemPostingGroupsQuery(companyId).queryKey;
+ const data = window?.clientCache?.getQueryData<typeof loader>(queryKey);
+
+ if (!data) {
+ const serverData = await serverLoader<typeof loader>();
+ window?.clientCache?.setQueryData(queryKey, serverData);
+ return serverData;
+ }
+
+ return data;
+}
+clientLoader.hydrate = true;
diff --git a/apps/erp/app/routes/api+/kanban.$id.tsx b/apps/erp/app/routes/api+/kanban.$id.tsx
index 927008d30d..7b7de329cc 100644
--- a/apps/erp/app/routes/api+/kanban.$id.tsx
+++ b/apps/erp/app/routes/api+/kanban.$id.tsx
@@ -1,7 +1,6 @@
import { getCarbonServiceRole, notFound } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import type { Database } from "@carbon/database";
-import type { recalculateTask } from "@carbon/jobs/trigger/recalculate";
import { Loading } from "@carbon/react";
import { getLocalTimeZone, today } from "@internationalized/date";
import { FunctionRegion, type SupabaseClient } from "@supabase/supabase-js";
@@ -158,7 +157,7 @@ async function handleKanban({
if (!upsertMethod.error && kanban.data.autoRelease) {
await Promise.all([
- tasks.trigger<typeof recalculateTask>("recalculate", {
+ tasks.trigger("recalculate", {
type: "jobRequirements",
id,
companyId,
@@ -183,7 +182,7 @@ async function handleKanban({
serviceRole
.from("job")
.update({
- status: "Ready"
+ status: "Ready" as const
})
.eq("id", jobReadableId)
]);
diff --git a/apps/erp/app/routes/api+/sales.customer-contacts.$customerId.ts b/apps/erp/app/routes/api+/sales.customer-contacts.$customerId.ts
index 9ae70ef022..3efa0ad709 100644
--- a/apps/erp/app/routes/api+/sales.customer-contacts.$customerId.ts
+++ b/apps/erp/app/routes/api+/sales.customer-contacts.$customerId.ts
@@ -3,9 +3,9 @@ import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
import type {
ClientLoaderFunctionArgs,
- LoaderFunctionArgs,
- SerializeFrom
+ LoaderFunctionArgs
} from "react-router";
+
import { data } from "react-router";
import { getCustomerContacts } from "~/modules/sales";
import { customerContactsQuery } from "~/utils/react-query";
@@ -47,8 +47,7 @@ export async function clientLoader({
}
const queryKey = customerContactsQuery(customerId).queryKey;
- const data =
- window?.clientCache?.getQueryData<SerializeFrom<typeof loader>>(queryKey);
+ const data = window?.clientCache?.getQueryData<typeof loader>(queryKey);
if (!data) {
const serverData = await serverLoader<typeof loader>();
diff --git a/apps/erp/app/routes/api+/webhook.quickbooks.ts b/apps/erp/app/routes/api+/webhook.quickbooks.ts
new file mode 100644
index 0000000000..386efd9f54
--- /dev/null
+++ b/apps/erp/app/routes/api+/webhook.quickbooks.ts
@@ -0,0 +1,265 @@
+/**
+ * QuickBooks Webhook Handler
+ *
+ * This endpoint receives webhook notifications from QuickBooks when entities
+ * (customers, vendors, etc.) are created, updated, or deleted in QuickBooks.
+ *
+ * The webhook handler:
+ * 1. Validates the webhook payload structure
+ * 2. Verifies the webhook signature for security
+ * 3. Looks up the company integration by QuickBooks realm ID
+ * 4. Triggers background sync jobs to process the entity changes
+ *
+ * Supported entity types:
+ * - Customer: Synced to Carbon's customer table
+ * - Vendor: Synced to Carbon's supplier table
+ *
+ * The actual sync logic is handled asynchronously by the accounting-sync
+ * background job to prevent webhook timeouts and ensure reliability.
+ */
+
+import { getCarbonServiceRole, QUICKBOOKS_WEBHOOK_SECRET } from "@carbon/auth";
+import { tasks } from "@trigger.dev/sdk/v3";
+import crypto from "crypto";
+import { type ActionFunctionArgs, data } from "react-router";
+import { z } from "zod";
+
+export const config = {
+ runtime: "nodejs"
+};
+
+const quickbooksEventValidator = z.object({
+ eventNotifications: z.array(
+ z.object({
+ realmId: z.string(),
+ dataChangeEvent: z.object({
+ entities: z.array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ operation: z.enum(["Create", "Update", "Delete"])
+ })
+ )
+ })
+ })
+ )
+});
+
+function verifyQuickBooksSignature(
+ payload: string,
+ signature: string
+): boolean {
+ if (!QUICKBOOKS_WEBHOOK_SECRET) {
+ console.warn("QUICKBOOKS_WEBHOOK_SECRET is not set");
+ return true;
+ }
+
+ const expectedSignature = crypto
+ .createHmac("sha256", QUICKBOOKS_WEBHOOK_SECRET)
+ .update(payload)
+ .digest("base64");
+
+ return crypto.timingSafeEqual(
+ Buffer.from(signature),
+ Buffer.from(expectedSignature)
+ );
+}
+
+async function triggerAccountingSync(
+ companyId: string,
+ realmId: string,
+ entities: Array<{
+ entityType: "customer" | "vendor";
+ entityId: string;
+ operation: "Create" | "Update" | "Delete";
+ }>
+) {
+ // Prepare the payload for the accounting sync job
+ const payload = {
+ companyId,
+ provider: "quickbooks" as const,
+ syncType: "webhook" as const,
+ syncDirection: "fromAccounting" as const,
+ entities: entities.map((entity) => ({
+ entityType: entity.entityType,
+ entityId: entity.entityId,
+ operation: entity.operation.toLowerCase() as
+ | "create"
+ | "update"
+ | "delete",
+ externalId: entity.entityId // In QuickBooks, the entity ID is the external ID
+ })),
+ metadata: {
+ tenantId: realmId,
+ webhookId: crypto.randomUUID(),
+ timestamp: new Date().toISOString()
+ }
+ };
+
+ // Trigger the background job using Trigger.dev
+ const handle = await tasks.trigger("accounting-sync", payload);
+
+ console.log(
+ `Triggered accounting sync job ${handle.id} for ${entities.length} entities`
+ );
+
+ return handle;
+}
+
+export async function action({ request, params }: ActionFunctionArgs) {
+ const serviceRole = await getCarbonServiceRole();
+
+ // Parse and validate the webhook payload
+ const payload = await request.clone().json();
+ const parsedPayload = quickbooksEventValidator.safeParse(payload);
+
+ if (!parsedPayload.success) {
+ console.error("Invalid QuickBooks webhook payload:", parsedPayload.error);
+ return data(
+ {
+ success: false,
+ error: "Invalid payload format"
+ },
+ { status: 400 }
+ );
+ }
+
+ // Verify webhook signature for security
+ const payloadText = await request.text();
+ const signatureHeader = request.headers.get("intuit-signature");
+
+ if (!signatureHeader) {
+ console.warn("QuickBooks webhook received without signature");
+ return data(
+ {
+ success: false,
+ error: "Missing signature"
+ },
+ { status: 401 }
+ );
+ }
+
+ const requestIsValid = verifyQuickBooksSignature(
+ payloadText,
+ signatureHeader
+ );
+
+ if (!requestIsValid) {
+ console.error("QuickBooks webhook signature verification failed");
+ return data(
+ {
+ success: false,
+ error: "Invalid signature"
+ },
+ { status: 401 }
+ );
+ }
+
+ console.log(
+ "Processing QuickBooks webhook with",
+ parsedPayload.data.eventNotifications.length,
+ "events"
+ );
+
+ const events = parsedPayload.data.eventNotifications;
+ const syncJobs = [];
+ const errors = [];
+
+ // Process each event notification
+ for (const event of events) {
+ try {
+ const { realmId, dataChangeEvent } = event;
+
+ // Find the company integration for this QuickBooks realm
+ const companyIntegration = await serviceRole
+ .from("companyIntegration")
+ .select("*")
+ .eq("metadata->>tenantId", realmId)
+ .eq("id", "quickbooks")
+ .single();
+
+ if (companyIntegration.error || !companyIntegration.data.companyId) {
+ console.error(`No QuickBooks integration found for realm ${realmId}`);
+ errors.push({
+ realmId,
+ error: "Integration not found"
+ });
+ continue;
+ }
+
+ const companyId = companyIntegration.data.companyId;
+ const { entities } = dataChangeEvent;
+
+ // Group entities by type for efficient batch processing
+ const entitiesToSync: Array<{
+ entityType: "customer" | "vendor";
+ entityId: string;
+ operation: "Create" | "Update" | "Delete";
+ }> = [];
+
+ for (const entity of entities) {
+ const { id, name, operation } = entity;
+
+ // Log each entity change for debugging
+ console.log(
+ `QuickBooks ${operation}: ${name} ${id} (realm: ${realmId})`
+ );
+
+ // Map QuickBooks entity types to our internal types
+ if (name === "Customer") {
+ entitiesToSync.push({
+ entityType: "customer",
+ entityId: id,
+ operation
+ });
+ } else if (name === "Vendor") {
+ entitiesToSync.push({
+ entityType: "vendor",
+ entityId: id,
+ operation
+ });
+ } else {
+ console.log(`Skipping unsupported entity type: ${name}`);
+ }
+ }
+
+ // Trigger background sync job if there are entities to process
+ if (entitiesToSync.length > 0) {
+ try {
+ const jobHandle = await triggerAccountingSync(
+ companyId,
+ realmId,
+ entitiesToSync
+ );
+ syncJobs.push({
+ id: jobHandle.id,
+ companyId,
+ realmId,
+ entityCount: entitiesToSync.length
+ });
+ } catch (error) {
+ console.error("Failed to trigger sync job:", error);
+ errors.push({
+ realmId,
+ error:
+ error instanceof Error ? error.message : "Failed to trigger job"
+ });
+ }
+ }
+ } catch (error) {
+ console.error("Error processing event:", error);
+ errors.push({
+ error: error instanceof Error ? error.message : "Unknown error"
+ });
+ }
+ }
+
+ // Return detailed response
+ return {
+ success: errors.length === 0,
+ jobsTriggered: syncJobs.length,
+ jobs: syncJobs,
+ errors: errors.length > 0 ? errors : undefined,
+ timestamp: new Date().toISOString()
+ };
+}
diff --git a/apps/erp/app/routes/api+/webhook.xero.ts b/apps/erp/app/routes/api+/webhook.xero.ts
new file mode 100644
index 0000000000..fd87d64aa9
--- /dev/null
+++ b/apps/erp/app/routes/api+/webhook.xero.ts
@@ -0,0 +1,457 @@
+/**
+ * Xero Webhook Handler
+ *
+ * This endpoint receives webhook notifications from Xero when entities
+ * (contacts, invoices, etc.) are created, updated, or deleted in Xero.
+ *
+ * The webhook handler implements Xero's intent-to-receive workflow:
+ * 1. Validates the webhook signature for security
+ * 2. Returns HTTP 200 for valid signatures (intent-to-receive)
+ * 3. Once Xero confirms the webhook is working, processes actual events
+ * 4. Looks up the company integration by Xero tenant ID
+ * 5. Triggers background sync jobs to process the entity changes
+ *
+ * Supported entity types:
+ * - Contact: Synced to Carbon's customer/supplier table (based on IsCustomer/IsSupplier flags)
+ * - Invoice: Synced to Carbon's invoice table
+ *
+ * The actual sync logic is handled asynchronously by the accounting-sync
+ * background job to prevent webhook timeouts and ensure reliability.
+ */
+
+import {
+ getCarbonServiceRole,
+ XERO_CLIENT_ID,
+ XERO_CLIENT_SECRET,
+ XERO_WEBHOOK_SECRET
+} from "@carbon/auth";
+import {
+ AccountingEntity,
+ AccountingSyncPayload,
+ ProviderID
+} from "@carbon/ee/accounting";
+import { XeroProvider } from "@carbon/ee/xero";
+import { tasks } from "@trigger.dev/sdk/v3";
+import crypto from "crypto";
+import { type ActionFunctionArgs, data } from "react-router";
+import { z } from "zod";
+
+export const config = {
+ runtime: "nodejs"
+};
+
+const WebhookSchema = z.object({
+ entropy: z.string().optional(),
+ events: z.array(
+ z.object({
+ tenantId: z.string(),
+ eventCategory: z.enum(["INVOICE", "CONTACT"]),
+ eventType: z.enum(["CREATE", "UPDATE", "DELETE"]),
+ resourceId: z.string(),
+ eventDateUtc: z.string()
+ })
+ ),
+ firstEventSequence: z.number(),
+ lastEventSequence: z.number()
+});
+
+async function verifySignature(payload: string, header: string) {
+ if (!XERO_WEBHOOK_SECRET) {
+ console.warn("XERO_WEBHOOK_SECRET is not configured");
+ return payload;
+ }
+
+ const hmac = crypto
+ .createHmac("sha256", XERO_WEBHOOK_SECRET)
+ .update(payload, "utf8")
+ .digest("base64");
+
+ return crypto.timingSafeEqual(Buffer.from(hmac), Buffer.from(header));
+}
+
+async function fetchInvoiceAndDetermineContactType(
+ companyId: string,
+ tenantId: string,
+ invoiceId: string,
+ serviceRole: any
+): Promise<{
+ contactId: string;
+ entityType: "customer" | "vendor" | "both";
+ isCustomer: boolean;
+ isSupplier: boolean;
+ invoiceType: "ACCREC" | "ACCPAY";
+}> {
+ try {
+ // Get the Xero integration credentials
+ const integration = await serviceRole
+ .from("companyIntegration")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("id", "xero")
+ .single();
+
+ if (integration.error || !integration.data) {
+ throw new Error("Xero integration not found");
+ }
+
+ const { accessToken, refreshToken, tenantId } =
+ integration.data.metadata || {};
+
+ if (!accessToken) {
+ throw new Error("No access token available for Xero integration");
+ }
+
+ const provider = new XeroProvider({
+ clientId: XERO_CLIENT_ID!,
+ clientSecret: XERO_CLIENT_SECRET!,
+ tenantId,
+ companyId
+ });
+
+ // Fetch the invoice to get the contact ID and type
+ const invoiceData = await provider.invoices.get(invoiceId);
+ const xeroInvoice = invoiceData.Invoices?.[0];
+
+ if (!xeroInvoice) {
+ throw new Error(`Invoice ${invoiceId} not found`);
+ }
+
+ const contactId = xeroInvoice.Contact?.ContactID;
+ const invoiceType = xeroInvoice.Type; // ACCREC (receivable/customer) or ACCPAY (payable/supplier)
+
+ if (!contactId) {
+ throw new Error(`No contact found for invoice ${invoiceId}`);
+ }
+
+ // Now fetch the contact details
+ const xeroContact = await provider.contacts.get(contactId);
+
+ if (!xeroContact) {
+ throw new Error(`Contact ${contactId} not found`);
+ }
+
+ // Check IsCustomer and IsSupplier fields from Xero
+ const isCustomer = xeroContact.IsCustomer === true;
+ const isSupplier = xeroContact.IsSupplier === true;
+
+ console.log(
+ `Invoice ${invoiceId} (${invoiceType}) - Contact ${contactId} (${xeroContact.Name}) - IsCustomer: ${isCustomer}, IsSupplier: ${isSupplier}`
+ );
+
+ // Determine entity type based on flags and invoice type
+ let entityType: "customer" | "vendor" | "both";
+
+ if (isCustomer && isSupplier) {
+ entityType = "both";
+ } else if (invoiceType === "ACCPAY" || isSupplier) {
+ // Accounts payable (bills) or supplier flag = vendor
+ entityType = "vendor";
+ } else {
+ // Accounts receivable (invoices) or customer flag = customer (default)
+ entityType = "customer";
+ }
+
+ return { contactId, entityType, isCustomer, isSupplier, invoiceType };
+ } catch (error) {
+ console.error(`Error fetching invoice ${invoiceId}:`, error);
+ // Default based on typical patterns
+ throw error;
+ }
+}
+
+async function fetchContactAndDetermineType(
+ companyId: string,
+ tenantId: string,
+ contactId: string,
+ serviceRole: any
+): Promise<{
+ entityType: "customer" | "vendor" | "both";
+ isCustomer: boolean;
+ isSupplier: boolean;
+}> {
+ try {
+ // Get the Xero integration credentials
+ const integration = await serviceRole
+ .from("companyIntegration")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("id", XeroProvider.id)
+ .single();
+
+ if (integration.error || !integration.data) {
+ throw new Error("Xero integration not found");
+ }
+
+ const metadata = integration.data.metadata || {};
+
+ const { accessToken, refreshToken } = metadata;
+
+ if (!accessToken) {
+ throw new Error("No access token available for Xero integration");
+ }
+
+ const provider = new XeroProvider({
+ clientId: XERO_CLIENT_ID!,
+ clientSecret: XERO_CLIENT_SECRET!,
+ accessToken,
+ refreshToken,
+ tenantId: metadata.tenantId ?? tenantId,
+ companyId
+ });
+
+ const contact = await provider.contacts.get(contactId);
+
+ const isCustomer = contact.isCustomer;
+ const isSupplier = contact.isVendor;
+
+ // Determine entity type based on flags
+ let entityType: "customer" | "vendor" | "both";
+
+ if (isCustomer && isSupplier) {
+ entityType = "both";
+ } else if (isSupplier) {
+ entityType = "vendor";
+ } else {
+ // Default to customer if only customer or neither flag is set
+ entityType = "customer";
+ }
+
+ return { entityType, isCustomer, isSupplier };
+ } catch (error) {
+ console.error(`Error fetching contact ${contactId}:`, error);
+ // Default to customer if we can't fetch the contact
+ return { entityType: "customer", isCustomer: true, isSupplier: false };
+ }
+}
+
+export async function action({ request }: ActionFunctionArgs) {
+ // Get the raw payload for signature verification
+ const payloadText = await request.text();
+
+ // Verify webhook signature for security (Xero's intent-to-receive workflow)
+ if (XERO_WEBHOOK_SECRET) {
+ // If payload is empty or just contains intent-to-receive data, return 200
+ if (!payloadText || payloadText.trim() === "" || payloadText === "{}") {
+ return new Response("", { status: 200 });
+ }
+
+ const signature = request.headers.get("x-xero-signature");
+
+ if (!signature) {
+ return data(
+ { success: false, error: "Missing signature" },
+ { status: 401 }
+ );
+ }
+
+ const isValid = verifySignature(payloadText, signature);
+
+ if (!isValid) {
+ return data(
+ {
+ success: false,
+ error: "Invalid signature"
+ },
+ { status: 401 }
+ );
+ }
+ }
+
+ // Parse and validate the webhook payload for actual events
+ let payload;
+ try {
+ payload = JSON.parse(payloadText);
+ } catch (error) {
+ console.error("Failed to parse webhook payload:", error);
+ return data(
+ {
+ success: false,
+ error: "Invalid JSON payload"
+ },
+ { status: 400 }
+ );
+ }
+
+ const parsed = WebhookSchema.safeParse(payload);
+
+ if (!parsed.success) {
+ console.error("Invalid Xero webhook payload:", parsed.error);
+ return data(
+ {
+ success: false,
+ error: "Invalid payload format"
+ },
+ { status: 400 }
+ );
+ }
+
+ console.log(
+ "Processing Xero webhook with",
+ parsed.data.events.length,
+ "events"
+ );
+
+ const serviceRole = await getCarbonServiceRole();
+ const events = parsed.data.events;
+ const syncJobs = [];
+ const errors = [];
+
+ // Group events by tenant ID for efficient processing
+ const eventsByTenant = events.reduce(
+ (acc, event) => {
+ if (!acc[event.tenantId]) {
+ acc[event.tenantId] = [];
+ }
+ acc[event.tenantId].push(event);
+ return acc;
+ },
+ {} as Record<string, typeof events>
+ );
+
+ // Process events for each tenant
+ for (const [tenantId, tenantEvents] of Object.entries(eventsByTenant)) {
+ try {
+ // Find the company integration for this Xero tenant by checking metadata
+ const { data: integrations } = await serviceRole
+ .from("companyIntegration")
+ .select("*")
+ .eq("id", "xero" as any);
+
+ if (!integrations || integrations.length === 0) {
+ console.error(`No Xero integration found for tenant ${tenantId}`);
+ errors.push({
+ tenantId,
+ error: "Integration not found"
+ });
+ continue;
+ }
+
+ // Find the integration that matches this tenant ID
+ const found = integrations.find(
+ (integration: any) => integration.metadata?.tenantId === tenantId
+ );
+
+ if (!found) {
+ console.error(`No Xero integration found for tenant ${tenantId}`);
+ errors.push({
+ tenantId,
+ error: "Tenant ID not found in integrations"
+ });
+ continue;
+ }
+
+ const companyId = found.companyId;
+
+ // Group entities by type for efficient batch processing
+ const entities: Array<AccountingEntity> = [];
+
+ for (const event of tenantEvents) {
+ const { resourceId, eventCategory } = event;
+
+ const operation = event.eventType.toLowerCase() as Lowercase<
+ AccountingEntity["operation"]
+ >;
+
+ // Log each entity change for debugging
+ console.log(
+ `Xero ${operation}: ${eventCategory} ${resourceId} (tenant: ${tenantId})`
+ );
+
+ switch (eventCategory) {
+ case "CONTACT": {
+ // Fetch the contact from Xero to determine if it's a customer or vendor
+ const contactInfo = await fetchContactAndDetermineType(
+ companyId,
+ tenantId,
+ resourceId,
+ serviceRole
+ );
+
+ // If the contact is both customer and supplier, sync to both tables
+ if (contactInfo.entityType === "both") {
+ console.log(
+ `Contact ${resourceId} is both customer and supplier, syncing to both`
+ );
+
+ // Add as customer
+ entities.push({
+ operation,
+ entityType: "customer",
+ entityId: resourceId
+ });
+
+ // Add as vendor
+ entities.push({
+ operation,
+ entityType: "vendor",
+ entityId: resourceId
+ });
+ } else {
+ // Add as either customer or vendor based on the determination
+ entities.push({
+ operation,
+ entityType: contactInfo.entityType,
+ entityId: resourceId
+ });
+ }
+ }
+ }
+ }
+
+ // Trigger background sync job if there are entities to process
+ if (entities.length > 0) {
+ try {
+ // Prepare the payload for the accounting sync job
+ const payload: AccountingSyncPayload = {
+ companyId,
+ provider: ProviderID.XERO,
+ syncType: "webhook",
+ syncDirection: "to-accounting",
+ entities,
+ metadata: {
+ tenantId: tenantId
+ }
+ };
+
+ console.dir(payload, { depth: null });
+
+ // Trigger the background job using Trigger.dev
+ const handle = await tasks.trigger("accounting-sync", payload);
+
+ console.log(
+ `Triggered accounting sync job ${handle.id} for ${entities.length} entities`
+ );
+
+ syncJobs.push({
+ id: handle.id,
+ companyId,
+ tenantId,
+ entityCount: entities.length
+ });
+ } catch (error) {
+ console.error("Failed to trigger sync job:", error);
+ errors.push({
+ tenantId,
+ error:
+ error instanceof Error ? error.message : "Failed to trigger job"
+ });
+ }
+ }
+ } catch (error) {
+ console.error("Error processing events for tenant:", tenantId, error);
+ errors.push({
+ tenantId,
+ error: error instanceof Error ? error.message : "Unknown error"
+ });
+ }
+ }
+
+ // Return detailed response
+ return {
+ success: errors.length === 0,
+ jobsTriggered: syncJobs.length,
+ jobs: syncJobs,
+ errors: errors.length > 0 ? errors : undefined,
+ timestamp: new Date().toISOString()
+ };
+}
diff --git a/apps/erp/app/routes/x+/api+/_layout.tsx b/apps/erp/app/routes/x+/api+/_layout.tsx
index b99c719d9b..f095cf1dab 100644
--- a/apps/erp/app/routes/x+/api+/_layout.tsx
+++ b/apps/erp/app/routes/x+/api+/_layout.tsx
@@ -83,10 +83,12 @@ export default function ApiDocsRoute() {
const tableBlacklist = new Set([
"apiKey",
+ "challengeAttempt",
"documentTransaction",
"feedback",
"groups_recursive",
"invite",
+ "lessonCompletion",
"oauthClient",
"oauthCode",
"oauthToken",
diff --git a/apps/erp/app/routes/x+/consumable+/$itemId.view.costing.tsx b/apps/erp/app/routes/x+/consumable+/$itemId.view.costing.tsx
index d660a97c7e..e6b22fff22 100644
--- a/apps/erp/app/routes/x+/consumable+/$itemId.view.costing.tsx
+++ b/apps/erp/app/routes/x+/consumable+/$itemId.view.costing.tsx
@@ -92,6 +92,7 @@ export default function ConsumableCostingRoute() {
key={itemCost.itemId}
initialValues={{
...itemCost,
+ itemPostingGroupId: itemCost.itemPostingGroupId ?? undefined,
...getCustomFields(itemCost.customFields)
}}
/>
diff --git a/apps/erp/app/routes/x+/consumable+/$itemId.view.details.tsx b/apps/erp/app/routes/x+/consumable+/$itemId.view.details.tsx
index caa9560e71..d337f4ffb6 100644
--- a/apps/erp/app/routes/x+/consumable+/$itemId.view.details.tsx
+++ b/apps/erp/app/routes/x+/consumable+/$itemId.view.details.tsx
@@ -13,7 +13,7 @@ import { consumableValidator, upsertConsumable } from "~/modules/items";
import {
ItemDocuments,
ItemNotes,
- ItemRiskRegister,
+ ItemRiskRegister
} from "~/modules/items/ui/Item";
import { setCustomFields } from "~/utils/form";
diff --git a/apps/erp/app/routes/x+/customer+/$customerId.contacts.new.tsx b/apps/erp/app/routes/x+/customer+/$customerId.contacts.new.tsx
index 87af9aebb7..866ab5b8ea 100644
--- a/apps/erp/app/routes/x+/customer+/$customerId.contacts.new.tsx
+++ b/apps/erp/app/routes/x+/customer+/$customerId.contacts.new.tsx
@@ -96,7 +96,9 @@ export async function action({ request, params }: ActionFunctionArgs) {
}
return modal
- ? createCustomerContact
+ ? data(error(createCustomerContact.error, errorMessage), {
+ status: 400
+ })
: redirect(
path.to.customerContacts(customerId),
await flash(request, error(createCustomerContact.error, errorMessage))
diff --git a/apps/erp/app/routes/x+/customer+/$customerId.details.tsx b/apps/erp/app/routes/x+/customer+/$customerId.details.tsx
index d4bf58b0e6..5847c357b0 100644
--- a/apps/erp/app/routes/x+/customer+/$customerId.details.tsx
+++ b/apps/erp/app/routes/x+/customer+/$customerId.details.tsx
@@ -68,9 +68,9 @@ export default function CustomerEditRoute() {
taxId: routeData?.customer?.taxId ?? "",
currencyCode: routeData?.customer?.currencyCode ?? undefined,
taxPercent: routeData?.customer?.taxPercent ?? 0,
- phone: routeData?.customer?.phone ?? "",
- fax: routeData?.customer?.fax ?? "",
website: routeData?.customer?.website ?? "",
+ salesContactId: routeData?.customer?.salesContactId ?? undefined,
+ invoicingContactId: routeData?.customer?.invoicingContactId ?? undefined,
...getCustomFields(routeData?.customer?.customFields)
};
diff --git a/apps/erp/app/routes/x+/inventory+/shelves.delete.$shelfId.tsx b/apps/erp/app/routes/x+/inventory+/shelves.delete.$shelfId.tsx
index 1a8890fe37..0c7465ee24 100644
--- a/apps/erp/app/routes/x+/inventory+/shelves.delete.$shelfId.tsx
+++ b/apps/erp/app/routes/x+/inventory+/shelves.delete.$shelfId.tsx
@@ -1,6 +1,7 @@
import { error, notFound, success } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
+import { validationError, validator } from "@carbon/form";
import type {
ActionFunctionArgs,
ClientActionFunctionArgs,
@@ -8,9 +9,9 @@ import type {
} from "react-router";
import { redirect, useLoaderData, useNavigate, useParams } from "react-router";
import { ConfirmDelete } from "~/components/Modals";
-import { deleteShelf, getShelf } from "~/modules/inventory";
+import { deleteShelf, getShelf, shelfValidator } from "~/modules/inventory";
import { getParams, path } from "~/utils/path";
-import { getCompanyId } from "~/utils/react-query";
+import { getCompanyId, shelvesQuery } from "~/utils/react-query";
export async function loader({ request, params }: LoaderFunctionArgs) {
const { client } = await requirePermissions(request, {
@@ -57,7 +58,10 @@ export async function action({ request, params }: ActionFunctionArgs) {
);
}
-export async function clientAction({ serverAction }: ClientActionFunctionArgs) {
+export async function clientAction({
+ request,
+ serverAction
+}: ClientActionFunctionArgs) {
const companyId = getCompanyId();
window.clientCache?.invalidateQueries({
@@ -66,7 +70,19 @@ export async function clientAction({ serverAction }: ClientActionFunctionArgs) {
return queryKey[0] === "shelves" && queryKey[1] === companyId;
}
});
+ const formData = await request.clone().formData();
+ const validation = await validator(shelfValidator).validate(formData);
+ if (validation.error) {
+ return validationError(validation.error);
+ }
+
+ if (companyId && validation.data.locationId) {
+ window.clientCache?.setQueryData(
+ shelvesQuery(companyId, validation.data.locationId).queryKey,
+ null
+ );
+ }
return await serverAction();
}
diff --git a/apps/erp/app/routes/x+/items+/groups.$groupId.tsx b/apps/erp/app/routes/x+/items+/groups.$groupId.tsx
index 5e2a131627..1517ee3fe6 100644
--- a/apps/erp/app/routes/x+/items+/groups.$groupId.tsx
+++ b/apps/erp/app/routes/x+/items+/groups.$groupId.tsx
@@ -2,7 +2,11 @@ import { assertIsPost, error, notFound, success } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
import { validationError, validator } from "@carbon/form";
-import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";
+import type {
+ ActionFunctionArgs,
+ ClientActionFunctionArgs,
+ LoaderFunctionArgs
+} from "react-router";
import { data, redirect, useLoaderData, useNavigate } from "react-router";
import {
getItemPostingGroup,
@@ -12,6 +16,7 @@ import {
import { ItemPostingGroupForm } from "~/modules/items/ui/ItemPostingGroups";
import { getCustomFields, setCustomFields } from "~/utils/form";
import { getParams, path } from "~/utils/path";
+import { getCompanyId, itemPostingGroupsQuery } from "~/utils/react-query";
export async function loader({ request, params }: LoaderFunctionArgs) {
const { client } = await requirePermissions(request, {
@@ -70,6 +75,22 @@ export async function action({ request, params }: ActionFunctionArgs) {
);
}
+export async function clientAction({ serverAction }: ClientActionFunctionArgs) {
+ const companyId = getCompanyId();
+
+ window.clientCache?.invalidateQueries({
+ predicate: (query) => {
+ const queryKey = query.queryKey as string[];
+ return (
+ queryKey[0] === itemPostingGroupsQuery(companyId).queryKey[0] &&
+ queryKey[1] === companyId
+ );
+ }
+ });
+
+ return await serverAction();
+}
+
export default function EditItemPostingGroupsRoute() {
const { itemPostingGroup } = useLoaderData<typeof loader>();
const navigate = useNavigate();
diff --git a/apps/erp/app/routes/x+/items+/groups.delete.$groupId.tsx b/apps/erp/app/routes/x+/items+/groups.delete.$groupId.tsx
index 2a2926573b..97a2ddc246 100644
--- a/apps/erp/app/routes/x+/items+/groups.delete.$groupId.tsx
+++ b/apps/erp/app/routes/x+/items+/groups.delete.$groupId.tsx
@@ -1,11 +1,16 @@
import { error, notFound, success } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
-import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";
+import type {
+ ActionFunctionArgs,
+ ClientActionFunctionArgs,
+ LoaderFunctionArgs
+} from "react-router";
import { redirect, useLoaderData, useNavigate, useParams } from "react-router";
import { ConfirmDelete } from "~/components/Modals";
import { deleteItemPostingGroup, getItemPostingGroup } from "~/modules/items";
import { getParams, path } from "~/utils/path";
+import { getCompanyId, itemPostingGroupsQuery } from "~/utils/react-query";
export async function loader({ request, params }: LoaderFunctionArgs) {
const { client } = await requirePermissions(request, {
@@ -61,6 +66,14 @@ export async function action({ request, params }: ActionFunctionArgs) {
);
}
+export async function clientAction({ serverAction }: ClientActionFunctionArgs) {
+ window.clientCache?.setQueryData(
+ itemPostingGroupsQuery(getCompanyId()).queryKey,
+ null
+ );
+ return await serverAction();
+}
+
export default function DeleteItemPostingGroupRoute() {
const { groupId } = useParams();
if (!groupId) throw new Error("groupId not found");
diff --git a/apps/erp/app/routes/x+/items+/groups.new.tsx b/apps/erp/app/routes/x+/items+/groups.new.tsx
index 48789df605..0da0293714 100644
--- a/apps/erp/app/routes/x+/items+/groups.new.tsx
+++ b/apps/erp/app/routes/x+/items+/groups.new.tsx
@@ -2,7 +2,11 @@ import { assertIsPost, error, success } from "@carbon/auth";
import { requirePermissions } from "@carbon/auth/auth.server";
import { flash } from "@carbon/auth/session.server";
import { validationError, validator } from "@carbon/form";
-import type { ActionFunctionArgs, LoaderFunctionArgs } from "react-router";
+import type {
+ ActionFunctionArgs,
+ ClientActionFunctionArgs,
+ LoaderFunctionArgs
+} from "react-router";
import { data, redirect, useNavigate } from "react-router";
import {
itemPostingGroupValidator,
@@ -11,6 +15,7 @@ import {
import { ItemPostingGroupForm } from "~/modules/items/ui/ItemPostingGroups";
import { setCustomFields } from "~/utils/form";
import { getParams, path } from "~/utils/path";
+import { getCompanyId, itemPostingGroupsQuery } from "~/utils/react-query";
export async function loader({ request }: LoaderFunctionArgs) {
await requirePermissions(request, {
@@ -75,6 +80,14 @@ export async function action({ request }: ActionFunctionArgs) {
);
}
+export async function clientAction({ serverAction }: ClientActionFunctionArgs) {
+ window.clientCache?.setQueryData(
+ itemPostingGroupsQuery(getCompanyId()).queryKey,
+ null
+ );
+ return await serverAction();
+}
+
export default function NewItemPostingGroupsRoute() {
const navigate = useNavigate();
const initialValues = {
diff --git a/apps/erp/app/routes/x+/items+/update.tsx b/apps/erp/app/routes/x+/items+/update.tsx
index 3e033eb11c..3e3160c99f 100644
--- a/apps/erp/app/routes/x+/items+/update.tsx
+++ b/apps/erp/app/routes/x+/items+/update.tsx
@@ -2,6 +2,7 @@ import { requirePermissions } from "@carbon/auth/auth.server";
import type { Database } from "@carbon/database";
import { getMaterialDescription, getMaterialId } from "@carbon/utils";
import { type ActionFunctionArgs } from "react-router";
+
import { getCompanySettings } from "~/modules/settings";
export async function action({ request }: ActionFunctionArgs) {
@@ -24,7 +25,6 @@ export async function action({ request }: ActionFunctionArgs) {
case "name":
case "replenishmentSystem":
case "unitOfMeasureCode":
- // For other fields, just update the specified field
if (field === "replenishmentSystem" && value !== "Buy and Make") {
return await client
.from("item")
@@ -279,6 +279,61 @@ export async function action({ request }: ActionFunctionArgs) {
})
.in("id", items as string[])
.eq("companyId", companyId);
+
+ case "itemPostingGroupId":
+ // Update itemCost table for all selected items
+ const itemCostUpdates = await Promise.all(
+ (items as string[]).map(async (itemId) => {
+ const existingCost = await client
+ .from("itemCost")
+ .select("itemId")
+ .eq("itemId", itemId)
+ .single();
+
+ if (existingCost.data) {
+ // Update existing record
+ return client
+ .from("itemCost")
+ .update({
+ itemPostingGroupId: value || null,
+ updatedBy: userId,
+ updatedAt: new Date().toISOString()
+ })
+ .eq("itemId", itemId);
+ } else {
+ // Create new record
+ return client.from("itemCost").insert({
+ itemId,
+ itemPostingGroupId: value || null,
+ costingMethod: "Standard",
+ standardCost: 0,
+ unitCost: 0,
+ costIsAdjusted: false,
+ companyId,
+ createdBy: userId,
+ updatedBy: userId,
+ createdAt: new Date().toISOString(),
+ updatedAt: new Date().toISOString()
+ });
+ }
+ })
+ );
+
+ // Check for any errors
+ const errors = itemCostUpdates.filter((result) => result.error);
+ if (errors.length > 0) {
+ return {
+ error: {
+ message: errors[0].error?.message || "Failed to update item costs"
+ },
+ data: null
+ };
+ }
+
+ return {
+ data: null,
+ error: null
+ };
case "partId":
if (items.length > 1) {
return {
diff --git a/apps/erp/app/routes/x+/job+/$jobId.details.tsx b/apps/erp/app/routes/x+/job+/$jobId.details.tsx
index a94995805e..945316f5f0 100644
--- a/apps/erp/app/routes/x+/job+/$jobId.details.tsx
+++ b/apps/erp/app/routes/x+/job+/$jobId.details.tsx
@@ -38,7 +38,7 @@ import {
import {
JobDocuments,
JobNotes,
- JobRiskRegister,
+ JobRiskRegister
} from "~/modules/production/ui/Jobs";
import PurchasingStatus from "~/modules/purchasing/ui/PurchaseOrder/PurchasingStatus";
import { useItems } from "~/stores";
diff --git a/apps/erp/app/routes/x+/material+/$itemId.view.costing.tsx b/apps/erp/app/routes/x+/material+/$itemId.view.costing.tsx
index cb98555c8a..37125f363d 100644
--- a/apps/erp/app/routes/x+/material+/$itemId.view.costing.tsx
+++ b/apps/erp/app/routes/x+/material+/$itemId.view.costing.tsx
@@ -92,6 +92,7 @@ export default function MaterialCostingRoute() {
key={itemCost.itemId}
initialValues={{
...itemCost,
+ itemPostingGroupId: itemCost.itemPostingGroupId ?? undefined,
...getCustomFields(itemCost.customFields)
}}
/>
diff --git a/apps/erp/app/routes/x+/material+/$itemId.view.details.tsx b/apps/erp/app/routes/x+/material+/$itemId.view.details.tsx
index c5a746e1bb..4345710640 100644
--- a/apps/erp/app/routes/x+/material+/$itemId.view.details.tsx
+++ b/apps/erp/app/routes/x+/material+/$itemId.view.details.tsx
@@ -13,7 +13,7 @@ import { materialValidator, upsertMaterial } from "~/modules/items";
import {
ItemDocuments,
ItemNotes,
- ItemRiskRegister,
+ ItemRiskRegister
} from "~/modules/items/ui/Item";
import { setCustomFields } from "~/utils/form";
import { path } from "~/utils/path";
diff --git a/apps/erp/app/routes/x+/part+/$itemId.view.costing.tsx b/apps/erp/app/routes/x+/part+/$itemId.view.costing.tsx
index 8925d91a0b..5e93d893e9 100644
--- a/apps/erp/app/routes/x+/part+/$itemId.view.costing.tsx
+++ b/apps/erp/app/routes/x+/part+/$itemId.view.costing.tsx
@@ -89,6 +89,7 @@ export default function PartCostingRoute() {
key={itemCost.itemId}
initialValues={{
...itemCost,
+ itemPostingGroupId: itemCost.itemPostingGroupId ?? undefined,
...getCustomFields(itemCost.customFields)
}}
/>
diff --git a/apps/erp/app/routes/x+/part+/$itemId.view.details.tsx b/apps/erp/app/routes/x+/part+/$itemId.view.details.tsx
index 754cd89d07..ab65b827ce 100644
--- a/apps/erp/app/routes/x+/part+/$itemId.view.details.tsx
+++ b/apps/erp/app/routes/x+/part+/$itemId.view.details.tsx
@@ -14,7 +14,7 @@ import { partValidator, upsertPart } from "~/modules/items";
import {
ItemDocuments,
ItemNotes,
- ItemRiskRegister,
+ ItemRiskRegister
} from "~/modules/items/ui/Item";
import { setCustomFields } from "~/utils/form";
import { path } from "~/utils/path";
diff --git a/apps/erp/app/routes/x+/settings+/integrations.tsx b/apps/erp/app/routes/x+/settings+/integrations.tsx
index f54ee66edf..8828e42d6a 100644
--- a/apps/erp/app/routes/x+/settings+/integrations.tsx
+++ b/apps/erp/app/routes/x+/settings+/integrations.tsx
@@ -11,6 +11,10 @@ import {
import { getIntegrations, IntegrationsList } from "~/modules/settings";
import { path } from "~/utils/path";
+export const config = {
+ runtime: "nodejs"
+};
+
export async function loader({ request }: LoaderFunctionArgs) {
const { client, companyId } = await requirePermissions(request, {
view: "settings"
@@ -30,7 +34,8 @@ export async function loader({ request }: LoaderFunctionArgs) {
return {
installedIntegrations: (integrations.data
.filter((i) => i.active)
- .map((i) => i.id) ?? []) as string[]
+ .map((i) => i.id) ?? []) as string[],
+ state: crypto.randomUUID()
};
}
diff --git a/apps/erp/app/routes/x+/supplier+/$supplierId.details.tsx b/apps/erp/app/routes/x+/supplier+/$supplierId.details.tsx
index f1adf9c2d9..d695b120d9 100644
--- a/apps/erp/app/routes/x+/supplier+/$supplierId.details.tsx
+++ b/apps/erp/app/routes/x+/supplier+/$supplierId.details.tsx
@@ -66,9 +66,9 @@ export default function SupplierEditRoute() {
accountManagerId: routeData?.supplier?.accountManagerId ?? undefined,
taxId: routeData?.supplier?.taxId ?? "",
currencyCode: routeData?.supplier?.currencyCode ?? undefined,
- phone: routeData?.supplier?.phone ?? "",
- fax: routeData?.supplier?.fax ?? "",
website: routeData?.supplier?.website ?? "",
+ purchasingContactId: routeData?.supplier?.purchasingContactId ?? undefined,
+ invoicingContactId: routeData?.supplier?.invoicingContactId ?? undefined,
...getCustomFields(routeData?.supplier?.customFields)
};
diff --git a/apps/erp/app/routes/x+/tool+/$itemId.view.costing.tsx b/apps/erp/app/routes/x+/tool+/$itemId.view.costing.tsx
index d2f0d3fdce..d5cf5e8457 100644
--- a/apps/erp/app/routes/x+/tool+/$itemId.view.costing.tsx
+++ b/apps/erp/app/routes/x+/tool+/$itemId.view.costing.tsx
@@ -89,6 +89,7 @@ export default function ToolCostingRoute() {
key={itemCost.itemId}
initialValues={{
...itemCost,
+ itemPostingGroupId: itemCost.itemPostingGroupId ?? undefined,
...getCustomFields(itemCost.customFields)
}}
/>
diff --git a/apps/erp/app/routes/x+/tool+/$itemId.view.details.tsx b/apps/erp/app/routes/x+/tool+/$itemId.view.details.tsx
index 6422675055..cfbb49ec9b 100644
--- a/apps/erp/app/routes/x+/tool+/$itemId.view.details.tsx
+++ b/apps/erp/app/routes/x+/tool+/$itemId.view.details.tsx
@@ -14,7 +14,7 @@ import { toolValidator, upsertTool } from "~/modules/items";
import {
ItemDocuments,
ItemNotes,
- ItemRiskRegister,
+ ItemRiskRegister
} from "~/modules/items/ui/Item";
import { setCustomFields } from "~/utils/form";
diff --git a/apps/erp/app/utils/react-query.ts b/apps/erp/app/utils/react-query.ts
index efb8fa1319..32e0689c0a 100644
--- a/apps/erp/app/utils/react-query.ts
+++ b/apps/erp/app/utils/react-query.ts
@@ -49,6 +49,11 @@ export const docsQuery = () => ({
staleTime: RefreshRate.Never
});
+export const itemPostingGroupsQuery = (companyId: string | null) => ({
+ queryKey: ["itemPostingGroups", companyId ?? "null"],
+ staleTime: RefreshRate.Low
+});
+
export const locationsQuery = (companyId: string | null) => ({
queryKey: ["locations", companyId ?? "null"],
staleTime: RefreshRate.Low
diff --git a/apps/mes/app/components/Kanban/components/ItemCard.tsx b/apps/mes/app/components/Kanban/components/ItemCard.tsx
index 9ca1ceef2d..987c70f213 100644
--- a/apps/mes/app/components/Kanban/components/ItemCard.tsx
+++ b/apps/mes/app/components/Kanban/components/ItemCard.tsx
@@ -20,7 +20,6 @@ import {
formatRelativeTime
} from "@carbon/utils";
import { cva } from "class-variance-authority";
-import { FaTasks } from "react-icons/fa";
import {
LuCalendarDays,
LuCircleCheck,
diff --git a/apps/mes/env.d.ts b/apps/mes/env.d.ts
index f3dfa63780..11f02fe2a0 100644
--- a/apps/mes/env.d.ts
+++ b/apps/mes/env.d.ts
@@ -1,2 +1 @@
/// <reference types="vite/client" />
-/// <reference types="@vercel/remix/globals" />
diff --git a/apps/starter/env.d.ts b/apps/starter/env.d.ts
index f3dfa63780..11f02fe2a0 100644
--- a/apps/starter/env.d.ts
+++ b/apps/starter/env.d.ts
@@ -1,2 +1 @@
/// <reference types="vite/client" />
-/// <reference types="@vercel/remix/globals" />
diff --git a/ci/src/deploy.ts b/ci/src/deploy.ts
index 8efe2af7ed..a7c29bc13b 100644
--- a/ci/src/deploy.ts
+++ b/ci/src/deploy.ts
@@ -39,6 +39,9 @@ export type Workspace = {
openai_api_key: string | null;
posthog_api_host: string | null;
posthog_project_public_key: string | null;
+ quickbooks_client_id: string | null;
+ quickbooks_client_secret: string | null;
+ quickbooks_webhook_secret: string | null;
resend_api_key: string | null;
session_secret: string | null;
slack_bot_token: string | null;
@@ -57,6 +60,9 @@ export type Workspace = {
upstash_redis_rest_url: string | null;
url_erp: string | null;
url_mes: string | null;
+ xero_client_id: string | null;
+ xero_client_secret: string | null;
+ xero_webhook_secret: string | null;
};
async function deploy(): Promise<void> {
@@ -97,6 +103,9 @@ async function deploy(): Promise<void> {
openai_api_key,
posthog_api_host,
posthog_project_public_key,
+ quickbooks_client_id,
+ quickbooks_client_secret,
+ quickbooks_webhook_secret,
resend_api_key,
session_secret,
slack_bot_token,
@@ -115,6 +124,9 @@ async function deploy(): Promise<void> {
upstash_redis_rest_url,
url_erp,
url_mes,
+ xero_client_id,
+ xero_client_secret,
+ xero_webhook_secret,
} = workspace;
if (slug === "app") {
@@ -252,6 +264,9 @@ async function deploy(): Promise<void> {
OPENAI_API_KEY: openai_api_key,
POSTHOG_API_HOST: posthog_api_host ?? undefined,
POSTHOG_PROJECT_PUBLIC_KEY: posthog_project_public_key ?? undefined,
+ QUICKBOOKS_CLIENT_ID: quickbooks_client_id ?? undefined,
+ QUICKBOOKS_CLIENT_SECRET: quickbooks_client_secret ?? undefined,
+ QUICKBOOKS_WEBHOOK_SECRET: quickbooks_webhook_secret ?? undefined,
RESEND_API_KEY: resend_api_key,
SESSION_SECRET: session_secret,
SLACK_BOT_TOKEN: slack_bot_token ?? undefined,
@@ -277,17 +292,20 @@ async function deploy(): Promise<void> {
URL_ERP: url_erp,
URL_MES: url_mes,
VERCEL_ENV: "production",
+ XERO_CLIENT_ID: xero_client_id ?? undefined,
+ XERO_CLIENT_SECRET: xero_client_secret ?? undefined,
+ XERO_WEBHOOK_SECRET: xero_webhook_secret ?? undefined,
},
// Run SST from the repository root where sst.config.ts is located
cwd: "..",
stdio: "pipe",
});
- console.log(`🚀 🧰 Deploying apps for ${workspace.id} with SST`);
+ console.log(`🚀 🐓 Deploying apps for ${workspace.id} with SST`);
await $$`npx --yes sst deploy --stage prod`;
- console.log(`✅ 🐓 Successfully deployed ${workspace.id}`);
+ console.log(`✅ 🍗 Successfully deployed ${workspace.id}`);
} catch (error) {
console.error(`🔴 🍳 Failed to deploy ${workspace.id}`, error);
}
diff --git a/examples/quote-configurator/env.d.ts b/examples/quote-configurator/env.d.ts
index f3dfa63780..11f02fe2a0 100644
--- a/examples/quote-configurator/env.d.ts
+++ b/examples/quote-configurator/env.d.ts
@@ -1,2 +1 @@
/// <reference types="vite/client" />
-/// <reference types="@vercel/remix/globals" />
diff --git a/examples/upload-3d-model/env.d.ts b/examples/upload-3d-model/env.d.ts
index f3dfa63780..11f02fe2a0 100644
--- a/examples/upload-3d-model/env.d.ts
+++ b/examples/upload-3d-model/env.d.ts
@@ -1,2 +1 @@
/// <reference types="vite/client" />
-/// <reference types="@vercel/remix/globals" />
diff --git a/llm/cache/customer-supplier-database-schema.md b/llm/cache/customer-supplier-database-schema.md
new file mode 100644
index 0000000000..4703740655
--- /dev/null
+++ b/llm/cache/customer-supplier-database-schema.md
@@ -0,0 +1,298 @@
+# Customer and Supplier Database Schema in Carbon
+
+## Overview
+
+The Carbon system uses PostgreSQL (via Supabase) to store customer and supplier information across multiple related tables with comprehensive relationship management and audit trails.
+
+## Core Customer Tables
+
+### `customer` Table (Main Entity)
+
+**Primary Fields:**
+- `id` TEXT PRIMARY KEY (UUID, auto-generated)
+- `name` TEXT NOT NULL (unique per company)
+- `customerTypeId` TEXT (FK to customerType.id)
+- `customerStatusId` TEXT (FK to customerStatus.id)
+- `taxId` TEXT (tax identification number)
+- `accountManagerId` TEXT (FK to user.id)
+- `logo` TEXT (logo URL/path)
+- `assignee` TEXT (FK to user.id)
+
+**Contact Information (added in later migrations):**
+- `phone` TEXT
+- `fax` TEXT
+- `website` TEXT
+- `currencyCode` TEXT (FK to currencyCode.code)
+
+**Audit Fields:**
+- `companyId` TEXT NOT NULL (FK to company.id)
+- `createdAt` TIMESTAMP WITH TIME ZONE DEFAULT NOW()
+- `createdBy` TEXT (FK to user.id)
+- `updatedAt` TIMESTAMP WITH TIME ZONE
+- `updatedBy` TEXT (FK to user.id)
+- `customFields` JSONB (extensible custom data)
+
+### `customerType` Table (Classification)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (UUID)
+- `name` TEXT NOT NULL (unique per company)
+- `protected` BOOLEAN DEFAULT FALSE
+- Standard audit fields (companyId, createdBy, updatedBy, etc.)
+- `customFields` JSONB
+
+### `customerStatus` Table (Status Tracking)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `name` TEXT NOT NULL (unique per company)
+- Standard audit fields (companyId, createdBy, updatedBy, etc.)
+- `customFields` JSONB
+
+## Customer Related Tables
+
+### `customerLocation` Table (Address Management)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `customerId` TEXT NOT NULL (FK to customer.id)
+- `addressId` TEXT NOT NULL (FK to address.id)
+- `name` TEXT NOT NULL (location name, added in later migration)
+- `customFields` JSONB
+
+### `customerContact` Table (Contact Management)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `customerId` TEXT NOT NULL (FK to customer.id)
+- `contactId` TEXT NOT NULL (FK to contact.id)
+- `customerLocationId` TEXT (FK to customerLocation.id, optional)
+- `userId` TEXT (FK to user.id, optional - for user-linked contacts)
+- `customFields` JSONB
+
+### `customerPayment` Table (Payment Settings)
+
+**Fields:**
+- `customerId` TEXT PRIMARY KEY (1:1 with customer)
+- `invoiceCustomerId` TEXT (FK to customer.id - can be different for billing)
+- `invoiceCustomerLocationId` TEXT (FK to customerLocation.id)
+- `invoiceCustomerContactId` TEXT (FK to customerContact.id)
+- `paymentTermId` TEXT (FK to paymentTerm.id)
+- `currencyCode` TEXT (FK to currency table)
+- `companyId` TEXT NOT NULL
+- Standard update audit fields
+
+### `customerShipping` Table (Shipping Settings)
+
+**Fields:**
+- `customerId` TEXT PRIMARY KEY (1:1 with customer)
+- `shippingCustomerId` TEXT (FK to customer.id - can be different for shipping)
+- `shippingCustomerLocationId` TEXT (FK to customerLocation.id)
+- `shippingCustomerContactId` TEXT (FK to customerContact.id)
+- `shippingTermId` TEXT (FK to shippingTerm.id)
+- `shippingMethodId` TEXT (FK to shippingMethod.id)
+- `companyId` TEXT NOT NULL
+- Standard update audit fields
+
+### `customerAccount` Table (User Access)
+
+**Fields:**
+- `id` TEXT (FK to user.id)
+- `customerId` TEXT NOT NULL (FK to customer.id)
+- `companyId` TEXT NOT NULL
+- Composite primary key: (id, companyId)
+
+## Core Supplier Tables
+
+### `supplier` Table (Main Entity)
+
+**Primary Fields:**
+- `id` TEXT PRIMARY KEY (UUID, auto-generated)
+- `name` TEXT NOT NULL (unique per company)
+- `supplierTypeId` TEXT (FK to supplierType.id)
+- `supplierStatusId` TEXT (FK to supplierStatus.id)
+- `taxId` TEXT (tax identification number)
+- `accountManagerId` TEXT (FK to user.id)
+- `logo` TEXT (logo URL/path)
+- `assignee` TEXT (FK to user.id)
+
+**Contact Information (added in later migrations):**
+- `phone` TEXT
+- `fax` TEXT
+- `website` TEXT
+- `currencyCode` TEXT (FK to currencyCode.code)
+
+**Audit Fields:**
+- `companyId` TEXT NOT NULL (FK to company.id)
+- `createdAt` TIMESTAMP WITH TIME ZONE DEFAULT NOW()
+- `createdBy` TEXT (FK to user.id)
+- `updatedAt` TIMESTAMP WITH TIME ZONE
+- `updatedBy` TEXT (FK to user.id)
+- `customFields` JSONB (extensible custom data)
+
+### `supplierType` Table (Classification)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (UUID)
+- `name` TEXT NOT NULL (unique per company)
+- `protected` BOOLEAN DEFAULT FALSE
+- Standard audit fields (companyId, createdBy, updatedBy, etc.)
+- `customFields` JSONB
+
+### `supplierStatus` Table (Status Tracking)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `name` TEXT NOT NULL (unique per company)
+- Standard audit fields (companyId, createdBy, updatedBy, etc.)
+- `customFields` JSONB
+
+## Supplier Related Tables
+
+### `supplierLocation` Table (Address Management)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `supplierId` TEXT NOT NULL (FK to supplier.id)
+- `addressId` TEXT NOT NULL (FK to address.id)
+- `name` TEXT NOT NULL (location name, added in later migration)
+- `customFields` JSONB
+
+### `supplierContact` Table (Contact Management)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `supplierId` TEXT NOT NULL (FK to supplier.id)
+- `contactId` TEXT NOT NULL (FK to contact.id)
+- `supplierLocationId` TEXT (FK to supplierLocation.id, optional)
+- `userId` TEXT (FK to user.id, optional - for user-linked contacts)
+- `customFields` JSONB
+
+### `supplierPayment` Table (Payment Settings)
+
+**Fields:**
+- `supplierId` TEXT PRIMARY KEY (1:1 with supplier)
+- `invoiceSupplierId` TEXT (FK to supplier.id - can be different for billing)
+- `invoiceSupplierLocationId` TEXT (FK to supplierLocation.id)
+- `invoiceSupplierContactId` TEXT (FK to supplierContact.id)
+- `paymentTermId` TEXT (FK to paymentTerm.id)
+- `currencyCode` TEXT (FK to currency table)
+- `companyId` TEXT NOT NULL
+- Standard update audit fields
+- `customFields` JSONB
+
+### `supplierShipping` Table (Shipping Settings)
+
+**Fields:**
+- `supplierId` TEXT PRIMARY KEY (1:1 with supplier)
+- `shippingSupplierId` TEXT (FK to supplier.id - can be different for shipping)
+- `shippingSupplierLocationId` TEXT (FK to supplierLocation.id)
+- `shippingSupplierContactId` TEXT (FK to supplierContact.id)
+- `shippingTermId` TEXT (FK to shippingTerm.id)
+- `shippingMethodId` TEXT (FK to shippingMethod.id)
+- `companyId` TEXT NOT NULL
+- Standard update audit fields
+- `customFields` JSONB
+
+### `supplierAccount` Table (User Access)
+
+**Fields:**
+- `id` TEXT (FK to user.id)
+- `supplierId` TEXT NOT NULL (FK to supplier.id)
+- `companyId` TEXT NOT NULL
+- Composite primary key: (id, companyId)
+
+## Shared Supporting Tables
+
+### `contact` Table (Contact Information)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `firstName` TEXT NOT NULL
+- `lastName` TEXT NOT NULL
+- `fullName` TEXT GENERATED (firstName + ' ' + lastName)
+- `email` TEXT NOT NULL
+- `title` TEXT (job title)
+- `mobilePhone` TEXT
+- `homePhone` TEXT
+- `workPhone` TEXT
+- `fax` TEXT
+- `addressLine1` TEXT
+- `addressLine2` TEXT
+- `city` TEXT
+- `state` TEXT
+- `postalCode` TEXT
+- `countryCode` INTEGER (FK to country.id)
+- `birthday` DATE
+- `notes` TEXT
+- `companyId` TEXT NOT NULL
+
+### `address` Table (Address Information)
+
+**Fields:**
+- `id` TEXT PRIMARY KEY (xid)
+- `addressLine1` TEXT
+- `addressLine2` TEXT
+- `city` TEXT
+- `state` TEXT
+- `postalCode` TEXT
+- `countryCode` INTEGER (FK to country.id)
+- `phone` TEXT
+- `fax` TEXT
+- `companyId` TEXT NOT NULL
+
+## Database Views
+
+### `customers` View
+
+Aggregated view that includes:
+- All customer table fields
+- `type` (from customerType.name)
+- `status` (from customerStatus.name)
+- `orderCount` (count of sales orders)
+
+### `suppliers` View
+
+Aggregated view that includes:
+- All supplier table fields
+- `type` (from supplierType.name)
+- `status` (from supplierStatus.name)
+- `orderCount` (count of purchase orders)
+- `partCount` (count of supplier parts/buy methods)
+
+## Key Features
+
+### Automatic Entry Creation
+
+When a customer or supplier is created, triggers automatically create:
+- Payment settings record (customerPayment/supplierPayment)
+- Shipping settings record (customerShipping/supplierShipping)
+
+### Custom Fields Support
+
+Both customers and suppliers support:
+- JSONB `customFields` on main entities and related tables
+- Custom field type system via `attributeDataType` table
+- Specific customer and supplier attribute data types
+
+### Multi-tenancy
+
+- All tables are scoped by `companyId`
+- Row Level Security (RLS) policies enforce data isolation
+- Unique constraints are per-company (e.g., customer name unique per company)
+
+### Audit Trail
+
+- Standard created/updated by/at fields on all main entities
+- Change tracking for all updates
+- User attribution for all modifications
+
+## Migration History
+
+Key migrations that built this schema:
+- `20230123004612_suppliers-and-customers.sql` - Core tables
+- `20231109050252_customer-details.sql` - Payment/shipping tables
+- `20231109050239_supplier-details.sql` - Supplier payment/shipping
+- `20241009181230_customer-supplier-additional-fields.sql` - Contact info
+- `20240813213122_add-customer-supplier-location-name.sql` - Location names
+- `20250125121403_add-customer-and-supplier-custom-fields.sql` - Custom fields
\ No newline at end of file
diff --git a/llm/cache/xero-api-contact-structure.md b/llm/cache/xero-api-contact-structure.md
new file mode 100644
index 0000000000..e9f013f0fa
--- /dev/null
+++ b/llm/cache/xero-api-contact-structure.md
@@ -0,0 +1,138 @@
+# Xero API Contact Structure Documentation
+
+## Contact Response Structure
+
+Based on analysis of the Carbon codebase's XeroProvider implementation and web research, here are the key field names used by Xero API for contact responses:
+
+### Phone Fields
+Xero uses a `Phones` array structure for phone numbers:
+
+```typescript
+// Xero API Response Structure
+{
+ "Phones": [
+ {
+ "PhoneType": "DEFAULT" | "MOBILE" | "WORK" | "HOME" | "FAX",
+ "PhoneNumber": "555-1234"
+ }
+ ]
+}
+```
+
+**Implementation Notes:**
+- The Carbon XeroProvider accesses phone numbers via `xeroContact.Phones?.[0]?.PhoneNumber`
+- When creating contacts, phones are structured as: `[{ PhoneType: "DEFAULT", PhoneNumber: customer.phone }]`
+- Multiple phone numbers can be stored in the array with different types
+
+### Website Field
+**Important Limitation:** The Xero API **does not support** website fields in the standard contact object.
+
+From research findings:
+- Website field is not available for setting via the Xero API
+- There are community requests to include Website URL in the API feed
+- Developers have requested that all contact fields should be updatable via API
+- Currently, website information must be managed through the Xero web interface
+
+### Email Field
+```typescript
+{
+ "EmailAddress": "[email protected]"
+}
+```
+
+### Other Key Contact Fields Used by Carbon
+
+```typescript
+{
+ "ContactID": "uuid-string",
+ "Name": "Contact Name",
+ "FirstName": "First",
+ "LastName": "Last",
+ "EmailAddress": "[email protected]",
+ "Phones": [
+ {
+ "PhoneType": "DEFAULT",
+ "PhoneNumber": "555-1234"
+ }
+ ],
+ "Addresses": [
+ {
+ "AddressType": "STREET",
+ "AddressLine1": "123 Main St",
+ "City": "City",
+ "Region": "State",
+ "PostalCode": "12345",
+ "Country": "Country"
+ }
+ ],
+ "TaxNumber": "123456789",
+ "DefaultCurrency": "USD",
+ "ContactStatus": "ACTIVE",
+ "IsCustomer": true,
+ "IsSupplier": false,
+ "CreatedDateUTC": "2024-01-01T00:00:00.000Z",
+ "UpdatedDateUTC": "2024-01-01T00:00:00.000Z"
+}
+```
+
+### Contact Type Classification
+Xero uses boolean flags to determine contact types:
+- `IsCustomer`: Boolean flag indicating if contact is a customer
+- `IsSupplier`: Boolean flag indicating if contact is a supplier
+- A contact can be both customer and supplier (both flags true)
+
+### Address Structure
+```typescript
+{
+ "Addresses": [
+ {
+ "AddressType": "STREET" | "POBOX",
+ "AddressLine1": "Street address",
+ "AddressLine2": "Additional address info",
+ "AddressLine3": "More address info",
+ "AddressLine4": "Even more address info",
+ "City": "City name",
+ "Region": "State/Province",
+ "PostalCode": "Postal code",
+ "Country": "Country name"
+ }
+ ]
+}
+```
+
+## Implementation in Carbon
+
+The Carbon XeroProvider transforms Xero contacts as follows:
+
+```typescript
+// For customers and vendors
+{
+ id: xeroContact.ContactID,
+ name: xeroContact.Name,
+ email: xeroContact.EmailAddress,
+ phone: xeroContact.Phones?.[0]?.PhoneNumber, // Takes first phone number
+ addresses: xeroContact.Addresses?.[0] ? [/* transformed address */] : undefined,
+ taxNumber: xeroContact.TaxNumber,
+ currency: xeroContact.DefaultCurrency || "USD",
+ isActive: xeroContact.ContactStatus === "ACTIVE",
+ // Note: No website field due to Xero API limitation
+}
+```
+
+## API Limitations
+
+1. **Website Field**: Not supported by Xero API
+2. **Phone Numbers**: Only first phone number is used by Carbon implementation
+3. **Address**: Only first address is used by Carbon implementation
+4. **Contact Bank Details**: BSB and Account number can only be updated via API, other bank details require UI
+
+## Recommendations
+
+1. **For Website Data**: Consider storing in Carbon's internal customer/supplier tables since Xero doesn't support it
+2. **For Multiple Phones**: Carbon could be enhanced to support multiple phone numbers from the Phones array
+3. **For Complete Address Data**: Carbon could store multiple addresses if needed
+
+## Related Files
+
+- `/Users/barbinbrad/Code/carbon/packages/ee/src/accounting/providers/xero.ts` - XeroProvider implementation
+- `/Users/barbinbrad/Code/carbon/apps/erp/app/routes/api+/webhook.xero.ts` - Webhook handling with contact processing
\ No newline at end of file
diff --git a/llm/cache/xero-webhooks.md b/llm/cache/xero-webhooks.md
new file mode 100644
index 0000000000..318358a324
--- /dev/null
+++ b/llm/cache/xero-webhooks.md
@@ -0,0 +1,112 @@
+# Xero Webhooks Information
+
+## Signature Verification
+
+Xero webhooks use HMAC SHA-256 for signature verification, following industry standards for webhook security.
+
+### Key Details:
+
+- **Algorithm**: HMAC-SHA256
+- **Header**: `x-xero-signature` (based on common Xero webhook implementations)
+- **Signature Format**: Base64-encoded HMAC SHA-256 hash
+- **Timeout**: Endpoints must respond within 5 seconds with HTTP 200 OK
+- **Validation Requirements**:
+ - HTTP 200 for valid signatures
+ - HTTP 401 for invalid signatures
+ - Raw payload must be used for signature calculation (not parsed JSON)
+
+### Signature Verification Process:
+
+1. Extract the signature from the `x-xero-signature` header
+2. Compute HMAC SHA-256 hash of the raw request body using the webhook secret
+3. Base64 encode the computed hash
+4. Compare with the received signature using timing-safe comparison
+
+## Supported Entity Types and Events
+
+Based on current Xero API capabilities, webhooks support the following:
+
+### Core Entity Types:
+
+1. **Contacts** (Customers/Suppliers)
+ - CREATE events
+ - UPDATE events
+
+2. **Invoices**
+ - CREATE events
+ - UPDATE events
+
+3. **Event Structure**:
+ - `EventCategory`: The type of entity (e.g., "CONTACT", "INVOICE")
+ - `EventType`: The operation type (e.g., "CREATE", "UPDATE")
+
+### Webhook Payload Structure:
+
+Xero webhooks typically follow this structure:
+
+```json
+{
+ "events": [
+ {
+ "resourceId": "entity-uuid",
+ "resourceUrl": "https://api.xero.com/api.xro/2.0/EntityType/entity-uuid",
+ "eventCategory": "CONTACT",
+ "eventType": "UPDATE",
+ "eventDateUtc": "2025-01-01T00:00:00.000Z",
+ "tenantId": "tenant-uuid",
+ "tenantType": "ORGANISATION"
+ }
+ ],
+ "lastEventSequence": 1,
+ "firstEventSequence": 1,
+ "entropy": "random-string"
+}
+```
+
+## Implementation Considerations
+
+### Rate Limits:
+- 5 concurrent calls
+- 60 calls per minute
+- 5,000 calls per day
+
+### Security Requirements:
+- Must validate signature using HMAC SHA-256
+- Must respond within 5 seconds
+- Raw request body required for signature validation
+- Frameworks that auto-parse JSON can break validation
+
+### Integration Points:
+
+Based on existing Carbon patterns:
+
+1. **Webhook Endpoint**: `/api/webhook/xero`
+2. **Authentication**: Uses Xero webhook secret stored in environment
+3. **Processing**: Triggers async accounting sync jobs
+4. **Entity Mapping**:
+ - Xero Contacts → Carbon Customers/Suppliers
+ - Xero Invoices → Carbon Invoices
+
+### Current Implementation Status in Carbon:
+
+- Xero provider class exists but webhook methods are stubbed
+- Need to implement `verifyWebhook()` and `processWebhook()` methods
+- Follow QuickBooks webhook pattern for async job triggering
+- Use existing accounting sync infrastructure
+
+## Environment Variables Required:
+
+```
+XERO_WEBHOOK_SECRET=your-webhook-secret-key
+```
+
+This secret is used for HMAC SHA-256 signature verification and should be stored securely.
+
+## Next Steps for Implementation:
+
+1. Implement `verifyWebhook()` method in XeroProvider
+2. Implement `processWebhook()` method to parse event payload
+3. Create webhook endpoint route similar to QuickBooks
+4. Map Xero entity types to Carbon entity types
+5. Test webhook signature verification
+6. Configure webhook URL in Xero developer console
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
index f7f46f088f..5ee2480df2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -22,6 +22,7 @@
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@types/aws-lambda": "8.10.152",
+ "@typescript/native-preview": "^7.0.0-dev.20251215.1",
"csv-parse": "^5.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
@@ -91,15 +92,6 @@
"wait-on": "7.2.0"
}
},
- "apps/academy/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"apps/erp": {
"dependencies": {
"@ai-sdk-tools/agents": "1.2.0",
@@ -221,13 +213,13 @@
"vite-tsconfig-paths": "^5.1.4"
}
},
- "apps/erp/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
+ "apps/erp/node_modules/zod-to-json-schema": {
+ "version": "3.25.0",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.0.tgz",
+ "integrity": "sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==",
+ "license": "ISC",
+ "peerDependencies": {
+ "zod": "^3.25 || ^4"
}
},
"apps/mes": {
@@ -293,15 +285,6 @@
"wait-on": "7.2.0"
}
},
- "apps/mes/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"apps/starter": {
"dependencies": {
"@carbon/auth": "*",
@@ -356,15 +339,6 @@
"wait-on": "7.2.0"
}
},
- "apps/starter/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"ci": {
"version": "0.0.1",
"dependencies": {
@@ -372,15 +346,6 @@
"execa": "8.0.1"
}
},
- "ci/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"ci/node_modules/@supabase/postgrest-js": {
"version": "1.9.2",
"license": "MIT",
@@ -497,15 +462,6 @@
"vite-tsconfig-paths": "^5.1.4"
}
},
- "examples/quote-configurator/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"examples/upload-3d-model": {
"dependencies": {
"@carbon/react": "*",
@@ -535,15 +491,6 @@
"vite-tsconfig-paths": "^5.1.4"
}
},
- "examples/upload-3d-model/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"node_modules/@ai-sdk-tools/agents": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@ai-sdk-tools/agents/-/agents-1.2.0.tgz",
@@ -576,9 +523,9 @@
}
},
"node_modules/@ai-sdk-tools/artifacts/node_modules/zod": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.2.0.tgz",
- "integrity": "sha512-Bd5fw9wlIhtqCCxotZgdTOMwGm1a0u75wARVEY9HMs1X17trvA/lMi4+MGK5EUfYkXVTbX8UDiDKW4OgzHVUZw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.2.1.tgz",
+ "integrity": "sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
@@ -659,9 +606,9 @@
}
},
"node_modules/@ai-sdk-tools/memory/node_modules/zod": {
- "version": "4.2.0",
- "resolved": "https://registry.npmjs.org/zod/-/zod-4.2.0.tgz",
- "integrity": "sha512-Bd5fw9wlIhtqCCxotZgdTOMwGm1a0u75wARVEY9HMs1X17trvA/lMi4+MGK5EUfYkXVTbX8UDiDKW4OgzHVUZw==",
+ "version": "4.2.1",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.2.1.tgz",
+ "integrity": "sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw==",
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/colinhacks"
@@ -714,9 +661,9 @@
}
},
"node_modules/@ai-sdk/gateway": {
- "version": "2.0.21",
- "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-2.0.21.tgz",
- "integrity": "sha512-BwV7DU/lAm3Xn6iyyvZdWgVxgLu3SNXzl5y57gMvkW4nGhAOV5269IrJzQwGt03bb107sa6H6uJwWxc77zXoGA==",
+ "version": "2.0.23",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/gateway/-/gateway-2.0.23.tgz",
+ "integrity": "sha512-qmX7afPRszUqG5hryHF3UN8ITPIRSGmDW6VYCmByzjoUkgm3MekzSx2hMV1wr0P+llDeuXb378SjqUfpvWJulg==",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/provider": "2.0.0",
@@ -731,9 +678,9 @@
}
},
"node_modules/@ai-sdk/openai": {
- "version": "2.0.86",
- "resolved": "https://registry.npmjs.org/@ai-sdk/openai/-/openai-2.0.86.tgz",
- "integrity": "sha512-obsLIOyA93lbQiSt1rvBItoVQp1U2RDPs0bNG0JYhm6Gku8Dg/0Cm8e4NUWT5p5PN10/doKSb3SMSKCixwIAKA==",
+ "version": "2.0.88",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/openai/-/openai-2.0.88.tgz",
+ "integrity": "sha512-LlOf83haeZIiRUH1Zw1oEmqUfw5y54227CvndFoBpIkMJwQDGAB3VARUeOJ6iwAWDJjXSz06GdnEnhRU67Yatw==",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/provider": "2.0.0",
@@ -776,13 +723,13 @@
}
},
"node_modules/@ai-sdk/react": {
- "version": "2.0.115",
- "resolved": "https://registry.npmjs.org/@ai-sdk/react/-/react-2.0.115.tgz",
- "integrity": "sha512-Etu7gWSEi2dmXss1PoR5CAZGwGShXsF9+Pon1eRO6EmatjYaBMhq1CfHPyYhGzWrint8jJIK2VaAhiMef29qZw==",
+ "version": "2.0.118",
+ "resolved": "https://registry.npmjs.org/@ai-sdk/react/-/react-2.0.118.tgz",
+ "integrity": "sha512-K/5VVEGTIu9SWrdQ0s/11OldFU8IjprDzeE6TaC2fOcQWhG7dGVGl9H8Z32QBHzdfJyMhFUxEyFKSOgA2j9+VQ==",
"license": "Apache-2.0",
"dependencies": {
"@ai-sdk/provider-utils": "3.0.19",
- "ai": "5.0.113",
+ "ai": "5.0.116",
"swr": "^2.2.5",
"throttleit": "2.1.0"
},
@@ -1139,7 +1086,6 @@
"version": "7.8.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz",
"integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1152,7 +1098,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz",
"integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1165,7 +1110,6 @@
"version": "7.12.13",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz",
"integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
@@ -1178,7 +1122,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz",
"integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1194,7 +1137,6 @@
"version": "7.27.1",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.27.1.tgz",
"integrity": "sha512-oFT0FrKHgF53f4vOsZGi2Hh3I35PfSmVs4IBFLFj4dnafP+hIWDLg3VyKmUHfLoLHlyxY4C7DGtmHuJgn+IGww==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.27.1"
@@ -1210,7 +1152,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz",
"integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1223,7 +1164,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz",
"integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1251,7 +1191,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz",
"integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1264,7 +1203,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz",
"integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1277,7 +1215,6 @@
"version": "7.10.4",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz",
"integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4"
@@ -1290,7 +1227,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz",
"integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1303,7 +1239,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz",
"integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1316,7 +1251,6 @@
"version": "7.8.3",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz",
"integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.0"
@@ -1329,7 +1263,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz",
"integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1345,7 +1278,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz",
"integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/helper-plugin-utils": "^7.14.5"
@@ -1484,7 +1416,6 @@
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz",
"integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==",
- "dev": true,
"license": "MIT"
},
"node_modules/@biomejs/biome": {
@@ -1747,7 +1678,6 @@
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz",
"integrity": "sha512-v9kIhKwjeZThiWrLmj0y17CWoyddASLj9O2yvbZkbvw/N3rWOYy9zkV66ursAoVr0mV15bL8g0c4QZUE6cdDoQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"exec-sh": "^0.3.2",
@@ -1764,7 +1694,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-1.1.0.tgz",
"integrity": "sha512-uWvSaeRcHyeNenKg8tp17EVDRkpflmdyvbE0DHo6D/GdBb6PDnCYYU6gRpXhtICMGMcahQmj2zGxwFM/WC8hCg==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -1787,7 +1716,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.1.1.tgz",
"integrity": "sha512-a7cxGcJ2wIlMFLlh8z2ONm+715QkPHiyJcxwQlKOz/03GPw1COpfhcmC9wm4xlZfp//jWHNNMwzjtqHXVWU9KA==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -2073,9 +2001,9 @@
"license": "MIT"
},
"node_modules/@esbuild/aix-ppc64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.1.tgz",
- "integrity": "sha512-HHB50pdsBX6k47S4u5g/CaLjqS3qwaOVE5ILsq64jyzgMhLuCuZ8rGzM9yhsAjfjkbgUPMzZEPa7DAp7yz6vuA==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.2.tgz",
+ "integrity": "sha512-GZMB+a0mOMZs4MpDbj8RJp4cw+w1WV5NYD6xzgvzUJ5Ek2jerwfO2eADyI6ExDSUED+1X8aMbegahsJi+8mgpw==",
"cpu": [
"ppc64"
],
@@ -2362,9 +2290,9 @@
}
},
"node_modules/@esbuild/netbsd-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.1.tgz",
- "integrity": "sha512-wzC24DxAvk8Em01YmVXyjl96Mr+ecTPyOuADAvjGg+fyBpGmxmcr2E5ttf7Im8D0sXZihpxzO1isus8MdjMCXQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-Kj6DiBlwXrPsCRDeRvGAUb/LNrBASrfqAIok+xB0LxK8CHqxZ037viF13ugfsIpePH93mX7xfJp97cyDuTZ3cw==",
"cpu": [
"arm64"
],
@@ -2396,9 +2324,9 @@
}
},
"node_modules/@esbuild/openbsd-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.1.tgz",
- "integrity": "sha512-5Z+DzLCrq5wmU7RDaMDe2DVXMRm2tTDvX2KU14JJVBN2CT/qov7XVix85QoJqHltpvAOZUAc3ndU56HSMWrv8g==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-DNIHH2BPQ5551A7oSHD0CKbwIA/Ox7+78/AWkbS5QoRzaqlev2uFayfSxq68EkonB+IKjiuxBFoV8ESJy8bOHA==",
"cpu": [
"arm64"
],
@@ -2430,9 +2358,9 @@
}
},
"node_modules/@esbuild/openharmony-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.1.tgz",
- "integrity": "sha512-ajbHrGM/XiK+sXM0JzEbJAen+0E+JMQZ2l4RR4VFwvV9JEERx+oxtgkpoKv1SevhjavK2z2ReHk32pjzktWbGg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.2.tgz",
+ "integrity": "sha512-LRBbCmiU51IXfeXk59csuX/aSaToeG7w48nMwA6049Y4J4+VbWALAuXcs+qcD04rHDuSCSRKdmY63sruDS5qag==",
"cpu": [
"arm64"
],
@@ -2648,9 +2576,9 @@
}
},
"node_modules/@internationalized/date": {
- "version": "3.10.0",
- "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.10.0.tgz",
- "integrity": "sha512-oxDR/NTEJ1k+UFVQElaNIk65E/Z83HK1z1WI3lQyhTtnNg4R5oVXaPzK3jcpKG8UHKDVuDQHzn+wsxSz8RP3aw==",
+ "version": "3.10.1",
+ "resolved": "https://registry.npmjs.org/@internationalized/date/-/date-3.10.1.tgz",
+ "integrity": "sha512-oJrXtQiAXLvT9clCf1K4kxp3eKsQhIaZqxEyowkBcsvZDdZkbWrVmnGknxs5flTD0VGsxrxKgBCZty1EzoiMzA==",
"license": "Apache-2.0",
"dependencies": {
"@swc/helpers": "^0.5.0"
@@ -2739,7 +2667,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz",
"integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"camelcase": "^5.3.1",
@@ -2756,7 +2683,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -2766,7 +2692,6 @@
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz",
"integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -2776,7 +2701,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/console/-/console-26.6.2.tgz",
"integrity": "sha512-IY1R2i2aLsLr7Id3S6p2BA82GNWryt4oSvEXLAKc+L2zdi89dSkE8xC1C+0kpATG4JhBJREnQOH7/zmccM2B0g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -2794,7 +2718,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -2810,7 +2733,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -2827,7 +2749,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -2840,14 +2761,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jest/console/node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -2857,7 +2776,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/@jest/core/-/core-26.6.3.tgz",
"integrity": "sha512-xvV1kKbhfUqFVuZ8Cyo+JPpipAHHAV3kcDBftiduK8EICXmTFddryy3P7NfZt8Pv37rA9nEJBKCCkglCPt/Xjw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -2897,7 +2815,6 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"type-fest": "^0.21.3"
@@ -2913,7 +2830,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -2929,7 +2845,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -2946,7 +2861,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -2959,7 +2873,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jest/core/node_modules/glob": {
@@ -2967,7 +2880,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -2989,7 +2901,6 @@
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
"deprecated": "Rimraf versions prior to v4 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"glob": "^7.1.3"
@@ -3005,7 +2916,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -3015,7 +2925,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -3028,7 +2937,6 @@
"version": "0.21.3",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
@@ -3041,7 +2949,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.6.2.tgz",
"integrity": "sha512-nFy+fHl28zUrRsCeMB61VDThV1pVTtlEokBRgqPrcT1JNq4yRNIyTHfyht6PqtUvY9IsuLGTrbG8kPXjSZIZwA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/fake-timers": "^26.6.2",
@@ -3057,7 +2964,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.6.2.tgz",
"integrity": "sha512-14Uleatt7jdzefLPYM3KLcnUl1ZNikaKq34enpb5XG9i81JpppDb5muZvonvKyrl7ftEHkKS5L5/eB/kxJ+bvA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -3075,7 +2981,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.6.2.tgz",
"integrity": "sha512-85Ltnm7HlB/KesBUuALwQ68YTU72w9H2xW9FjZ1eL1U3lhtefjjl5c2MiUbpXt/i6LaPRvoOFJ22yCBSfQ0JIA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -3090,7 +2995,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-26.6.2.tgz",
"integrity": "sha512-h2bW53APG4HvkOnVMo8q3QXa6pcaNt1HkwVsOPMBV6LD/q9oSpxNSYZQYkAnjdMjrJ86UuYeLo+aEZClV6opnw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@bcoe/v8-coverage": "^0.2.3",
@@ -3129,7 +3033,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -3145,7 +3048,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -3162,7 +3064,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -3175,7 +3076,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jest/reporters/node_modules/glob": {
@@ -3183,7 +3083,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -3204,7 +3103,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -3214,7 +3112,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -3224,7 +3121,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.6.2.tgz",
"integrity": "sha512-YwYcCwAnNmOVsZ8mr3GfnzdXDAl4LaenZP5z+G0c8bzC9/dugL8zRmxZzdoTl4IaS3CryS1uWnROLPFmb6lVvA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"callsites": "^3.0.0",
@@ -3239,7 +3135,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -3249,7 +3144,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.6.2.tgz",
"integrity": "sha512-5O7H5c/7YlojphYNrK02LlDIV2GNPYisKwHm2QTKjNZeEzezCbwYs9swJySv2UfPMyZ0VdsmMv7jIlD/IKYQpQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -3265,7 +3159,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.6.3.tgz",
"integrity": "sha512-YHlVIjP5nfEyjlrSr8t/YdNfU/1XEt7c5b4OxcXCjyRhjzLYu/rO69/WHPuYcbCWkz8kAeZVZp2N2+IOLLEPGw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
@@ -3282,7 +3175,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.6.2.tgz",
"integrity": "sha512-E9JjhUgNzvuQ+vVAL21vlyfy12gP0GhazGgJC4h6qUt1jSdUXGWJ1wfu/X7Sd8etSgxV4ovT1pb9v5D6QW4XgA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
@@ -3309,7 +3201,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -3325,7 +3216,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -3342,7 +3232,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -3355,14 +3244,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@jest/transform/node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -3372,7 +3259,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -4374,9 +4260,9 @@
}
},
"node_modules/@posthog/core": {
- "version": "1.7.1",
- "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.7.1.tgz",
- "integrity": "sha512-kjK0eFMIpKo9GXIbts8VtAknsoZ18oZorANdtuTj1CbgS28t4ZVq//HAWhnxEuXRTrtkd+SUJ6Ux3j2Af8NCuA==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/@posthog/core/-/core-1.9.0.tgz",
+ "integrity": "sha512-j7KSWxJTUtNyKynLt/p0hfip/3I46dWU2dk+pt7dKRoz2l5CYueHuHK4EO7Wlgno5yo1HO4sc4s30MXMTICHJw==",
"license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.6"
@@ -6127,14 +6013,14 @@
"license": "MIT"
},
"node_modules/@react-aria/breadcrumbs": {
- "version": "3.5.29",
- "resolved": "https://registry.npmjs.org/@react-aria/breadcrumbs/-/breadcrumbs-3.5.29.tgz",
- "integrity": "sha512-rKS0dryllaZJqrr3f/EAf2liz8CBEfmL5XACj+Z1TAig6GIYe1QuA3BtkX0cV9OkMugXdX8e3cbA7nD10ORRqg==",
+ "version": "3.5.30",
+ "resolved": "https://registry.npmjs.org/@react-aria/breadcrumbs/-/breadcrumbs-3.5.30.tgz",
+ "integrity": "sha512-DZymglA70SwvDJA7GB147sUexvdDy6vWcriGrlEHhMMzBLhGB30I5J96R4pPzURLxXISrWFH56KC5rRgIqsqqg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/link": "^3.8.6",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/link": "^3.8.7",
+ "@react-aria/utils": "^3.32.0",
"@react-types/breadcrumbs": "^3.7.17",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6145,15 +6031,15 @@
}
},
"node_modules/@react-aria/button": {
- "version": "3.14.2",
- "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.14.2.tgz",
- "integrity": "sha512-VbLIA+Kd6f/MDjd+TJBUg2+vNDw66pnvsj2E4RLomjI9dfBuN7d+Yo2UnsqKVyhePjCUZ6xxa2yDuD63IOSIYA==",
+ "version": "3.14.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/button/-/button-3.14.3.tgz",
+ "integrity": "sha512-iJTuEECs9im7TwrCRZ0dvuwp8Gao0+I1IuYs1LQvJQgKLpgRH2/6jAiqb2bdAcoAjdbaMs7Xe0xUwURpVNkEyA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/toolbar": "3.0.0-beta.21",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/toggle": "^3.9.2",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/toolbar": "3.0.0-beta.22",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/toggle": "^3.9.3",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6164,19 +6050,19 @@
}
},
"node_modules/@react-aria/calendar": {
- "version": "3.9.2",
- "resolved": "https://registry.npmjs.org/@react-aria/calendar/-/calendar-3.9.2.tgz",
- "integrity": "sha512-uSLxLgOPRnEU4Jg59lAhUVA+uDx/55NBg4lpfsP2ynazyiJ5LCXmYceJi+VuOqMml7d9W0dB87OldOeLdIxYVA==",
+ "version": "3.9.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/calendar/-/calendar-3.9.3.tgz",
+ "integrity": "sha512-F12UQ4zd8GIxpJxs9GAHzDD9Lby2hESHm0LF5tjsYBIOBJc5K7ICeeE5UqLMBPzgnEP5nfh1CKS8KhCB0mS7PA==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
+ "@internationalized/date": "^3.10.1",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/calendar": "^3.9.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/calendar": "^3.9.1",
"@react-types/button": "^3.14.1",
- "@react-types/calendar": "^3.8.0",
+ "@react-types/calendar": "^3.8.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6186,19 +6072,19 @@
}
},
"node_modules/@react-aria/checkbox": {
- "version": "3.16.2",
- "resolved": "https://registry.npmjs.org/@react-aria/checkbox/-/checkbox-3.16.2.tgz",
- "integrity": "sha512-29Mj9ZqXioJ0bcMnNGooHztnTau5pikZqX3qCRj5bYR3by/ZFFavYoMroh9F7s/MbFm/tsKX+Sf02lYFEdXRjA==",
+ "version": "3.16.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/checkbox/-/checkbox-3.16.3.tgz",
+ "integrity": "sha512-2p1haCUtERo5XavBAWNaX//dryNVnOOWfSKyzLs4UiCZR/NL0ttN+Nu/i445q0ipjLqZ6bBJtx0g0NNrubbU7Q==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/form": "^3.1.2",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/toggle": "^3.12.2",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/checkbox": "^3.7.2",
+ "@react-aria/form": "^3.1.3",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/toggle": "^3.12.3",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/checkbox": "^3.7.3",
"@react-stately/form": "^3.2.2",
- "@react-stately/toggle": "^3.9.2",
+ "@react-stately/toggle": "^3.9.3",
"@react-types/checkbox": "^3.10.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6209,20 +6095,20 @@
}
},
"node_modules/@react-aria/color": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@react-aria/color/-/color-3.1.2.tgz",
- "integrity": "sha512-jCC+Q7rAQGLQBkHjkPAeDuGYuMbc4neifjlNRiyZ9as1z4gg63H8MteoWYYk6K4vCKKxSixgt8MfI29XWMOWPQ==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/color/-/color-3.1.3.tgz",
+ "integrity": "sha512-EHzsFbqzFrO1/3irEa8E8wawlQg7hRd4/Jscvl9zhplAcrWFd6L5TWl8463Z6h0J6zN1eH9T2QDEn6rivDLkkg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/numberfield": "^3.12.2",
- "@react-aria/slider": "^3.8.2",
- "@react-aria/spinbutton": "^3.6.19",
- "@react-aria/textfield": "^3.18.2",
- "@react-aria/utils": "^3.31.0",
- "@react-aria/visually-hidden": "^3.8.28",
- "@react-stately/color": "^3.9.2",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/numberfield": "^3.12.3",
+ "@react-aria/slider": "^3.8.3",
+ "@react-aria/spinbutton": "^3.7.0",
+ "@react-aria/textfield": "^3.18.3",
+ "@react-aria/utils": "^3.32.0",
+ "@react-aria/visually-hidden": "^3.8.29",
+ "@react-stately/color": "^3.9.3",
"@react-stately/form": "^3.2.2",
"@react-types/color": "^3.1.2",
"@react-types/shared": "^3.32.1",
@@ -6234,25 +6120,25 @@
}
},
"node_modules/@react-aria/combobox": {
- "version": "3.14.0",
- "resolved": "https://registry.npmjs.org/@react-aria/combobox/-/combobox-3.14.0.tgz",
- "integrity": "sha512-z4ro0Hma//p4nL2IJx5iUa7NwxeXbzSoZ0se5uTYjG1rUUMszg+wqQh/AQoL+eiULn7rs18JY9wwNbVIkRNKWA==",
+ "version": "3.14.1",
+ "resolved": "https://registry.npmjs.org/@react-aria/combobox/-/combobox-3.14.1.tgz",
+ "integrity": "sha512-wuP/4UQrGsYXLw1Gk8G/FcnUlHuoViA9G6w3LhtUgu5Q3E5DvASJalxej3NtyYU+4w4epD1gJidzosAL0rf8Ug==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/listbox": "^3.15.0",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/listbox": "^3.15.1",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/menu": "^3.19.3",
- "@react-aria/overlays": "^3.30.0",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/textfield": "^3.18.2",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/menu": "^3.19.4",
+ "@react-aria/overlays": "^3.31.0",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/textfield": "^3.18.3",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/collections": "^3.12.8",
- "@react-stately/combobox": "^3.12.0",
+ "@react-stately/combobox": "^3.12.1",
"@react-stately/form": "^3.2.2",
"@react-types/button": "^3.14.1",
- "@react-types/combobox": "^3.13.9",
+ "@react-types/combobox": "^3.13.10",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6262,26 +6148,26 @@
}
},
"node_modules/@react-aria/datepicker": {
- "version": "3.15.2",
- "resolved": "https://registry.npmjs.org/@react-aria/datepicker/-/datepicker-3.15.2.tgz",
- "integrity": "sha512-th078hyNqPf4P2K10su/y32zPDjs3lOYVdHvsL9/+5K1dnTvLHCK5vgUyLuyn8FchhF7cmHV49D+LZVv65PEpQ==",
+ "version": "3.15.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/datepicker/-/datepicker-3.15.3.tgz",
+ "integrity": "sha512-0KkLYeLs+IubHXb879n8dzzKU/NWcxC9DXtv7M/ofL7vAvMSTmaceYJcMW+2gGYhJVpyYz8B6bk0W7kTxgB3jg==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
+ "@internationalized/date": "^3.10.1",
"@internationalized/number": "^3.6.5",
"@internationalized/string": "^3.2.7",
- "@react-aria/focus": "^3.21.2",
- "@react-aria/form": "^3.1.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/spinbutton": "^3.6.19",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/datepicker": "^3.15.2",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/form": "^3.1.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/spinbutton": "^3.7.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/datepicker": "^3.15.3",
"@react-stately/form": "^3.2.2",
"@react-types/button": "^3.14.1",
- "@react-types/calendar": "^3.8.0",
- "@react-types/datepicker": "^3.13.2",
+ "@react-types/calendar": "^3.8.1",
+ "@react-types/datepicker": "^3.13.3",
"@react-types/dialog": "^3.5.22",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6292,14 +6178,14 @@
}
},
"node_modules/@react-aria/dialog": {
- "version": "3.5.31",
- "resolved": "https://registry.npmjs.org/@react-aria/dialog/-/dialog-3.5.31.tgz",
- "integrity": "sha512-inxQMyrzX0UBW9Mhraq0nZ4HjHdygQvllzloT1E/RlDd61lr3RbmJR6pLsrbKOTtSvDIBJpCso1xEdHCFNmA0Q==",
+ "version": "3.5.32",
+ "resolved": "https://registry.npmjs.org/@react-aria/dialog/-/dialog-3.5.32.tgz",
+ "integrity": "sha512-2puMjsJS2FtB8LiFuQDAdBSU4dt3lqdJn4FWt/8GL6l91RZBqp2Dnm5Obuee6rV2duNJZcSAUWsQZ/S1iW8Y2g==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/overlays": "^3.30.0",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/overlays": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/dialog": "^3.5.22",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6310,14 +6196,14 @@
}
},
"node_modules/@react-aria/disclosure": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@react-aria/disclosure/-/disclosure-3.1.0.tgz",
- "integrity": "sha512-5996BeBpnj+yKXYysz+UuhFQxGFPvaZZ3zNBd052wz/i+TVFVGSqqYJ6cwZyO1AfBR8zOT0ZIiK4EC3ETwSvtQ==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/@react-aria/disclosure/-/disclosure-3.1.1.tgz",
+ "integrity": "sha512-4k8Y3CZEl+Qhou0fH7Sj7BbzvwAfi1JDL+hG7U20ZL5+MJ/VbDYuYX2gYK2KqdlbeuuzGcov3ZFQbyIVHMY+/A==",
"license": "Apache-2.0",
"dependencies": {
"@react-aria/ssr": "^3.9.10",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/disclosure": "^3.0.8",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/disclosure": "^3.0.9",
"@react-types/button": "^3.14.1",
"@swc/helpers": "^0.5.0"
},
@@ -6327,19 +6213,19 @@
}
},
"node_modules/@react-aria/dnd": {
- "version": "3.11.3",
- "resolved": "https://registry.npmjs.org/@react-aria/dnd/-/dnd-3.11.3.tgz",
- "integrity": "sha512-MyTziciik1Owz3rqDghu0K3ZtTFvmj/R2ZsLDwbU9N4hKqGX/BKnrI8SytTn8RDqVv5LmA/GhApLngiupTAsXw==",
+ "version": "3.11.4",
+ "resolved": "https://registry.npmjs.org/@react-aria/dnd/-/dnd-3.11.4.tgz",
+ "integrity": "sha512-dBrnM33Kmk76F+Pknh2WfSLIX4dsYwFzWJUIABJCPmPc80hTG0so7mfqH45ba759/6ERMfXXoodZPLtypOjYPg==",
"license": "Apache-2.0",
"dependencies": {
"@internationalized/string": "^3.2.7",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/overlays": "^3.30.0",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/overlays": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/collections": "^3.12.8",
- "@react-stately/dnd": "^3.7.1",
+ "@react-stately/dnd": "^3.7.2",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6350,13 +6236,13 @@
}
},
"node_modules/@react-aria/focus": {
- "version": "3.21.2",
- "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.21.2.tgz",
- "integrity": "sha512-JWaCR7wJVggj+ldmM/cb/DXFg47CXR55lznJhZBh4XVqJjMKwaOOqpT5vNN7kpC1wUpXicGNuDnJDN1S/+6dhQ==",
+ "version": "3.21.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/focus/-/focus-3.21.3.tgz",
+ "integrity": "sha512-FsquWvjSCwC2/sBk4b+OqJyONETUIXQ2vM0YdPAuC+QFQh2DT6TIBo6dOZVSezlhudDla69xFBd6JvCFq1AbUw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0",
"clsx": "^2.0.0"
@@ -6367,13 +6253,13 @@
}
},
"node_modules/@react-aria/form": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/@react-aria/form/-/form-3.1.2.tgz",
- "integrity": "sha512-R3i7L7Ci61PqZQvOrnL9xJeWEbh28UkTVgkj72EvBBn39y4h7ReH++0stv7rRs8p5ozETSKezBbGfu4UsBewWw==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/form/-/form-3.1.3.tgz",
+ "integrity": "sha512-HAKnPjMiqTxoGLVbfZyGYcZQ1uu6aSeCi9ODmtZuKM5DWZZnTUjDmM1i2L6IXvF+d1kjyApyJC7VTbKZ8AI77g==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/form": "^3.2.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6384,20 +6270,20 @@
}
},
"node_modules/@react-aria/grid": {
- "version": "3.14.5",
- "resolved": "https://registry.npmjs.org/@react-aria/grid/-/grid-3.14.5.tgz",
- "integrity": "sha512-XHw6rgjlTqc85e3zjsWo3U0EVwjN5MOYtrolCKc/lc2ItNdcY3OlMhpsU9+6jHwg/U3VCSWkGvwAz9hg7krd8Q==",
+ "version": "3.14.6",
+ "resolved": "https://registry.npmjs.org/@react-aria/grid/-/grid-3.14.6.tgz",
+ "integrity": "sha512-xagBKHNPu4Ovt/I5He7T/oIEq82MDMSrRi5Sw3oxSCwwtZpv+7eyKRSrFz9vrNUzNgWCcx5VHLE660bLdeVNDQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/collections": "^3.12.8",
- "@react-stately/grid": "^3.11.6",
- "@react-stately/selection": "^3.20.6",
+ "@react-stately/grid": "^3.11.7",
+ "@react-stately/selection": "^3.20.7",
"@react-types/checkbox": "^3.10.2",
"@react-types/grid": "^3.3.6",
"@react-types/shared": "^3.32.1",
@@ -6409,19 +6295,19 @@
}
},
"node_modules/@react-aria/gridlist": {
- "version": "3.14.1",
- "resolved": "https://registry.npmjs.org/@react-aria/gridlist/-/gridlist-3.14.1.tgz",
- "integrity": "sha512-keS03Am07aOn7RuNaRsMOyh0jscyhDn95asCVy4lxhl9A9TFk1Jw0o2L6q6cWRj1gFiKeacj/otG5H8ZKQQ2Wg==",
+ "version": "3.14.2",
+ "resolved": "https://registry.npmjs.org/@react-aria/gridlist/-/gridlist-3.14.2.tgz",
+ "integrity": "sha512-c51ip0bc/lKppfrPNFHbWu1n/r0NHd9Xl114904cDxuRcElJ3H/V/3e3U9HyDy+4xioiXZIdZ75CNxtEoTmrxw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/grid": "^3.14.5",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/list": "^3.13.1",
- "@react-stately/tree": "^3.9.3",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/grid": "^3.14.6",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/list": "^3.13.2",
+ "@react-stately/tree": "^3.9.4",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6431,17 +6317,17 @@
}
},
"node_modules/@react-aria/i18n": {
- "version": "3.12.13",
- "resolved": "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.12.13.tgz",
- "integrity": "sha512-YTM2BPg0v1RvmP8keHenJBmlx8FXUKsdYIEX7x6QWRd1hKlcDwphfjzvt0InX9wiLiPHsT5EoBTpuUk8SXc0Mg==",
+ "version": "3.12.14",
+ "resolved": "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.12.14.tgz",
+ "integrity": "sha512-zYvs1FlLamFD49uneX3i5mPHrAsB3OjVpSWApTcPw8ydxOaphQDp/Q1aqrbcxlrQCcxZdXWHuvLlbkNR4+8jzw==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
+ "@internationalized/date": "^3.10.1",
"@internationalized/message": "^3.1.8",
"@internationalized/number": "^3.6.5",
"@internationalized/string": "^3.2.7",
"@react-aria/ssr": "^3.9.10",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6451,13 +6337,13 @@
}
},
"node_modules/@react-aria/interactions": {
- "version": "3.25.6",
- "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.25.6.tgz",
- "integrity": "sha512-5UgwZmohpixwNMVkMvn9K1ceJe6TzlRlAfuYoQDUuOkk62/JVJNDLAPKIf5YMRc7d2B0rmfgaZLMtbREb0Zvkw==",
+ "version": "3.26.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.26.0.tgz",
+ "integrity": "sha512-AAEcHiltjfbmP1i9iaVw34Mb7kbkiHpYdqieWufldh4aplWgsF11YQZOfaCJW4QoR2ML4Zzoa9nfFwLXA52R7Q==",
"license": "Apache-2.0",
"dependencies": {
"@react-aria/ssr": "^3.9.10",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/flags": "^3.1.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6468,12 +6354,12 @@
}
},
"node_modules/@react-aria/label": {
- "version": "3.7.22",
- "resolved": "https://registry.npmjs.org/@react-aria/label/-/label-3.7.22.tgz",
- "integrity": "sha512-jLquJeA5ZNqDT64UpTc9XJ7kQYltUlNcgxZ37/v4mHe0UZ7QohCKdKQhXHONb0h2jjNUpp2HOZI8J9++jOpzxA==",
+ "version": "3.7.23",
+ "resolved": "https://registry.npmjs.org/@react-aria/label/-/label-3.7.23.tgz",
+ "integrity": "sha512-dRkuCJfsyBHPTq3WOJVHNRvNyQL4cRRLELmjYfUX9/jQKIsUW2l71YnUHZTRCSn2ZjhdAcdwq96fNcQo0hncBQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6483,12 +6369,12 @@
}
},
"node_modules/@react-aria/landmark": {
- "version": "3.0.7",
- "resolved": "https://registry.npmjs.org/@react-aria/landmark/-/landmark-3.0.7.tgz",
- "integrity": "sha512-t8c610b8hPLS6Vwv+rbuSyljZosI1s5+Tosfa0Fk4q7d+Ex6Yj7hLfUFy59GxZAufhUYfGX396fT0gPqAbU1tg==",
+ "version": "3.0.8",
+ "resolved": "https://registry.npmjs.org/@react-aria/landmark/-/landmark-3.0.8.tgz",
+ "integrity": "sha512-xuY8kYxCrF9C0h0Pj2lZHoxCidNfQ/SrkYWXuiN+LuBTJGCmPVif93gt7TklQ0rKJ+pKJsUgh8AC0pgwI3QP7A==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0",
"use-sync-external-store": "^1.4.0"
@@ -6499,13 +6385,13 @@
}
},
"node_modules/@react-aria/link": {
- "version": "3.8.6",
- "resolved": "https://registry.npmjs.org/@react-aria/link/-/link-3.8.6.tgz",
- "integrity": "sha512-7F7UDJnwbU9IjfoAdl6f3Hho5/WB7rwcydUOjUux0p7YVWh/fTjIFjfAGyIir7MJhPapun1D0t97QQ3+8jXVcg==",
+ "version": "3.8.7",
+ "resolved": "https://registry.npmjs.org/@react-aria/link/-/link-3.8.7.tgz",
+ "integrity": "sha512-TOC6Hf/x3N0P8SLR1KD/dGiJ9PmwAq8H57RiwbFbdINnG/HIvIQr5MxGTjwBvOOWcJu9brgWL5HkQaZK7Q/4Yw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/link": "^3.6.5",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6516,17 +6402,17 @@
}
},
"node_modules/@react-aria/listbox": {
- "version": "3.15.0",
- "resolved": "https://registry.npmjs.org/@react-aria/listbox/-/listbox-3.15.0.tgz",
- "integrity": "sha512-Ub1Wu79R9sgxM7h4HeEdjOgOKDHwduvYcnDqsSddGXgpkL8ADjsy2YUQ0hHY5VnzA4BxK36bLp4mzSna8Qvj1w==",
+ "version": "3.15.1",
+ "resolved": "https://registry.npmjs.org/@react-aria/listbox/-/listbox-3.15.1.tgz",
+ "integrity": "sha512-81iDLFhmPXvLOtkI0SKzgrngfzwfR2o9oFDAYRfpYCOxgT7jjh8SaB4wCteJXRiMwymRGmgyTvD4yxWTluEeXA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/collections": "^3.12.8",
- "@react-stately/list": "^3.13.1",
+ "@react-stately/list": "^3.13.2",
"@react-types/listbox": "^3.7.4",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6546,21 +6432,21 @@
}
},
"node_modules/@react-aria/menu": {
- "version": "3.19.3",
- "resolved": "https://registry.npmjs.org/@react-aria/menu/-/menu-3.19.3.tgz",
- "integrity": "sha512-52fh8y8b2776R2VrfZPpUBJYC9oTP7XDy+zZuZTxPEd7Ywk0JNUl5F92y6ru22yPkS13sdhrNM/Op+V/KulmAg==",
+ "version": "3.19.4",
+ "resolved": "https://registry.npmjs.org/@react-aria/menu/-/menu-3.19.4.tgz",
+ "integrity": "sha512-0A0DUEkEvZynmaD3zktHavM+EmgZSR/ht+g1ExS2jXe73CegA+dbSRfPl9eIKcHxaRrWOV96qMj2pTf0yWTBDg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/overlays": "^3.30.0",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/overlays": "^3.31.0",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/collections": "^3.12.8",
- "@react-stately/menu": "^3.9.8",
- "@react-stately/selection": "^3.20.6",
- "@react-stately/tree": "^3.9.3",
+ "@react-stately/menu": "^3.9.9",
+ "@react-stately/selection": "^3.20.7",
+ "@react-stately/tree": "^3.9.4",
"@react-types/button": "^3.14.1",
"@react-types/menu": "^3.10.5",
"@react-types/shared": "^3.32.1",
@@ -6572,12 +6458,12 @@
}
},
"node_modules/@react-aria/meter": {
- "version": "3.4.27",
- "resolved": "https://registry.npmjs.org/@react-aria/meter/-/meter-3.4.27.tgz",
- "integrity": "sha512-andOOdJkgRJF9vBi5VWRmFodK+GT+5X1lLeNUmb4qOX8/MVfX/RbK72LDeIhd7xC7rSCFHj3WvZ198rK4q0k3w==",
+ "version": "3.4.28",
+ "resolved": "https://registry.npmjs.org/@react-aria/meter/-/meter-3.4.28.tgz",
+ "integrity": "sha512-elACITUBOf4Dp+BQ2aIgHIe58fjWYjspxhVcE5BMiqePktOfRkpb9ESj8nWcNXO8eqCYwrFJpElHvXkjYLWemw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/progress": "^3.4.27",
+ "@react-aria/progress": "^3.4.28",
"@react-types/meter": "^3.4.13",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6588,20 +6474,20 @@
}
},
"node_modules/@react-aria/numberfield": {
- "version": "3.12.2",
- "resolved": "https://registry.npmjs.org/@react-aria/numberfield/-/numberfield-3.12.2.tgz",
- "integrity": "sha512-M2b+z0HIXiXpGAWOQkO2kpIjaLNUXJ5Q3/GMa3Fkr+B1piFX0VuOynYrtddKVrmXCe+r5t+XcGb0KS29uqv7nQ==",
+ "version": "3.12.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/numberfield/-/numberfield-3.12.3.tgz",
+ "integrity": "sha512-70LRXWPEuj2X8mbQXUx6l6We+RGs49Kb+2eUiSSLArHK4RvTWJWEfSjHL5IHHJ+j2AkbORdryD7SR3gcXSX+5w==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/spinbutton": "^3.6.19",
- "@react-aria/textfield": "^3.18.2",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/spinbutton": "^3.7.0",
+ "@react-aria/textfield": "^3.18.3",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/form": "^3.2.2",
- "@react-stately/numberfield": "^3.10.2",
+ "@react-stately/numberfield": "^3.10.3",
"@react-types/button": "^3.14.1",
- "@react-types/numberfield": "^3.8.15",
+ "@react-types/numberfield": "^3.8.16",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6611,18 +6497,18 @@
}
},
"node_modules/@react-aria/overlays": {
- "version": "3.30.0",
- "resolved": "https://registry.npmjs.org/@react-aria/overlays/-/overlays-3.30.0.tgz",
- "integrity": "sha512-UpjqSjYZx5FAhceWCRVsW6fX1sEwya1fQ/TKkL53FAlLFR8QKuoKqFlmiL43YUFTcGK3UdEOy3cWTleLQwdSmQ==",
+ "version": "3.31.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/overlays/-/overlays-3.31.0.tgz",
+ "integrity": "sha512-Vq41X1s8XheGIhGbbuqRJslJEX08qmMVX//dwuBaFX9T18mMR04tumKOMxp8Lz+vqwdGLvjNUYDMcgolL+AMjw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
"@react-aria/ssr": "^3.9.10",
- "@react-aria/utils": "^3.31.0",
- "@react-aria/visually-hidden": "^3.8.28",
- "@react-stately/overlays": "^3.6.20",
+ "@react-aria/utils": "^3.32.0",
+ "@react-aria/visually-hidden": "^3.8.29",
+ "@react-stately/overlays": "^3.6.21",
"@react-types/button": "^3.14.1",
"@react-types/overlays": "^3.9.2",
"@react-types/shared": "^3.32.1",
@@ -6634,14 +6520,14 @@
}
},
"node_modules/@react-aria/progress": {
- "version": "3.4.27",
- "resolved": "https://registry.npmjs.org/@react-aria/progress/-/progress-3.4.27.tgz",
- "integrity": "sha512-0OA1shs1575g1zmO8+rWozdbTnxThFFhOfuoL1m7UV5Dley6FHpueoKB1ECv7B+Qm4dQt6DoEqLg7wsbbQDhmg==",
+ "version": "3.4.28",
+ "resolved": "https://registry.npmjs.org/@react-aria/progress/-/progress-3.4.28.tgz",
+ "integrity": "sha512-3NUUAu+rwf1M7pau9WFkrxe/PlBPiqCl/1maGU7iufVveHnz+SVVqXdNkjYx+WkPE0ViwG86Zx6OU4AYJ1pjNw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/label": "^3.7.22",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/utils": "^3.32.0",
"@react-types/progress": "^3.5.16",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6652,18 +6538,18 @@
}
},
"node_modules/@react-aria/radio": {
- "version": "3.12.2",
- "resolved": "https://registry.npmjs.org/@react-aria/radio/-/radio-3.12.2.tgz",
- "integrity": "sha512-I11f6I90neCh56rT/6ieAs3XyDKvEfbj/QmbU5cX3p+SJpRRPN0vxQi5D1hkh0uxDpeClxygSr31NmZsd4sqfg==",
+ "version": "3.12.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/radio/-/radio-3.12.3.tgz",
+ "integrity": "sha512-noucVX++9J3VYWg7dB+r09NVX8UZSR1TWUMCbT/MffzhltOsmiLJVvgJ0uEeeVRuu3+ZM63jOshrzG89anX4TQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/form": "^3.1.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/radio": "^3.11.2",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/form": "^3.1.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/radio": "^3.11.3",
"@react-types/radio": "^3.9.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6674,15 +6560,15 @@
}
},
"node_modules/@react-aria/searchfield": {
- "version": "3.8.9",
- "resolved": "https://registry.npmjs.org/@react-aria/searchfield/-/searchfield-3.8.9.tgz",
- "integrity": "sha512-Yt2pj8Wb5/XsUr2T0DQqFv+DlFpzzWIWnNr9cJATUcWV/xw6ok7YFEg9+7EHtBmsCQxFFJtock1QfZzBw6qLtQ==",
+ "version": "3.8.10",
+ "resolved": "https://registry.npmjs.org/@react-aria/searchfield/-/searchfield-3.8.10.tgz",
+ "integrity": "sha512-1wMoSjXoekcETC4ZP5AUcWoaK96FssVuF9MgqQNqE5VnauQDjZBpPCfz6GSZwRHTGwoqb7CI4iEi7433kd50xg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/textfield": "^3.18.2",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/searchfield": "^3.5.16",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/textfield": "^3.18.3",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/searchfield": "^3.5.17",
"@react-types/button": "^3.14.1",
"@react-types/searchfield": "^3.6.6",
"@react-types/shared": "^3.32.1",
@@ -6694,23 +6580,23 @@
}
},
"node_modules/@react-aria/select": {
- "version": "3.17.0",
- "resolved": "https://registry.npmjs.org/@react-aria/select/-/select-3.17.0.tgz",
- "integrity": "sha512-q5ZuyAn5jSOeI0Ys99951TaGcF4O7u1SSBVxPMwVVXOU8ZhToCNx+WG3n/JDYHEjqdo7sbsVRaPA7LkBzBGf5w==",
+ "version": "3.17.1",
+ "resolved": "https://registry.npmjs.org/@react-aria/select/-/select-3.17.1.tgz",
+ "integrity": "sha512-jPMuaSp+4SbdE9G5UrrTer2CPbbUnUSLd8I2wgRgGcyk3wFw9DtnUNfms+UBA/2SrVnAEJ6KCQAI0oiMK2m+tQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/form": "^3.1.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/listbox": "^3.15.0",
- "@react-aria/menu": "^3.19.3",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
- "@react-aria/visually-hidden": "^3.8.28",
- "@react-stately/select": "^3.8.0",
+ "@react-aria/form": "^3.1.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/listbox": "^3.15.1",
+ "@react-aria/menu": "^3.19.4",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-aria/visually-hidden": "^3.8.29",
+ "@react-stately/select": "^3.9.0",
"@react-types/button": "^3.14.1",
- "@react-types/select": "^3.11.0",
+ "@react-types/select": "^3.12.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6720,16 +6606,16 @@
}
},
"node_modules/@react-aria/selection": {
- "version": "3.26.0",
- "resolved": "https://registry.npmjs.org/@react-aria/selection/-/selection-3.26.0.tgz",
- "integrity": "sha512-ZBH3EfWZ+RfhTj01dH8L17uT7iNbXWS8u77/fUpHgtrm0pwNVhx0TYVnLU1YpazQ/3WVpvWhmBB8sWwD1FlD/g==",
+ "version": "3.27.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/selection/-/selection-3.27.0.tgz",
+ "integrity": "sha512-4zgreuCu4QM4t2U7aF3mbMvIKCEkTEo6h6nGJvbyZALZ/eFtLTvUiV8/5CGDJRLGvgMvi3XxUeF9PZbpk5nMJg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/selection": "^3.20.6",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/selection": "^3.20.7",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6739,12 +6625,12 @@
}
},
"node_modules/@react-aria/separator": {
- "version": "3.4.13",
- "resolved": "https://registry.npmjs.org/@react-aria/separator/-/separator-3.4.13.tgz",
- "integrity": "sha512-0NlcrdBfQbcjWEXdHl3+uSY1272n2ljT1gWL2RIf6aQsQWTZ0gz0rTgRHy0MTXN+y+tICItUERJT4vmTLtIzVg==",
+ "version": "3.4.14",
+ "resolved": "https://registry.npmjs.org/@react-aria/separator/-/separator-3.4.14.tgz",
+ "integrity": "sha512-a32OB5HMAmXEdExyDvsadsnlmNcVxxpx3tt+Jxxl6H9CHsLO+Ak077KGFJteGVg4bTfhWGAgczOsnvIioR88xw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6754,16 +6640,16 @@
}
},
"node_modules/@react-aria/slider": {
- "version": "3.8.2",
- "resolved": "https://registry.npmjs.org/@react-aria/slider/-/slider-3.8.2.tgz",
- "integrity": "sha512-6KyUGaVzRE4xAz1LKHbNh1q5wzxe58pdTHFSnxNe6nk1SCoHw7NfI4h2s2m6LgJ0megFxsT0Ir8aHaFyyxmbgg==",
+ "version": "3.8.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/slider/-/slider-3.8.3.tgz",
+ "integrity": "sha512-tOZVH+wLt3ik0C3wyuXqHL9fvnQ5S+/tHMYB7z8aZV5cEe36Gt4efBILphlA7ChkL/RvpHGK2AGpEGxvuEQIuQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/slider": "^3.7.2",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/slider": "^3.7.3",
"@react-types/shared": "^3.32.1",
"@react-types/slider": "^3.8.2",
"@swc/helpers": "^0.5.0"
@@ -6774,14 +6660,14 @@
}
},
"node_modules/@react-aria/spinbutton": {
- "version": "3.6.19",
- "resolved": "https://registry.npmjs.org/@react-aria/spinbutton/-/spinbutton-3.6.19.tgz",
- "integrity": "sha512-xOIXegDpts9t3RSHdIN0iYQpdts0FZ3LbpYJIYVvdEHo9OpDS+ElnDzCGtwZLguvZlwc5s1LAKuKopDUsAEMkw==",
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/spinbutton/-/spinbutton-3.7.0.tgz",
+ "integrity": "sha512-FOyH94BZp+jNhUJuZqXSubQZDNQEJyW/J19/gwCxQvQvxAP79dhDFshh1UtrL4EjbjIflmaOes+sH/XEHUnJVA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
+ "@react-aria/i18n": "^3.12.14",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6807,13 +6693,13 @@
}
},
"node_modules/@react-aria/switch": {
- "version": "3.7.8",
- "resolved": "https://registry.npmjs.org/@react-aria/switch/-/switch-3.7.8.tgz",
- "integrity": "sha512-AfsUq1/YiuoprhcBUD9vDPyWaigAwctQNW1fMb8dROL+i/12B+Zekj8Ml+jbU69/kIVtfL0Jl7/0Bo9KK3X0xQ==",
+ "version": "3.7.9",
+ "resolved": "https://registry.npmjs.org/@react-aria/switch/-/switch-3.7.9.tgz",
+ "integrity": "sha512-RZtuFRXews0PBx8Fc2R/kqaIARD5YIM5uYtmwnWfY7y5bEsBGONxp0d+m2vDyY7yk+VNpVFBdwewY9GbZmH1CA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/toggle": "^3.12.2",
- "@react-stately/toggle": "^3.9.2",
+ "@react-aria/toggle": "^3.12.3",
+ "@react-stately/toggle": "^3.9.3",
"@react-types/shared": "^3.32.1",
"@react-types/switch": "^3.5.15",
"@swc/helpers": "^0.5.0"
@@ -6824,21 +6710,21 @@
}
},
"node_modules/@react-aria/table": {
- "version": "3.17.8",
- "resolved": "https://registry.npmjs.org/@react-aria/table/-/table-3.17.8.tgz",
- "integrity": "sha512-bXiZoxTMbsqUJsYDhHPzKc3jw0HFJ/xMsJ49a0f7mp5r9zACxNLeIU0wJ4Uvx37dnYOHKzGliG+rj5l4sph7MA==",
+ "version": "3.17.9",
+ "resolved": "https://registry.npmjs.org/@react-aria/table/-/table-3.17.9.tgz",
+ "integrity": "sha512-Jby561E1YfzoRgtp+RQuhDz4vnxlcqol9RTgQQ7FWXC2IcN9Pny1COU34LkA1cL9VeB9LJ0+qfMhGw4aAwaUmw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/grid": "^3.14.5",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/grid": "^3.14.6",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
"@react-aria/live-announcer": "^3.4.4",
- "@react-aria/utils": "^3.31.0",
- "@react-aria/visually-hidden": "^3.8.28",
+ "@react-aria/utils": "^3.32.0",
+ "@react-aria/visually-hidden": "^3.8.29",
"@react-stately/collections": "^3.12.8",
"@react-stately/flags": "^3.1.2",
- "@react-stately/table": "^3.15.1",
+ "@react-stately/table": "^3.15.2",
"@react-types/checkbox": "^3.10.2",
"@react-types/grid": "^3.3.6",
"@react-types/shared": "^3.32.1",
@@ -6851,18 +6737,18 @@
}
},
"node_modules/@react-aria/tabs": {
- "version": "3.10.8",
- "resolved": "https://registry.npmjs.org/@react-aria/tabs/-/tabs-3.10.8.tgz",
- "integrity": "sha512-sPPJyTyoAqsBh76JinBAxStOcbjZvyWFYKpJ9Uqw+XT0ObshAPPFSGeh8DiQemPs02RwJdrfARPMhyqiX8t59A==",
+ "version": "3.10.9",
+ "resolved": "https://registry.npmjs.org/@react-aria/tabs/-/tabs-3.10.9.tgz",
+ "integrity": "sha512-2+FNd7Ohr3hrEgYrKdZW0FWbgybzTVZft6tw95oQ2+9PnjdDVdtzHliI+8HY8jzb4hTf4bU7O8n+s/HBlCBSIw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/tabs": "^3.8.6",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/tabs": "^3.8.7",
"@react-types/shared": "^3.32.1",
- "@react-types/tabs": "^3.3.19",
+ "@react-types/tabs": "^3.3.20",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
@@ -6871,18 +6757,18 @@
}
},
"node_modules/@react-aria/tag": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/@react-aria/tag/-/tag-3.7.2.tgz",
- "integrity": "sha512-JV679P5r4DftbqyNBRt7Nw9mP7dxaKPfikjyQuvUoEOa06wBLbM/hU9RJUPRvqK+Un6lgBDAmXD9NNf4N2xpdw==",
+ "version": "3.7.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/tag/-/tag-3.7.3.tgz",
+ "integrity": "sha512-fonqGFxhpnlIDOz3u38y4+MG5wyAef9+oDybsCKaJ57K+D4BTvSmpGBemN/mcaxdabnYfyhasCm0H91Q9XRcCA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/gridlist": "^3.14.1",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/list": "^3.13.1",
+ "@react-aria/gridlist": "^3.14.2",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/list": "^3.13.2",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6893,17 +6779,17 @@
}
},
"node_modules/@react-aria/textfield": {
- "version": "3.18.2",
- "resolved": "https://registry.npmjs.org/@react-aria/textfield/-/textfield-3.18.2.tgz",
- "integrity": "sha512-G+lM8VYSor6g9Yptc6hLZ6BF+0cq0pYol1z6wdQUQgJN8tg4HPtzq75lsZtlCSIznL3amgRAxJtd0dUrsAnvaQ==",
+ "version": "3.18.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/textfield/-/textfield-3.18.3.tgz",
+ "integrity": "sha512-ehiSHOKuKCwPdxFe7wGE0QJlSeeJR4iJuH+OdsYVlZzYbl9J/uAdGbpsj/zPhNtBo1g/Td76U8TtTlYRZ8lUZw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/form": "^3.1.2",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/form": "^3.1.3",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/form": "^3.2.2",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@react-types/textfield": "^3.12.6",
"@swc/helpers": "^0.5.0"
@@ -6914,15 +6800,15 @@
}
},
"node_modules/@react-aria/toast": {
- "version": "3.0.8",
- "resolved": "https://registry.npmjs.org/@react-aria/toast/-/toast-3.0.8.tgz",
- "integrity": "sha512-rfJIms6AkMyQ7ZgKrMZgGfPwGcB/t1JoEwbc1PAmXcAvFI/hzF6YF7ZFDXiq38ucFsP9PnHmbXIzM9w4ccl18A==",
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/@react-aria/toast/-/toast-3.0.9.tgz",
+ "integrity": "sha512-2sRitczXl5VEwyq97o8TVvq3bIqLA7EfA7dhDPkYlHGa4T1vzKkhNqgkskKd9+Tw7gqeFRFjnokh+es9jkM11g==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/landmark": "^3.0.7",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/landmark": "^3.0.8",
+ "@react-aria/utils": "^3.32.0",
"@react-stately/toast": "^3.1.2",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
@@ -6934,14 +6820,14 @@
}
},
"node_modules/@react-aria/toggle": {
- "version": "3.12.2",
- "resolved": "https://registry.npmjs.org/@react-aria/toggle/-/toggle-3.12.2.tgz",
- "integrity": "sha512-g25XLYqJuJpt0/YoYz2Rab8ax+hBfbssllcEFh0v0jiwfk2gwTWfRU9KAZUvxIqbV8Nm8EBmrYychDpDcvW1kw==",
+ "version": "3.12.3",
+ "resolved": "https://registry.npmjs.org/@react-aria/toggle/-/toggle-3.12.3.tgz",
+ "integrity": "sha512-mciUbeVP99fRObnH5qLFrkKXX+5VKeV6BhFJlmz1eo3ltR/0xZKnUcycA2CGzmqtB70w09CAhr8NMEnpNH8dwQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/toggle": "^3.9.2",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/toggle": "^3.9.3",
"@react-types/checkbox": "^3.10.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -6952,14 +6838,14 @@
}
},
"node_modules/@react-aria/toolbar": {
- "version": "3.0.0-beta.21",
- "resolved": "https://registry.npmjs.org/@react-aria/toolbar/-/toolbar-3.0.0-beta.21.tgz",
- "integrity": "sha512-yRCk/GD8g+BhdDgxd3I0a0c8Ni4Wyo6ERzfSoBkPkwQ4X2E2nkopmraM9D0fXw4UcIr4bnmvADzkHXtBN0XrBg==",
+ "version": "3.0.0-beta.22",
+ "resolved": "https://registry.npmjs.org/@react-aria/toolbar/-/toolbar-3.0.0-beta.22.tgz",
+ "integrity": "sha512-Q1gOj6N4vzvpGrIoNAxpUudEQP82UgQACENH/bcH8FnEMbSP7DHvVfDhj7GTU6ldMXO2cjqLhiidoUK53gkCiA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/focus": "^3.21.2",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -6969,16 +6855,16 @@
}
},
"node_modules/@react-aria/tooltip": {
- "version": "3.8.8",
- "resolved": "https://registry.npmjs.org/@react-aria/tooltip/-/tooltip-3.8.8.tgz",
- "integrity": "sha512-CmHUqtXtFWmG4AHMEr9hIVex+oscK6xcM2V47gq9ijNInxe3M6UBu/dBdkgGP/jYv9N7tzCAjTR8nNIHQXwvWw==",
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/tooltip/-/tooltip-3.9.0.tgz",
+ "integrity": "sha512-2O1DXEV8/+DeUq9dIlAfaNa7lSG+7FCZDuF+sNiPYnZM6tgFOrsId26uMF5EuwpVfOvXSSGnq0+6Ma2On7mZPg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/tooltip": "^3.5.8",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/tooltip": "^3.5.9",
"@react-types/shared": "^3.32.1",
- "@react-types/tooltip": "^3.4.21",
+ "@react-types/tooltip": "^3.5.0",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
@@ -6987,16 +6873,16 @@
}
},
"node_modules/@react-aria/tree": {
- "version": "3.1.4",
- "resolved": "https://registry.npmjs.org/@react-aria/tree/-/tree-3.1.4.tgz",
- "integrity": "sha512-6pbFeN0dAsCOrFGUKU39CNjft20zCAjLfMqfkRWisL+JkUHI2nq6odUJF5jJTsU1C+1951+3oFOmVxPX+K+akQ==",
+ "version": "3.1.5",
+ "resolved": "https://registry.npmjs.org/@react-aria/tree/-/tree-3.1.5.tgz",
+ "integrity": "sha512-FAq7pAhRVrWU0U/8QbQIJfBqHuoCD+F9rR9ruoM3oL0vVIZxVN57ak/dhyge3EGlraTl9vzFi6IRceXiMuk5kg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/gridlist": "^3.14.1",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/utils": "^3.31.0",
- "@react-stately/tree": "^3.9.3",
+ "@react-aria/gridlist": "^3.14.2",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/utils": "^3.32.0",
+ "@react-stately/tree": "^3.9.4",
"@react-types/button": "^3.14.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -7007,14 +6893,14 @@
}
},
"node_modules/@react-aria/utils": {
- "version": "3.31.0",
- "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.31.0.tgz",
- "integrity": "sha512-ABOzCsZrWzf78ysswmguJbx3McQUja7yeGj6/vZo4JVsZNlxAN+E9rs381ExBRI0KzVo6iBTeX5De8eMZPJXig==",
+ "version": "3.32.0",
+ "resolved": "https://registry.npmjs.org/@react-aria/utils/-/utils-3.32.0.tgz",
+ "integrity": "sha512-/7Rud06+HVBIlTwmwmJa2W8xVtgxgzm0+kLbuFooZRzKDON6hhozS1dOMR/YLMxyJOaYOTpImcP4vRR9gL1hEg==",
"license": "Apache-2.0",
"dependencies": {
"@react-aria/ssr": "^3.9.10",
"@react-stately/flags": "^3.1.2",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0",
"clsx": "^2.0.0"
@@ -7025,13 +6911,13 @@
}
},
"node_modules/@react-aria/visually-hidden": {
- "version": "3.8.28",
- "resolved": "https://registry.npmjs.org/@react-aria/visually-hidden/-/visually-hidden-3.8.28.tgz",
- "integrity": "sha512-KRRjbVVob2CeBidF24dzufMxBveEUtUu7IM+hpdZKB+gxVROoh4XRLPv9SFmaH89Z7D9To3QoykVZoWD0lan6Q==",
+ "version": "3.8.29",
+ "resolved": "https://registry.npmjs.org/@react-aria/visually-hidden/-/visually-hidden-3.8.29.tgz",
+ "integrity": "sha512-1joCP+MHBLd+YA6Gb08nMFfDBhOF0Kh1gR1SA8zoxEB5RMfQEEkufIB8k0GGwvHGSCK3gFyO8UAVsD0+rRYEyg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/utils": "^3.31.0",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/utils": "^3.32.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7416,6 +7302,12 @@
"node-fetch": "^2.7.0"
}
},
+ "node_modules/@react-pdf/layout/node_modules/emoji-regex": {
+ "version": "10.6.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
+ "license": "MIT"
+ },
"node_modules/@react-pdf/pdfkit": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@react-pdf/pdfkit/-/pdfkit-3.2.0.tgz",
@@ -7496,6 +7388,16 @@
"node": ">=0.8.x"
}
},
+ "node_modules/@react-pdf/renderer/node_modules/scheduler": {
+ "version": "0.17.0",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.17.0.tgz",
+ "integrity": "sha512-7rro8Io3tnCPuY4la/NuI5F2yfESpnfZyT6TtkXnSWVkcu0BCDJ+8gk5ozUaFaxpIyNuWAPXrH0yFcSi28fnDA==",
+ "license": "MIT",
+ "dependencies": {
+ "loose-envify": "^1.1.0",
+ "object-assign": "^4.1.1"
+ }
+ },
"node_modules/@react-pdf/stylesheet": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/@react-pdf/stylesheet/-/stylesheet-4.3.0.tgz",
@@ -7599,9 +7501,9 @@
}
},
"node_modules/@react-router/dev": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/@react-router/dev/-/dev-7.10.1.tgz",
- "integrity": "sha512-kap9O8rTN6b3vxjd+0SGjhm5vqiAZHMmOX1Hc7Y4KXRVVdusn+0+hxs44cDSfbW6Z6fCLw6GXXe0Kr+DJIRezw==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/@react-router/dev/-/dev-7.11.0.tgz",
+ "integrity": "sha512-g1ou5Zw3r4mCU0L+EXH4vRtAiyt8qz1JOvL1k+PW4rZ4+71h5nBy/fLgD7cg5BnzQZmjRO1PzCgpF5BIrlKYxQ==",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.27.7",
@@ -7611,7 +7513,7 @@
"@babel/preset-typescript": "^7.27.1",
"@babel/traverse": "^7.27.7",
"@babel/types": "^7.27.7",
- "@react-router/node": "7.10.1",
+ "@react-router/node": "7.11.0",
"@remix-run/node-fetch-server": "^0.9.0",
"arg": "^5.0.1",
"babel-dead-code-elimination": "^1.0.6",
@@ -7640,9 +7542,10 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/serve": "^7.10.1",
- "@vitejs/plugin-rsc": "*",
- "react-router": "^7.10.1",
+ "@react-router/serve": "^7.11.0",
+ "@vitejs/plugin-rsc": "~0.5.7",
+ "react-router": "^7.11.0",
+ "react-server-dom-webpack": "^19.2.3",
"typescript": "^5.1.0",
"vite": "^5.1.0 || ^6.0.0 || ^7.0.0",
"wrangler": "^3.28.2 || ^4.0.0"
@@ -7654,6 +7557,9 @@
"@vitejs/plugin-rsc": {
"optional": true
},
+ "react-server-dom-webpack": {
+ "optional": true
+ },
"typescript": {
"optional": true
},
@@ -7690,9 +7596,9 @@
}
},
"node_modules/@react-router/fs-routes": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/@react-router/fs-routes/-/fs-routes-7.10.1.tgz",
- "integrity": "sha512-iqMibGPehjHN0biBjz/SZ/Q1NyRsUsKYvP86TiIQv5vi8YRUUm80CEugBLrzu2FsuMybIGpwHcMpAB/QwVz2cw==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/@react-router/fs-routes/-/fs-routes-7.11.0.tgz",
+ "integrity": "sha512-IMbbCqjBGn7X1/cJOHPt3jPhTUSShDd/6LAnkU4uIkMmkhZg+wm8lviCETFIfy0Ha95tFLVhBb6MnAYuzmmNCw==",
"license": "MIT",
"dependencies": {
"minimatch": "^9.0.0"
@@ -7701,7 +7607,7 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/dev": "^7.10.1",
+ "@react-router/dev": "^7.11.0",
"typescript": "^5.1.0"
},
"peerDependenciesMeta": {
@@ -7735,9 +7641,9 @@
}
},
"node_modules/@react-router/node": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/@react-router/node/-/node-7.10.1.tgz",
- "integrity": "sha512-RLmjlR1zQu+ve8ibI0lu91pJrXGcmfkvsrQl7z/eTc5V5FZgl0OvQVWL5JDWBlBZyzdLMQQekUOX5WcPhCP1FQ==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/@react-router/node/-/node-7.11.0.tgz",
+ "integrity": "sha512-11ha8EW+F7wTMmPz2pdi11LJxz2irtuksiCpunpZjtpPmYU37S+GGihG8vFeTa2xFPNunEaHNlfzKyzeYm570Q==",
"license": "MIT",
"dependencies": {
"@mjackson/node-fetch-server": "^0.2.0"
@@ -7746,7 +7652,7 @@
"node": ">=20.0.0"
},
"peerDependencies": {
- "react-router": "7.10.1",
+ "react-router": "7.11.0",
"typescript": "^5.1.0"
},
"peerDependenciesMeta": {
@@ -7756,15 +7662,15 @@
}
},
"node_modules/@react-router/remix-routes-option-adapter": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/@react-router/remix-routes-option-adapter/-/remix-routes-option-adapter-7.10.1.tgz",
- "integrity": "sha512-bIl8callRinFaEZQFlLSBQbVQk5F9naSWmjNbL45ms8XzuT6GXILpHUoDgUKiQE5tZ+8G7JKRcAQTCUeL+ee6Q==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/@react-router/remix-routes-option-adapter/-/remix-routes-option-adapter-7.11.0.tgz",
+ "integrity": "sha512-Wqu/6em/5ykf4tF8RmEuaO0HbCE+6nsg7vyM/tzSc5NmLkVQ/pcAOHHnjZBuPmfqL6krkXtj9CGPiJLQXXWpSg==",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
- "@react-router/dev": "^7.10.1",
+ "@react-router/dev": "^7.11.0",
"typescript": "^5.1.0"
},
"peerDependenciesMeta": {
@@ -7774,14 +7680,14 @@
}
},
"node_modules/@react-stately/calendar": {
- "version": "3.9.0",
- "resolved": "https://registry.npmjs.org/@react-stately/calendar/-/calendar-3.9.0.tgz",
- "integrity": "sha512-U5Nf2kx9gDhJRxdDUm5gjfyUlt/uUfOvM1vDW2UA62cA6+2k2cavMLc2wNlXOb/twFtl6p0joYKHG7T4xnEFkg==",
+ "version": "3.9.1",
+ "resolved": "https://registry.npmjs.org/@react-stately/calendar/-/calendar-3.9.1.tgz",
+ "integrity": "sha512-q0Q8fivpQa1rcLg5daUVxwVj1smCp1VnpX9A5Q5PkI9lH9x+xdS0Y6eOqb8Ih3TKBDkx9/oEZonOX7RYNIzSig==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
- "@react-stately/utils": "^3.10.8",
- "@react-types/calendar": "^3.8.0",
+ "@internationalized/date": "^3.10.1",
+ "@react-stately/utils": "^3.11.0",
+ "@react-types/calendar": "^3.8.1",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7790,13 +7696,13 @@
}
},
"node_modules/@react-stately/checkbox": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/@react-stately/checkbox/-/checkbox-3.7.2.tgz",
- "integrity": "sha512-j1ycUVz5JmqhaL6mDZgDNZqBilOB8PBW096sDPFaTtuYreDx2HOd1igxiIvwlvPESZwsJP7FVM3mYnaoXtpKPA==",
+ "version": "3.7.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/checkbox/-/checkbox-3.7.3.tgz",
+ "integrity": "sha512-ve2K+uWT+NRM1JMn+tkWJDP2iBAaWvbZ0TbSXs371IUcTWaNW61HygZ+UFOB/frAZGloazEKGqAsX5XjFpgB9w==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/form": "^3.2.2",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/checkbox": "^3.10.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -7819,17 +7725,17 @@
}
},
"node_modules/@react-stately/color": {
- "version": "3.9.2",
- "resolved": "https://registry.npmjs.org/@react-stately/color/-/color-3.9.2.tgz",
- "integrity": "sha512-F+6Do8W3yu/4n7MpzZtbXwVukcLTFYYDIUtpoR+Jl52UmAr9Hf1CQgkyTI2azv1ZMzj1mVrTBhpBL0q27kFZig==",
+ "version": "3.9.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/color/-/color-3.9.3.tgz",
+ "integrity": "sha512-H5lQgl07upsI7+cxTwYo639ziDDG1DFgOtq5pmC4Nxi8uNl8sR/8YeLaYuxyJiVkj2VLHBYRQ3+JcxrdduFvPQ==",
"license": "Apache-2.0",
"dependencies": {
"@internationalized/number": "^3.6.5",
"@internationalized/string": "^3.2.7",
"@react-stately/form": "^3.2.2",
- "@react-stately/numberfield": "^3.10.2",
- "@react-stately/slider": "^3.7.2",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/numberfield": "^3.10.3",
+ "@react-stately/slider": "^3.7.3",
+ "@react-stately/utils": "^3.11.0",
"@react-types/color": "^3.1.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -7839,17 +7745,17 @@
}
},
"node_modules/@react-stately/combobox": {
- "version": "3.12.0",
- "resolved": "https://registry.npmjs.org/@react-stately/combobox/-/combobox-3.12.0.tgz",
- "integrity": "sha512-A6q9R/7cEa/qoQsBkdslXWvD7ztNLLQ9AhBhVN9QvzrmrH5B4ymUwcTU8lWl22ykH7RRwfonLeLXJL4C+/L2oQ==",
+ "version": "3.12.1",
+ "resolved": "https://registry.npmjs.org/@react-stately/combobox/-/combobox-3.12.1.tgz",
+ "integrity": "sha512-RwfTTYgKJ9raIY+7grZ5DbfVRSO5pDjo/ur2VN/28LZzM0eOQrLFQ00vpBmY7/R64sHRpcXLDxpz5cqpKCdvTw==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
"@react-stately/form": "^3.2.2",
- "@react-stately/list": "^3.13.1",
- "@react-stately/overlays": "^3.6.20",
- "@react-stately/utils": "^3.10.8",
- "@react-types/combobox": "^3.13.9",
+ "@react-stately/list": "^3.13.2",
+ "@react-stately/overlays": "^3.6.21",
+ "@react-stately/utils": "^3.11.0",
+ "@react-types/combobox": "^3.13.10",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7858,9 +7764,9 @@
}
},
"node_modules/@react-stately/data": {
- "version": "3.14.1",
- "resolved": "https://registry.npmjs.org/@react-stately/data/-/data-3.14.1.tgz",
- "integrity": "sha512-lDNc4gZ6kVZcrABeeQZPTTnP+1ykNylSvFzAC/Hq1fs8+s54xLRvoENWIyG+yK19N9TIGEoA0AOFG8PoAun43g==",
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/@react-stately/data/-/data-3.15.0.tgz",
+ "integrity": "sha512-ocP39NQQkrbtHVCPsqltNncpEHaONyYX/8s2UK9xeLRc+55NtDI2RZDKTUf/mi6H2SHxzEwLMQH8hWtEwC55mQ==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.32.1",
@@ -7871,17 +7777,17 @@
}
},
"node_modules/@react-stately/datepicker": {
- "version": "3.15.2",
- "resolved": "https://registry.npmjs.org/@react-stately/datepicker/-/datepicker-3.15.2.tgz",
- "integrity": "sha512-S5GL+W37chvV8knv9v0JRv0L6hKo732qqabCCHXzOpYxkLIkV4f/y3cHdEzFWzpZ0O0Gkg7WgeYo160xOdBKYg==",
+ "version": "3.15.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/datepicker/-/datepicker-3.15.3.tgz",
+ "integrity": "sha512-RDYoz1R/EkCyxHYewb58T7DngU3gl6CnQL7xiWiDlayPnstGaanoQ3yCZGJaIQwR8PrKdNbQwXF9NlSmj8iCOw==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
+ "@internationalized/date": "^3.10.1",
"@internationalized/string": "^3.2.7",
"@react-stately/form": "^3.2.2",
- "@react-stately/overlays": "^3.6.20",
- "@react-stately/utils": "^3.10.8",
- "@react-types/datepicker": "^3.13.2",
+ "@react-stately/overlays": "^3.6.21",
+ "@react-stately/utils": "^3.11.0",
+ "@react-types/datepicker": "^3.13.3",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7890,12 +7796,12 @@
}
},
"node_modules/@react-stately/disclosure": {
- "version": "3.0.8",
- "resolved": "https://registry.npmjs.org/@react-stately/disclosure/-/disclosure-3.0.8.tgz",
- "integrity": "sha512-/Ce/Z76y85eSBZiemfU/uEyXkBBa1RdfLRaKD13rnfUV7/nS3ae1VtNlsXgmwQjWv2pmAiSuEKYMbZfVL7q/lQ==",
+ "version": "3.0.9",
+ "resolved": "https://registry.npmjs.org/@react-stately/disclosure/-/disclosure-3.0.9.tgz",
+ "integrity": "sha512-M3HKsXqdzYKQf1TpnQRLZ6+/b8E3Nba3oOuY0OW5NnM5dZWSnXuj8foBQJT118FdLgMjpfBdPIkUvnaGiDCs5w==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7904,12 +7810,12 @@
}
},
"node_modules/@react-stately/dnd": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/@react-stately/dnd/-/dnd-3.7.1.tgz",
- "integrity": "sha512-O1JBJ4HI1rVNKuoa5NXiC5FCrCEkr9KVBoKNlTZU8/cnQselhbEsUfMglAakO2EuwIaM1tIXoNF5J/N5P+6lTA==",
+ "version": "3.7.2",
+ "resolved": "https://registry.npmjs.org/@react-stately/dnd/-/dnd-3.7.2.tgz",
+ "integrity": "sha512-tr5nNgrLMn5GV308K1f010XUZ2j8CApqHrrcjg5fa2AnpO2gECcOf+UEnAvoFNUsvknje4iPX8y0/0No2ZHsgA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/selection": "^3.20.6",
+ "@react-stately/selection": "^3.20.7",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7940,13 +7846,13 @@
}
},
"node_modules/@react-stately/grid": {
- "version": "3.11.6",
- "resolved": "https://registry.npmjs.org/@react-stately/grid/-/grid-3.11.6.tgz",
- "integrity": "sha512-vWPAkzpeTIsrurHfMubzMuqEw7vKzFhIJeEK5sEcLunyr1rlADwTzeWrHNbPMl66NAIAi70Dr1yNq+kahQyvMA==",
+ "version": "3.11.7",
+ "resolved": "https://registry.npmjs.org/@react-stately/grid/-/grid-3.11.7.tgz",
+ "integrity": "sha512-SqzBSxUTFZKLZicfXDK+M0A3gh07AYK1pmU/otcq2cjZ0nSC4CceKijQ2GBZnl+YGcGHI1RgkhpLP6ZioMYctQ==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
- "@react-stately/selection": "^3.20.6",
+ "@react-stately/selection": "^3.20.7",
"@react-types/grid": "^3.3.6",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -7956,14 +7862,14 @@
}
},
"node_modules/@react-stately/list": {
- "version": "3.13.1",
- "resolved": "https://registry.npmjs.org/@react-stately/list/-/list-3.13.1.tgz",
- "integrity": "sha512-eHaoauh21twbcl0kkwULhVJ+CzYcy1jUjMikNVMHOQdhr4WIBdExf7PmSgKHKqsSPhpGg6IpTCY2dUX3RycjDg==",
+ "version": "3.13.2",
+ "resolved": "https://registry.npmjs.org/@react-stately/list/-/list-3.13.2.tgz",
+ "integrity": "sha512-dGFALuQWNNOkv7W12qSsXLF4mJHLeWeK2hVvdyj4SI8Vxku+BOfaVKuW3sn3mNiixI1dM/7FY2ip4kK+kv27vw==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
- "@react-stately/selection": "^3.20.6",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/selection": "^3.20.7",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -7972,12 +7878,12 @@
}
},
"node_modules/@react-stately/menu": {
- "version": "3.9.8",
- "resolved": "https://registry.npmjs.org/@react-stately/menu/-/menu-3.9.8.tgz",
- "integrity": "sha512-bo0NOhofnTHLESiYfsSSw6gyXiPVJJ0UlN2igUXtJk5PmyhWjFzUzTzcnd7B028OB0si9w3LIWM3stqz5271Eg==",
+ "version": "3.9.9",
+ "resolved": "https://registry.npmjs.org/@react-stately/menu/-/menu-3.9.9.tgz",
+ "integrity": "sha512-moW5JANxMxPilfR0SygpCWCZe7Ef09oadgzTZthRymNRv0PXVS9ad4wd1EkwuMvPH/n0uZLZE2s8hNyFDgyqPA==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/overlays": "^3.6.20",
+ "@react-stately/overlays": "^3.6.21",
"@react-types/menu": "^3.10.5",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -7987,15 +7893,15 @@
}
},
"node_modules/@react-stately/numberfield": {
- "version": "3.10.2",
- "resolved": "https://registry.npmjs.org/@react-stately/numberfield/-/numberfield-3.10.2.tgz",
- "integrity": "sha512-jlKVFYaH3RX5KvQ7a+SAMQuPccZCzxLkeYkBE64u1Zvi7YhJ8hkTMHG/fmZMbk1rHlseE2wfBdk0Rlya3MvoNQ==",
+ "version": "3.10.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/numberfield/-/numberfield-3.10.3.tgz",
+ "integrity": "sha512-40g/oyVcWoEaLqkr61KuHZzQVLLXFi3oa2K8XLnb6o+859SM4TX3XPNqL6eNQjXSKoJO5Hlgpqhee9j+VDbGog==",
"license": "Apache-2.0",
"dependencies": {
"@internationalized/number": "^3.6.5",
"@react-stately/form": "^3.2.2",
- "@react-stately/utils": "^3.10.8",
- "@react-types/numberfield": "^3.8.15",
+ "@react-stately/utils": "^3.11.0",
+ "@react-types/numberfield": "^3.8.16",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
@@ -8003,12 +7909,12 @@
}
},
"node_modules/@react-stately/overlays": {
- "version": "3.6.20",
- "resolved": "https://registry.npmjs.org/@react-stately/overlays/-/overlays-3.6.20.tgz",
- "integrity": "sha512-YAIe+uI8GUXX8F/0Pzr53YeC5c/bjqbzDFlV8NKfdlCPa6+Jp4B/IlYVjIooBj9+94QvbQdjylegvYWK/iPwlg==",
+ "version": "3.6.21",
+ "resolved": "https://registry.npmjs.org/@react-stately/overlays/-/overlays-3.6.21.tgz",
+ "integrity": "sha512-7f25H1PS2g+SNvuWPEW30pSGqYNHxesCP4w+1RcV/XV1oQI7oP5Ji2WfI0QsJEFc9wP/ZO1pyjHNKpfLI3O88g==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/overlays": "^3.9.2",
"@swc/helpers": "^0.5.0"
},
@@ -8017,13 +7923,13 @@
}
},
"node_modules/@react-stately/radio": {
- "version": "3.11.2",
- "resolved": "https://registry.npmjs.org/@react-stately/radio/-/radio-3.11.2.tgz",
- "integrity": "sha512-UM7L6AW+k8edhSBUEPZAqiWNRNadfOKK7BrCXyBiG79zTz0zPcXRR+N+gzkDn7EMSawDeyK1SHYUuoSltTactg==",
+ "version": "3.11.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/radio/-/radio-3.11.3.tgz",
+ "integrity": "sha512-8+Cy0azV1aBWKcBfGHi3nBa285lAS6XhmVw2LfEwxq8DeVKTbJAaCHHwvDoclxDiOAnqzE0pio0QMD8rYISt9g==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/form": "^3.2.2",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/radio": "^3.9.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -8033,12 +7939,12 @@
}
},
"node_modules/@react-stately/searchfield": {
- "version": "3.5.16",
- "resolved": "https://registry.npmjs.org/@react-stately/searchfield/-/searchfield-3.5.16.tgz",
- "integrity": "sha512-MRfqT1lZ24r94GuFNcGJXsfijZoWjSMySCT60T6NXtbOzVPuAF3K+pL70Rayq/EWLJjS2NPHND11VTs0VdcE0Q==",
+ "version": "3.5.17",
+ "resolved": "https://registry.npmjs.org/@react-stately/searchfield/-/searchfield-3.5.17.tgz",
+ "integrity": "sha512-/KExpJt6EGyuLxy/PRQJlETQxJGw8tRxVws6qF1lankN49Os2UhFEWi7ogbMCOWN67gIgevhZRdzmJnuov6BEQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/searchfield": "^3.6.6",
"@swc/helpers": "^0.5.0"
},
@@ -8047,16 +7953,16 @@
}
},
"node_modules/@react-stately/select": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/@react-stately/select/-/select-3.8.0.tgz",
- "integrity": "sha512-A721nlt0DSCDit0wKvhcrXFTG5Vv1qkEVkeKvobmETZy6piKvwh0aaN8iQno5AFuZaj1iOZeNjZ/20TsDJR/4A==",
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/@react-stately/select/-/select-3.9.0.tgz",
+ "integrity": "sha512-eNE33zVYpVdCPKRPGYyViN3LnEq82e1wjBIrs9T7Vo4EBnJeT57pqMZpalTPk7qsA+861t14Qrj7GnUd+YbEXw==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/form": "^3.2.2",
- "@react-stately/list": "^3.13.1",
- "@react-stately/overlays": "^3.6.20",
- "@react-stately/utils": "^3.10.8",
- "@react-types/select": "^3.11.0",
+ "@react-stately/list": "^3.13.2",
+ "@react-stately/overlays": "^3.6.21",
+ "@react-stately/utils": "^3.11.0",
+ "@react-types/select": "^3.12.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -8065,13 +7971,13 @@
}
},
"node_modules/@react-stately/selection": {
- "version": "3.20.6",
- "resolved": "https://registry.npmjs.org/@react-stately/selection/-/selection-3.20.6.tgz",
- "integrity": "sha512-a0bjuP2pJYPKEiedz2Us1W1aSz0iHRuyeQEdBOyL6Z6VUa6hIMq9H60kvseir2T85cOa4QggizuRV7mcO6bU5w==",
+ "version": "3.20.7",
+ "resolved": "https://registry.npmjs.org/@react-stately/selection/-/selection-3.20.7.tgz",
+ "integrity": "sha512-NkiRsNCfORBIHNF1bCavh4Vvj+Yd5NffE10iXtaFuhF249NlxLynJZmkcVCqNP9taC2pBIHX00+9tcBgxhG+mA==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -8080,12 +7986,12 @@
}
},
"node_modules/@react-stately/slider": {
- "version": "3.7.2",
- "resolved": "https://registry.npmjs.org/@react-stately/slider/-/slider-3.7.2.tgz",
- "integrity": "sha512-EVBHUdUYwj++XqAEiQg2fGi8Reccznba0uyQ3gPejF0pAc390Q/J5aqiTEDfiCM7uJ6WHxTM6lcCqHQBISk2dQ==",
+ "version": "3.7.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/slider/-/slider-3.7.3.tgz",
+ "integrity": "sha512-9QGnQNXFAH52BzxtU7weyOV/VV7/so6uIvE8VOHfc6QR3GMBM/kJvqBCTWZfQ0pxDIsRagBQDD/tjB09ixTOzg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@react-types/slider": "^3.8.2",
"@swc/helpers": "^0.5.0"
@@ -8095,16 +8001,16 @@
}
},
"node_modules/@react-stately/table": {
- "version": "3.15.1",
- "resolved": "https://registry.npmjs.org/@react-stately/table/-/table-3.15.1.tgz",
- "integrity": "sha512-MhMAgE/LgAzHcAn1P3p/nQErzJ6DiixSJ1AOt2JlnAKEb5YJg4ATKWCb2IjBLwywt9ZCzfm3KMUzkctZqAoxwA==",
+ "version": "3.15.2",
+ "resolved": "https://registry.npmjs.org/@react-stately/table/-/table-3.15.2.tgz",
+ "integrity": "sha512-vgEArBN5ocqsQdeORBj6xk8acu5iFnd/CyXEQKl0R5RyuYuw0ms8UmFHvs8Fv1HONehPYg+XR4QPliDFPX8R9A==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
"@react-stately/flags": "^3.1.2",
- "@react-stately/grid": "^3.11.6",
- "@react-stately/selection": "^3.20.6",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/grid": "^3.11.7",
+ "@react-stately/selection": "^3.20.7",
+ "@react-stately/utils": "^3.11.0",
"@react-types/grid": "^3.3.6",
"@react-types/shared": "^3.32.1",
"@react-types/table": "^3.13.4",
@@ -8115,14 +8021,14 @@
}
},
"node_modules/@react-stately/tabs": {
- "version": "3.8.6",
- "resolved": "https://registry.npmjs.org/@react-stately/tabs/-/tabs-3.8.6.tgz",
- "integrity": "sha512-9RYxmgjVIxUpIsGKPIF7uRoHWOEz8muwaYiStCVeyiYBPmarvZoIYtTXcwSMN/vEs7heVN5uGCL6/bfdY4+WiA==",
+ "version": "3.8.7",
+ "resolved": "https://registry.npmjs.org/@react-stately/tabs/-/tabs-3.8.7.tgz",
+ "integrity": "sha512-ETZEzg7s9F2SCvisZ2cCpLx6XBHqdvVgDGU5l3C3s9zBKBr6lgyLFt61IdGW8XXZRUvw4mMGT6tGQbXeGvR0Wg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/list": "^3.13.1",
+ "@react-stately/list": "^3.13.2",
"@react-types/shared": "^3.32.1",
- "@react-types/tabs": "^3.3.19",
+ "@react-types/tabs": "^3.3.20",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
@@ -8143,12 +8049,12 @@
}
},
"node_modules/@react-stately/toggle": {
- "version": "3.9.2",
- "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.9.2.tgz",
- "integrity": "sha512-dOxs9wrVXHUmA7lc8l+N9NbTJMAaXcYsnNGsMwfXIXQ3rdq+IjWGNYJ52UmNQyRYFcg0jrzRrU16TyGbNjOdNQ==",
+ "version": "3.9.3",
+ "resolved": "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.9.3.tgz",
+ "integrity": "sha512-G6aA/aTnid/6dQ9dxNEd7/JqzRmVkVYYpOAP+l02hepiuSmFwLu4nE98i4YFBQqFZ5b4l01gMrS90JGL7HrNmw==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/utils": "^3.11.0",
"@react-types/checkbox": "^3.10.2",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
@@ -8158,13 +8064,13 @@
}
},
"node_modules/@react-stately/tooltip": {
- "version": "3.5.8",
- "resolved": "https://registry.npmjs.org/@react-stately/tooltip/-/tooltip-3.5.8.tgz",
- "integrity": "sha512-gkcUx2ROhCiGNAYd2BaTejakXUUNLPnnoJ5+V/mN480pN+OrO8/2V9pqb/IQmpqxLsso93zkM3A4wFHHLBBmPQ==",
+ "version": "3.5.9",
+ "resolved": "https://registry.npmjs.org/@react-stately/tooltip/-/tooltip-3.5.9.tgz",
+ "integrity": "sha512-YwqtxFqQFfJtbeh+axHVGAfz9XHf73UaBndHxSbVM/T5c1PfI2yOB39T2FOU5fskZ2VMO3qTDhiXmFgGbGYSfQ==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/overlays": "^3.6.20",
- "@react-types/tooltip": "^3.4.21",
+ "@react-stately/overlays": "^3.6.21",
+ "@react-types/tooltip": "^3.5.0",
"@swc/helpers": "^0.5.0"
},
"peerDependencies": {
@@ -8172,14 +8078,14 @@
}
},
"node_modules/@react-stately/tree": {
- "version": "3.9.3",
- "resolved": "https://registry.npmjs.org/@react-stately/tree/-/tree-3.9.3.tgz",
- "integrity": "sha512-ZngG79nLFxE/GYmpwX6E/Rma2MMkzdoJPRI3iWk3dgqnGMMzpPnUp/cvjDsU3UHF7xDVusC5BT6pjWN0uxCIFQ==",
+ "version": "3.9.4",
+ "resolved": "https://registry.npmjs.org/@react-stately/tree/-/tree-3.9.4.tgz",
+ "integrity": "sha512-Re1fdEiR0hHPcEda+7ecw+52lgGfFW0MAEDzFg9I6J/t8STQSP+1YC0VVVkv2xRrkLbKLPqggNKgmD8nggecnw==",
"license": "Apache-2.0",
"dependencies": {
"@react-stately/collections": "^3.12.8",
- "@react-stately/selection": "^3.20.6",
- "@react-stately/utils": "^3.10.8",
+ "@react-stately/selection": "^3.20.7",
+ "@react-stately/utils": "^3.11.0",
"@react-types/shared": "^3.32.1",
"@swc/helpers": "^0.5.0"
},
@@ -8188,9 +8094,9 @@
}
},
"node_modules/@react-stately/utils": {
- "version": "3.10.8",
- "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.10.8.tgz",
- "integrity": "sha512-SN3/h7SzRsusVQjQ4v10LaVsDc81jyyR0DD5HnsQitm/I5WDpaSr2nRHtyloPFU48jlql1XX/S04T2DLQM7Y3g==",
+ "version": "3.11.0",
+ "resolved": "https://registry.npmjs.org/@react-stately/utils/-/utils-3.11.0.tgz",
+ "integrity": "sha512-8LZpYowJ9eZmmYLpudbo/eclIRnbhWIJZ994ncmlKlouNzKohtM8qTC6B1w1pwUbiwGdUoyzLuQbeaIor5Dvcw==",
"license": "Apache-2.0",
"dependencies": {
"@swc/helpers": "^0.5.0"
@@ -8225,12 +8131,12 @@
}
},
"node_modules/@react-types/calendar": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/@react-types/calendar/-/calendar-3.8.0.tgz",
- "integrity": "sha512-ZDZgfZgbz1ydWOFs1mH7QFfX3ioJrmb3Y/lkoubQE0HWXLZzyYNvhhKyFJRS1QJ40IofLSBHriwbQb/tsUnGlw==",
+ "version": "3.8.1",
+ "resolved": "https://registry.npmjs.org/@react-types/calendar/-/calendar-3.8.1.tgz",
+ "integrity": "sha512-B0UuitMP7YkArBAQldwSZSNL2WwazNGCG+lp6yEDj831NrH9e36/jcjv1rObQ9ZMS6uDX9LXu5C8V5RFwGQabA==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
+ "@internationalized/date": "^3.10.1",
"@react-types/shared": "^3.32.1"
},
"peerDependencies": {
@@ -8263,9 +8169,9 @@
}
},
"node_modules/@react-types/combobox": {
- "version": "3.13.9",
- "resolved": "https://registry.npmjs.org/@react-types/combobox/-/combobox-3.13.9.tgz",
- "integrity": "sha512-G6GmLbzVkLW6VScxPAr/RtliEyPhBClfYaIllK1IZv+Z42SVnOpKzhnoe79BpmiFqy1AaC3+LjZX783mrsHCwA==",
+ "version": "3.13.10",
+ "resolved": "https://registry.npmjs.org/@react-types/combobox/-/combobox-3.13.10.tgz",
+ "integrity": "sha512-Wo4iix++ID6JzoH9eD7ddGUlirQiGpN/VQc3iFjnaTXiJ/cj3v+1oGsDGCZZTklTVeUMU7SRBfMhMgxHHIYLXA==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.32.1"
@@ -8275,13 +8181,13 @@
}
},
"node_modules/@react-types/datepicker": {
- "version": "3.13.2",
- "resolved": "https://registry.npmjs.org/@react-types/datepicker/-/datepicker-3.13.2.tgz",
- "integrity": "sha512-+M6UZxJnejYY8kz0spbY/hP08QJ5rsZ3aNarRQQHc48xV2oelFLX5MhAqizfLEsvyfb0JYrhWoh4z1xZtAmYCg==",
+ "version": "3.13.3",
+ "resolved": "https://registry.npmjs.org/@react-types/datepicker/-/datepicker-3.13.3.tgz",
+ "integrity": "sha512-OTRa3banGxcUQKRTLUzr0zTVUMUL+Az1BWARCYQ+8Z/dlkYXYUW0fnS5I0pUEqihgai15KxiY13U0gAqbNSfcA==",
"license": "Apache-2.0",
"dependencies": {
- "@internationalized/date": "^3.10.0",
- "@react-types/calendar": "^3.8.0",
+ "@internationalized/date": "^3.10.1",
+ "@react-types/calendar": "^3.8.1",
"@react-types/overlays": "^3.9.2",
"@react-types/shared": "^3.32.1"
},
@@ -8376,9 +8282,9 @@
}
},
"node_modules/@react-types/numberfield": {
- "version": "3.8.15",
- "resolved": "https://registry.npmjs.org/@react-types/numberfield/-/numberfield-3.8.15.tgz",
- "integrity": "sha512-97r92D23GKCOjGIGMeW9nt+/KlfM3GeWH39Czcmd2/D5y3k6z4j0avbsfx2OttCtJszrnENjw3GraYGYI2KosQ==",
+ "version": "3.8.16",
+ "resolved": "https://registry.npmjs.org/@react-types/numberfield/-/numberfield-3.8.16.tgz",
+ "integrity": "sha512-945F0GsD7K2T293YXhap+2Runl3tZWbnhadXVHFWLbqIKKONZFSZTfLKxQcbFr+bQXr2uh1bVJhYcOiS1l5M+A==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.32.1"
@@ -8437,9 +8343,9 @@
}
},
"node_modules/@react-types/select": {
- "version": "3.11.0",
- "resolved": "https://registry.npmjs.org/@react-types/select/-/select-3.11.0.tgz",
- "integrity": "sha512-SzIsMFVPCbXE1Z1TLfpdfiwJ1xnIkcL1/CjGilmUKkNk5uT7rYX1xCJqWCjXI0vAU1xM4Qn+T3n8de4fw6HRBg==",
+ "version": "3.12.0",
+ "resolved": "https://registry.npmjs.org/@react-types/select/-/select-3.12.0.tgz",
+ "integrity": "sha512-tM3mEbQNotvCJs1gYRFyIeXmXrIBSBLGw7feCIaYSO45IyjCGv8NZwpQWjoKPaWo3GpbHfHMNlWlq3v5QQPIXw==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.32.1"
@@ -8495,9 +8401,9 @@
}
},
"node_modules/@react-types/tabs": {
- "version": "3.3.19",
- "resolved": "https://registry.npmjs.org/@react-types/tabs/-/tabs-3.3.19.tgz",
- "integrity": "sha512-fE+qI43yR5pAMpeqPxGqQq9jDHXEPqXskuxNHERMW0PYMdPyem2Cw6goc5F4qeZO3Hf6uPZgHkvJz2OAq7TbBw==",
+ "version": "3.3.20",
+ "resolved": "https://registry.npmjs.org/@react-types/tabs/-/tabs-3.3.20.tgz",
+ "integrity": "sha512-Kjq4PypapdMOVPAQgaFIKH65Kr3YnRvaxBGd6RYizTsqYImQhXoGj6B4lBpjYy4KhfRd4dYS82frHqTGKmBYiA==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/shared": "^3.32.1"
@@ -8519,9 +8425,9 @@
}
},
"node_modules/@react-types/tooltip": {
- "version": "3.4.21",
- "resolved": "https://registry.npmjs.org/@react-types/tooltip/-/tooltip-3.4.21.tgz",
- "integrity": "sha512-ugGHOZU6WbOdeTdbjnaEc+Ms7/WhsUCg+T3PCOIeOT9FG02Ce189yJ/+hd7oqL/tVwIhEMYJIqSCgSELFox+QA==",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/@react-types/tooltip/-/tooltip-3.5.0.tgz",
+ "integrity": "sha512-o/m1wlKlOD2sLb9vZLWdVkD5LFLHBMLGeeK/bhyUtp0IEdUeKy0ZRTS7pa/A50trov9RvdbzLK79xG8nKNxHew==",
"license": "Apache-2.0",
"dependencies": {
"@react-types/overlays": "^3.9.2",
@@ -8543,10 +8449,74 @@
"integrity": "sha512-SoLMv7dbH+njWzXnOY6fI08dFMI5+/dQ+vY3n8RnnbdG7MdJEgiP28Xj/xWlnRnED/aB6SFw56Zop+LbmaaKqA==",
"license": "MIT"
},
+ "node_modules/@remix-run/router": {
+ "version": "1.23.0",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz",
+ "integrity": "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==",
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@remix-run/server-runtime": {
+ "version": "2.17.2",
+ "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.17.2.tgz",
+ "integrity": "sha512-dTrAG1SgOLgz1DFBDsLHN0V34YqLsHEReVHYOI4UV/p+ALbn/BRQMw1MaUuqGXmX21ZTuCzzPegtTLNEOc8ixA==",
+ "license": "MIT",
+ "peer": true,
+ "dependencies": {
+ "@remix-run/router": "1.23.0",
+ "@types/cookie": "^0.6.0",
+ "@web3-storage/multipart-parser": "^1.0.0",
+ "cookie": "^0.7.2",
+ "set-cookie-parser": "^2.4.8",
+ "source-map": "^0.7.3",
+ "turbo-stream": "2.4.1"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ },
+ "peerDependencies": {
+ "typescript": "^5.1.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/@remix-run/server-runtime/node_modules/@types/cookie": {
+ "version": "0.6.0",
+ "resolved": "https://registry.npmjs.org/@types/cookie/-/cookie-0.6.0.tgz",
+ "integrity": "sha512-4Kh9a6B2bQciAhf7FSuMRRkUWecJgJu9nPnx3yzpsfXX/c50REIqpHY4C82bXP90qrLtXtkDxTZosYO3UpOwlA==",
+ "license": "MIT",
+ "peer": true
+ },
+ "node_modules/@remix-run/server-runtime/node_modules/cookie": {
+ "version": "0.7.2",
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
+ "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
+ "license": "MIT",
+ "peer": true,
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/@remix-run/server-runtime/node_modules/source-map": {
+ "version": "0.7.6",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
+ "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
+ "license": "BSD-3-Clause",
+ "peer": true,
+ "engines": {
+ "node": ">= 12"
+ }
+ },
"node_modules/@rollup/rollup-android-arm-eabi": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.4.tgz",
- "integrity": "sha512-PWU3Y92H4DD0bOqorEPp1Y0tbzwAurFmIYpjcObv5axGVOtcTlB0b2UKMd2echo08MgN7jO8WQZSSysvfisFSQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.54.0.tgz",
+ "integrity": "sha512-OywsdRHrFvCdvsewAInDKCNyR3laPA2mc9bRYJ6LBp5IyvF3fvXbbNR0bSzHlZVFtn6E0xw2oZlyjg4rKCVcng==",
"cpu": [
"arm"
],
@@ -8557,9 +8527,9 @@
]
},
"node_modules/@rollup/rollup-android-arm64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.4.tgz",
- "integrity": "sha512-Gw0/DuVm3rGsqhMGYkSOXXIx20cC3kTlivZeuaGt4gEgILivykNyBWxeUV5Cf2tDA2nPLah26vq3emlRrWVbng==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.54.0.tgz",
+ "integrity": "sha512-Skx39Uv+u7H224Af+bDgNinitlmHyQX1K/atIA32JP3JQw6hVODX5tkbi2zof/E69M1qH2UoN3Xdxgs90mmNYw==",
"cpu": [
"arm64"
],
@@ -8570,9 +8540,9 @@
]
},
"node_modules/@rollup/rollup-darwin-arm64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.4.tgz",
- "integrity": "sha512-+w06QvXsgzKwdVg5qRLZpTHh1bigHZIqoIUPtiqh05ZiJVUQ6ymOxaPkXTvRPRLH88575ZCRSRM3PwIoNma01Q==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.54.0.tgz",
+ "integrity": "sha512-k43D4qta/+6Fq+nCDhhv9yP2HdeKeP56QrUUTW7E6PhZP1US6NDqpJj4MY0jBHlJivVJD5P8NxrjuobZBJTCRw==",
"cpu": [
"arm64"
],
@@ -8583,9 +8553,9 @@
]
},
"node_modules/@rollup/rollup-darwin-x64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.4.tgz",
- "integrity": "sha512-EB4Na9G2GsrRNRNFPuxfwvDRDUwQEzJPpiK1vo2zMVhEeufZ1k7J1bKnT0JYDfnPC7RNZ2H5YNQhW6/p2QKATw==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.54.0.tgz",
+ "integrity": "sha512-cOo7biqwkpawslEfox5Vs8/qj83M/aZCSSNIWpVzfU2CYHa2G3P1UN5WF01RdTHSgCkri7XOlTdtk17BezlV3A==",
"cpu": [
"x64"
],
@@ -8596,9 +8566,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-arm64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.4.tgz",
- "integrity": "sha512-bldA8XEqPcs6OYdknoTMaGhjytnwQ0NClSPpWpmufOuGPN5dDmvIa32FygC2gneKK4A1oSx86V1l55hyUWUYFQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.54.0.tgz",
+ "integrity": "sha512-miSvuFkmvFbgJ1BevMa4CPCFt5MPGw094knM64W9I0giUIMMmRYcGW/JWZDriaw/k1kOBtsWh1z6nIFV1vPNtA==",
"cpu": [
"arm64"
],
@@ -8609,9 +8579,9 @@
]
},
"node_modules/@rollup/rollup-freebsd-x64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.4.tgz",
- "integrity": "sha512-3T8GPjH6mixCd0YPn0bXtcuSXi1Lj+15Ujw2CEb7dd24j9thcKscCf88IV7n76WaAdorOzAgSSbuVRg4C8V8Qw==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.54.0.tgz",
+ "integrity": "sha512-KGXIs55+b/ZfZsq9aR026tmr/+7tq6VG6MsnrvF4H8VhwflTIuYh+LFUlIsRdQSgrgmtM3fVATzEAj4hBQlaqQ==",
"cpu": [
"x64"
],
@@ -8622,9 +8592,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-gnueabihf": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.4.tgz",
- "integrity": "sha512-UPMMNeC4LXW7ZSHxeP3Edv09aLsFUMaD1TSVW6n1CWMECnUIJMFFB7+XC2lZTdPtvB36tYC0cJWc86mzSsaviw==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.54.0.tgz",
+ "integrity": "sha512-EHMUcDwhtdRGlXZsGSIuXSYwD5kOT9NVnx9sqzYiwAc91wfYOE1g1djOEDseZJKKqtHAHGwnGPQu3kytmfaXLQ==",
"cpu": [
"arm"
],
@@ -8635,9 +8605,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm-musleabihf": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.4.tgz",
- "integrity": "sha512-H8uwlV0otHs5Q7WAMSoyvjV9DJPiy5nJ/xnHolY0QptLPjaSsuX7tw+SPIfiYH6cnVx3fe4EWFafo6gH6ekZKA==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.54.0.tgz",
+ "integrity": "sha512-+pBrqEjaakN2ySv5RVrj/qLytYhPKEUwk+e3SFU5jTLHIcAtqh2rLrd/OkbNuHJpsBgxsD8ccJt5ga/SeG0JmA==",
"cpu": [
"arm"
],
@@ -8648,9 +8618,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.4.tgz",
- "integrity": "sha512-BLRwSRwICXz0TXkbIbqJ1ibK+/dSBpTJqDClF61GWIrxTXZWQE78ROeIhgl5MjVs4B4gSLPCFeD4xML9vbzvCQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.54.0.tgz",
+ "integrity": "sha512-NSqc7rE9wuUaRBsBp5ckQ5CVz5aIRKCwsoa6WMF7G01sX3/qHUw/z4pv+D+ahL1EIKy6Enpcnz1RY8pf7bjwng==",
"cpu": [
"arm64"
],
@@ -8661,9 +8631,9 @@
]
},
"node_modules/@rollup/rollup-linux-arm64-musl": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.4.tgz",
- "integrity": "sha512-6bySEjOTbmVcPJAywjpGLckK793A0TJWSbIa0sVwtVGfe/Nz6gOWHOwkshUIAp9j7wg2WKcA4Snu7Y1nUZyQew==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.54.0.tgz",
+ "integrity": "sha512-gr5vDbg3Bakga5kbdpqx81m2n9IX8M6gIMlQQIXiLTNeQW6CucvuInJ91EuCJ/JYvc+rcLLsDFcfAD1K7fMofg==",
"cpu": [
"arm64"
],
@@ -8674,9 +8644,9 @@
]
},
"node_modules/@rollup/rollup-linux-loong64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.4.tgz",
- "integrity": "sha512-U0ow3bXYJZ5MIbchVusxEycBw7bO6C2u5UvD31i5IMTrnt2p4Fh4ZbHSdc/31TScIJQYHwxbj05BpevB3201ug==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.54.0.tgz",
+ "integrity": "sha512-gsrtB1NA3ZYj2vq0Rzkylo9ylCtW/PhpLEivlgWe0bpgtX5+9j9EZa0wtZiCjgu6zmSeZWyI/e2YRX1URozpIw==",
"cpu": [
"loong64"
],
@@ -8687,9 +8657,9 @@
]
},
"node_modules/@rollup/rollup-linux-ppc64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.4.tgz",
- "integrity": "sha512-iujDk07ZNwGLVn0YIWM80SFN039bHZHCdCCuX9nyx3Jsa2d9V/0Y32F+YadzwbvDxhSeVo9zefkoPnXEImnM5w==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.54.0.tgz",
+ "integrity": "sha512-y3qNOfTBStmFNq+t4s7Tmc9hW2ENtPg8FeUD/VShI7rKxNW7O4fFeaYbMsd3tpFlIg1Q8IapFgy7Q9i2BqeBvA==",
"cpu": [
"ppc64"
],
@@ -8700,9 +8670,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.4.tgz",
- "integrity": "sha512-MUtAktiOUSu+AXBpx1fkuG/Bi5rhlorGs3lw5QeJ2X3ziEGAq7vFNdWVde6XGaVqi0LGSvugwjoxSNJfHFTC0g==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.54.0.tgz",
+ "integrity": "sha512-89sepv7h2lIVPsFma8iwmccN7Yjjtgz0Rj/Ou6fEqg3HDhpCa+Et+YSufy27i6b0Wav69Qv4WBNl3Rs6pwhebQ==",
"cpu": [
"riscv64"
],
@@ -8713,9 +8683,9 @@
]
},
"node_modules/@rollup/rollup-linux-riscv64-musl": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.4.tgz",
- "integrity": "sha512-btm35eAbDfPtcFEgaXCI5l3c2WXyzwiE8pArhd66SDtoLWmgK5/M7CUxmUglkwtniPzwvWioBKKl6IXLbPf2sQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.54.0.tgz",
+ "integrity": "sha512-ZcU77ieh0M2Q8Ur7D5X7KvK+UxbXeDHwiOt/CPSBTI1fBmeDMivW0dPkdqkT4rOgDjrDDBUed9x4EgraIKoR2A==",
"cpu": [
"riscv64"
],
@@ -8726,9 +8696,9 @@
]
},
"node_modules/@rollup/rollup-linux-s390x-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.4.tgz",
- "integrity": "sha512-uJlhKE9ccUTCUlK+HUz/80cVtx2RayadC5ldDrrDUFaJK0SNb8/cCmC9RhBhIWuZ71Nqj4Uoa9+xljKWRogdhA==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.54.0.tgz",
+ "integrity": "sha512-2AdWy5RdDF5+4YfG/YesGDDtbyJlC9LHmL6rZw6FurBJ5n4vFGupsOBGfwMRjBYH7qRQowT8D/U4LoSvVwOhSQ==",
"cpu": [
"s390x"
],
@@ -8739,9 +8709,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.4.tgz",
- "integrity": "sha512-jjEMkzvASQBbzzlzf4os7nzSBd/cvPrpqXCUOqoeCh1dQ4BP3RZCJk8XBeik4MUln3m+8LeTJcY54C/u8wb3DQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.54.0.tgz",
+ "integrity": "sha512-WGt5J8Ij/rvyqpFexxk3ffKqqbLf9AqrTBbWDk7ApGUzaIs6V+s2s84kAxklFwmMF/vBNGrVdYgbblCOFFezMQ==",
"cpu": [
"x64"
],
@@ -8752,9 +8722,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-musl": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.4.tgz",
- "integrity": "sha512-lu90KG06NNH19shC5rBPkrh6mrTpq5kviFylPBXQVpdEu0yzb0mDgyxLr6XdcGdBIQTH/UAhDJnL+APZTBu1aQ==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.54.0.tgz",
+ "integrity": "sha512-JzQmb38ATzHjxlPHuTH6tE7ojnMKM2kYNzt44LO/jJi8BpceEC8QuXYA908n8r3CNuG/B3BV8VR3Hi1rYtmPiw==",
"cpu": [
"x64"
],
@@ -8765,9 +8735,9 @@
]
},
"node_modules/@rollup/rollup-openharmony-arm64": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.4.tgz",
- "integrity": "sha512-dFDcmLwsUzhAm/dn0+dMOQZoONVYBtgik0VuY/d5IJUUb787L3Ko/ibvTvddqhb3RaB7vFEozYevHN4ox22R/w==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.54.0.tgz",
+ "integrity": "sha512-huT3fd0iC7jigGh7n3q/+lfPcXxBi+om/Rs3yiFxjvSxbSB6aohDFXbWvlspaqjeOh+hx7DDHS+5Es5qRkWkZg==",
"cpu": [
"arm64"
],
@@ -8778,9 +8748,9 @@
]
},
"node_modules/@rollup/rollup-win32-arm64-msvc": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.4.tgz",
- "integrity": "sha512-WvUpUAWmUxZKtRnQWpRKnLW2DEO8HB/l8z6oFFMNuHndMzFTJEXzaYJ5ZAmzNw0L21QQJZsUQFt2oPf3ykAD/w==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.54.0.tgz",
+ "integrity": "sha512-c2V0W1bsKIKfbLMBu/WGBz6Yci8nJ/ZJdheE0EwB73N3MvHYKiKGs3mVilX4Gs70eGeDaMqEob25Tw2Gb9Nqyw==",
"cpu": [
"arm64"
],
@@ -8791,9 +8761,9 @@
]
},
"node_modules/@rollup/rollup-win32-ia32-msvc": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.4.tgz",
- "integrity": "sha512-JGbeF2/FDU0x2OLySw/jgvkwWUo05BSiJK0dtuI4LyuXbz3wKiC1xHhLB1Tqm5VU6ZZDmAorj45r/IgWNWku5g==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.54.0.tgz",
+ "integrity": "sha512-woEHgqQqDCkAzrDhvDipnSirm5vxUXtSKDYTVpZG3nUdW/VVB5VdCYA2iReSj/u3yCZzXID4kuKG7OynPnB3WQ==",
"cpu": [
"ia32"
],
@@ -8804,9 +8774,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-gnu": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.4.tgz",
- "integrity": "sha512-zuuC7AyxLWLubP+mlUwEyR8M1ixW1ERNPHJfXm8x7eQNP4Pzkd7hS3qBuKBR70VRiQ04Kw8FNfRMF5TNxuZq2g==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.54.0.tgz",
+ "integrity": "sha512-dzAc53LOuFvHwbCEOS0rPbXp6SIhAf2txMP5p6mGyOXXw5mWY8NGGbPMPrs4P1WItkfApDathBj/NzMLUZ9rtQ==",
"cpu": [
"x64"
],
@@ -8817,9 +8787,9 @@
]
},
"node_modules/@rollup/rollup-win32-x64-msvc": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.4.tgz",
- "integrity": "sha512-Sbx45u/Lbb5RyptSbX7/3deP+/lzEmZ0BTSHxwxN/IMOZDZf8S0AGo0hJD5n/LQssxb5Z3B4og4P2X6Dd8acCA==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.54.0.tgz",
+ "integrity": "sha512-hYT5d3YNdSh3mbCU1gwQyPgQd3T2ne0A3KG8KSBdav5TiBg6eInVmV+TeR5uHufiIgSFg0XsOWGW5/RhNcSvPg==",
"cpu": [
"x64"
],
@@ -8910,11 +8880,21 @@
"nanopop": "2.3.0"
}
},
+ "node_modules/@simonwep/pickr/node_modules/core-js": {
+ "version": "3.32.2",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.2.tgz",
+ "integrity": "sha512-pxXSw1mYZPDGvTQqEc5vgIb83jGQKFGYWY76z4a7weZXUolw3G+OvpZqSRcfYOoOVUQJYEPsWeQK8pKEnUtWxQ==",
+ "hasInstallScript": true,
+ "license": "MIT",
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/core-js"
+ }
+ },
"node_modules/@sinonjs/commons": {
"version": "1.8.6",
"resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.6.tgz",
"integrity": "sha512-Ky+XkAkqPZSm3NLBeUng77EBQl3cmeJhITaGHdYH8kjVB+aun3S4XBRti2zt17mtt0mIUDiNxYeoJm6drVvBJQ==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"type-detect": "4.0.8"
@@ -8924,7 +8904,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz",
"integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@sinonjs/commons": "^1.7.0"
@@ -9056,15 +9035,15 @@
"license": "MIT"
},
"node_modules/@standard-schema/spec": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.0.0.tgz",
- "integrity": "sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@standard-schema/spec/-/spec-1.1.0.tgz",
+ "integrity": "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==",
"license": "MIT"
},
"node_modules/@supabase/auth-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.87.1.tgz",
- "integrity": "sha512-6RDeOf5TVoaXFtEstN188ykp3pXLZaU9qoAWfx8dc50FFAAqt+kcFJ96V0IvSmcpb4mDAWcpTJ7BegmVDn/WIw==",
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/auth-js/-/auth-js-2.89.0.tgz",
+ "integrity": "sha512-wiWZdz8WMad8LQdJMWYDZ2SJtZP5MwMqzQq3ehtW2ngiI3UTgbKiFrvMUUS3KADiVlk4LiGfODB2mrYx7w2f8w==",
"license": "MIT",
"dependencies": {
"tslib": "2.8.1"
@@ -9074,21 +9053,9 @@
}
},
"node_modules/@supabase/functions-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.87.1.tgz",
- "integrity": "sha512-rWmYo4gRD0XAjMhYDlz7IH67bp4TIQ1UE4VqwIQtl1gGPwtLDq6wcRnu7jLKlXx0Gtrknw/eoiHYG9//XrCTzQ==",
- "license": "MIT",
- "dependencies": {
- "tslib": "2.8.1"
- },
- "engines": {
- "node": ">=20.0.0"
- }
- },
- "node_modules/@supabase/gotrue-js": {
- "version": "2.62.2",
- "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-2.62.2.tgz",
- "integrity": "sha512-AP6e6W9rQXFTEJ7sTTNYQrNf0LCcnt1hUW+RIgUK+Uh3jbWvcIST7wAlYyNZiMlS9+PYyymWQ+Ykz/rOYSO0+A==",
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
+ "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
"license": "MIT",
"dependencies": {
"@supabase/node-fetch": "^2.6.14"
@@ -9107,9 +9074,9 @@
}
},
"node_modules/@supabase/postgrest-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-2.87.1.tgz",
- "integrity": "sha512-Yzu5eL3iGmZW0C/8x+vEojAOou63FI9oVw8HI8YOq63+5yM8g8aGh7Y1E2vbXFb7+gHGsPqLnaC6dPhrYt7qBA==",
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-2.89.0.tgz",
+ "integrity": "sha512-/b0fKrxV9i7RNOEXMno/I1862RsYhuUo+Q6m6z3ar1f4ulTMXnDfv0y4YYxK2POcgrOXQOgKYQx1eArybyNvtg==",
"license": "MIT",
"dependencies": {
"tslib": "2.8.1"
@@ -9119,9 +9086,9 @@
}
},
"node_modules/@supabase/realtime-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.87.1.tgz",
- "integrity": "sha512-XvLtEznxmYZXA7LYuy5zbSXpSYjDLJq2wQeRh3MzON2OR4U8Kq+RtPz2E2Wi8HEzvBfsc+nNu1TG8LQ9+3DRkA==",
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-2.89.0.tgz",
+ "integrity": "sha512-aMOvfDb2a52u6PX6jrrjvACHXGV3zsOlWRzZsTIOAJa0hOVvRp01AwC1+nLTGUzxzezejrYeCX+KnnM1xHdl+w==",
"license": "MIT",
"dependencies": {
"@types/phoenix": "^1.6.6",
@@ -9134,9 +9101,9 @@
}
},
"node_modules/@supabase/storage-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.87.1.tgz",
- "integrity": "sha512-0Uc8tNV4yzkNNmp1inpXru0RB4a7ECq05G2S6BDvSpMxTxJrDVJ4vVDwyhqB8ZZ+O9+8prHaQYoByQeuDnwpFQ==",
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/storage-js/-/storage-js-2.89.0.tgz",
+ "integrity": "sha512-6zKcXofk/M/4Eato7iqpRh+B+vnxeiTumCIP+Tz26xEqIiywzD9JxHq+udRrDuv6hXE+pmetvJd8n5wcf4MFRQ==",
"license": "MIT",
"dependencies": {
"iceberg-js": "^0.8.1",
@@ -9147,25 +9114,37 @@
}
},
"node_modules/@supabase/supabase-js": {
- "version": "2.87.1",
- "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.87.1.tgz",
- "integrity": "sha512-tVgqZqnHZVum584KuUKSQZgcy6ZkhVd6gG8QWg2QfIXH9HmXdamauxdVsLXwaNPJxEdOyfAfwIyi5XUsiVYWtg==",
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-2.89.0.tgz",
+ "integrity": "sha512-KlaRwSfFA0fD73PYVMHj5/iXFtQGCcX7PSx0FdQwYEEw9b2wqM7GxadY+5YwcmuEhalmjFB/YvqaoNVF+sWUlg==",
"license": "MIT",
"dependencies": {
- "@supabase/auth-js": "2.87.1",
- "@supabase/functions-js": "2.87.1",
- "@supabase/postgrest-js": "2.87.1",
- "@supabase/realtime-js": "2.87.1",
- "@supabase/storage-js": "2.87.1"
+ "@supabase/auth-js": "2.89.0",
+ "@supabase/functions-js": "2.89.0",
+ "@supabase/postgrest-js": "2.89.0",
+ "@supabase/realtime-js": "2.89.0",
+ "@supabase/storage-js": "2.89.0"
+ },
+ "engines": {
+ "node": ">=20.0.0"
+ }
+ },
+ "node_modules/@supabase/supabase-js/node_modules/@supabase/functions-js": {
+ "version": "2.89.0",
+ "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.89.0.tgz",
+ "integrity": "sha512-XEueaC5gMe5NufNYfBh9kPwJlP5M2f+Ogr8rvhmRDAZNHgY6mI35RCkYDijd92pMcNM7g8pUUJov93UGUnqfyw==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "2.8.1"
},
"engines": {
"node": ">=20.0.0"
}
},
"node_modules/@swc/helpers": {
- "version": "0.5.17",
- "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.17.tgz",
- "integrity": "sha512-5IKx/Y13RsYd+sauPb2x+U/xZikHjolzfuDgTAl/Tdf3Q8rslRvC19NKDLgAJQ6wsqADk10ntlv08nPFw/gO/A==",
+ "version": "0.5.18",
+ "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.18.tgz",
+ "integrity": "sha512-TXTnIcNJQEKwThMMqBXsZ4VGAza6bvN4pa41Rkqoio6QBKMvo+5lexeTMScGCIxtzgQJzElcvIltani+adC5PQ==",
"license": "Apache-2.0",
"dependencies": {
"tslib": "^2.8.0"
@@ -9181,9 +9160,9 @@
}
},
"node_modules/@tailwindcss/forms": {
- "version": "0.5.10",
- "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.10.tgz",
- "integrity": "sha512-utI1ONF6uf/pPNO68kmN1b8rEwNXv3czukalo8VtJH8ksIkZXr3Q3VYudZLkCsDd4Wku120uF02hYK25XGPorw==",
+ "version": "0.5.11",
+ "resolved": "https://registry.npmjs.org/@tailwindcss/forms/-/forms-0.5.11.tgz",
+ "integrity": "sha512-h9wegbZDPurxG22xZSoWtdzc41/OlNEUQERNqI/0fOwa2aVlWGu7C35E/x6LDyD3lgtztFSSjKZyuVM0hxhbgA==",
"license": "MIT",
"dependencies": {
"mini-svg-data-uri": "^1.2.3"
@@ -9395,6 +9374,41 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@testing-library/dom/node_modules/pretty-format": {
+ "version": "27.5.1",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
+ "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1",
+ "ansi-styles": "^5.0.0",
+ "react-is": "^17.0.1"
+ },
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ }
+ },
+ "node_modules/@testing-library/dom/node_modules/pretty-format/node_modules/ansi-styles": {
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
+ "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/@testing-library/dom/node_modules/react-is": {
+ "version": "17.0.2",
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
+ "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@tiptap/core": {
"version": "2.27.1",
"resolved": "https://registry.npmjs.org/@tiptap/core/-/core-2.27.1.tgz",
@@ -10021,7 +10035,6 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 6"
@@ -10369,7 +10382,6 @@
"version": "7.20.5",
"resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz",
"integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.20.7",
@@ -10383,7 +10395,6 @@
"version": "7.27.0",
"resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz",
"integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0"
@@ -10393,7 +10404,6 @@
"version": "7.4.4",
"resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz",
"integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/parser": "^7.1.0",
@@ -10404,7 +10414,6 @@
"version": "7.28.0",
"resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz",
"integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.28.2"
@@ -10752,7 +10761,6 @@
"version": "4.1.9",
"resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz",
"integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*"
@@ -10802,65 +10810,6 @@
"pretty-format": "^26.0.0"
}
},
- "node_modules/@types/jest/node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/@types/jest/node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/@types/jest/node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/@types/jest/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/@types/jest/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/@types/json-schema": {
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
@@ -10953,7 +10902,6 @@
"version": "2.4.4",
"resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz",
"integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/nprogress": {
@@ -10989,7 +10937,6 @@
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.7.3.tgz",
"integrity": "sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/prismjs": {
@@ -11028,7 +10975,7 @@
"version": "18.3.7",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.7.tgz",
"integrity": "sha512-MEe3UeoENYVFXzoXEWsvcpg6ZvlrFNlOQ7EOsvhI3CfAXwzPfO8Qwuxd40nepsYKqyyVQnTdEfv68q91yLcKrQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^18.0.0"
@@ -11063,7 +11010,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz",
"integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/strip-bom": {
@@ -11130,6 +11076,123 @@
"integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==",
"license": "MIT"
},
+ "node_modules/@typescript/native-preview": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-sq37dwY02wBs4h1lzhYKktb62uHri43u3qVDUL6w+vK5IljJi8p8uzQPOECjXLFGvNxrzsSb6iZ5qB8t6qjfbQ==",
+ "dev": true,
+ "license": "Apache-2.0",
+ "bin": {
+ "tsgo": "bin/tsgo.js"
+ },
+ "optionalDependencies": {
+ "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-darwin-x64": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-linux-arm": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-linux-arm64": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-linux-x64": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-win32-arm64": "7.0.0-dev.20251226.1",
+ "@typescript/native-preview-win32-x64": "7.0.0-dev.20251226.1"
+ }
+ },
+ "node_modules/@typescript/native-preview-darwin-arm64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-30LtIeJ5AgVlteAFimEeFwVW8QcMHRBSk2nranz5sdc5bz9ed5WSN/CMdz/dSsWTbcWU3H2PPzbbEAnOSp3vNw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@typescript/native-preview-darwin-x64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-bHT90f10Y1eis9hmqQj5C/Fwj4cH1SYcihcl2zp++m1JJgpjdc+4Qqv2Mw8bKn3Jy6DNoRkodkuMAgaNOv1utQ==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "darwin"
+ ]
+ },
+ "node_modules/@typescript/native-preview-linux-arm": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-ohwr5CLoLf/B/ie9fcIFbalee7LPO3IH+7UF1LDibFt5R0jT8mVaNQPFXDK19BvZor89HURelf4KNSENknLbHA==",
+ "cpu": [
+ "arm"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@typescript/native-preview-linux-arm64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-D5XEpJoPPCaDeNIaYRbdjg5ytiLu9Sm6DxqzhYrj2Zn/Qedd9KQOgfqQXG41Z6RoGE+NjqkH1mr25JzsoedxIw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@typescript/native-preview-linux-x64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-wmjTdkHEmU1mSvYfEIUuwJs1m/SnIQUNPg/8/D3qFQHfiZmeUNjWHNEIUm9ihxC3buX+PsX9dMPq34kkoiPvbw==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
+ "node_modules/@typescript/native-preview-win32-arm64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-I7G32Lb5Py+88W5rZgaOElr0fColm9leBElQih+t+/3/oP1vBeAMiNI39LAgefVDNnhGU/7caiyQIiNK8qaVmw==",
+ "cpu": [
+ "arm64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
+ "node_modules/@typescript/native-preview-win32-x64": {
+ "version": "7.0.0-dev.20251226.1",
+ "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20251226.1.tgz",
+ "integrity": "sha512-zdS1ul3dkDOFymUPOndYDPBjvXFipyNC225r/NfJIHOExvFWmipIt53PzyLcKAjs0ijoVCc5AzcIBHGwif2CqA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "license": "Apache-2.0",
+ "optional": true,
+ "os": [
+ "win32"
+ ]
+ },
"node_modules/@ungap/structured-clone": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
@@ -11161,9 +11224,9 @@
}
},
"node_modules/@upstash/redis": {
- "version": "1.35.8",
- "resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.35.8.tgz",
- "integrity": "sha512-QqLpVCD9PCPE6hlRzOkz864nfijSdazxtyJLIy9ZeTh6kU2nBIKKfjT5HMHjIRD4BCm6TK1dbUT9pxhFjcvpng==",
+ "version": "1.36.0",
+ "resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.36.0.tgz",
+ "integrity": "sha512-9zN2UV9QJGPnXfWU3yZBLVQaqqENDh7g+Y4J2vJuSxBCi9FQ0aUOtaXlzuFhnsiZvCqM+eS27ic+tgmkWUsfOg==",
"license": "MIT",
"dependencies": {
"uncrypto": "^0.1.3"
@@ -11351,6 +11414,21 @@
"@types/d3-path": "^1"
}
},
+ "node_modules/@visx/curve/node_modules/d3-path": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",
+ "license": "BSD-3-Clause"
+ },
+ "node_modules/@visx/curve/node_modules/d3-shape": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "d3-path": "1"
+ }
+ },
"node_modules/@visx/group": {
"version": "2.17.0",
"resolved": "https://registry.npmjs.org/@visx/group/-/group-2.17.0.tgz",
@@ -11512,6 +11590,12 @@
"d3-color": "1"
}
},
+ "node_modules/@visx/shape/node_modules/d3-path": {
+ "version": "1.0.9",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
+ "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",
+ "license": "BSD-3-Clause"
+ },
"node_modules/@visx/shape/node_modules/d3-scale": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.3.0.tgz",
@@ -11525,6 +11609,15 @@
"d3-time-format": "2 - 3"
}
},
+ "node_modules/@visx/shape/node_modules/d3-shape": {
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
+ "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
+ "license": "BSD-3-Clause",
+ "dependencies": {
+ "d3-path": "1"
+ }
+ },
"node_modules/@visx/shape/node_modules/d3-time": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/d3-time/-/d3-time-2.1.1.tgz",
@@ -11659,6 +11752,37 @@
"node": ">=12"
}
},
+ "node_modules/@visx/vendor/node_modules/d3-delaunay": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.2.tgz",
+ "integrity": "sha512-IMLNldruDQScrcfT+MWnazhHbDJhcRJyOEBAJfwQnHle1RPh6WDuLvxNArUju2VSMSUuKlY5BGHRJ2cYyoFLQQ==",
+ "license": "ISC",
+ "dependencies": {
+ "delaunator": "5"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@visx/vendor/node_modules/d3-geo": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.0.tgz",
+ "integrity": "sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==",
+ "license": "ISC",
+ "dependencies": {
+ "d3-array": "2.5.0 - 3"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@web3-storage/multipart-parser": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@web3-storage/multipart-parser/-/multipart-parser-1.0.0.tgz",
+ "integrity": "sha512-BEO6al7BYqcnfX15W2cnGR+Q566ACXAT9UQykORCWW80lmkpWsnEob6zJS1ZVBKsSJC8+7vJkHwlp+lXG1UCdw==",
+ "license": "(Apache-2.0 AND MIT)",
+ "peer": true
+ },
"node_modules/@xyflow/react": {
"version": "12.10.0",
"resolved": "https://registry.npmjs.org/@xyflow/react/-/react-12.10.0.tgz",
@@ -11731,7 +11855,6 @@
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
"integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
"deprecated": "Use your platform's native atob() and btoa() methods instead",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/abbrev": {
@@ -11764,31 +11887,6 @@
"node": ">= 0.6"
}
},
- "node_modules/accepts/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/accepts/node_modules/mime-types": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
- "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
"node_modules/acorn": {
"version": "8.15.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.15.0.tgz",
@@ -11805,7 +11903,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz",
"integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"acorn": "^7.1.1",
@@ -11816,7 +11913,6 @@
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
"integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
- "dev": true,
"license": "MIT",
"bin": {
"acorn": "bin/acorn"
@@ -11838,7 +11934,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz",
"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.4.0"
@@ -11848,7 +11943,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz",
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
- "devOptional": true,
"license": "MIT",
"dependencies": {
"debug": "4"
@@ -11858,12 +11952,12 @@
}
},
"node_modules/ai": {
- "version": "5.0.113",
- "resolved": "https://registry.npmjs.org/ai/-/ai-5.0.113.tgz",
- "integrity": "sha512-26vivpSO/mzZj0k1Si2IpsFspp26ttQICHRySQiMrtWcRd5mnJMX2a8sG28vmZ38C+JUn1cWmfZrsLMxkSMw9g==",
+ "version": "5.0.116",
+ "resolved": "https://registry.npmjs.org/ai/-/ai-5.0.116.tgz",
+ "integrity": "sha512-+2hYJ80/NcDWuv9K2/MLP3cTCFgwWHmHlS1tOpFUKKcmLbErAAlE/S2knsKboc3PNAu8pQkDr2N3K/Vle7ENgQ==",
"license": "Apache-2.0",
"dependencies": {
- "@ai-sdk/gateway": "2.0.21",
+ "@ai-sdk/gateway": "2.0.23",
"@ai-sdk/provider": "2.0.0",
"@ai-sdk/provider-utils": "3.0.19",
"@opentelemetry/api": "1.9.0"
@@ -11965,6 +12059,18 @@
"node": ">= 8"
}
},
+ "node_modules/anymatch/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/aproba": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/aproba/-/aproba-2.1.0.tgz",
@@ -11997,7 +12103,6 @@
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"sprintf-js": "~1.0.2"
@@ -12029,7 +12134,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",
"integrity": "sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -12039,7 +12143,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
"integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -12049,7 +12152,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",
"integrity": "sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -12086,7 +12188,6 @@
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",
"integrity": "sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -12124,7 +12225,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",
"integrity": "sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -12150,7 +12250,6 @@
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
"integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",
- "dev": true,
"license": "(MIT OR Apache-2.0)",
"bin": {
"atob": "bin/atob.js"
@@ -12266,9 +12365,9 @@
}
},
"node_modules/babel-dead-code-elimination": {
- "version": "1.0.10",
- "resolved": "https://registry.npmjs.org/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.10.tgz",
- "integrity": "sha512-DV5bdJZTzZ0zn0DC24v3jD7Mnidh6xhKa4GfKCbq3sfW8kaWhDdZjP3i81geA8T33tdYqWKw4D3fVv0CwEgKVA==",
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/babel-dead-code-elimination/-/babel-dead-code-elimination-1.0.11.tgz",
+ "integrity": "sha512-mwq3W3e/pKSI6TG8lXMiDWvEi1VXYlSBlJlB3l+I0bAb5u1RNUl88udos85eOPNK3m5EXK9uO7d2g08pesTySQ==",
"license": "MIT",
"dependencies": {
"@babel/core": "^7.23.7",
@@ -12281,7 +12380,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.6.3.tgz",
"integrity": "sha512-pl4Q+GAVOHwvjrck6jKjvmGhnO3jHX/xuB9d27f+EJZ/6k+6nMuPjorrYp7s++bKKdANwzElBWnLWaObvTnaZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/transform": "^26.6.2",
@@ -12304,7 +12402,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -12320,7 +12417,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -12337,7 +12433,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -12350,14 +12445,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/babel-jest/node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -12367,7 +12460,6 @@
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz",
"integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/helper-plugin-utils": "^7.0.0",
@@ -12384,7 +12476,6 @@
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz",
"integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.12.3",
@@ -12401,7 +12492,6 @@
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -12411,7 +12501,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.6.2.tgz",
"integrity": "sha512-PO9t0697lNTmcEHH69mdtYiOIkkOlj9fySqfO3K1eCcdISevLAE0xY59VLLUj0SoiPiTX/JU2CYFpILydUa5Lw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/template": "^7.3.3",
@@ -12442,7 +12531,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz",
"integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/plugin-syntax-async-generators": "^7.8.4",
@@ -12469,7 +12557,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.6.2.tgz",
"integrity": "sha512-YvdtlVm9t3k777c5NPQIv6cxFFFapys25HiUmuSgHwIZhfifweR5c5Sf5nwE3MAbfu327CYSvps8Yx6ANLyleQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"babel-plugin-jest-hoist": "^26.6.2",
@@ -12502,7 +12589,6 @@
"version": "0.11.2",
"resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz",
"integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cache-base": "^1.0.1",
@@ -12521,7 +12607,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -12560,9 +12645,9 @@
}
},
"node_modules/baseline-browser-mapping": {
- "version": "2.9.7",
- "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.7.tgz",
- "integrity": "sha512-k9xFKplee6KIio3IDbwj+uaCLpqzOwakOgmqzPezM0sFJlFKcg30vk2wOiAJtkTSfx0SSQDSe8q+mWA/fSH5Zg==",
+ "version": "2.9.11",
+ "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.11.tgz",
+ "integrity": "sha512-Sg0xJUNDU1sJNGdfGWhVHX0kkZ+HWcvmVymJbj6NSgZZmW/8S9Y2HQ5euytnIgakgxN6papOAWiwDo1ctFDcoQ==",
"license": "Apache-2.0",
"bin": {
"baseline-browser-mapping": "dist/cli.js"
@@ -12805,7 +12890,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz",
"integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==",
- "dev": true,
"license": "BSD-2-Clause"
},
"node_modules/browserify-zlib": {
@@ -12866,7 +12950,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz",
"integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"node-int64": "^0.4.0"
@@ -12939,7 +13022,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",
"integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"collection-visit": "^1.0.0",
@@ -13016,7 +13098,6 @@
"version": "5.3.1",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -13032,9 +13113,9 @@
}
},
"node_modules/caniuse-lite": {
- "version": "1.0.30001760",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001760.tgz",
- "integrity": "sha512-7AAMPcueWELt1p3mi13HR/LHH0TJLT11cnwDJEs3xA4+CK/PLKeO9Kl1oru24htkyUKtkGCvAx4ohB0Ttry8Dw==",
+ "version": "1.0.30001761",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001761.tgz",
+ "integrity": "sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==",
"funding": [
{
"type": "opencollective",
@@ -13071,7 +13152,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz",
"integrity": "sha512-PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==",
- "dev": true,
"license": "ISC",
"dependencies": {
"rsvp": "^4.8.4"
@@ -13106,7 +13186,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz",
"integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -13207,7 +13286,6 @@
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",
"integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
@@ -13223,7 +13301,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -13236,7 +13313,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -13307,7 +13383,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"string-width": "^4.2.0",
@@ -13319,7 +13394,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -13335,7 +13409,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -13348,21 +13421,18 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/cliui/node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
"license": "MIT"
},
"node_modules/cliui/node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -13372,7 +13442,6 @@
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -13387,7 +13456,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -13400,7 +13468,6 @@
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz",
"integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.0.0",
@@ -13707,7 +13774,6 @@
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
"integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==",
- "dev": true,
"license": "MIT",
"engines": {
"iojs": ">= 1.0.0",
@@ -13725,14 +13791,12 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz",
"integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==",
- "dev": true,
"license": "MIT"
},
"node_modules/collection-visit": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",
"integrity": "sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"map-visit": "^1.0.0",
@@ -13827,7 +13891,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.1.tgz",
"integrity": "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==",
- "dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -13927,16 +13990,15 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",
"integrity": "sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/core-js": {
- "version": "3.32.2",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.2.tgz",
- "integrity": "sha512-pxXSw1mYZPDGvTQqEc5vgIb83jGQKFGYWY76z4a7weZXUolw3G+OvpZqSRcfYOoOVUQJYEPsWeQK8pKEnUtWxQ==",
+ "version": "3.47.0",
+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.47.0.tgz",
+ "integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==",
"hasInstallScript": true,
"license": "MIT",
"funding": {
@@ -14113,14 +14175,12 @@
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",
"integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",
- "dev": true,
"license": "MIT"
},
"node_modules/cssstyle": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
"integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cssom": "~0.3.6"
@@ -14133,7 +14193,6 @@
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
"integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
- "dev": true,
"license": "MIT"
},
"node_modules/csstype": {
@@ -14261,9 +14320,9 @@
}
},
"node_modules/d3-delaunay": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.2.tgz",
- "integrity": "sha512-IMLNldruDQScrcfT+MWnazhHbDJhcRJyOEBAJfwQnHle1RPh6WDuLvxNArUju2VSMSUuKlY5BGHRJ2cYyoFLQQ==",
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.4.tgz",
+ "integrity": "sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==",
"license": "ISC",
"dependencies": {
"delaunator": "5"
@@ -14373,9 +14432,9 @@
}
},
"node_modules/d3-geo": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.0.tgz",
- "integrity": "sha512-JEo5HxXDdDYXCaWdwLRt79y7giK8SbhZJbFWXqbRTolCHFI5jRqteLzCsq51NKbUoX0PjBVSohxrx+NoOUujYA==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-3.1.1.tgz",
+ "integrity": "sha512-637ln3gXKXOwhalDzinUgY83KzNWZRKbYubaG+fGVuc/dxO64RRljtCTnf5ecMyE1RIdtqpkVcq0IbtU2S8j2Q==",
"license": "ISC",
"dependencies": {
"d3-array": "2.5.0 - 3"
@@ -14406,10 +14465,13 @@
}
},
"node_modules/d3-path": {
- "version": "1.0.9",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz",
- "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==",
- "license": "BSD-3-Clause"
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
+ "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
+ "license": "ISC",
+ "engines": {
+ "node": ">=12"
+ }
},
"node_modules/d3-polygon": {
"version": "3.0.1",
@@ -14477,12 +14539,15 @@
}
},
"node_modules/d3-shape": {
- "version": "1.3.7",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz",
- "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==",
- "license": "BSD-3-Clause",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
+ "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
+ "license": "ISC",
"dependencies": {
- "d3-path": "1"
+ "d3-path": "^3.1.0"
+ },
+ "engines": {
+ "node": ">=12"
}
},
"node_modules/d3-time": {
@@ -14553,27 +14618,6 @@
"node": ">=12"
}
},
- "node_modules/d3/node_modules/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
- "license": "ISC",
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/d3/node_modules/d3-shape": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
- "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
- "license": "ISC",
- "dependencies": {
- "d3-path": "^3.1.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
"node_modules/dagre": {
"version": "0.8.5",
"resolved": "https://registry.npmjs.org/dagre/-/dagre-0.8.5.tgz",
@@ -14598,7 +14642,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
"integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"abab": "^2.0.3",
@@ -14613,7 +14656,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
@@ -14626,7 +14668,6 @@
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"lodash": "^4.7.0",
@@ -14712,7 +14753,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -14747,7 +14787,6 @@
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.2.tgz",
"integrity": "sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10"
@@ -14767,9 +14806,9 @@
}
},
"node_modules/dedent": {
- "version": "1.7.0",
- "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.0.tgz",
- "integrity": "sha512-HGFtf8yhuhGhqO07SV79tRp+br4MnbdjeVxotpn1QBl30pcLLCQjX5b2295ll0fv8RKDKsmWYrl05usHM9CewQ==",
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.1.tgz",
+ "integrity": "sha512-9JmrhGZpOlEgOLdQgSm0zxFaYoQon408V1v49aqTWuXENVlnCuY9JBZcXZiCsZQWDjTm5Qf/nIvAy77mXDAjEg==",
"license": "MIT",
"peerDependencies": {
"babel-plugin-macros": "^3.1.0"
@@ -14870,7 +14909,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",
"integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.2",
@@ -14937,7 +14975,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
"integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -14978,7 +15015,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.6.2.tgz",
"integrity": "sha512-Mv/TDa3nZ9sbc5soK+OoA74BsS3mL37yixCvUAQkiuA4Wz6YtwP/K47n2rv2ovzHZvoiQeA5FTQOschKkEwB0Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -15070,7 +15106,6 @@
"resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
"deprecated": "Use your platform's native DOMException instead",
- "dev": true,
"license": "MIT",
"dependencies": {
"webidl-conversions": "^5.0.0"
@@ -15083,7 +15118,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
"integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=8"
@@ -15261,7 +15295,6 @@
"version": "0.7.2",
"resolved": "https://registry.npmjs.org/emittery/-/emittery-0.7.2.tgz",
"integrity": "sha512-A8OG5SR/ij3SsJdWDJdkkSYUjQdCUx6APQXem0SaEePBSRg4eymGYwBkKo1Y6DU+af/Jn2dBQqDBvjnr9Vi8nQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -15277,9 +15310,9 @@
"license": "MIT"
},
"node_modules/emoji-regex": {
- "version": "10.6.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",
- "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",
+ "version": "9.2.2",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
+ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
"license": "MIT"
},
"node_modules/encodeurl": {
@@ -15295,7 +15328,6 @@
"version": "1.4.5",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.5.tgz",
"integrity": "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"once": "^1.4.0"
@@ -15387,6 +15419,27 @@
"node": ">= 0.6"
}
},
+ "node_modules/engine.io/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/engine.io/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/engine.io/node_modules/negotiator": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
@@ -15670,7 +15723,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
"integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"esprima": "^4.0.1",
@@ -15692,7 +15744,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"optional": true,
"engines": {
@@ -15703,7 +15754,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
- "dev": true,
"license": "BSD-2-Clause",
"bin": {
"esparse": "bin/esparse.js",
@@ -15717,7 +15767,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=4.0"
@@ -15737,7 +15786,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=0.10.0"
@@ -15803,7 +15851,6 @@
"version": "0.3.6",
"resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.6.tgz",
"integrity": "sha512-nQn+hI3yp+oD0huYhKwvYI32+JFeq+XkNcD1GAo3Y/MjxsfVGmrrzrnzjWiNY6f+pUCP440fThsFh5gZrRAU/w==",
- "dev": true,
"license": "MIT"
},
"node_modules/execa": {
@@ -15834,7 +15881,6 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
"integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==",
- "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -15855,7 +15901,6 @@
"version": "2.1.4",
"resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",
"integrity": "sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"debug": "^2.3.3",
@@ -15874,7 +15919,6 @@
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "2.0.0"
@@ -15884,7 +15928,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -15897,7 +15940,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -15910,7 +15952,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -15924,7 +15965,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -15934,14 +15974,12 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
"license": "MIT"
},
"node_modules/expect": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/expect/-/expect-26.6.2.tgz",
"integrity": "sha512-9/hlOBkQl2l/PLHJx6JjoDF6xPKcJEsUlWKb23rKE7KzeDqUZKXKNMW27KIue5JMdBV9HgmoJPcc8HtO85t9IA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -15959,7 +15997,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -15975,7 +16012,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -15988,7 +16024,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/express": {
@@ -16075,31 +16110,6 @@
}
}
},
- "node_modules/express/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/express/node_modules/mime-types": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
- "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
"node_modules/express/node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -16122,7 +16132,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",
"integrity": "sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"assign-symbols": "^1.0.0",
@@ -16136,7 +16145,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",
"integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"array-unique": "^0.3.2",
@@ -16156,7 +16164,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -16169,7 +16176,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -16182,7 +16188,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -16244,6 +16249,18 @@
"node": ">=8.6"
}
},
+ "node_modules/fast-glob/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
@@ -16267,9 +16284,9 @@
"license": "BSD-3-Clause"
},
"node_modules/fastq": {
- "version": "1.19.1",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
- "integrity": "sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==",
+ "version": "1.20.1",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.20.1.tgz",
+ "integrity": "sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==",
"license": "ISC",
"dependencies": {
"reusify": "^1.0.4"
@@ -16279,7 +16296,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz",
"integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"bser": "2.1.1"
@@ -16327,9 +16343,9 @@
}
},
"node_modules/fflate": {
- "version": "0.8.2",
- "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
- "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
+ "version": "0.4.8",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",
+ "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==",
"license": "MIT"
},
"node_modules/file-selector": {
@@ -16410,7 +16426,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"locate-path": "^5.0.0",
@@ -16486,7 +16501,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -16536,6 +16550,27 @@
"node": ">= 6"
}
},
+ "node_modules/form-data/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/form-data/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/formdata-polyfill": {
"version": "4.0.10",
"resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz",
@@ -16575,7 +16610,6 @@
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
"integrity": "sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"map-cache": "^0.2.2"
@@ -16671,7 +16705,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "devOptional": true,
"license": "ISC"
},
"node_modules/fsevents": {
@@ -16827,7 +16860,6 @@
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "dev": true,
"license": "ISC",
"engines": {
"node": "6.* || 8.* || >= 10.*"
@@ -16870,7 +16902,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
"integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8.0.0"
@@ -16924,7 +16955,7 @@
"version": "4.13.0",
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.0.tgz",
"integrity": "sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"resolve-pkg-maps": "^1.0.0"
@@ -16937,7 +16968,6 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",
"integrity": "sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -17085,7 +17115,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz",
"integrity": "sha512-+xGQY0YyAWCnqy7Cd++hc2JqMYzlm0dG30Jd0beaA64sROr8C4nt8Yc9V5Ro3avlSUDTN0ulqP/VBKi1/lLygw==",
- "dev": true,
"license": "MIT",
"optional": true
},
@@ -17207,7 +17236,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",
"integrity": "sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"get-value": "^2.0.6",
@@ -17222,7 +17250,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",
"integrity": "sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
@@ -17236,7 +17263,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -17249,7 +17275,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -17262,7 +17287,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
"integrity": "sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -17484,7 +17508,6 @@
"version": "2.8.9",
"resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
"integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
- "dev": true,
"license": "ISC"
},
"node_modules/hsl-to-hex": {
@@ -17506,7 +17529,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
"integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"whatwg-encoding": "^1.0.5"
@@ -17519,7 +17541,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz",
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
- "dev": true,
"license": "MIT"
},
"node_modules/html-to-text": {
@@ -17601,7 +17622,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
"integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@tootallnate/once": "1",
@@ -17616,7 +17636,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz",
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
- "devOptional": true,
"license": "MIT",
"dependencies": {
"agent-base": "6",
@@ -17662,9 +17681,9 @@
}
},
"node_modules/hyphen": {
- "version": "1.10.6",
- "resolved": "https://registry.npmjs.org/hyphen/-/hyphen-1.10.6.tgz",
- "integrity": "sha512-fXHXcGFTXOvZTSkPJuGOQf5Lv5T/R2itiiCVPg9LxAje5D00O0pP83yJShFq5V89Ly//Gt6acj7z8pbBr34stw==",
+ "version": "1.13.0",
+ "resolved": "https://registry.npmjs.org/hyphen/-/hyphen-1.13.0.tgz",
+ "integrity": "sha512-flZoIooovWALhu04Z3ooPWQldjTOgLDs5DlbUxTjnIyhQKu9ukljKWwElFCUyVi6TBk210bMBlaMG8eW3bXU+g==",
"license": "ISC"
},
"node_modules/iceberg-js": {
@@ -17759,7 +17778,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz",
"integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pkg-dir": "^4.2.0",
@@ -17779,7 +17797,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.8.19"
@@ -17790,7 +17807,6 @@
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
"deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
- "devOptional": true,
"license": "ISC",
"dependencies": {
"once": "^1.3.0",
@@ -17904,7 +17920,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.1.tgz",
"integrity": "sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
@@ -18046,7 +18061,6 @@
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-callable": {
@@ -18098,7 +18112,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.1.tgz",
"integrity": "sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"hasown": "^2.0.0"
@@ -18156,7 +18169,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.3.tgz",
"integrity": "sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -18170,7 +18182,7 @@
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
"integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"bin": {
"is-docker": "cli.js"
@@ -18192,7 +18204,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",
"integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-plain-object": "^2.0.4"
@@ -18205,7 +18216,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -18256,7 +18266,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz",
"integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -18386,7 +18395,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
"integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-promise": {
@@ -18520,7 +18528,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==",
- "dev": true,
"license": "MIT"
},
"node_modules/is-url": {
@@ -18591,7 +18598,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",
"integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -18601,7 +18607,7 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
"integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"is-docker": "^2.0.0"
@@ -18636,7 +18642,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",
"integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -18646,7 +18651,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz",
"integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=8"
@@ -18656,7 +18660,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz",
"integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.7.5",
@@ -18672,7 +18675,6 @@
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -18682,7 +18684,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz",
"integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"istanbul-lib-coverage": "^3.0.0",
@@ -18697,7 +18698,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz",
"integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"debug": "^4.1.1",
@@ -18712,7 +18712,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -18722,7 +18721,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz",
"integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"html-escaper": "^2.0.0",
@@ -18760,7 +18758,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest/-/jest-26.6.3.tgz",
"integrity": "sha512-lGS5PXGAzR4RF7V5+XObhqz2KZIDUA1yD0DG6pBVmy10eh0ZIXQImRuzocsI/N2XZ1GrLFwTS27In2i2jlpq1Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
@@ -18778,7 +18775,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-26.6.2.tgz",
"integrity": "sha512-fDS7szLcY9sCtIip8Fjry9oGf3I2ht/QT21bAHm5Dmf0mD4X3ReNUf17y+bO6fR8WgbIZTlbyG1ak/53cbRzKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -18793,7 +18789,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz",
"integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.0",
@@ -18817,7 +18812,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pump": "^3.0.0"
@@ -18833,7 +18827,6 @@
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz",
"integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=8.12.0"
@@ -18843,7 +18836,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
"integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -18856,7 +18848,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
"integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -18866,7 +18857,6 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
"integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^3.0.0"
@@ -18879,7 +18869,6 @@
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
"integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"mimic-fn": "^2.1.0"
@@ -18895,7 +18884,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
"integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -18905,7 +18893,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-26.6.3.tgz",
"integrity": "sha512-GF9noBSa9t08pSyl3CY4frMrqp+aQXFGFkf5hEPbh/pIUFYWMK6ZLTfbmadxJVcJrdRoChlWQsA2VkJcDFK8hg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/core": "^26.6.3",
@@ -18933,7 +18920,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -18949,7 +18935,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -18966,7 +18951,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -18979,14 +18963,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-config": {
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.6.3.tgz",
"integrity": "sha512-t5qdIj/bCj2j7NFVHb2nFB4aUdfucDn3JRKgrZnplb8nieAirAzRSHP8uDEd+qV6ygzg9Pz4YG7UTJf94LPSyg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.0",
@@ -19024,7 +19006,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19040,7 +19021,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19057,7 +19037,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19070,7 +19049,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-config/node_modules/glob": {
@@ -19078,7 +19056,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -19095,34 +19072,10 @@
"url": "https://github.com/sponsors/isaacs"
}
},
- "node_modules/jest-config/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-config/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/jest-diff": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.6.2.tgz",
"integrity": "sha512-6m+9Z3Gv9wN0WFVasqjCL/06+EFCMTqDEUl/b87HYK2rAPTyfz4ZIuSlPhY51PIQRWx5TaxeF1qmXKe9gfN3sA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
@@ -19138,7 +19091,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19154,7 +19106,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19171,7 +19122,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19184,37 +19134,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-diff/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-diff/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-docblock": {
"version": "26.0.0",
"resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz",
"integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"detect-newline": "^3.0.0"
@@ -19227,7 +19152,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.6.2.tgz",
"integrity": "sha512-Mer/f0KaATbjl8MCJ+0GEpNdqmnVmDYqCTJYTvoo7rqmRiDllmp2AYN+06F93nXcY3ur9ShIjS+CO/uD+BbH4A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -19244,7 +19168,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19260,7 +19183,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19277,7 +19199,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19290,37 +19211,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-each/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-each/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-environment-jsdom": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.6.2.tgz",
"integrity": "sha512-jgPqCruTlt3Kwqg5/WVFyHIOJHsiAvhcp2qiR2QQstuG9yWox5+iHpU3ZrcBxW14T4fe5Z68jAfLRh7joCSP2Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -19339,7 +19235,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.6.2.tgz",
"integrity": "sha512-zhtMio3Exty18dy8ee8eJ9kjnRyZC1N4C1Nt/VShN1apyXc8rWGtJ9lI7vqiWcyyXS4BVSEn9lxAM2D+07/Tag==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/environment": "^26.6.2",
@@ -19357,7 +19252,6 @@
"version": "26.3.0",
"resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.3.0.tgz",
"integrity": "sha512-TpfaviN1R2pQWkIihlfEanwOXK0zcxrKEE4MlU6Tn7keoXdN6/3gK/xl0yEh8DOunn5pOVGKf8hB4R9gVh04ig==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -19367,7 +19261,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.6.2.tgz",
"integrity": "sha512-easWIJXIw71B2RdR8kgqpjQrbMRWQBgiBwXYEhtGUTaX+doCjBheluShdDMeR8IMfJiTqH4+zfhtg29apJf/8w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -19395,7 +19288,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.6.3.tgz",
"integrity": "sha512-kPKUrQtc8aYwBV7CqBg5pu+tmYXlvFlSFYn18ev4gPFtrRzB15N2gW/Roew3187q2w2eHuu0MU9TJz6w0/nPEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/traverse": "^7.1.0",
@@ -19425,7 +19317,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19441,7 +19332,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19458,7 +19348,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19471,37 +19360,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-jasmine2/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-jasmine2/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-leak-detector": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.6.2.tgz",
"integrity": "sha512-i4xlXpsVSMeKvg2cEKdfhh0H39qlJlP5Ex1yQxwF9ubahboQYMgTtz5oML35AVA3B4Eu+YsmwaiKVev9KCvLxg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"jest-get-type": "^26.3.0",
@@ -19511,70 +19375,10 @@
"node": ">= 10.14.2"
}
},
- "node_modules/jest-leak-detector/node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/jest-leak-detector/node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/jest-leak-detector/node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-leak-detector/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-leak-detector/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/jest-matcher-utils": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.6.2.tgz",
"integrity": "sha512-llnc8vQgYcNqDrqRDXWwMr9i7rS5XFiCwvh6DTP7Jqa2mqpcCBBlpCbn+trkG0KNhPu/h8rzyBkriOtBstvWhw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"chalk": "^4.0.0",
@@ -19590,7 +19394,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19606,7 +19409,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19623,7 +19425,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19636,37 +19437,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-matcher-utils/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-matcher-utils/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-message-util": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.6.2.tgz",
"integrity": "sha512-rGiLePzQ3AzwUshu2+Rn+UMFk0pHN58sOG+IaJbk5Jxuqo3NYO1U2/MIR4S1sKgsoYSXSzdtSa0TgrmtUwEbmA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
@@ -19687,7 +19463,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19703,7 +19478,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19720,7 +19494,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19733,37 +19506,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-message-util/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-message-util/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-message-util/node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -19773,7 +19521,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.6.2.tgz",
"integrity": "sha512-YyFjePHHp1LzpzYcmgqkJ0nm0gg/lJx2aZFzFy1S6eUqNjXsOqTK10zNRff2dNfssgokjkG65OlWNcIlgd3zew==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -19787,7 +19534,6 @@
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz",
"integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -19805,7 +19551,6 @@
"version": "26.0.0",
"resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz",
"integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.14.2"
@@ -19815,7 +19560,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.6.2.tgz",
"integrity": "sha512-sOxsZOq25mT1wRsfHcbtkInS+Ek7Q8jCHUB0ZUTP0tc/c41QHriU/NunqMfCUWsL4H3MHpvQD4QR9kSYhS7UvQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -19835,7 +19579,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-26.6.3.tgz",
"integrity": "sha512-pVwUjJkxbhe4RY8QEWzN3vns2kqyuldKpxlxJlzEYfKSvY6/bMvxoFrYYzUO1Gx28yKWN37qyV7rIoIp2h8fTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -19850,7 +19593,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19866,7 +19608,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19883,7 +19624,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19896,14 +19636,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-resolve/node_modules/slash": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -19913,7 +19651,6 @@
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.6.3.tgz",
"integrity": "sha512-atgKpRHnaA2OvByG/HpGA4g6CSPS/1LK0jK3gATJAoptC1ojltpmVlYC3TYgdmGp+GLuhzpH30Gvs36szSL2JQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -19945,7 +19682,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -19961,7 +19697,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -19978,7 +19713,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -19991,14 +19725,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-runtime": {
"version": "26.6.3",
"resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.6.3.tgz",
"integrity": "sha512-lrzyR3N8sacTAMeonbqpnSka1dHNux2uk0qqDXVkMv2c/A3wYnvQ4EXuI013Y6+gSKSCxdaczvf4HF0mVXHRdw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/console": "^26.6.2",
@@ -20040,7 +19772,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -20056,7 +19787,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -20073,14 +19803,12 @@
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-0.6.0.tgz",
"integrity": "sha512-uc2Vix1frTfnuzxxu1Hp4ktSvM3QaI4oXl4ZUqL1wjTu/BGki9TrCWoqLTg/drR1KwAEarXuRFCG2Svr1GxPFw==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-runtime/node_modules/color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -20093,7 +19821,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-runtime/node_modules/glob": {
@@ -20101,7 +19828,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -20122,7 +19848,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
"integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -20132,7 +19857,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz",
"integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -20142,7 +19866,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.6.2.tgz",
"integrity": "sha512-S5wqyz0DXnNJPd/xfIzZ5Xnp1HrJWBczg8mMfMpN78OJ5eDxXyf+Ygld9wX1DnUWbIbhM1YDY95NjR4CBXkb2g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*",
@@ -20156,7 +19879,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.6.2.tgz",
"integrity": "sha512-OLhxz05EzUtsAmOMzuupt1lHYXCNib0ECyuZ/PZOx9TrZcC8vL0x+DUG3TL+GLX3yHG45e6YGjIm0XwDc3q3og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/types": "^7.0.0",
@@ -20184,7 +19906,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -20200,7 +19921,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -20217,7 +19937,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -20230,30 +19949,6 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-snapshot/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-snapshot/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-util": {
@@ -20326,7 +20021,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.6.2.tgz",
"integrity": "sha512-NEYZ9Aeyj0i5rQqbq+tpIOom0YS1u2MVu6+euBsvpgIme+FOfRmoC4R5p0JiAUpaFvFy24xgrpMknarR/93XjQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/types": "^26.6.2",
@@ -20344,7 +20038,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -20360,7 +20053,6 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz",
"integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -20373,7 +20065,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -20390,7 +20081,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -20403,37 +20093,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
- "license": "MIT"
- },
- "node_modules/jest-validate/node_modules/pretty-format": {
- "version": "26.6.2",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
- "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@jest/types": "^26.6.2",
- "ansi-regex": "^5.0.0",
- "ansi-styles": "^4.0.0",
- "react-is": "^17.0.1"
- },
- "engines": {
- "node": ">= 10"
- }
- },
- "node_modules/jest-validate/node_modules/react-is": {
- "version": "17.0.2",
- "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
- "integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-watcher": {
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-26.6.2.tgz",
"integrity": "sha512-WKJob0P/Em2csiVthsI68p6aGKTIcsfjH9Gsx1f0A3Italz43e3ho0geSAVsmj09RWOELP1AZ/DXyJgOgDKxXQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@jest/test-result": "^26.6.2",
@@ -20452,7 +20117,6 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"type-fest": "^0.21.3"
@@ -20468,7 +20132,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
"integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-convert": "^2.0.1"
@@ -20484,7 +20147,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -20501,7 +20163,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
"integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"color-name": "~1.1.4"
@@ -20514,14 +20175,12 @@
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "dev": true,
"license": "MIT"
},
"node_modules/jest-watcher/node_modules/type-fest": {
"version": "0.21.3",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
@@ -20534,7 +20193,6 @@
"version": "26.6.2",
"resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz",
"integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/node": "*",
@@ -20587,9 +20245,9 @@
}
},
"node_modules/jotai": {
- "version": "2.16.0",
- "resolved": "https://registry.npmjs.org/jotai/-/jotai-2.16.0.tgz",
- "integrity": "sha512-NmkwPBet0SHQ28GBfEb10sqnbVOYyn6DL4iazZgGRDUKxSWL0iqcm+IK4TqTSFC2ixGk+XX2e46Wbv364a3cKg==",
+ "version": "2.16.1",
+ "resolved": "https://registry.npmjs.org/jotai/-/jotai-2.16.1.tgz",
+ "integrity": "sha512-vrHcAbo3P7Br37C8Bv6JshMtlKMPqqmx0DDREtTjT4nf3QChDrYdbH+4ik/9V0cXA57dK28RkJ5dctYvavcIlg==",
"license": "MIT",
"engines": {
"node": ">=12.20.0"
@@ -20689,7 +20347,6 @@
"version": "3.14.2",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.2.tgz",
"integrity": "sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"argparse": "^1.0.7",
@@ -20703,7 +20360,6 @@
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
"integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"abab": "^2.0.5",
@@ -20750,7 +20406,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.4.tgz",
"integrity": "sha512-f0cRzm6dkyVYV3nPoooP8XlccPQukegwhAnpoLcXy+X+A8KfpGOoXwDr9FLZd3wzgLaBGQBE3lY93Zm/i1JvIQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"asynckit": "^0.4.0",
@@ -20763,11 +20418,31 @@
"node": ">= 6"
}
},
+ "node_modules/jsdom/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/jsdom/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/jsdom/node_modules/tr46": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.1.1"
@@ -20780,7 +20455,6 @@
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"lodash": "^4.7.0",
@@ -20795,7 +20469,6 @@
"version": "7.5.10",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz",
"integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8.3.0"
@@ -21013,7 +20686,6 @@
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -21033,7 +20705,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
"integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -21058,9 +20729,9 @@
}
},
"node_modules/libphonenumber-js": {
- "version": "1.12.31",
- "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.31.tgz",
- "integrity": "sha512-Z3IhgVgrqO1S5xPYM3K5XwbkDasU67/Vys4heW+lfSBALcUZjeIIzI8zCLifY+OCzSq+fpDdywMDa7z+4srJPQ==",
+ "version": "1.12.33",
+ "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.12.33.tgz",
+ "integrity": "sha512-r9kw4OA6oDO4dPXkOrXTkArQAafIKAU71hChInV4FxZ69dxCfbwQGDPzqR5/vea94wU705/3AZroEbSoeVWrQw==",
"license": "MIT"
},
"node_modules/lie": {
@@ -21149,6 +20820,16 @@
"url": "https://opencollective.com/lint-staged"
}
},
+ "node_modules/lint-staged/node_modules/yaml": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",
+ "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==",
+ "dev": true,
+ "license": "ISC",
+ "engines": {
+ "node": ">= 14"
+ }
+ },
"node_modules/liquidjs": {
"version": "10.24.0",
"resolved": "https://registry.npmjs.org/liquidjs/-/liquidjs-10.24.0.tgz",
@@ -21243,7 +20924,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-locate": "^4.1.0"
@@ -21435,7 +21115,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz",
"integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"semver": "^7.5.3"
@@ -21466,7 +21145,6 @@
"version": "1.0.12",
"resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz",
"integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"tmpl": "1.0.5"
@@ -21476,7 +21154,6 @@
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
"integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -21486,7 +21163,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",
"integrity": "sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"object-visit": "^1.0.0"
@@ -22509,25 +22185,41 @@
"node": ">=8.6"
}
},
+ "node_modules/micromatch/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "version": "1.54.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
+ "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
"license": "MIT",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
+ "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
"license": "MIT",
"dependencies": {
- "mime-db": "1.52.0"
+ "mime-db": "^1.54.0"
},
"engines": {
- "node": ">= 0.6"
+ "node": ">=18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/mimic-fn": {
@@ -22631,7 +22323,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",
"integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"for-in": "^1.0.2",
@@ -22776,7 +22467,6 @@
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
"integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
@@ -22820,7 +22510,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true,
"license": "MIT"
},
"node_modules/negotiator": {
@@ -22842,7 +22531,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",
"integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/node-domexception": {
@@ -22890,14 +22578,12 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz",
"integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==",
- "dev": true,
"license": "MIT"
},
"node_modules/node-notifier": {
"version": "8.0.2",
"resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-8.0.2.tgz",
"integrity": "sha512-oJP/9NAdd9+x2Q+rfphB2RJCHjod70RcRLjosiPMMu5gjIfwVnOUGq2nbTjTUbmy0DJ/tFIVT30+Qe3nzl4TJg==",
- "dev": true,
"license": "MIT",
"optional": true,
"dependencies": {
@@ -22913,7 +22599,6 @@
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
"integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==",
- "dev": true,
"license": "MIT",
"optional": true,
"bin": {
@@ -23003,6 +22688,19 @@
"node": ">=4"
}
},
+ "node_modules/nodemon/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/nodemon/node_modules/readdirp": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
@@ -23055,7 +22753,6 @@
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
"integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"hosted-git-info": "^2.1.4",
@@ -23068,7 +22765,6 @@
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver"
@@ -23322,7 +23018,6 @@
"version": "2.2.23",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.23.tgz",
"integrity": "sha512-7wfH4sLbt4M0gCDzGE6vzQBo0bfTKjU7Sfpqy/7gs1qBfYz2vEJH6vXcBKpO3+6Yu1telwd0t9HpyOoLEQQbIQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/object-assign": {
@@ -23338,7 +23033,6 @@
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",
"integrity": "sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"copy-descriptor": "^0.1.0",
@@ -23353,7 +23047,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -23366,7 +23059,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -23380,7 +23072,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -23441,7 +23132,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",
"integrity": "sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.0"
@@ -23475,7 +23165,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",
"integrity": "sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -23540,6 +23229,12 @@
"three": "0.163.0"
}
},
+ "node_modules/online-3d-viewer/node_modules/fflate": {
+ "version": "0.8.2",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.8.2.tgz",
+ "integrity": "sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==",
+ "license": "MIT"
+ },
"node_modules/open": {
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/open/-/open-7.4.2.tgz",
@@ -23572,22 +23267,13 @@
"opencontrol": "bin/index.mjs"
}
},
- "node_modules/opencontrol/node_modules/zod": {
- "version": "3.24.2",
- "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz",
- "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/colinhacks"
- }
- },
- "node_modules/opencontrol/node_modules/zod-to-json-schema": {
- "version": "3.24.3",
- "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.3.tgz",
- "integrity": "sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==",
- "license": "ISC",
- "peerDependencies": {
- "zod": "^3.24.1"
+ "node_modules/opencontrol/node_modules/zod": {
+ "version": "3.24.2",
+ "resolved": "https://registry.npmjs.org/zod/-/zod-3.24.2.tgz",
+ "integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ==",
+ "license": "MIT",
+ "funding": {
+ "url": "https://github.com/sponsors/colinhacks"
}
},
"node_modules/openid-client": {
@@ -23663,7 +23349,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-each-series/-/p-each-series-2.2.0.tgz",
"integrity": "sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -23685,7 +23370,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz",
"integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-try": "^2.0.0"
@@ -23701,7 +23385,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"p-limit": "^2.2.0"
@@ -23773,7 +23456,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz",
"integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -23864,7 +23546,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==",
- "dev": true,
"license": "MIT"
},
"node_modules/parseley": {
@@ -23893,7 +23574,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",
"integrity": "sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -23992,7 +23672,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
"integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -24002,7 +23681,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "devOptional": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -24113,12 +23791,12 @@
"license": "ISC"
},
"node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
+ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
"license": "MIT",
"engines": {
- "node": ">=8.6"
+ "node": ">=12"
},
"funding": {
"url": "https://github.com/sponsors/jonschlinkert"
@@ -24169,7 +23847,6 @@
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz",
"integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"find-up": "^4.0.0"
@@ -24208,7 +23885,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",
"integrity": "sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -24340,21 +24016,6 @@
"url": "https://github.com/sponsors/antonk52"
}
},
- "node_modules/postcss-load-config/node_modules/yaml": {
- "version": "2.8.2",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz",
- "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
- "license": "ISC",
- "bin": {
- "yaml": "bin.mjs"
- },
- "engines": {
- "node": ">= 14.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/eemeli"
- }
- },
"node_modules/postcss-nested": {
"version": "6.2.0",
"resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-6.2.0.tgz",
@@ -24384,7 +24045,6 @@
"version": "12.1.5",
"resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-12.1.5.tgz",
"integrity": "sha512-N1NgI1PDCiAGWPTYrwqm8wpjv0bgDmkYHH72pNsqTCv9CObxjxftdYu6AKtGN+pnJa7FQjMm3v4sp8QJbFsYdQ==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -24446,39 +24106,22 @@
}
},
"node_modules/posthog-js": {
- "version": "1.306.1",
- "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.306.1.tgz",
- "integrity": "sha512-wO7bliv/5tlAlfoKCUzwkGXZVNexk0dHigMf9tNp0q1rzs62wThogREY7Tz7h/iWKYiuXy1RumtVlTmHuBXa1w==",
+ "version": "1.310.1",
+ "resolved": "https://registry.npmjs.org/posthog-js/-/posthog-js-1.310.1.tgz",
+ "integrity": "sha512-UkR6zzlWNtqHDXHJl2Yk062DOmZyVKTPL5mX4j4V+u3RiYbMHJe47+PpMMUsvK1R2e1r/m9uSlHaJMJRzyUjGg==",
"license": "SEE LICENSE IN LICENSE",
"dependencies": {
- "@posthog/core": "1.7.1",
+ "@posthog/core": "1.9.0",
"core-js": "^3.38.1",
"fflate": "^0.4.8",
"preact": "^10.19.3",
"web-vitals": "^4.2.4"
}
},
- "node_modules/posthog-js/node_modules/core-js": {
- "version": "3.47.0",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.47.0.tgz",
- "integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==",
- "hasInstallScript": true,
- "license": "MIT",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
- }
- },
- "node_modules/posthog-js/node_modules/fflate": {
- "version": "0.4.8",
- "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz",
- "integrity": "sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==",
- "license": "MIT"
- },
"node_modules/preact": {
- "version": "10.28.0",
- "resolved": "https://registry.npmjs.org/preact/-/preact-10.28.0.tgz",
- "integrity": "sha512-rytDAoiXr3+t6OIP3WGlDd0ouCUG1iCWzkcY3++Nreuoi17y6T5i/zRhe6uYfoVcxq6YU+sBtJouuRDsq8vvqA==",
+ "version": "10.28.1",
+ "resolved": "https://registry.npmjs.org/preact/-/preact-10.28.1.tgz",
+ "integrity": "sha512-u1/ixq/lVQI0CakKNvLDEcW5zfCjUQfZdK9qqWuIJtsezuyG6pk9TWj75GMuI/EzRSZB/VAE43sNWWZfiy8psw==",
"license": "MIT",
"funding": {
"type": "opencollective",
@@ -24502,38 +24145,57 @@
}
},
"node_modules/pretty-format": {
- "version": "27.5.1",
- "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-27.5.1.tgz",
- "integrity": "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==",
- "dev": true,
+ "version": "26.6.2",
+ "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.6.2.tgz",
+ "integrity": "sha512-7AeGuCYNGmycyQbCqd/3PWH4eOoX/OiCa0uphp57NVTeAGdJGaAliecxwBDHYQCIvrW7aDBZCYeNTP/WX69mkg==",
"license": "MIT",
"dependencies": {
- "ansi-regex": "^5.0.1",
- "ansi-styles": "^5.0.0",
+ "@jest/types": "^26.6.2",
+ "ansi-regex": "^5.0.0",
+ "ansi-styles": "^4.0.0",
"react-is": "^17.0.1"
},
"engines": {
- "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ "node": ">= 10"
}
},
"node_modules/pretty-format/node_modules/ansi-styles": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz",
- "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==",
- "dev": true,
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
"engines": {
- "node": ">=10"
+ "node": ">=8"
},
"funding": {
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/pretty-format/node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/pretty-format/node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "license": "MIT"
+ },
"node_modules/pretty-format/node_modules/react-is": {
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz",
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
- "dev": true,
"license": "MIT"
},
"node_modules/prism-react-renderer": {
@@ -24585,7 +24247,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
"integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kleur": "^3.0.3",
@@ -24770,9 +24431,9 @@
}
},
"node_modules/prosemirror-tables": {
- "version": "1.8.3",
- "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.8.3.tgz",
- "integrity": "sha512-wbqCR/RlRPRe41a4LFtmhKElzBEfBTdtAYWNIGHM6X2e24NN/MTNUKyXjjphfAfdQce37Kh/5yf765mLPYDe7Q==",
+ "version": "1.8.5",
+ "resolved": "https://registry.npmjs.org/prosemirror-tables/-/prosemirror-tables-1.8.5.tgz",
+ "integrity": "sha512-V/0cDCsHKHe/tfWkeCmthNUcEp1IVO3p6vwN8XtwE9PZQLAZJigbw3QoraAdfJPir4NKJtNvOB8oYGKRl+t0Dw==",
"license": "MIT",
"dependencies": {
"prosemirror-keymap": "^1.2.3",
@@ -24870,7 +24531,6 @@
"version": "1.15.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.15.0.tgz",
"integrity": "sha512-JZd3gMVBAVQkSs6HdNZo9Sdo0LNcQeMNP3CozBJb3JYC/QUYZTnKxP+f8oWRX4rHP5EurWxqAHTSwUCjlNKa1w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"punycode": "^2.3.1"
@@ -24890,7 +24550,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/pump/-/pump-3.0.3.tgz",
"integrity": "sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"end-of-stream": "^1.1.0",
@@ -24943,7 +24602,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/queue": {
@@ -25032,52 +24690,52 @@
}
},
"node_modules/react-aria": {
- "version": "3.44.0",
- "resolved": "https://registry.npmjs.org/react-aria/-/react-aria-3.44.0.tgz",
- "integrity": "sha512-2Pq3GQxBgM4/2BlpKYXeaZ47a3tdIcYSW/AYvKgypE3XipxOdQMDG5Sr/NBn7zuJq+thzmtfRb0lB9bTbsmaRw==",
+ "version": "3.45.0",
+ "resolved": "https://registry.npmjs.org/react-aria/-/react-aria-3.45.0.tgz",
+ "integrity": "sha512-QsdWIhhm3+IAiW3SU9tEm7pmeIcveEPAO6riZ1IUF78ZCvH/47nU4zVztcdtYmwYWSL4168QxLncWKtlMva3BA==",
"license": "Apache-2.0",
"dependencies": {
"@internationalized/string": "^3.2.7",
- "@react-aria/breadcrumbs": "^3.5.29",
- "@react-aria/button": "^3.14.2",
- "@react-aria/calendar": "^3.9.2",
- "@react-aria/checkbox": "^3.16.2",
- "@react-aria/color": "^3.1.2",
- "@react-aria/combobox": "^3.14.0",
- "@react-aria/datepicker": "^3.15.2",
- "@react-aria/dialog": "^3.5.31",
- "@react-aria/disclosure": "^3.1.0",
- "@react-aria/dnd": "^3.11.3",
- "@react-aria/focus": "^3.21.2",
- "@react-aria/gridlist": "^3.14.1",
- "@react-aria/i18n": "^3.12.13",
- "@react-aria/interactions": "^3.25.6",
- "@react-aria/label": "^3.7.22",
- "@react-aria/landmark": "^3.0.7",
- "@react-aria/link": "^3.8.6",
- "@react-aria/listbox": "^3.15.0",
- "@react-aria/menu": "^3.19.3",
- "@react-aria/meter": "^3.4.27",
- "@react-aria/numberfield": "^3.12.2",
- "@react-aria/overlays": "^3.30.0",
- "@react-aria/progress": "^3.4.27",
- "@react-aria/radio": "^3.12.2",
- "@react-aria/searchfield": "^3.8.9",
- "@react-aria/select": "^3.17.0",
- "@react-aria/selection": "^3.26.0",
- "@react-aria/separator": "^3.4.13",
- "@react-aria/slider": "^3.8.2",
+ "@react-aria/breadcrumbs": "^3.5.30",
+ "@react-aria/button": "^3.14.3",
+ "@react-aria/calendar": "^3.9.3",
+ "@react-aria/checkbox": "^3.16.3",
+ "@react-aria/color": "^3.1.3",
+ "@react-aria/combobox": "^3.14.1",
+ "@react-aria/datepicker": "^3.15.3",
+ "@react-aria/dialog": "^3.5.32",
+ "@react-aria/disclosure": "^3.1.1",
+ "@react-aria/dnd": "^3.11.4",
+ "@react-aria/focus": "^3.21.3",
+ "@react-aria/gridlist": "^3.14.2",
+ "@react-aria/i18n": "^3.12.14",
+ "@react-aria/interactions": "^3.26.0",
+ "@react-aria/label": "^3.7.23",
+ "@react-aria/landmark": "^3.0.8",
+ "@react-aria/link": "^3.8.7",
+ "@react-aria/listbox": "^3.15.1",
+ "@react-aria/menu": "^3.19.4",
+ "@react-aria/meter": "^3.4.28",
+ "@react-aria/numberfield": "^3.12.3",
+ "@react-aria/overlays": "^3.31.0",
+ "@react-aria/progress": "^3.4.28",
+ "@react-aria/radio": "^3.12.3",
+ "@react-aria/searchfield": "^3.8.10",
+ "@react-aria/select": "^3.17.1",
+ "@react-aria/selection": "^3.27.0",
+ "@react-aria/separator": "^3.4.14",
+ "@react-aria/slider": "^3.8.3",
"@react-aria/ssr": "^3.9.10",
- "@react-aria/switch": "^3.7.8",
- "@react-aria/table": "^3.17.8",
- "@react-aria/tabs": "^3.10.8",
- "@react-aria/tag": "^3.7.2",
- "@react-aria/textfield": "^3.18.2",
- "@react-aria/toast": "^3.0.8",
- "@react-aria/tooltip": "^3.8.8",
- "@react-aria/tree": "^3.1.4",
- "@react-aria/utils": "^3.31.0",
- "@react-aria/visually-hidden": "^3.8.28",
+ "@react-aria/switch": "^3.7.9",
+ "@react-aria/table": "^3.17.9",
+ "@react-aria/tabs": "^3.10.9",
+ "@react-aria/tag": "^3.7.3",
+ "@react-aria/textfield": "^3.18.3",
+ "@react-aria/toast": "^3.0.9",
+ "@react-aria/tooltip": "^3.9.0",
+ "@react-aria/tree": "^3.1.5",
+ "@react-aria/utils": "^3.32.0",
+ "@react-aria/visually-hidden": "^3.8.29",
"@react-types/shared": "^3.32.1"
},
"peerDependencies": {
@@ -25177,15 +24835,6 @@
"react": "^18.3.1"
}
},
- "node_modules/react-dom/node_modules/scheduler": {
- "version": "0.23.2",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
- "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.1.0"
- }
- },
"node_modules/react-dropzone": {
"version": "14.3.8",
"resolved": "https://registry.npmjs.org/react-dropzone/-/react-dropzone-14.3.8.tgz",
@@ -25442,9 +25091,9 @@
}
},
"node_modules/react-router": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.10.1.tgz",
- "integrity": "sha512-gHL89dRa3kwlUYtRQ+m8NmxGI6CgqN+k4XyGjwcFoQwwCWF6xXpOCUlDovkXClS0d0XJN/5q7kc5W3kiFEd0Yw==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-7.11.0.tgz",
+ "integrity": "sha512-uI4JkMmjbWCZc01WVP2cH7ZfSzH91JAZUDd7/nIprDgWxBV1TkkmLToFh7EbMTcMak8URFRa2YoBL/W8GWnCTQ==",
"license": "MIT",
"dependencies": {
"cookie": "^1.0.1",
@@ -25464,12 +25113,12 @@
}
},
"node_modules/react-router-dom": {
- "version": "7.10.1",
- "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.10.1.tgz",
- "integrity": "sha512-JNBANI6ChGVjA5bwsUIwJk7LHKmqB4JYnYfzFwyp2t12Izva11elds2jx7Yfoup2zssedntwU0oZ5DEmk5Sdaw==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.11.0.tgz",
+ "integrity": "sha512-e49Ir/kMGRzFOOrYQBdoitq3ULigw4lKbAyKusnvtDu2t4dBX4AGYPrzNvorXmVuOyeakai6FUPW5MmibvVG8g==",
"license": "MIT",
"dependencies": {
- "react-router": "7.10.1"
+ "react-router": "7.11.0"
},
"engines": {
"node": ">=20.0.0"
@@ -25517,36 +25166,36 @@
}
},
"node_modules/react-stately": {
- "version": "3.42.0",
- "resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.42.0.tgz",
- "integrity": "sha512-lYt2o1dd6dK8Bb4GRh08RG/2u64bSA1cqtRqtw4jEMgxC7Q17RFcIumBbChErndSdLzafEG/UBwV6shOfig6yw==",
+ "version": "3.43.0",
+ "resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.43.0.tgz",
+ "integrity": "sha512-dScb9fTL1tRtFODPnk/2rP0a9kp1C+7+40RArS0C7j0auAUmnrO/wDILojwQUso7/kkys4fP707fTwGJDeJ7vg==",
"license": "Apache-2.0",
"dependencies": {
- "@react-stately/calendar": "^3.9.0",
- "@react-stately/checkbox": "^3.7.2",
+ "@react-stately/calendar": "^3.9.1",
+ "@react-stately/checkbox": "^3.7.3",
"@react-stately/collections": "^3.12.8",
- "@react-stately/color": "^3.9.2",
- "@react-stately/combobox": "^3.12.0",
- "@react-stately/data": "^3.14.1",
- "@react-stately/datepicker": "^3.15.2",
- "@react-stately/disclosure": "^3.0.8",
- "@react-stately/dnd": "^3.7.1",
+ "@react-stately/color": "^3.9.3",
+ "@react-stately/combobox": "^3.12.1",
+ "@react-stately/data": "^3.15.0",
+ "@react-stately/datepicker": "^3.15.3",
+ "@react-stately/disclosure": "^3.0.9",
+ "@react-stately/dnd": "^3.7.2",
"@react-stately/form": "^3.2.2",
- "@react-stately/list": "^3.13.1",
- "@react-stately/menu": "^3.9.8",
- "@react-stately/numberfield": "^3.10.2",
- "@react-stately/overlays": "^3.6.20",
- "@react-stately/radio": "^3.11.2",
- "@react-stately/searchfield": "^3.5.16",
- "@react-stately/select": "^3.8.0",
- "@react-stately/selection": "^3.20.6",
- "@react-stately/slider": "^3.7.2",
- "@react-stately/table": "^3.15.1",
- "@react-stately/tabs": "^3.8.6",
+ "@react-stately/list": "^3.13.2",
+ "@react-stately/menu": "^3.9.9",
+ "@react-stately/numberfield": "^3.10.3",
+ "@react-stately/overlays": "^3.6.21",
+ "@react-stately/radio": "^3.11.3",
+ "@react-stately/searchfield": "^3.5.17",
+ "@react-stately/select": "^3.9.0",
+ "@react-stately/selection": "^3.20.7",
+ "@react-stately/slider": "^3.7.3",
+ "@react-stately/table": "^3.15.2",
+ "@react-stately/tabs": "^3.8.7",
"@react-stately/toast": "^3.1.2",
- "@react-stately/toggle": "^3.9.2",
- "@react-stately/tooltip": "^3.5.8",
- "@react-stately/tree": "^3.9.3",
+ "@react-stately/toggle": "^3.9.3",
+ "@react-stately/tooltip": "^3.5.9",
+ "@react-stately/tree": "^3.9.4",
"@react-types/shared": "^3.32.1"
},
"peerDependencies": {
@@ -25653,7 +25302,6 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz",
"integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"find-up": "^4.1.0",
@@ -25671,7 +25319,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz",
"integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@babel/code-frame": "^7.0.0",
@@ -25690,7 +25337,6 @@
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
"integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"@types/normalize-package-data": "^2.4.0",
@@ -25706,7 +25352,6 @@
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz",
"integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
@@ -25716,7 +25361,6 @@
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
"integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=8"
@@ -25847,7 +25491,6 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
"integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.2",
@@ -25996,9 +25639,9 @@
}
},
"node_modules/remix-flat-routes/node_modules/fs-extra": {
- "version": "11.3.2",
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.2.tgz",
- "integrity": "sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==",
+ "version": "11.3.3",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.3.tgz",
+ "integrity": "sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==",
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -26028,14 +25671,12 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
"integrity": "sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==",
- "dev": true,
"license": "ISC"
},
"node_modules/repeat-element": {
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.4.tgz",
"integrity": "sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26045,7 +25686,6 @@
"version": "1.6.1",
"resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
"integrity": "sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10"
@@ -26055,7 +25695,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
"integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26111,14 +25750,12 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz",
"integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==",
- "dev": true,
"license": "ISC"
},
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/resend": {
@@ -26175,7 +25812,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz",
"integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"resolve-from": "^5.0.0"
@@ -26188,7 +25824,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
"integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -26207,7 +25842,7 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"funding": {
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
@@ -26218,7 +25853,6 @@
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==",
"deprecated": "https://github.com/lydell/resolve-url#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/restore-cursor": {
@@ -26274,7 +25908,6 @@
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.12"
@@ -26394,7 +26027,6 @@
"version": "4.8.5",
"resolved": "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz",
"integrity": "sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": "6.* || >= 7.*"
@@ -26509,7 +26141,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
"integrity": "sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ret": "~0.1.10"
@@ -26543,7 +26174,6 @@
"resolved": "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz",
"integrity": "sha512-hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==",
"deprecated": "some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added",
- "dev": true,
"license": "MIT",
"dependencies": {
"@cnakazawa/watch": "^1.0.3",
@@ -26567,7 +26197,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",
"integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"micromatch": "^3.1.4",
@@ -26578,7 +26207,6 @@
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",
"integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-flatten": "^1.1.0",
@@ -26600,7 +26228,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -26613,7 +26240,6 @@
"version": "6.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz",
"integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"nice-try": "^1.0.4",
@@ -26630,7 +26256,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz",
"integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cross-spawn": "^6.0.0",
@@ -26649,7 +26274,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
"integrity": "sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
@@ -26665,7 +26289,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -26678,7 +26301,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
"integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"pump": "^3.0.0"
@@ -26691,7 +26313,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26701,7 +26322,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
"integrity": "sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -26714,7 +26334,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -26727,7 +26346,6 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26737,7 +26355,6 @@
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
"integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-diff": "^4.0.0",
@@ -26762,7 +26379,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
"integrity": "sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"remove-trailing-separator": "^1.0.1"
@@ -26775,7 +26391,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz",
"integrity": "sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^2.0.0"
@@ -26788,7 +26403,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
"integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -26798,7 +26412,6 @@
"version": "5.7.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",
"integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver"
@@ -26808,7 +26421,6 @@
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz",
"integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"shebang-regex": "^1.0.0"
@@ -26821,7 +26433,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz",
"integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -26831,7 +26442,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",
"integrity": "sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-number": "^3.0.0",
@@ -26845,7 +26455,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz",
"integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"isexe": "^2.0.0"
@@ -26878,7 +26487,6 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz",
"integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"xmlchars": "^2.2.0"
@@ -26888,13 +26496,12 @@
}
},
"node_modules/scheduler": {
- "version": "0.17.0",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.17.0.tgz",
- "integrity": "sha512-7rro8Io3tnCPuY4la/NuI5F2yfESpnfZyT6TtkXnSWVkcu0BCDJ+8gk5ozUaFaxpIyNuWAPXrH0yFcSi28fnDA==",
+ "version": "0.23.2",
+ "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
+ "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
"license": "MIT",
"dependencies": {
- "loose-envify": "^1.1.0",
- "object-assign": "^4.1.1"
+ "loose-envify": "^1.1.0"
}
},
"node_modules/selderee": {
@@ -26940,25 +26547,29 @@
}
},
"node_modules/send": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/send/-/send-1.2.0.tgz",
- "integrity": "sha512-uaW0WwXKpL9blXE2o0bRhoL2EGXIrZxQ2ZQ4mgcfoBxdFmQold+qWsD2jLrfZ0trjKL6vOw0j//eAwcALFjKSw==",
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/send/-/send-1.2.1.tgz",
+ "integrity": "sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==",
"license": "MIT",
"dependencies": {
- "debug": "^4.3.5",
+ "debug": "^4.4.3",
"encodeurl": "^2.0.0",
"escape-html": "^1.0.3",
"etag": "^1.8.1",
"fresh": "^2.0.0",
- "http-errors": "^2.0.0",
- "mime-types": "^3.0.1",
+ "http-errors": "^2.0.1",
+ "mime-types": "^3.0.2",
"ms": "^2.1.3",
"on-finished": "^2.4.1",
"range-parser": "^1.2.1",
- "statuses": "^2.0.1"
+ "statuses": "^2.0.2"
},
"engines": {
"node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/send/node_modules/debug": {
@@ -26978,31 +26589,6 @@
}
}
},
- "node_modules/send/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/send/node_modules/mime-types": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
- "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
"node_modules/send/node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
@@ -27010,9 +26596,9 @@
"license": "MIT"
},
"node_modules/serve-static": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.0.tgz",
- "integrity": "sha512-61g9pCh0Vnh7IutZjtLGGpTA355+OPn2TyDv/6ivP2h/AdAVX9azsoxmg2/M6nZeQZNYBEwIcsne1mJd9oQItQ==",
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-2.2.1.tgz",
+ "integrity": "sha512-xRXBn0pPqQTVQiC8wyQrKs2MOlX24zQ0POGaj0kultvoOCstBQM5yvOhAVSUwOMjQtTvsPWoNCHfPGwaaQJhTw==",
"license": "MIT",
"dependencies": {
"encodeurl": "^2.0.0",
@@ -27022,13 +26608,16 @@
},
"engines": {
"node": ">= 18"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/express"
}
},
"node_modules/set-blocking": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
"integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==",
- "devOptional": true,
"license": "ISC"
},
"node_modules/set-cookie-parser": {
@@ -27089,7 +26678,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",
"integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^2.0.1",
@@ -27105,7 +26693,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -27118,7 +26705,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -27128,7 +26714,6 @@
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",
"integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isobject": "^3.0.1"
@@ -27181,7 +26766,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz",
"integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==",
- "dev": true,
"license": "MIT",
"optional": true
},
@@ -27261,7 +26845,6 @@
"version": "3.0.7",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
"integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
- "devOptional": true,
"license": "ISC"
},
"node_modules/simple-concat": {
@@ -27329,7 +26912,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
"integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
- "dev": true,
"license": "MIT"
},
"node_modules/slash": {
@@ -27382,7 +26964,6 @@
"version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
"integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"base": "^0.11.1",
@@ -27402,7 +26983,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",
"integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^1.0.0",
@@ -27417,7 +26997,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",
"integrity": "sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^1.0.0"
@@ -27430,7 +27009,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",
"integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.2.0"
@@ -27443,7 +27021,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -27456,7 +27033,6 @@
"version": "2.6.9",
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "2.0.0"
@@ -27466,7 +27042,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -27479,7 +27054,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",
"integrity": "sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extendable": "^0.1.0"
@@ -27492,7 +27066,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -27506,7 +27079,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -27516,7 +27088,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "dev": true,
"license": "MIT"
},
"node_modules/socket.io": {
@@ -27538,36 +27109,38 @@
}
},
"node_modules/socket.io-adapter": {
- "version": "2.5.5",
- "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.5.tgz",
- "integrity": "sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==",
+ "version": "2.5.6",
+ "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-2.5.6.tgz",
+ "integrity": "sha512-DkkO/dz7MGln0dHn5bmN3pPy+JmywNICWrJqVWiVOyvXjWQFIv9c2h24JrQLLFJ2aQVQf/Cvl1vblnd4r2apLQ==",
"license": "MIT",
"dependencies": {
- "debug": "~4.3.4",
- "ws": "~8.17.1"
+ "debug": "~4.4.1",
+ "ws": "~8.18.3"
}
},
- "node_modules/socket.io-adapter/node_modules/ws": {
- "version": "8.17.1",
- "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz",
- "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==",
+ "node_modules/socket.io-adapter/node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"license": "MIT",
- "engines": {
- "node": ">=10.0.0"
+ "dependencies": {
+ "ms": "^2.1.3"
},
- "peerDependencies": {
- "bufferutil": "^4.0.1",
- "utf-8-validate": ">=5.0.2"
+ "engines": {
+ "node": ">=6.0"
},
"peerDependenciesMeta": {
- "bufferutil": {
- "optional": true
- },
- "utf-8-validate": {
+ "supports-color": {
"optional": true
}
}
},
+ "node_modules/socket.io-adapter/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
"node_modules/socket.io-client": {
"version": "4.7.2",
"resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.2.tgz",
@@ -27583,19 +27156,42 @@
"node": ">=10.0.0"
}
},
- "node_modules/socket.io-parser": {
- "version": "4.2.4",
- "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz",
- "integrity": "sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==",
+ "node_modules/socket.io-parser": {
+ "version": "4.2.5",
+ "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.5.tgz",
+ "integrity": "sha512-bPMmpy/5WWKHea5Y/jYAP6k74A+hvmRCQaJuJB6I/ML5JZq/KfNieUVo/3Mh7SAqn7TyFdIo6wqYHInG1MU1bQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@socket.io/component-emitter": "~3.1.0",
+ "debug": "~4.4.1"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/socket.io-parser/node_modules/debug": {
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"license": "MIT",
"dependencies": {
- "@socket.io/component-emitter": "~3.1.0",
- "debug": "~4.3.1"
+ "ms": "^2.1.3"
},
"engines": {
- "node": ">=10.0.0"
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
}
},
+ "node_modules/socket.io-parser/node_modules/ms": {
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
+ "license": "MIT"
+ },
"node_modules/socket.io/node_modules/accepts": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
@@ -27609,6 +27205,27 @@
"node": ">= 0.6"
}
},
+ "node_modules/socket.io/node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/socket.io/node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "license": "MIT",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/socket.io/node_modules/negotiator": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
@@ -27651,7 +27268,6 @@
"resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz",
"integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==",
"deprecated": "See https://github.com/lydell/source-map-resolve#deprecated",
- "dev": true,
"license": "MIT",
"dependencies": {
"atob": "^2.1.2",
@@ -27665,7 +27281,6 @@
"version": "0.5.21",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz",
"integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==",
- "dev": true,
"license": "MIT",
"dependencies": {
"buffer-from": "^1.0.0",
@@ -27676,7 +27291,6 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">=0.10.0"
@@ -27687,7 +27301,6 @@
"resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz",
"integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==",
"deprecated": "See https://github.com/lydell/source-map-url#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/space-separated-tokens": {
@@ -27704,7 +27317,6 @@
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz",
"integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"spdx-expression-parse": "^3.0.0",
@@ -27715,14 +27327,12 @@
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz",
"integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==",
- "dev": true,
"license": "CC-BY-3.0"
},
"node_modules/spdx-expression-parse": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
"integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"spdx-exceptions": "^2.1.0",
@@ -27733,7 +27343,6 @@
"version": "3.0.22",
"resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.22.tgz",
"integrity": "sha512-4PRT4nh1EImPbt2jASOKHX7PB7I+e4IWNLvkKFDxNhJlfjbYlleYQh285Z/3mPTHSAK/AvdMmw5BNNuYH8ShgQ==",
- "dev": true,
"license": "CC0-1.0"
},
"node_modules/spin-delay": {
@@ -27749,7 +27358,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",
"integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"extend-shallow": "^3.0.0"
@@ -27762,7 +27370,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/sst": {
@@ -27890,7 +27497,6 @@
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz",
"integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"escape-string-regexp": "^2.0.0"
@@ -27903,7 +27509,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -27923,7 +27528,6 @@
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",
"integrity": "sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^0.2.5",
@@ -27937,7 +27541,6 @@
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",
"integrity": "sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-descriptor": "^0.1.0"
@@ -27950,7 +27553,6 @@
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.7.tgz",
"integrity": "sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-accessor-descriptor": "^1.0.1",
@@ -28012,7 +27614,6 @@
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
"integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"char-regex": "^1.0.2",
@@ -28026,7 +27627,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -28094,12 +27694,6 @@
"node": ">=8"
}
},
- "node_modules/string-width/node_modules/emoji-regex": {
- "version": "9.2.2",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
- "license": "MIT"
- },
"node_modules/string.prototype.padend": {
"version": "3.1.6",
"resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.6.tgz",
@@ -28246,7 +27840,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
"integrity": "sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -28490,7 +28083,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz",
"integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"has-flag": "^4.0.0",
@@ -28519,13 +28111,13 @@
"license": "ISC"
},
"node_modules/swr": {
- "version": "2.3.7",
- "resolved": "https://registry.npmjs.org/swr/-/swr-2.3.7.tgz",
- "integrity": "sha512-ZEquQ82QvalqTxhBVv/DlAg2mbmUjF4UgpPg9wwk4ufb9rQnZXh1iKyyKBqV6bQGu1Ie7L1QwSYO07qFIa1p+g==",
+ "version": "2.3.8",
+ "resolved": "https://registry.npmjs.org/swr/-/swr-2.3.8.tgz",
+ "integrity": "sha512-gaCPRVoMq8WGDcWj9p4YWzCMPHzE0WNl6W8ADIx9c3JBEIdMkJGMzW+uzXvxHMltwcYACr9jP+32H8/hgwMR7w==",
"license": "MIT",
"dependencies": {
"dequal": "^2.0.3",
- "use-sync-external-store": "^1.4.0"
+ "use-sync-external-store": "^1.6.0"
},
"peerDependencies": {
"react": "^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
@@ -28535,7 +28127,6 @@
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
"integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
- "dev": true,
"license": "MIT"
},
"node_modules/tailwind-merge": {
@@ -28552,7 +28143,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tailwind-scrollbar/-/tailwind-scrollbar-2.1.0.tgz",
"integrity": "sha512-zpvY5mDs0130YzYjZKBiDaw32rygxk5RyJ4KmeHjGnwkvbjm/PszON1m4Bbt2DkMRIXlXsfNevykAESgURN4KA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12.13.0"
@@ -28565,7 +28155,6 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/tailwind-scrollbar-hide/-/tailwind-scrollbar-hide-1.3.1.tgz",
"integrity": "sha512-eUAvPTltKnAGHbCBRpOk5S7+UZTkFZgDKmZLZ6jZXXs4V7mRXvwshBjeMwrv3vmiWqm3IGEDFVKzUSm1JuoXKw==",
- "dev": true,
"license": "MIT",
"peerDependencies": {
"tailwindcss": ">=3.0.0 || >= 4.0.0 || >= 4.0.0-beta.8 || >= 4.0.0-alpha.20"
@@ -28662,6 +28251,18 @@
"node": ">= 6"
}
},
+ "node_modules/tailwindcss/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/tailwindcss/node_modules/readdirp": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
@@ -28715,7 +28316,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz",
"integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-escapes": "^4.2.1",
@@ -28732,7 +28332,6 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz",
"integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"type-fest": "^0.21.3"
@@ -28748,7 +28347,6 @@
"version": "0.21.3",
"resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
"integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
- "dev": true,
"license": "(MIT OR CC0-1.0)",
"engines": {
"node": ">=10"
@@ -28761,7 +28359,6 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz",
"integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==",
- "dev": true,
"license": "ISC",
"dependencies": {
"@istanbuljs/schema": "^0.1.2",
@@ -28777,7 +28374,6 @@
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
@@ -28825,7 +28421,6 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/throat/-/throat-5.0.0.tgz",
"integrity": "sha512-fcwX4mndzpLQKBS1DVYhGAcYaYt7vsHNIvQV+WXMvnow5cgjPphq5CaayLaGsjRdSCKZFNGt7/GYAuXaNOiYCA==",
- "dev": true,
"license": "MIT"
},
"node_modules/throttleit": {
@@ -28874,18 +28469,6 @@
"url": "https://github.com/sponsors/SuperchupuDev"
}
},
- "node_modules/tinyglobby/node_modules/picomatch": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
- "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
"node_modules/tippy.js": {
"version": "6.3.7",
"resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.7.tgz",
@@ -28955,14 +28538,12 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz",
"integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==",
- "dev": true,
"license": "BSD-3-Clause"
},
"node_modules/to-object-path": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",
"integrity": "sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"kind-of": "^3.0.2"
@@ -28975,7 +28556,6 @@
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
"integrity": "sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-buffer": "^1.1.5"
@@ -28988,7 +28568,6 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",
"integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"define-property": "^2.0.2",
@@ -29035,7 +28614,6 @@
"version": "4.1.4",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.4.tgz",
"integrity": "sha512-Loo5UUvLD9ScZ6jh8beX1T6sO1w2/MpCRpEP7V280GKMVUQ0Jzar2U3UJPsrdbziLEMMhu3Ujnq//rhiFuIeag==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"psl": "^1.1.33",
@@ -29051,7 +28629,6 @@
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
"integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 4.0.0"
@@ -29384,6 +28961,19 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/tsup/node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "dev": true,
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
"node_modules/tsup/node_modules/postcss-load-config": {
"version": "3.1.4",
"resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-3.1.4.tgz",
@@ -29504,7 +29094,7 @@
"version": "4.21.0",
"resolved": "https://registry.npmjs.org/tsx/-/tsx-4.21.0.tgz",
"integrity": "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"esbuild": "~0.27.0",
@@ -29521,9 +29111,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/android-arm": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.1.tgz",
- "integrity": "sha512-kFqa6/UcaTbGm/NncN9kzVOODjhZW8e+FRdSeypWe6j33gzclHtwlANs26JrupOntlcWmB0u8+8HZo8s7thHvg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.2.tgz",
+ "integrity": "sha512-DVNI8jlPa7Ujbr1yjU2PfUSRtAUZPG9I1RwW4F4xFB1Imiu2on0ADiI/c3td+KmDtVKNbi+nffGDQMfcIMkwIA==",
"cpu": [
"arm"
],
@@ -29538,9 +29128,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/android-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.1.tgz",
- "integrity": "sha512-45fuKmAJpxnQWixOGCrS+ro4Uvb4Re9+UTieUY2f8AEc+t7d4AaZ6eUJ3Hva7dtrxAAWHtlEFsXFMAgNnGU9uQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.2.tgz",
+ "integrity": "sha512-pvz8ZZ7ot/RBphf8fv60ljmaoydPU12VuXHImtAs0XhLLw+EXBi2BLe3OYSBslR4rryHvweW5gmkKFwTiFy6KA==",
"cpu": [
"arm64"
],
@@ -29555,9 +29145,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/android-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.1.tgz",
- "integrity": "sha512-LBEpOz0BsgMEeHgenf5aqmn/lLNTFXVfoWMUox8CtWWYK9X4jmQzWjoGoNb8lmAYml/tQ/Ysvm8q7szu7BoxRQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.2.tgz",
+ "integrity": "sha512-z8Ank4Byh4TJJOh4wpz8g2vDy75zFL0TlZlkUkEwYXuPSgX8yzep596n6mT7905kA9uHZsf/o2OJZubl2l3M7A==",
"cpu": [
"x64"
],
@@ -29572,9 +29162,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/darwin-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.1.tgz",
- "integrity": "sha512-veg7fL8eMSCVKL7IW4pxb54QERtedFDfY/ASrumK/SbFsXnRazxY4YykN/THYqFnFwJ0aVjiUrVG2PwcdAEqQQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.2.tgz",
+ "integrity": "sha512-davCD2Zc80nzDVRwXTcQP/28fiJbcOwvdolL0sOiOsbwBa72kegmVU0Wrh1MYrbuCL98Omp5dVhQFWRKR2ZAlg==",
"cpu": [
"arm64"
],
@@ -29589,9 +29179,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/darwin-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.1.tgz",
- "integrity": "sha512-+3ELd+nTzhfWb07Vol7EZ+5PTbJ/u74nC6iv4/lwIU99Ip5uuY6QoIf0Hn4m2HoV0qcnRivN3KSqc+FyCHjoVQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.2.tgz",
+ "integrity": "sha512-ZxtijOmlQCBWGwbVmwOF/UCzuGIbUkqB1faQRf5akQmxRJ1ujusWsb3CVfk/9iZKr2L5SMU5wPBi1UWbvL+VQA==",
"cpu": [
"x64"
],
@@ -29606,9 +29196,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/freebsd-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.1.tgz",
- "integrity": "sha512-/8Rfgns4XD9XOSXlzUDepG8PX+AVWHliYlUkFI3K3GB6tqbdjYqdhcb4BKRd7C0BhZSoaCxhv8kTcBrcZWP+xg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.2.tgz",
+ "integrity": "sha512-lS/9CN+rgqQ9czogxlMcBMGd+l8Q3Nj1MFQwBZJyoEKI50XGxwuzznYdwcav6lpOGv5BqaZXqvBSiB/kJ5op+g==",
"cpu": [
"arm64"
],
@@ -29623,9 +29213,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/freebsd-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.1.tgz",
- "integrity": "sha512-GITpD8dK9C+r+5yRT/UKVT36h/DQLOHdwGVwwoHidlnA168oD3uxA878XloXebK4Ul3gDBBIvEdL7go9gCUFzQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.2.tgz",
+ "integrity": "sha512-tAfqtNYb4YgPnJlEFu4c212HYjQWSO/w/h/lQaBK7RbwGIkBOuNKQI9tqWzx7Wtp7bTPaGC6MJvWI608P3wXYA==",
"cpu": [
"x64"
],
@@ -29640,9 +29230,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-arm": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.1.tgz",
- "integrity": "sha512-ieMID0JRZY/ZeCrsFQ3Y3NlHNCqIhTprJfDgSB3/lv5jJZ8FX3hqPyXWhe+gvS5ARMBJ242PM+VNz/ctNj//eA==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.2.tgz",
+ "integrity": "sha512-vWfq4GaIMP9AIe4yj1ZUW18RDhx6EPQKjwe7n8BbIecFtCQG4CfHGaHuh7fdfq+y3LIA2vGS/o9ZBGVxIDi9hw==",
"cpu": [
"arm"
],
@@ -29657,9 +29247,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.1.tgz",
- "integrity": "sha512-W9//kCrh/6in9rWIBdKaMtuTTzNj6jSeG/haWBADqLLa9P8O5YSRDzgD5y9QBok4AYlzS6ARHifAb75V6G670Q==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.2.tgz",
+ "integrity": "sha512-hYxN8pr66NsCCiRFkHUAsxylNOcAQaxSSkHMMjcpx0si13t1LHFphxJZUiGwojB1a/Hd5OiPIqDdXONia6bhTw==",
"cpu": [
"arm64"
],
@@ -29674,9 +29264,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-ia32": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.1.tgz",
- "integrity": "sha512-VIUV4z8GD8rtSVMfAj1aXFahsi/+tcoXXNYmXgzISL+KB381vbSTNdeZHHHIYqFyXcoEhu9n5cT+05tRv13rlw==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.2.tgz",
+ "integrity": "sha512-MJt5BRRSScPDwG2hLelYhAAKh9imjHK5+NE/tvnRLbIqUWa+0E9N4WNMjmp/kXXPHZGqPLxggwVhz7QP8CTR8w==",
"cpu": [
"ia32"
],
@@ -29691,9 +29281,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-loong64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.1.tgz",
- "integrity": "sha512-l4rfiiJRN7sTNI//ff65zJ9z8U+k6zcCg0LALU5iEWzY+a1mVZ8iWC1k5EsNKThZ7XCQ6YWtsZ8EWYm7r1UEsg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.2.tgz",
+ "integrity": "sha512-lugyF1atnAT463aO6KPshVCJK5NgRnU4yb3FUumyVz+cGvZbontBgzeGFO1nF+dPueHD367a2ZXe1NtUkAjOtg==",
"cpu": [
"loong64"
],
@@ -29708,9 +29298,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-mips64el": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.1.tgz",
- "integrity": "sha512-U0bEuAOLvO/DWFdygTHWY8C067FXz+UbzKgxYhXC0fDieFa0kDIra1FAhsAARRJbvEyso8aAqvPdNxzWuStBnA==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.2.tgz",
+ "integrity": "sha512-nlP2I6ArEBewvJ2gjrrkESEZkB5mIoaTswuqNFRv/WYd+ATtUpe9Y09RnJvgvdag7he0OWgEZWhviS1OTOKixw==",
"cpu": [
"mips64el"
],
@@ -29725,9 +29315,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-ppc64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.1.tgz",
- "integrity": "sha512-NzdQ/Xwu6vPSf/GkdmRNsOfIeSGnh7muundsWItmBsVpMoNPVpM61qNzAVY3pZ1glzzAxLR40UyYM23eaDDbYQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.2.tgz",
+ "integrity": "sha512-C92gnpey7tUQONqg1n6dKVbx3vphKtTHJaNG2Ok9lGwbZil6DrfyecMsp9CrmXGQJmZ7iiVXvvZH6Ml5hL6XdQ==",
"cpu": [
"ppc64"
],
@@ -29742,9 +29332,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-riscv64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.1.tgz",
- "integrity": "sha512-7zlw8p3IApcsN7mFw0O1Z1PyEk6PlKMu18roImfl3iQHTnr/yAfYv6s4hXPidbDoI2Q0pW+5xeoM4eTCC0UdrQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.2.tgz",
+ "integrity": "sha512-B5BOmojNtUyN8AXlK0QJyvjEZkWwy/FKvakkTDCziX95AowLZKR6aCDhG7LeF7uMCXEJqwa8Bejz5LTPYm8AvA==",
"cpu": [
"riscv64"
],
@@ -29759,9 +29349,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-s390x": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.1.tgz",
- "integrity": "sha512-cGj5wli+G+nkVQdZo3+7FDKC25Uh4ZVwOAK6A06Hsvgr8WqBBuOy/1s+PUEd/6Je+vjfm6stX0kmib5b/O2Ykw==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.2.tgz",
+ "integrity": "sha512-p4bm9+wsPwup5Z8f4EpfN63qNagQ47Ua2znaqGH6bqLlmJ4bx97Y9JdqxgGZ6Y8xVTixUnEkoKSHcpRlDnNr5w==",
"cpu": [
"s390x"
],
@@ -29776,9 +29366,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/linux-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.1.tgz",
- "integrity": "sha512-z3H/HYI9MM0HTv3hQZ81f+AKb+yEoCRlUby1F80vbQ5XdzEMyY/9iNlAmhqiBKw4MJXwfgsh7ERGEOhrM1niMA==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.2.tgz",
+ "integrity": "sha512-uwp2Tip5aPmH+NRUwTcfLb+W32WXjpFejTIOWZFw/v7/KnpCDKG66u4DLcurQpiYTiYwQ9B7KOeMJvLCu/OvbA==",
"cpu": [
"x64"
],
@@ -29793,9 +29383,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/netbsd-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.1.tgz",
- "integrity": "sha512-1YQ8ybGi2yIXswu6eNzJsrYIGFpnlzEWRl6iR5gMgmsrR0FcNoV1m9k9sc3PuP5rUBLshOZylc9nqSgymI+TYg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.2.tgz",
+ "integrity": "sha512-HwGDZ0VLVBY3Y+Nw0JexZy9o/nUAWq9MlV7cahpaXKW6TOzfVno3y3/M8Ga8u8Yr7GldLOov27xiCnqRZf0tCA==",
"cpu": [
"x64"
],
@@ -29810,9 +29400,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/openbsd-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.1.tgz",
- "integrity": "sha512-Q73ENzIdPF5jap4wqLtsfh8YbYSZ8Q0wnxplOlZUOyZy7B4ZKW8DXGWgTCZmF8VWD7Tciwv5F4NsRf6vYlZtqg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.2.tgz",
+ "integrity": "sha512-/it7w9Nb7+0KFIzjalNJVR5bOzA9Vay+yIPLVHfIQYG/j+j9VTH84aNB8ExGKPU4AzfaEvN9/V4HV+F+vo8OEg==",
"cpu": [
"x64"
],
@@ -29827,9 +29417,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/sunos-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.1.tgz",
- "integrity": "sha512-IPUW+y4VIjuDVn+OMzHc5FV4GubIwPnsz6ubkvN8cuhEqH81NovB53IUlrlBkPMEPxvNnf79MGBoz8rZ2iW8HA==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.2.tgz",
+ "integrity": "sha512-kMtx1yqJHTmqaqHPAzKCAkDaKsffmXkPHThSfRwZGyuqyIeBvf08KSsYXl+abf5HDAPMJIPnbBfXvP2ZC2TfHg==",
"cpu": [
"x64"
],
@@ -29844,9 +29434,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/win32-arm64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.1.tgz",
- "integrity": "sha512-RIVRWiljWA6CdVu8zkWcRmGP7iRRIIwvhDKem8UMBjPql2TXM5PkDVvvrzMtj1V+WFPB4K7zkIGM7VzRtFkjdg==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.2.tgz",
+ "integrity": "sha512-Yaf78O/B3Kkh+nKABUF++bvJv5Ijoy9AN1ww904rOXZFLWVc5OLOfL56W+C8F9xn5JQZa3UX6m+IktJnIb1Jjg==",
"cpu": [
"arm64"
],
@@ -29861,9 +29451,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/win32-ia32": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.1.tgz",
- "integrity": "sha512-2BR5M8CPbptC1AK5JbJT1fWrHLvejwZidKx3UMSF0ecHMa+smhi16drIrCEggkgviBwLYd5nwrFLSl5Kho96RQ==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.2.tgz",
+ "integrity": "sha512-Iuws0kxo4yusk7sw70Xa2E2imZU5HoixzxfGCdxwBdhiDgt9vX9VUCBhqcwY7/uh//78A1hMkkROMJq9l27oLQ==",
"cpu": [
"ia32"
],
@@ -29878,9 +29468,9 @@
}
},
"node_modules/tsx/node_modules/@esbuild/win32-x64": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.1.tgz",
- "integrity": "sha512-d5X6RMYv6taIymSk8JBP+nxv8DQAMY6A51GPgusqLdK9wBz5wWIXy1KjTck6HnjE9hqJzJRdk+1p/t5soSbCtw==",
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.2.tgz",
+ "integrity": "sha512-sRdU18mcKf7F+YgheI/zGf5alZatMUTKj/jNS6l744f9u3WFu4v7twcUI9vu4mknF4Y9aDlblIie0IM+5xxaqQ==",
"cpu": [
"x64"
],
@@ -29895,10 +29485,10 @@
}
},
"node_modules/tsx/node_modules/esbuild": {
- "version": "0.27.1",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.1.tgz",
- "integrity": "sha512-yY35KZckJJuVVPXpvjgxiCuVEJT67F6zDeVTv4rizyPrfGBUpZQsvmxnN+C371c2esD/hNMjj4tpBhuueLN7aA==",
- "dev": true,
+ "version": "0.27.2",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.2.tgz",
+ "integrity": "sha512-HyNQImnsOC7X9PMNaCIeAm4ISCQXs5a5YasTXVliKv4uuBo1dKrG0A+uQS8M5eXjVMnLg3WgXaKvprHlFJQffw==",
+ "devOptional": true,
"hasInstallScript": true,
"license": "MIT",
"bin": {
@@ -29908,32 +29498,32 @@
"node": ">=18"
},
"optionalDependencies": {
- "@esbuild/aix-ppc64": "0.27.1",
- "@esbuild/android-arm": "0.27.1",
- "@esbuild/android-arm64": "0.27.1",
- "@esbuild/android-x64": "0.27.1",
- "@esbuild/darwin-arm64": "0.27.1",
- "@esbuild/darwin-x64": "0.27.1",
- "@esbuild/freebsd-arm64": "0.27.1",
- "@esbuild/freebsd-x64": "0.27.1",
- "@esbuild/linux-arm": "0.27.1",
- "@esbuild/linux-arm64": "0.27.1",
- "@esbuild/linux-ia32": "0.27.1",
- "@esbuild/linux-loong64": "0.27.1",
- "@esbuild/linux-mips64el": "0.27.1",
- "@esbuild/linux-ppc64": "0.27.1",
- "@esbuild/linux-riscv64": "0.27.1",
- "@esbuild/linux-s390x": "0.27.1",
- "@esbuild/linux-x64": "0.27.1",
- "@esbuild/netbsd-arm64": "0.27.1",
- "@esbuild/netbsd-x64": "0.27.1",
- "@esbuild/openbsd-arm64": "0.27.1",
- "@esbuild/openbsd-x64": "0.27.1",
- "@esbuild/openharmony-arm64": "0.27.1",
- "@esbuild/sunos-x64": "0.27.1",
- "@esbuild/win32-arm64": "0.27.1",
- "@esbuild/win32-ia32": "0.27.1",
- "@esbuild/win32-x64": "0.27.1"
+ "@esbuild/aix-ppc64": "0.27.2",
+ "@esbuild/android-arm": "0.27.2",
+ "@esbuild/android-arm64": "0.27.2",
+ "@esbuild/android-x64": "0.27.2",
+ "@esbuild/darwin-arm64": "0.27.2",
+ "@esbuild/darwin-x64": "0.27.2",
+ "@esbuild/freebsd-arm64": "0.27.2",
+ "@esbuild/freebsd-x64": "0.27.2",
+ "@esbuild/linux-arm": "0.27.2",
+ "@esbuild/linux-arm64": "0.27.2",
+ "@esbuild/linux-ia32": "0.27.2",
+ "@esbuild/linux-loong64": "0.27.2",
+ "@esbuild/linux-mips64el": "0.27.2",
+ "@esbuild/linux-ppc64": "0.27.2",
+ "@esbuild/linux-riscv64": "0.27.2",
+ "@esbuild/linux-s390x": "0.27.2",
+ "@esbuild/linux-x64": "0.27.2",
+ "@esbuild/netbsd-arm64": "0.27.2",
+ "@esbuild/netbsd-x64": "0.27.2",
+ "@esbuild/openbsd-arm64": "0.27.2",
+ "@esbuild/openbsd-x64": "0.27.2",
+ "@esbuild/openharmony-arm64": "0.27.2",
+ "@esbuild/sunos-x64": "0.27.2",
+ "@esbuild/win32-arm64": "0.27.2",
+ "@esbuild/win32-ia32": "0.27.2",
+ "@esbuild/win32-x64": "0.27.2"
}
},
"node_modules/tunnel-rat": {
@@ -29974,27 +29564,27 @@
}
},
"node_modules/turbo": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.6.3.tgz",
- "integrity": "sha512-bf6YKUv11l5Xfcmg76PyWoy/e2vbkkxFNBGJSnfdSXQC33ZiUfutYh6IXidc5MhsnrFkWfdNNLyaRk+kHMLlwA==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo/-/turbo-2.7.2.tgz",
+ "integrity": "sha512-5JIA5aYBAJSAhrhbyag1ZuMSgUZnHtI+Sq3H8D3an4fL8PeF+L1yYvbEJg47akP1PFfATMf5ehkqFnxfkmuwZQ==",
"dev": true,
"license": "MIT",
"bin": {
"turbo": "bin/turbo"
},
"optionalDependencies": {
- "turbo-darwin-64": "2.6.3",
- "turbo-darwin-arm64": "2.6.3",
- "turbo-linux-64": "2.6.3",
- "turbo-linux-arm64": "2.6.3",
- "turbo-windows-64": "2.6.3",
- "turbo-windows-arm64": "2.6.3"
+ "turbo-darwin-64": "2.7.2",
+ "turbo-darwin-arm64": "2.7.2",
+ "turbo-linux-64": "2.7.2",
+ "turbo-linux-arm64": "2.7.2",
+ "turbo-windows-64": "2.7.2",
+ "turbo-windows-arm64": "2.7.2"
}
},
"node_modules/turbo-darwin-64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.6.3.tgz",
- "integrity": "sha512-BlJJDc1CQ7SK5Y5qnl7AzpkvKSnpkfPmnA+HeU/sgny3oHZckPV2776ebO2M33CYDSor7+8HQwaodY++IINhYg==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-2.7.2.tgz",
+ "integrity": "sha512-dxY3X6ezcT5vm3coK6VGixbrhplbQMwgNsCsvZamS/+/6JiebqW9DKt4NwpgYXhDY2HdH00I7FWs3wkVuan4rA==",
"cpu": [
"x64"
],
@@ -30006,9 +29596,9 @@
]
},
"node_modules/turbo-darwin-arm64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.6.3.tgz",
- "integrity": "sha512-MwVt7rBKiOK7zdYerenfCRTypefw4kZCue35IJga9CH1+S50+KTiCkT6LBqo0hHeoH2iKuI0ldTF2a0aB72z3w==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-2.7.2.tgz",
+ "integrity": "sha512-1bXmuwPLqNFt3mzrtYcVx1sdJ8UYb124Bf48nIgcpMCGZy3kDhgxNv1503kmuK/37OGOZbsWSQFU4I08feIuSg==",
"cpu": [
"arm64"
],
@@ -30020,9 +29610,9 @@
]
},
"node_modules/turbo-linux-64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.6.3.tgz",
- "integrity": "sha512-cqpcw+dXxbnPtNnzeeSyWprjmuFVpHJqKcs7Jym5oXlu/ZcovEASUIUZVN3OGEM6Y/OTyyw0z09tOHNt5yBAVg==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-2.7.2.tgz",
+ "integrity": "sha512-kP+TiiMaiPugbRlv57VGLfcjFNsFbo8H64wMBCPV2270Or2TpDCBULMzZrvEsvWFjT3pBFvToYbdp8/Kw0jAQg==",
"cpu": [
"x64"
],
@@ -30034,9 +29624,9 @@
]
},
"node_modules/turbo-linux-arm64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.6.3.tgz",
- "integrity": "sha512-MterpZQmjXyr4uM7zOgFSFL3oRdNKeflY7nsjxJb2TklsYqiu3Z9pQ4zRVFFH8n0mLGna7MbQMZuKoWqqHb45w==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-2.7.2.tgz",
+ "integrity": "sha512-VDJwQ0+8zjAfbyY6boNaWfP6RIez4ypKHxwkuB6SrWbOSk+vxTyW5/hEjytTwK8w/TsbKVcMDyvpora8tEsRFw==",
"cpu": [
"arm64"
],
@@ -30047,10 +29637,17 @@
"linux"
]
},
+ "node_modules/turbo-stream": {
+ "version": "2.4.1",
+ "resolved": "https://registry.npmjs.org/turbo-stream/-/turbo-stream-2.4.1.tgz",
+ "integrity": "sha512-v8kOJXpG3WoTN/+at8vK7erSzo6nW6CIaeOvNOkHQVDajfz1ZVeSxCbc6tOH4hrGZW7VUCV0TOXd8CPzYnYkrw==",
+ "license": "ISC",
+ "peer": true
+ },
"node_modules/turbo-windows-64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.6.3.tgz",
- "integrity": "sha512-biDU70v9dLwnBdLf+daoDlNJVvqOOP8YEjqNipBHzgclbQlXbsi6Gqqelp5er81Qo3BiRgmTNx79oaZQTPb07Q==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-2.7.2.tgz",
+ "integrity": "sha512-rPjqQXVnI6A6oxgzNEE8DNb6Vdj2Wwyhfv3oDc+YM3U9P7CAcBIlKv/868mKl4vsBtz4ouWpTQNXG8vljgJO+w==",
"cpu": [
"x64"
],
@@ -30062,9 +29659,9 @@
]
},
"node_modules/turbo-windows-arm64": {
- "version": "2.6.3",
- "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.6.3.tgz",
- "integrity": "sha512-dDHVKpSeukah3VsI/xMEKeTnV9V9cjlpFSUs4bmsUiLu3Yv2ENlgVEZv65wxbeE0bh0jjpmElDT+P1KaCxArQQ==",
+ "version": "2.7.2",
+ "resolved": "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-2.7.2.tgz",
+ "integrity": "sha512-tcnHvBhO515OheIFWdxA+qUvZzNqqcHbLVFc1+n+TJ1rrp8prYicQtbtmsiKgMvr/54jb9jOabU62URAobnB7g==",
"cpu": [
"arm64"
],
@@ -30079,7 +29676,6 @@
"version": "4.0.8",
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
"integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -30112,31 +29708,6 @@
"node": ">= 0.6"
}
},
- "node_modules/type-is/node_modules/mime-db": {
- "version": "1.54.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.54.0.tgz",
- "integrity": "sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/type-is/node_modules/mime-types": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-3.0.2.tgz",
- "integrity": "sha512-Lbgzdk0h4juoQ9fCKXW4by0UJqj+nOOrI9MJ1sSj4nI8aI2eo1qmvQEie4VD1glsS250n15LsWsYtCugiStS5A==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "^1.54.0"
- },
- "engines": {
- "node": ">=18"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
"node_modules/typed-array-buffer": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz",
@@ -30219,7 +29790,6 @@
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-typedarray": "^1.0.0"
@@ -30229,7 +29799,6 @@
"version": "5.9.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
- "dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
@@ -30361,7 +29930,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",
"integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"arr-union": "^3.1.0",
@@ -30377,7 +29945,6 @@
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
"integrity": "sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -30473,7 +30040,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",
"integrity": "sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"has-value": "^0.3.1",
@@ -30487,7 +30053,6 @@
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",
"integrity": "sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"get-value": "^2.0.3",
@@ -30502,7 +30067,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
"integrity": "sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"isarray": "1.0.0"
@@ -30515,7 +30079,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",
"integrity": "sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -30525,13 +30088,12 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
"integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/update-browserslist-db": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz",
- "integrity": "sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==",
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz",
+ "integrity": "sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==",
"funding": [
{
"type": "opencollective",
@@ -30576,7 +30138,6 @@
"resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",
"integrity": "sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==",
"deprecated": "Please see https://github.com/lydell/urix#deprecated",
- "dev": true,
"license": "MIT"
},
"node_modules/url": {
@@ -30593,7 +30154,6 @@
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"querystringify": "^2.1.1",
@@ -30610,7 +30170,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -30709,7 +30268,6 @@
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-7.1.2.tgz",
"integrity": "sha512-TxNb7YEUwkLXCQYeudi6lgQ/SZrzNO4kMdlqVxaZPUIUjCv6iSSypUQX70kNBSERpQ8fk48+d61FXk+tgqcWow==",
- "dev": true,
"license": "ISC",
"dependencies": {
"@types/istanbul-lib-coverage": "^2.0.1",
@@ -30724,7 +30282,6 @@
"version": "0.7.6",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz",
"integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==",
- "dev": true,
"license": "BSD-3-Clause",
"engines": {
"node": ">= 12"
@@ -30748,7 +30305,6 @@
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
"integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"spdx-correct": "^3.0.0",
@@ -30828,27 +30384,6 @@
"d3-timer": "^3.0.1"
}
},
- "node_modules/victory-vendor/node_modules/d3-path": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-3.1.0.tgz",
- "integrity": "sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==",
- "license": "ISC",
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/victory-vendor/node_modules/d3-shape": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-3.2.0.tgz",
- "integrity": "sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==",
- "license": "ISC",
- "dependencies": {
- "d3-path": "^3.1.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
"node_modules/vite": {
"version": "7.2.7",
"resolved": "https://registry.npmjs.org/vite/-/vite-7.2.7.tgz",
@@ -31465,22 +31000,10 @@
"@esbuild/win32-x64": "0.25.12"
}
},
- "node_modules/vite/node_modules/picomatch": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz",
- "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==",
- "license": "MIT",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
- }
- },
"node_modules/vite/node_modules/rollup": {
- "version": "4.53.4",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.4.tgz",
- "integrity": "sha512-YpXaaArg0MvrnJpvduEDYIp7uGOqKXbH9NsHGQ6SxKCOsNAjZF018MmxefFUulVP2KLtiGw1UvZbr+/ekjvlDg==",
+ "version": "4.54.0",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.54.0.tgz",
+ "integrity": "sha512-3nk8Y3a9Ea8szgKhinMlGMhGMw89mqule3KWczxhIzqudyHdCIOHw8WJlj/r329fACjKLEh13ZSk7oE22kyeIw==",
"license": "MIT",
"dependencies": {
"@types/estree": "1.0.8"
@@ -31493,28 +31016,28 @@
"npm": ">=8.0.0"
},
"optionalDependencies": {
- "@rollup/rollup-android-arm-eabi": "4.53.4",
- "@rollup/rollup-android-arm64": "4.53.4",
- "@rollup/rollup-darwin-arm64": "4.53.4",
- "@rollup/rollup-darwin-x64": "4.53.4",
- "@rollup/rollup-freebsd-arm64": "4.53.4",
- "@rollup/rollup-freebsd-x64": "4.53.4",
- "@rollup/rollup-linux-arm-gnueabihf": "4.53.4",
- "@rollup/rollup-linux-arm-musleabihf": "4.53.4",
- "@rollup/rollup-linux-arm64-gnu": "4.53.4",
- "@rollup/rollup-linux-arm64-musl": "4.53.4",
- "@rollup/rollup-linux-loong64-gnu": "4.53.4",
- "@rollup/rollup-linux-ppc64-gnu": "4.53.4",
- "@rollup/rollup-linux-riscv64-gnu": "4.53.4",
- "@rollup/rollup-linux-riscv64-musl": "4.53.4",
- "@rollup/rollup-linux-s390x-gnu": "4.53.4",
- "@rollup/rollup-linux-x64-gnu": "4.53.4",
- "@rollup/rollup-linux-x64-musl": "4.53.4",
- "@rollup/rollup-openharmony-arm64": "4.53.4",
- "@rollup/rollup-win32-arm64-msvc": "4.53.4",
- "@rollup/rollup-win32-ia32-msvc": "4.53.4",
- "@rollup/rollup-win32-x64-gnu": "4.53.4",
- "@rollup/rollup-win32-x64-msvc": "4.53.4",
+ "@rollup/rollup-android-arm-eabi": "4.54.0",
+ "@rollup/rollup-android-arm64": "4.54.0",
+ "@rollup/rollup-darwin-arm64": "4.54.0",
+ "@rollup/rollup-darwin-x64": "4.54.0",
+ "@rollup/rollup-freebsd-arm64": "4.54.0",
+ "@rollup/rollup-freebsd-x64": "4.54.0",
+ "@rollup/rollup-linux-arm-gnueabihf": "4.54.0",
+ "@rollup/rollup-linux-arm-musleabihf": "4.54.0",
+ "@rollup/rollup-linux-arm64-gnu": "4.54.0",
+ "@rollup/rollup-linux-arm64-musl": "4.54.0",
+ "@rollup/rollup-linux-loong64-gnu": "4.54.0",
+ "@rollup/rollup-linux-ppc64-gnu": "4.54.0",
+ "@rollup/rollup-linux-riscv64-gnu": "4.54.0",
+ "@rollup/rollup-linux-riscv64-musl": "4.54.0",
+ "@rollup/rollup-linux-s390x-gnu": "4.54.0",
+ "@rollup/rollup-linux-x64-gnu": "4.54.0",
+ "@rollup/rollup-linux-x64-musl": "4.54.0",
+ "@rollup/rollup-openharmony-arm64": "4.54.0",
+ "@rollup/rollup-win32-arm64-msvc": "4.54.0",
+ "@rollup/rollup-win32-ia32-msvc": "4.54.0",
+ "@rollup/rollup-win32-x64-gnu": "4.54.0",
+ "@rollup/rollup-win32-x64-msvc": "4.54.0",
"fsevents": "~2.3.2"
}
},
@@ -31523,7 +31046,6 @@
"resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
"integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
"deprecated": "Use your platform's native performance.now() and performance.timeOrigin.",
- "dev": true,
"license": "MIT",
"dependencies": {
"browser-process-hrtime": "^1.0.0"
@@ -31539,7 +31061,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz",
"integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"xml-name-validator": "^3.0.0"
@@ -31572,7 +31093,6 @@
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz",
"integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==",
- "dev": true,
"license": "Apache-2.0",
"dependencies": {
"makeerror": "1.0.12"
@@ -31617,7 +31137,6 @@
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz",
"integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=10.4"
@@ -31627,7 +31146,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
"integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"iconv-lite": "0.4.24"
@@ -31637,7 +31155,6 @@
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"safer-buffer": ">= 2.1.2 < 3"
@@ -31650,7 +31167,6 @@
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
"integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==",
- "dev": true,
"license": "MIT"
},
"node_modules/whatwg-url": {
@@ -31755,7 +31271,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz",
"integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/which-typed-array": {
@@ -31971,7 +31486,6 @@
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz",
"integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==",
- "dev": true,
"license": "ISC",
"dependencies": {
"imurmurhash": "^0.1.4",
@@ -32005,7 +31519,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",
"integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
- "dev": true,
"license": "Apache-2.0"
},
"node_modules/xml2js": {
@@ -32034,7 +31547,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
"integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
- "dev": true,
"license": "MIT"
},
"node_modules/xmlhttprequest-ssl": {
@@ -32049,7 +31561,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/yallist": {
@@ -32059,20 +31570,24 @@
"license": "ISC"
},
"node_modules/yaml": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.1.tgz",
- "integrity": "sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==",
- "dev": true,
+ "version": "2.8.2",
+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.2.tgz",
+ "integrity": "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A==",
"license": "ISC",
+ "bin": {
+ "yaml": "bin.mjs"
+ },
"engines": {
- "node": ">= 14"
+ "node": ">= 14.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/eemeli"
}
},
"node_modules/yargs": {
"version": "15.4.1",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
"integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"cliui": "^6.0.0",
@@ -32095,7 +31610,6 @@
"version": "18.1.3",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"camelcase": "^5.0.0",
@@ -32109,14 +31623,12 @@
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
"integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "dev": true,
"license": "MIT"
},
"node_modules/yargs/node_modules/is-fullwidth-code-point": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
"integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -32126,7 +31638,6 @@
"version": "4.2.3",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
"integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"emoji-regex": "^8.0.0",
@@ -32141,7 +31652,6 @@
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
"integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-regex": "^5.0.1"
@@ -32187,12 +31697,12 @@
}
},
"node_modules/zod-to-json-schema": {
- "version": "3.25.0",
- "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.25.0.tgz",
- "integrity": "sha512-HvWtU2UG41LALjajJrML6uQejQhNJx+JBO9IflpSja4R03iNWfKXrj6W2h7ljuLyc1nKS+9yDyL/9tD1U/yBnQ==",
+ "version": "3.24.3",
+ "resolved": "https://registry.npmjs.org/zod-to-json-schema/-/zod-to-json-schema-3.24.3.tgz",
+ "integrity": "sha512-HIAfWdYIt1sssHfYZFCXp4rU1w2r8hVVXYIlmoa0r0gABLs5di3RCqPU5DDROogVz1pAdYBaz7HK5n9pSUNs3A==",
"license": "ISC",
"peerDependencies": {
- "zod": "^3.25 || ^4"
+ "zod": "^3.24.1"
}
},
"node_modules/zod-validation-error": {
@@ -32294,8 +31804,6 @@
},
"packages/database/node_modules/uuid": {
"version": "9.0.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
- "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -32331,8 +31839,6 @@
},
"packages/documents/node_modules/@radix-ui/react-compose-refs": {
"version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.1.tgz",
- "integrity": "sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.13.10"
@@ -32349,8 +31855,6 @@
},
"packages/documents/node_modules/@radix-ui/react-slot": {
"version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.2.tgz",
- "integrity": "sha512-YeTpuq4deV+6DusvVUW4ivBgnkHwECUu0BiN43L5UCDFgdhsRUWAghhTF5MbvNTPzmiFOx90asDSUjWuCNapwg==",
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.13.10",
@@ -32368,8 +31872,6 @@
},
"packages/documents/node_modules/@react-email/body": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/body/-/body-0.0.7.tgz",
- "integrity": "sha512-vjJ5P1MUNWV0KNivaEWA6MGj/I3c764qQJMsKjCHlW6mkFJ4SXbm2OlQFtKAb++Bj8LDqBlnE6oW77bWcMc0NA==",
"license": "MIT",
"peerDependencies": {
"react": "18.2.0"
@@ -32377,8 +31879,6 @@
},
"packages/documents/node_modules/@react-email/button": {
"version": "0.0.14",
- "resolved": "https://registry.npmjs.org/@react-email/button/-/button-0.0.14.tgz",
- "integrity": "sha512-SMk40moGcAvkHIALX4XercQlK0PNeeEIam6OXHw68ea9WtzzqVwiK4pzLY0iiMI9B4xWHcaS2lCPf3cKbQBf1Q==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32389,8 +31889,6 @@
},
"packages/documents/node_modules/@react-email/code-block": {
"version": "0.0.3",
- "resolved": "https://registry.npmjs.org/@react-email/code-block/-/code-block-0.0.3.tgz",
- "integrity": "sha512-nxhl7WjjM2cOYtl0boBZfSObTrUCz2LbarcMyHkTVAsA9rbjbtWAQF7jmlefXJusk3Uol5l2c8hTh2lHLlHTRQ==",
"license": "MIT",
"dependencies": {
"prismjs": "1.29.0"
@@ -32404,8 +31902,6 @@
},
"packages/documents/node_modules/@react-email/code-inline": {
"version": "0.0.1",
- "resolved": "https://registry.npmjs.org/@react-email/code-inline/-/code-inline-0.0.1.tgz",
- "integrity": "sha512-SeZKTB9Q4+TUafzeUm/8tGK3dFgywUHb1od/BrAiJCo/im65aT+oJfggJLjK2jCdSsus8odcK2kReeM3/FCNTQ==",
"engines": {
"node": ">=18.0.0"
},
@@ -32415,8 +31911,6 @@
},
"packages/documents/node_modules/@react-email/column": {
"version": "0.0.9",
- "resolved": "https://registry.npmjs.org/@react-email/column/-/column-0.0.9.tgz",
- "integrity": "sha512-1ekqNBgmbS6m97/sUFOnVvQtLYljUWamw8Y44VId95v6SjiJ4ca+hMcdOteHWBH67xkRofEOWTvqDRea5SBV8w==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32427,8 +31921,6 @@
},
"packages/documents/node_modules/@react-email/components": {
"version": "0.0.16",
- "resolved": "https://registry.npmjs.org/@react-email/components/-/components-0.0.16.tgz",
- "integrity": "sha512-1WATpMSH03cRvhfNjGl/Up3seZJOzN9KLzlk3Q9g/cqNhZEJ7HYxoZM4AQKAI0V3ttXzzxKv8Oj+AZQLHDiICA==",
"license": "MIT",
"dependencies": {
"@react-email/body": "0.0.7",
@@ -32461,8 +31953,6 @@
},
"packages/documents/node_modules/@react-email/container": {
"version": "0.0.11",
- "resolved": "https://registry.npmjs.org/@react-email/container/-/container-0.0.11.tgz",
- "integrity": "sha512-jzl/EHs0ClXIRFamfH+NR/cqv4GsJJscqRhdYtnWYuRAsWpKBM1muycrrPqIVhWvWi6sFHInWTt07jX+bDc3SQ==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32473,8 +31963,6 @@
},
"packages/documents/node_modules/@react-email/font": {
"version": "0.0.5",
- "resolved": "https://registry.npmjs.org/@react-email/font/-/font-0.0.5.tgz",
- "integrity": "sha512-if/qKYmH3rJ2egQJoKbV8SfKCPavu+ikUq/naT/UkCr8Q0lkk309tRA0x7fXG/WeIrmcipjMzFRGTm2TxTecDw==",
"license": "MIT",
"peerDependencies": {
"react": "18.2.0"
@@ -32482,8 +31970,6 @@
},
"packages/documents/node_modules/@react-email/head": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/head/-/head-0.0.7.tgz",
- "integrity": "sha512-IcXL4jc0H1qzAXJCD9ajcRFBQdbUHkjKJyiUeogpaYSVZSq6cVDWQuGaI23TA9k+pI2TFeQimogUFb3Kgeeudw==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32494,8 +31980,6 @@
},
"packages/documents/node_modules/@react-email/heading": {
"version": "0.0.11",
- "resolved": "https://registry.npmjs.org/@react-email/heading/-/heading-0.0.11.tgz",
- "integrity": "sha512-EF5ZtRCxhHPw3m+8iibKKg0RAvAeHj1AP68sjU7s6+J+kvRgllr/E972Wi5Y8UvcIGossCvpX1WrSMDzeB4puA==",
"license": "MIT",
"dependencies": {
"@radix-ui/react-slot": "1.0.2"
@@ -32509,8 +31993,6 @@
},
"packages/documents/node_modules/@react-email/hr": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/hr/-/hr-0.0.7.tgz",
- "integrity": "sha512-8suK0M/deXHt0DBSeKhSC4bnCBCBm37xk6KJh9M0/FIKlvdltQBem52YUiuqVl1XLB87Y6v6tvspn3SZ9fuxEA==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32521,8 +32003,6 @@
},
"packages/documents/node_modules/@react-email/html": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/html/-/html-0.0.7.tgz",
- "integrity": "sha512-oy7OoRtoOKApVI/5Lz1OZptMKmMYJu9Xn6+lOmdBQchAuSdQtWJqxhrSj/iI/mm8HZWo6MZEQ6SFpfOuf8/P6Q==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32533,8 +32013,6 @@
},
"packages/documents/node_modules/@react-email/img": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/img/-/img-0.0.7.tgz",
- "integrity": "sha512-up9tM2/dJ24u/CFjcvioKbyGuPw1yeJg605QA7VkrygEhd0CoQEjjgumfugpJ+VJgIt4ZjT9xMVCK5QWTIWoaA==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32545,8 +32023,6 @@
},
"packages/documents/node_modules/@react-email/link": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/link/-/link-0.0.7.tgz",
- "integrity": "sha512-hXPChT3ZMyKnUSA60BLEMD2maEgyB2A37yg5bASbLMrXmsExHi6/IS1h2XiUPLDK4KqH5KFaFxi2cdNo1JOKwA==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32557,8 +32033,6 @@
},
"packages/documents/node_modules/@react-email/markdown": {
"version": "0.0.9",
- "resolved": "https://registry.npmjs.org/@react-email/markdown/-/markdown-0.0.9.tgz",
- "integrity": "sha512-t//19Zz+W5svKqrSrqoOLpf6dq70jbwYxX8Z+NEMi4LqylklccOaYAyKrkYyulfZwhW7KDH9d2wjVk5jfUABxQ==",
"license": "MIT",
"dependencies": {
"md-to-react-email": "5.0.2"
@@ -32572,8 +32046,6 @@
},
"packages/documents/node_modules/@react-email/preview": {
"version": "0.0.8",
- "resolved": "https://registry.npmjs.org/@react-email/preview/-/preview-0.0.8.tgz",
- "integrity": "sha512-Jm0KUYBZQd2w0s2QRMQy0zfHdo3Ns+9bYSE1OybjknlvhANirjuZw9E5KfWgdzO7PyrRtB1OBOQD8//Obc4uIQ==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32584,8 +32056,6 @@
},
"packages/documents/node_modules/@react-email/render": {
"version": "0.0.12",
- "resolved": "https://registry.npmjs.org/@react-email/render/-/render-0.0.12.tgz",
- "integrity": "sha512-S8WRv/PqECEi6x0QJBj0asnAb5GFtJaHlnByxLETLkgJjc76cxMYDH4r9wdbuJ4sjkcbpwP3LPnVzwS+aIjT7g==",
"license": "MIT",
"dependencies": {
"html-to-text": "9.0.5",
@@ -32599,8 +32069,6 @@
},
"packages/documents/node_modules/@react-email/render/node_modules/react": {
"version": "18.2.0",
- "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
- "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
@@ -32611,8 +32079,6 @@
},
"packages/documents/node_modules/@react-email/row": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/row/-/row-0.0.7.tgz",
- "integrity": "sha512-h7pwrLVGk5CIx7Ai/oPxBgCCAGY7BEpCUQ7FCzi4+eThcs5IdjSwDPefLEkwaFS8KZc56UNwTAH92kNq5B7blg==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32623,8 +32089,6 @@
},
"packages/documents/node_modules/@react-email/section": {
"version": "0.0.11",
- "resolved": "https://registry.npmjs.org/@react-email/section/-/section-0.0.11.tgz",
- "integrity": "sha512-3bZ/DuvX1julATI7oqYza6pOtWZgLJDBaa62LFFEvYjisyN+k6lrP2KOucPsDKu2DOkUzlQgK0FOm6VQJX+C0w==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32635,8 +32099,6 @@
},
"packages/documents/node_modules/@react-email/tailwind": {
"version": "0.0.15",
- "resolved": "https://registry.npmjs.org/@react-email/tailwind/-/tailwind-0.0.15.tgz",
- "integrity": "sha512-TE3NQ7VKhhvv3Zv0Z1NtoV6AF7aOWiG4juVezMZw1hZCG0mkN6iXC63u23vPQi12y6xCp20ZUHfg67kQeDSP/g==",
"license": "MIT",
"dependencies": {
"react": "18.2.0"
@@ -32650,8 +32112,6 @@
},
"packages/documents/node_modules/@react-email/tailwind/node_modules/react": {
"version": "18.2.0",
- "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz",
- "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==",
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0"
@@ -32662,8 +32122,6 @@
},
"packages/documents/node_modules/@react-email/text": {
"version": "0.0.7",
- "resolved": "https://registry.npmjs.org/@react-email/text/-/text-0.0.7.tgz",
- "integrity": "sha512-eHCx0mdllGcgK9X7wiLKjNZCBRfxRVNjD3NNYRmOc3Icbl8M9JHriJIfxBuGCmGg2UAORK5P3KmaLQ8b99/pbA==",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
@@ -32674,8 +32132,6 @@
},
"packages/documents/node_modules/md-to-react-email": {
"version": "5.0.2",
- "resolved": "https://registry.npmjs.org/md-to-react-email/-/md-to-react-email-5.0.2.tgz",
- "integrity": "sha512-x6kkpdzIzUhecda/yahltfEl53mH26QdWu4abUF9+S0Jgam8P//Ciro8cdhyMHnT5MQUJYrIbO6ORM2UxPiNNA==",
"license": "MIT",
"dependencies": {
"marked": "7.0.4"
@@ -32686,8 +32142,6 @@
},
"packages/documents/node_modules/prismjs": {
"version": "1.29.0",
- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz",
- "integrity": "sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==",
"license": "MIT",
"engines": {
"node": ">=6"
@@ -32695,8 +32149,6 @@
},
"packages/documents/node_modules/react-dom": {
"version": "18.2.0",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz",
- "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==",
"license": "MIT",
"dependencies": {
"loose-envify": "^1.1.0",
@@ -32706,15 +32158,6 @@
"react": "^18.2.0"
}
},
- "packages/documents/node_modules/scheduler": {
- "version": "0.23.2",
- "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz",
- "integrity": "sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==",
- "license": "MIT",
- "dependencies": {
- "loose-envify": "^1.1.0"
- }
- },
"packages/ee": {
"name": "@carbon/ee",
"version": "*",
@@ -32767,8 +32210,6 @@
},
"packages/form/node_modules/ts-toolbelt": {
"version": "9.6.0",
- "resolved": "https://registry.npmjs.org/ts-toolbelt/-/ts-toolbelt-9.6.0.tgz",
- "integrity": "sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==",
"dev": true,
"license": "Apache-2.0"
},
@@ -32807,15 +32248,6 @@
"typescript": "^5.2.2"
}
},
- "packages/jobs/node_modules/@supabase/functions-js": {
- "version": "2.1.5",
- "resolved": "https://registry.npmjs.org/@supabase/functions-js/-/functions-js-2.1.5.tgz",
- "integrity": "sha512-BNzC5XhCzzCaggJ8s53DP+WeHHGT/NfTsx2wUSSGKR2/ikLFQTBCDzMvGz/PxYMqRko/LwncQtKXGOYp1PkPaw==",
- "license": "MIT",
- "dependencies": {
- "@supabase/node-fetch": "^2.6.14"
- }
- },
"packages/kv": {
"name": "@carbon/kv",
"version": "*",
@@ -32834,9 +32266,7 @@
}
},
"packages/kv/node_modules/@upstash/redis": {
- "version": "1.34.3",
- "resolved": "https://registry.npmjs.org/@upstash/redis/-/redis-1.34.3.tgz",
- "integrity": "sha512-VT25TyODGy/8ljl7GADnJoMmtmJ1F8d84UXfGonRRF8fWYJz7+2J6GzW+a6ETGtk4OyuRTt7FRSvFG5GvrfSdQ==",
+ "version": "v1.34.3",
"license": "MIT",
"dependencies": {
"crypto-js": "^4.2.0"
@@ -32992,14 +32422,10 @@
},
"packages/react/node_modules/@remirror/core-constants": {
"version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@remirror/core-constants/-/core-constants-2.0.2.tgz",
- "integrity": "sha512-dyHY+sMF0ihPus3O27ODd4+agdHMEmuRdyiZJ2CCWjPV5UFmn17ZbElvk6WOGVE4rdCJKZQCrPV2BcikOMLUGQ==",
"license": "MIT"
},
"packages/react/node_modules/@tiptap/pm": {
"version": "2.0.4",
- "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.0.4.tgz",
- "integrity": "sha512-DNgxntpEaiW7ciW0BTNTL0TFqAreZTrAROWakI4XaYRAyi5H9NfZW8jmwGwMBkoZ1KB3pfy+jT/Bisy4okEQGQ==",
"license": "MIT",
"dependencies": {
"prosemirror-changeset": "^2.2.0",
@@ -33031,8 +32457,6 @@
},
"packages/react/node_modules/prosemirror-trailing-node": {
"version": "2.0.9",
- "resolved": "https://registry.npmjs.org/prosemirror-trailing-node/-/prosemirror-trailing-node-2.0.9.tgz",
- "integrity": "sha512-YvyIn3/UaLFlFKrlJB6cObvUhmwFNZVhy1Q8OpW/avoTbD/Y7H5EcjK4AZFKhmuS6/N6WkGgt7gWtBWDnmFvHg==",
"license": "MIT",
"dependencies": {
"@remirror/core-constants": "^2.0.2",
@@ -33180,8 +32604,6 @@
},
"packages/tiptap/node_modules/@types/node": {
"version": "22.19.3",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.3.tgz",
- "integrity": "sha512-1N9SBnWYOJTrNZCdh/yJE+t910Y128BoyY+zBLWhL3r0TYzlTmFdXrPwHL9DyFZmlEXNQQolTZh3KHV31QDhyA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.21.0"
diff --git a/package.json b/package.json
index 378ea8c5d4..9bc0b34b8b 100755
--- a/package.json
+++ b/package.json
@@ -2,6 +2,7 @@
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@types/aws-lambda": "8.10.152",
+ "@typescript/native-preview": "^7.0.0-dev.20251215.1",
"csv-parse": "^5.5.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.2",
@@ -68,7 +69,8 @@
"test": "turbo run test",
"tool:new": "tsx scripts/create-tool.ts",
"agent:new": "tsx scripts/create-agent.ts",
- "types": "turbo run types"
+ "types": "turbo run types",
+ "typecheck": "tsgo --noEmit"
},
"workspaces": [
"apps/*",
diff --git a/packages/auth/src/config/env.ts b/packages/auth/src/config/env.ts
index ddc10e3fbf..939ce590b6 100644
--- a/packages/auth/src/config/env.ts
+++ b/packages/auth/src/config/env.ts
@@ -12,6 +12,8 @@ declare global {
SUPABASE_ANON_KEY: string;
VERCEL_URL: string;
VERCEL_ENV: string;
+ QUICKBOOKS_CLIENT_ID: string;
+ XERO_CLIENT_ID: string;
};
}
}
@@ -20,10 +22,16 @@ declare global {
namespace NodeJS {
interface ProcessEnv {
CARBON_EDITION: string;
+ CLOUDFLARE_TURNSTILE_SITE_KEY: string;
+ CLOUDFLARE_TURNSTILE_SECRET_KEY: string;
DOMAIN: string;
NOVU_SECRET_KEY: string;
POSTHOG_API_HOST: string;
POSTHOG_PROJECT_PUBLIC_KEY: string;
+ QUICKBOOKS_CLIENT_SECRET: string;
+ QUICKBOOKS_WEBHOOK_SECRET: string;
+ RESEND_API_KEY: string;
+ RESEND_DOMAIN: string;
SESSION_SECRET: string;
SESSION_KEY: string;
SESSION_ERROR_KEY: string;
@@ -43,8 +51,8 @@ declare global {
UPSTASH_REDIS_REST_TOKEN: string;
VERCEL_URL: string;
VERCEL_ENV: string;
- CLOUDFLARE_TURNSTILE_SITE_KEY: string;
- CLOUDFLARE_TURNSTILE_SECRET_KEY: string;
+ XERO_CLIENT_SECRET: string;
+ XERO_WEBHOOK_SECRET: string;
}
}
}
@@ -92,6 +100,15 @@ const getEdition = () => {
export const CarbonEdition = getEdition();
+export const CLOUDFLARE_TURNSTILE_SITE_KEY = getEnv(
+ "CLOUDFLARE_TURNSTILE_SITE_KEY",
+ { isSecret: false, isRequired: false }
+);
+export const CLOUDFLARE_TURNSTILE_SECRET_KEY = getEnv(
+ "CLOUDFLARE_TURNSTILE_SECRET_KEY",
+ { isRequired: false }
+);
+
export const DOMAIN = getEnv("DOMAIN", { isRequired: false }); // preview environments need no domain
export const EXCHANGE_RATES_API_KEY = getEnv("EXCHANGE_RATES_API_KEY", {
isRequired: false,
@@ -114,6 +131,21 @@ export const NOVU_APPLICATION_ID = getEnv("NOVU_APPLICATION_ID", {
isSecret: false
});
export const NOVU_SECRET_KEY = getEnv("NOVU_SECRET_KEY");
+
+export const QUICKBOOKS_CLIENT_ID = getEnv("QUICKBOOKS_CLIENT_ID", {
+ isRequired: false
+});
+
+export const QUICKBOOKS_CLIENT_SECRET = getEnv("QUICKBOOKS_CLIENT_SECRET", {
+ isRequired: false,
+ isSecret: true
+});
+
+export const QUICKBOOKS_WEBHOOK_SECRET = getEnv("QUICKBOOKS_WEBHOOK_SECRET", {
+ isRequired: false,
+ isSecret: true
+});
+
export const RESEND_DOMAIN =
getEnv("RESEND_DOMAIN", {
isRequired: false
@@ -167,6 +199,18 @@ export const SESSION_MAX_AGE = 60 * 60 * 24 * 7; // 7 days;
export const REFRESH_ACCESS_TOKEN_THRESHOLD = 60 * 10; // 10 minutes left before token expires
export const VERCEL_URL = getEnv("VERCEL_URL", { isSecret: false });
+export const XERO_CLIENT_ID = getEnv("XERO_CLIENT_ID", {
+ isRequired: false
+});
+export const XERO_CLIENT_SECRET = getEnv("XERO_CLIENT_SECRET", {
+ isRequired: false,
+ isSecret: true
+});
+export const XERO_WEBHOOK_SECRET = getEnv("XERO_WEBHOOK_SECRET", {
+ isRequired: false,
+ isSecret: true
+});
+
/**
* Shared envs
*/
@@ -188,14 +232,7 @@ export const SUPABASE_URL = getEnv("SUPABASE_URL", { isSecret: false });
export const SUPABASE_ANON_KEY = getEnv("SUPABASE_ANON_KEY", {
isSecret: false
});
-export const CLOUDFLARE_TURNSTILE_SITE_KEY = getEnv(
- "CLOUDFLARE_TURNSTILE_SITE_KEY",
- { isSecret: false, isRequired: false }
-);
-export const CLOUDFLARE_TURNSTILE_SECRET_KEY = getEnv(
- "CLOUDFLARE_TURNSTILE_SECRET_KEY",
- { isRequired: false }
-);
+
export const RATE_LIMIT = parseInt(
getEnv("RATE_LIMIT", { isRequired: false, isSecret: false }) || "5",
10
@@ -233,16 +270,18 @@ export function getBrowserEnv() {
return {
CARBON_EDITION,
CONTROLLED_ENVIRONMENT,
- SUPABASE_URL,
- SUPABASE_ANON_KEY,
+ CLOUDFLARE_TURNSTILE_SITE_KEY,
+ GOOGLE_PLACES_API_KEY,
POSTHOG_API_HOST,
POSTHOG_PROJECT_PUBLIC_KEY,
+ NODE_ENV,
NOVU_APPLICATION_ID,
+ QUICKBOOKS_CLIENT_ID,
+ SUPABASE_URL,
+ SUPABASE_ANON_KEY,
VERCEL_ENV,
VERCEL_URL,
- NODE_ENV,
- CLOUDFLARE_TURNSTILE_SITE_KEY,
- GOOGLE_PLACES_API_KEY
+ XERO_CLIENT_ID
};
}
diff --git a/packages/auth/src/lib/supabase/client.ts b/packages/auth/src/lib/supabase/client.ts
index f1eb8656b1..50f3c22049 100644
--- a/packages/auth/src/lib/supabase/client.ts
+++ b/packages/auth/src/lib/supabase/client.ts
@@ -70,7 +70,7 @@ export const getCarbon = (accessToken?: string) => {
return getCarbonClient(SUPABASE_ANON_KEY, accessToken);
};
-export const getCarbonServiceRole = () => {
+export const getCarbonServiceRole = (): SupabaseClient<Database> => {
if (isBrowser)
throw new Error(
"getCarbonServiceRole is not available in browser and should NOT be used in insecure environments"
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index c0a16e2245..33774b4291 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -1350,6 +1350,9 @@ export default {
{
$ref: "#/parameters/rowFilter.consumables.tags",
},
+ {
+ $ref: "#/parameters/rowFilter.consumables.itemPostingGroupId",
+ },
{
$ref: "#/parameters/rowFilter.consumables.createdBy",
},
@@ -12924,6 +12927,12 @@ export default {
{
$ref: "#/parameters/rowFilter.customers.assignee",
},
+ {
+ $ref: "#/parameters/rowFilter.customers.taxPercent",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customers.website",
+ },
{
$ref: "#/parameters/rowFilter.customers.companyId",
},
@@ -12946,31 +12955,25 @@ export default {
$ref: "#/parameters/rowFilter.customers.currencyCode",
},
{
- $ref: "#/parameters/rowFilter.customers.phone",
+ $ref: "#/parameters/rowFilter.customers.salesContactId",
},
{
- $ref: "#/parameters/rowFilter.customers.fax",
+ $ref: "#/parameters/rowFilter.customers.invoicingContactId",
},
{
- $ref: "#/parameters/rowFilter.customers.website",
- },
- {
- $ref: "#/parameters/rowFilter.customers.externalId",
- },
- {
- $ref: "#/parameters/rowFilter.customers.taxPercent",
+ $ref: "#/parameters/rowFilter.customers.type",
},
{
- $ref: "#/parameters/rowFilter.customers.tags",
+ $ref: "#/parameters/rowFilter.customers.status",
},
{
- $ref: "#/parameters/rowFilter.customers.type",
+ $ref: "#/parameters/rowFilter.customers.orderCount",
},
{
- $ref: "#/parameters/rowFilter.customers.status",
+ $ref: "#/parameters/rowFilter.customers.phone",
},
{
- $ref: "#/parameters/rowFilter.customers.orderCount",
+ $ref: "#/parameters/rowFilter.customers.fax",
},
{
$ref: "#/parameters/select",
@@ -28101,12 +28104,6 @@ export default {
{
$ref: "#/parameters/rowFilter.suppliers.currencyCode",
},
- {
- $ref: "#/parameters/rowFilter.suppliers.phone",
- },
- {
- $ref: "#/parameters/rowFilter.suppliers.fax",
- },
{
$ref: "#/parameters/rowFilter.suppliers.website",
},
@@ -28119,6 +28116,15 @@ export default {
{
$ref: "#/parameters/rowFilter.suppliers.taxPercent",
},
+ {
+ $ref: "#/parameters/rowFilter.suppliers.purchasingContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.invoicingContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.embedding",
+ },
{
$ref: "#/parameters/rowFilter.suppliers.type",
},
@@ -28131,6 +28137,12 @@ export default {
{
$ref: "#/parameters/rowFilter.suppliers.partCount",
},
+ {
+ $ref: "#/parameters/rowFilter.suppliers.phone",
+ },
+ {
+ $ref: "#/parameters/rowFilter.suppliers.fax",
+ },
{
$ref: "#/parameters/select",
},
@@ -35745,6 +35757,12 @@ export default {
{
$ref: "#/parameters/rowFilter.customer.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.customer.salesContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.invoicingContactId",
+ },
{
$ref: "#/parameters/select",
},
@@ -35870,6 +35888,12 @@ export default {
{
$ref: "#/parameters/rowFilter.customer.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.customer.salesContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.invoicingContactId",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -35949,6 +35973,12 @@ export default {
{
$ref: "#/parameters/rowFilter.customer.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.customer.salesContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.customer.invoicingContactId",
+ },
{
$ref: "#/parameters/body.customer",
},
@@ -36675,6 +36705,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trackedEntity.createdBy",
},
+ {
+ $ref: "#/parameters/rowFilter.trackedEntity.readableId",
+ },
{
$ref: "#/parameters/select",
},
@@ -36764,6 +36797,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trackedEntity.createdBy",
},
+ {
+ $ref: "#/parameters/rowFilter.trackedEntity.readableId",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -36807,6 +36843,9 @@ export default {
{
$ref: "#/parameters/rowFilter.trackedEntity.createdBy",
},
+ {
+ $ref: "#/parameters/rowFilter.trackedEntity.readableId",
+ },
{
$ref: "#/parameters/body.trackedEntity",
},
@@ -37554,6 +37593,9 @@ export default {
{
$ref: "#/parameters/rowFilter.parts.tags",
},
+ {
+ $ref: "#/parameters/rowFilter.parts.itemPostingGroupId",
+ },
{
$ref: "#/parameters/rowFilter.parts.createdBy",
},
@@ -38091,6 +38133,9 @@ export default {
{
$ref: "#/parameters/rowFilter.materials.tags",
},
+ {
+ $ref: "#/parameters/rowFilter.materials.itemPostingGroupId",
+ },
{
$ref: "#/parameters/rowFilter.materials.createdBy",
},
@@ -39474,6 +39519,9 @@ export default {
{
$ref: "#/parameters/rowFilter.tools.tags",
},
+ {
+ $ref: "#/parameters/rowFilter.tools.itemPostingGroupId",
+ },
{
$ref: "#/parameters/rowFilter.tools.createdBy",
},
@@ -50898,6 +50946,12 @@ export default {
{
$ref: "#/parameters/rowFilter.supplier.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.supplier.purchasingContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplier.invoicingContactId",
+ },
{
$ref: "#/parameters/select",
},
@@ -51023,6 +51077,12 @@ export default {
{
$ref: "#/parameters/rowFilter.supplier.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.supplier.purchasingContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplier.invoicingContactId",
+ },
{
$ref: "#/parameters/preferReturn",
},
@@ -51102,6 +51162,12 @@ export default {
{
$ref: "#/parameters/rowFilter.supplier.embedding",
},
+ {
+ $ref: "#/parameters/rowFilter.supplier.purchasingContactId",
+ },
+ {
+ $ref: "#/parameters/rowFilter.supplier.invoicingContactId",
+ },
{
$ref: "#/parameters/body.supplier",
},
@@ -62659,6 +62725,12 @@ export default {
},
type: "array",
},
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -65672,7 +65744,7 @@ export default {
properties: {
id: {
description:
- "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
@@ -65721,7 +65793,7 @@ export default {
},
supplierLocationId: {
description:
- "Note:\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
+ "Note:\nThis is a Primary Key.<pk/>\nThis is a Foreign Key to `supplierLocation.id`.<fk table='supplierLocation' column='id'/>",
format: "text",
type: "string",
},
@@ -68231,6 +68303,14 @@ export default {
format: "text",
type: "string",
},
+ taxPercent: {
+ format: "numeric",
+ type: "number",
+ },
+ website: {
+ format: "text",
+ type: "string",
+ },
companyId: {
description:
"Note:\nThis is a Foreign Key to `company.id`.<fk table='company' column='id'/>",
@@ -68266,32 +68346,18 @@ export default {
format: "text",
type: "string",
},
- phone: {
- format: "text",
- type: "string",
- },
- fax: {
+ salesContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- website: {
+ invoicingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
format: "text",
type: "string",
},
- externalId: {
- format: "jsonb",
- },
- taxPercent: {
- format: "numeric",
- type: "number",
- },
- tags: {
- format: "text[]",
- items: {
- type: "string",
- },
- type: "array",
- },
type: {
format: "text",
type: "string",
@@ -68304,6 +68370,14 @@ export default {
format: "bigint",
type: "integer",
},
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -72151,7 +72225,7 @@ export default {
type: "object",
},
contact: {
- required: ["id", "email", "companyId", "isCustomer"],
+ required: ["id", "companyId", "isCustomer"],
properties: {
id: {
default: "public.id('con'::text)",
@@ -75183,14 +75257,6 @@ export default {
format: "text",
type: "string",
},
- phone: {
- format: "text",
- type: "string",
- },
- fax: {
- format: "text",
- type: "string",
- },
website: {
format: "text",
type: "string",
@@ -75209,6 +75275,22 @@ export default {
format: "numeric",
type: "number",
},
+ purchasingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ invoicingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ embedding: {
+ format: "extensions.halfvec(384)",
+ type: "string",
+ },
type: {
format: "text",
type: "string",
@@ -75225,6 +75307,14 @@ export default {
format: "bigint",
type: "integer",
},
+ phone: {
+ format: "text",
+ type: "string",
+ },
+ fax: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -78642,6 +78732,18 @@ export default {
format: "extensions.halfvec(384)",
type: "string",
},
+ salesContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ invoicingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `customerContact.id`.<fk table='customerContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -79147,6 +79249,10 @@ export default {
format: "text",
type: "string",
},
+ readableId: {
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -79620,6 +79726,12 @@ export default {
},
type: "array",
},
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -79919,6 +80031,12 @@ export default {
},
type: "array",
},
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -80556,6 +80674,12 @@ export default {
},
type: "array",
},
+ itemPostingGroupId: {
+ description:
+ "Note:\nThis is a Foreign Key to `itemPostingGroup.id`.<fk table='itemPostingGroup' column='id'/>",
+ format: "text",
+ type: "string",
+ },
createdBy: {
description:
"Note:\nThis is a Foreign Key to `user.id`.<fk table='user' column='id'/>",
@@ -86186,6 +86310,18 @@ export default {
format: "extensions.halfvec(384)",
type: "string",
},
+ purchasingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
+ invoicingContactId: {
+ description:
+ "Note:\nThis is a Foreign Key to `supplierContact.id`.<fk table='supplierContact' column='id'/>",
+ format: "text",
+ type: "string",
+ },
},
type: "object",
},
@@ -90237,6 +90373,12 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.consumables.itemPostingGroupId": {
+ name: "itemPostingGroupId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.consumables.createdBy": {
name: "createdBy",
required: false,
@@ -96540,6 +96682,18 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.customers.taxPercent": {
+ name: "taxPercent",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customers.website": {
+ name: "website",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.customers.companyId": {
name: "companyId",
required: false,
@@ -96582,56 +96736,44 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.customers.phone": {
- name: "phone",
- required: false,
- in: "query",
- type: "string",
- },
- "rowFilter.customers.fax": {
- name: "fax",
- required: false,
- in: "query",
- type: "string",
- },
- "rowFilter.customers.website": {
- name: "website",
+ "rowFilter.customers.salesContactId": {
+ name: "salesContactId",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.externalId": {
- name: "externalId",
+ "rowFilter.customers.invoicingContactId": {
+ name: "invoicingContactId",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.taxPercent": {
- name: "taxPercent",
+ "rowFilter.customers.type": {
+ name: "type",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.tags": {
- name: "tags",
+ "rowFilter.customers.status": {
+ name: "status",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.type": {
- name: "type",
+ "rowFilter.customers.orderCount": {
+ name: "orderCount",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.status": {
- name: "status",
+ "rowFilter.customers.phone": {
+ name: "phone",
required: false,
in: "query",
type: "string",
},
- "rowFilter.customers.orderCount": {
- name: "orderCount",
+ "rowFilter.customers.fax": {
+ name: "fax",
required: false,
in: "query",
type: "string",
@@ -104292,18 +104434,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.suppliers.phone": {
- name: "phone",
- required: false,
- in: "query",
- type: "string",
- },
- "rowFilter.suppliers.fax": {
- name: "fax",
- required: false,
- in: "query",
- type: "string",
- },
"rowFilter.suppliers.website": {
name: "website",
required: false,
@@ -104328,6 +104458,24 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.suppliers.purchasingContactId": {
+ name: "purchasingContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.invoicingContactId": {
+ name: "invoicingContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.embedding": {
+ name: "embedding",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.suppliers.type": {
name: "type",
required: false,
@@ -104352,6 +104500,18 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.suppliers.phone": {
+ name: "phone",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.suppliers.fax": {
+ name: "fax",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"body.accounts": {
name: "accounts",
description: "accounts",
@@ -108216,6 +108376,18 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.customer.salesContactId": {
+ name: "salesContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.customer.invoicingContactId": {
+ name: "invoicingContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"body.purchaseOrder": {
name: "purchaseOrder",
description: "purchaseOrder",
@@ -108828,6 +109000,12 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.trackedEntity.readableId": {
+ name: "readableId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"body.companyPlan": {
name: "companyPlan",
description: "companyPlan",
@@ -109410,6 +109588,12 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.parts.itemPostingGroupId": {
+ name: "itemPostingGroupId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.parts.createdBy": {
name: "createdBy",
required: false,
@@ -109791,6 +109975,12 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.materials.itemPostingGroupId": {
+ name: "itemPostingGroupId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.materials.createdBy": {
name: "createdBy",
required: false,
@@ -110496,6 +110686,12 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.tools.itemPostingGroupId": {
+ name: "itemPostingGroupId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"rowFilter.tools.createdBy": {
name: "createdBy",
required: false,
@@ -116817,6 +117013,18 @@ export default {
in: "query",
type: "string",
},
+ "rowFilter.supplier.purchasingContactId": {
+ name: "purchasingContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
+ "rowFilter.supplier.invoicingContactId": {
+ name: "invoicingContactId",
+ required: false,
+ in: "query",
+ type: "string",
+ },
"body.stockTransfer": {
name: "stockTransfer",
description: "stockTransfer",
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 0cd3ed4094..4bdf7a4f75 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -2257,8 +2257,6 @@ export type Database = {
id: string
inventoryJobCompletedNotificationGroup: string[]
kanbanOutput: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays: number
- maintenanceGenerateInAdvance: boolean
materialGeneratedIds: boolean
productLabelSize: string | null
purchasePriceUpdateTiming: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -2276,8 +2274,6 @@ export type Database = {
id: string
inventoryJobCompletedNotificationGroup?: string[]
kanbanOutput?: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays?: number
- maintenanceGenerateInAdvance?: boolean
materialGeneratedIds?: boolean
productLabelSize?: string | null
purchasePriceUpdateTiming?: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -2295,8 +2291,6 @@ export type Database = {
id?: string
inventoryJobCompletedNotificationGroup?: string[]
kanbanOutput?: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays?: number
- maintenanceGenerateInAdvance?: boolean
materialGeneratedIds?: boolean
productLabelSize?: string | null
purchasePriceUpdateTiming?: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -3002,7 +2996,7 @@ export type Database = {
contact: {
Row: {
companyId: string
- email: string
+ email: string | null
externalId: Json | null
fax: string | null
firstName: string | null
@@ -3018,7 +3012,7 @@ export type Database = {
}
Insert: {
companyId: string
- email: string
+ email?: string | null
externalId?: Json | null
fax?: string | null
firstName?: string | null
@@ -3034,7 +3028,7 @@ export type Database = {
}
Update: {
companyId?: string
- email?: string
+ email?: string | null
externalId?: Json | null
fax?: string | null
firstName?: string | null
@@ -3593,9 +3587,11 @@ export type Database = {
externalId: Json | null
fax: string | null
id: string
+ invoicingContactId: string | null
logo: string | null
name: string
phone: string | null
+ salesContactId: string | null
tags: string[] | null
taxId: string | null
taxPercent: number
@@ -3617,9 +3613,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name: string
phone?: string | null
+ salesContactId?: string | null
tags?: string[] | null
taxId?: string | null
taxPercent?: number
@@ -3641,9 +3639,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name?: string
phone?: string | null
+ salesContactId?: string | null
tags?: string[] | null
taxId?: string | null
taxPercent?: number
@@ -3806,6 +3806,20 @@ export type Database = {
referencedRelation: "customerType"
referencedColumns: ["id"]
},
+ {
+ foreignKeyName: "customer_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "customer_salesContactId_fkey"
+ columns: ["salesContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "customer_updatedBy_fkey"
columns: ["updatedBy"]
@@ -12016,1830 +12030,257 @@ export type Database = {
purchaseUnitOfMeasureCode: string | null
quantity: number
replenishmentSystem: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId: string | null
- supplierId: string | null
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- autoRelease?: boolean
- autoStartJob?: boolean
- companyId: string
- completedBarcodeOverride?: string | null
- conversionFactor?: number
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- jobId?: string | null
- locationId: string
- purchaseUnitOfMeasureCode?: string | null
- quantity: number
- replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId?: string | null
- supplierId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- autoRelease?: boolean
- autoStartJob?: boolean
- companyId?: string
- completedBarcodeOverride?: string | null
- conversionFactor?: number
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- jobId?: string | null
- locationId?: string
- purchaseUnitOfMeasureCode?: string | null
- quantity?: number
- replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId?: string | null
- supplierId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "job"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "jobs"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "openProductionOrders"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_locationId_fkey"
- columns: ["locationId"]
- isOneToOne: false
- referencedRelation: "location"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_purchaseUnitOfMeasureCode_fkey"
- columns: ["purchaseUnitOfMeasureCode", "companyId"]
- isOneToOne: false
- referencedRelation: "unitOfMeasure"
- referencedColumns: ["code", "companyId"]
- },
- {
- foreignKeyName: "kanban_shelfId_fkey"
- columns: ["shelfId"]
- isOneToOne: false
- referencedRelation: "shelf"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "contractors"
- referencedColumns: ["supplierId"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "partners"
- referencedColumns: ["supplierId"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "purchaseOrderSuppliers"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "supplier"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "suppliers"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- lessonCompletion: {
- Row: {
- courseId: string
- createdAt: string
- lessonId: string
- userId: string
- }
- Insert: {
- courseId: string
- createdAt?: string
- lessonId: string
- userId: string
- }
- Update: {
- courseId?: string
- createdAt?: string
- lessonId?: string
- userId?: string
- }
- Relationships: [
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- location: {
- Row: {
- addressLine1: string
- addressLine2: string | null
- city: string
- companyId: string
- countryCode: string | null
- createdAt: string
- createdBy: string
- customFields: Json | null
- id: string
- latitude: number | null
- longitude: number | null
- name: string
- postalCode: string
- stateProvince: string
- tags: string[] | null
- timezone: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- addressLine1: string
- addressLine2?: string | null
- city: string
- companyId: string
- countryCode?: string | null
- createdAt?: string
- createdBy: string
- customFields?: Json | null
- id?: string
- latitude?: number | null
- longitude?: number | null
- name: string
- postalCode: string
- stateProvince: string
- tags?: string[] | null
- timezone: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- addressLine1?: string
- addressLine2?: string | null
- city?: string
- companyId?: string
- countryCode?: string | null
- createdAt?: string
- createdBy?: string
- customFields?: Json | null
- id?: string
- latitude?: number | null
- longitude?: number | null
- name?: string
- postalCode?: string
- stateProvince?: string
- tags?: string[] | null
- timezone?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- ]
- }
- maintenanceDispatch: {
- Row: {
- actualEndTime: string | null
- actualFailureModeId: string | null
- actualStartTime: string | null
- assignee: string | null
- companyId: string
- completedAt: string | null
- content: Json
- createdAt: string
- createdBy: string
- duration: number | null
- id: string
- isFailure: boolean
- maintenanceDispatchId: string
- maintenanceScheduleId: string | null
- nonConformanceId: string | null
- plannedEndTime: string | null
- plannedStartTime: string | null
- priority: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source: Database["public"]["Enums"]["maintenanceSource"]
- status: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId: string | null
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string | null
- }
- Insert: {
- actualEndTime?: string | null
- actualFailureModeId?: string | null
- actualStartTime?: string | null
- assignee?: string | null
- companyId: string
- completedAt?: string | null
- content?: Json
- createdAt?: string
- createdBy: string
- duration?: number | null
- id?: string
- isFailure?: boolean
- maintenanceDispatchId: string
- maintenanceScheduleId?: string | null
- nonConformanceId?: string | null
- plannedEndTime?: string | null
- plannedStartTime?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity?: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source?: Database["public"]["Enums"]["maintenanceSource"]
- status?: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string | null
- }
- Update: {
- actualEndTime?: string | null
- actualFailureModeId?: string | null
- actualStartTime?: string | null
- assignee?: string | null
- companyId?: string
- completedAt?: string | null
- content?: Json
- createdAt?: string
- createdBy?: string
- duration?: number | null
- id?: string
- isFailure?: boolean
- maintenanceDispatchId?: string
- maintenanceScheduleId?: string | null
- nonConformanceId?: string | null
- plannedEndTime?: string | null
- plannedStartTime?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity?: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source?: Database["public"]["Enums"]["maintenanceSource"]
- status?: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatch_actualFailureModeId_fkey"
- columns: ["actualFailureModeId"]
- isOneToOne: false
- referencedRelation: "maintenanceFailureMode"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_maintenanceScheduleId_fkey"
- columns: ["maintenanceScheduleId"]
- isOneToOne: false
- referencedRelation: "maintenanceSchedule"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_nonConformanceId_fkey"
- columns: ["nonConformanceId"]
- isOneToOne: false
- referencedRelation: "issues"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_nonConformanceId_fkey"
- columns: ["nonConformanceId"]
- isOneToOne: false
- referencedRelation: "nonConformance"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_suspectedFailureModeId_fkey"
- columns: ["suspectedFailureModeId"]
- isOneToOne: false
- referencedRelation: "maintenanceFailureMode"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceDispatchComment: {
- Row: {
- comment: string
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- maintenanceDispatchId: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- comment: string
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- maintenanceDispatchId: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- comment?: string
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- maintenanceDispatchId?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceDispatchEvent: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- duration: number | null
- employeeId: string
- endTime: string | null
- id: string
- maintenanceDispatchId: string
- notes: string | null
- startTime: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- duration?: number | null
- employeeId: string
- endTime?: string | null
- id?: string
- maintenanceDispatchId: string
- notes?: string | null
- startTime: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- duration?: number | null
- employeeId?: string
- endTime?: string | null
- id?: string
- maintenanceDispatchId?: string
- notes?: string | null
- startTime?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceDispatchItem: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- maintenanceDispatchId: string
- quantity: number
- totalCost: number | null
- unitCost: number | null
- unitOfMeasureCode: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- maintenanceDispatchId: string
- quantity: number
- totalCost?: number | null
- unitCost?: number | null
- unitOfMeasureCode: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- maintenanceDispatchId?: string
- quantity?: number
- totalCost?: number | null
- unitCost?: number | null
- unitOfMeasureCode?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceDispatchWorkCenter: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- maintenanceDispatchId: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- maintenanceDispatchId: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- maintenanceDispatchId?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceFailureMode: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- name: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- name: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- name?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceSchedule: {
- Row: {
- active: boolean
- companyId: string
- createdAt: string
- createdBy: string
- description: string | null
- estimatedDuration: number | null
- frequency: Database["public"]["Enums"]["maintenanceFrequency"]
- id: string
- lastGeneratedAt: string | null
- name: string
- nextDueAt: string | null
- priority: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- active?: boolean
- companyId: string
- createdAt?: string
- createdBy: string
- description?: string | null
- estimatedDuration?: number | null
- frequency: Database["public"]["Enums"]["maintenanceFrequency"]
- id?: string
- lastGeneratedAt?: string | null
- name: string
- nextDueAt?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- active?: boolean
- companyId?: string
- createdAt?: string
- createdBy?: string
- description?: string | null
- estimatedDuration?: number | null
- frequency?: Database["public"]["Enums"]["maintenanceFrequency"]
- id?: string
- lastGeneratedAt?: string | null
- name?: string
- nextDueAt?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceScheduleItem: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- maintenanceScheduleId: string
- quantity: number
- unitOfMeasureCode: string
+ shelfId: string | null
+ supplierId: string | null
updatedAt: string | null
updatedBy: string | null
}
Insert: {
+ autoRelease?: boolean
+ autoStartJob?: boolean
companyId: string
+ completedBarcodeOverride?: string | null
+ conversionFactor?: number
createdAt?: string
createdBy: string
id?: string
itemId: string
- maintenanceScheduleId: string
+ jobId?: string | null
+ locationId: string
+ purchaseUnitOfMeasureCode?: string | null
quantity: number
- unitOfMeasureCode: string
+ replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
+ shelfId?: string | null
+ supplierId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
Update: {
+ autoRelease?: boolean
+ autoStartJob?: boolean
companyId?: string
+ completedBarcodeOverride?: string | null
+ conversionFactor?: number
createdAt?: string
createdBy?: string
id?: string
itemId?: string
- maintenanceScheduleId?: string
+ jobId?: string | null
+ locationId?: string
+ purchaseUnitOfMeasureCode?: string | null
quantity?: number
- unitOfMeasureCode?: string
+ replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
+ shelfId?: string | null
+ supplierId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
Relationships: [
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "companies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "company"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "customFieldTables"
referencedColumns: ["companyId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "integrations"
referencedColumns: ["companyId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employees"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employeesAcrossCompanies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employeeSummary"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "user"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "consumables"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "item"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "materials"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "parts"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "tools"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_maintenanceScheduleId_fkey"
- columns: ["maintenanceScheduleId"]
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "job"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "jobs"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "openProductionOrders"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_locationId_fkey"
+ columns: ["locationId"]
+ isOneToOne: false
+ referencedRelation: "location"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_purchaseUnitOfMeasureCode_fkey"
+ columns: ["purchaseUnitOfMeasureCode", "companyId"]
+ isOneToOne: false
+ referencedRelation: "unitOfMeasure"
+ referencedColumns: ["code", "companyId"]
+ },
+ {
+ foreignKeyName: "kanban_shelfId_fkey"
+ columns: ["shelfId"]
+ isOneToOne: false
+ referencedRelation: "shelf"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "contractors"
+ referencedColumns: ["supplierId"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "partners"
+ referencedColumns: ["supplierId"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "purchaseOrderSuppliers"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "supplier"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
isOneToOne: false
- referencedRelation: "maintenanceSchedule"
+ referencedRelation: "suppliers"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employees"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employeesAcrossCompanies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employeeSummary"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "user"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "userDefaults"
@@ -13847,6 +12288,155 @@ export type Database = {
},
]
}
+ lessonCompletion: {
+ Row: {
+ courseId: string
+ createdAt: string
+ lessonId: string
+ userId: string
+ }
+ Insert: {
+ courseId: string
+ createdAt?: string
+ lessonId: string
+ userId: string
+ }
+ Update: {
+ courseId?: string
+ createdAt?: string
+ lessonId?: string
+ userId?: string
+ }
+ Relationships: [
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ ]
+ }
+ location: {
+ Row: {
+ addressLine1: string
+ addressLine2: string | null
+ city: string
+ companyId: string
+ countryCode: string | null
+ createdAt: string
+ createdBy: string
+ customFields: Json | null
+ id: string
+ latitude: number | null
+ longitude: number | null
+ name: string
+ postalCode: string
+ stateProvince: string
+ tags: string[] | null
+ timezone: string
+ updatedAt: string | null
+ updatedBy: string | null
+ }
+ Insert: {
+ addressLine1: string
+ addressLine2?: string | null
+ city: string
+ companyId: string
+ countryCode?: string | null
+ createdAt?: string
+ createdBy: string
+ customFields?: Json | null
+ id?: string
+ latitude?: number | null
+ longitude?: number | null
+ name: string
+ postalCode: string
+ stateProvince: string
+ tags?: string[] | null
+ timezone: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Update: {
+ addressLine1?: string
+ addressLine2?: string | null
+ city?: string
+ companyId?: string
+ countryCode?: string | null
+ createdAt?: string
+ createdBy?: string
+ customFields?: Json | null
+ id?: string
+ latitude?: number | null
+ longitude?: number | null
+ name?: string
+ postalCode?: string
+ stateProvince?: string
+ tags?: string[] | null
+ timezone?: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Relationships: [
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "companies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "company"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "customFieldTables"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "integrations"
+ referencedColumns: ["companyId"]
+ },
+ ]
+ }
makeMethod: {
Row: {
companyId: string
@@ -33216,9 +31806,11 @@ export type Database = {
externalId: Json | null
fax: string | null
id: string
+ invoicingContactId: string | null
logo: string | null
name: string
phone: string | null
+ purchasingContactId: string | null
supplierStatusId: string | null
supplierTypeId: string | null
tags: string[] | null
@@ -33240,9 +31832,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name: string
phone?: string | null
+ purchasingContactId?: string | null
supplierStatusId?: string | null
supplierTypeId?: string | null
tags?: string[] | null
@@ -33264,9 +31858,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name?: string
phone?: string | null
+ purchasingContactId?: string | null
supplierStatusId?: string | null
supplierTypeId?: string | null
tags?: string[] | null
@@ -33417,6 +32013,20 @@ export type Database = {
referencedRelation: "currencyCode"
referencedColumns: ["code"]
},
+ {
+ foreignKeyName: "supplier_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "supplier_purchasingContactId_fkey"
+ columns: ["purchasingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "supplier_supplierStatusId_fkey"
columns: ["supplierStatusId"]
@@ -39625,193 +38235,6 @@ export type Database = {
},
]
}
- workCenterReplacementPart: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- quantity: number
- unitOfMeasureCode: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- quantity: number
- unitOfMeasureCode: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- quantity?: number
- unitOfMeasureCode?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
}
Views: {
accountCategories: {
@@ -40403,6 +38826,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -40589,6 +39013,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
contractors: {
@@ -40743,15 +39174,15 @@ export type Database = {
customerStatusId: string | null
customerTypeId: string | null
customFields: Json | null
- externalId: Json | null
fax: string | null
id: string | null
+ invoicingContactId: string | null
logo: string | null
name: string | null
orderCount: number | null
phone: string | null
+ salesContactId: string | null
status: string | null
- tags: string[] | null
taxId: string | null
taxPercent: number | null
type: string | null
@@ -40914,6 +39345,20 @@ export type Database = {
referencedRelation: "customerType"
referencedColumns: ["id"]
},
+ {
+ foreignKeyName: "customer_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "customer_salesContactId_fkey"
+ columns: ["salesContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "customer_updatedBy_fkey"
columns: ["updatedBy"]
@@ -43645,6 +42090,7 @@ export type Database = {
finish: string | null
grade: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -43836,6 +42282,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "material_materialFormId_fkey"
columns: ["materialFormId"]
@@ -44476,14 +42929,14 @@ export type Database = {
},
{
foreignKeyName: "partner_id_fkey"
- columns: ["supplierLocationId"]
+ columns: ["id"]
isOneToOne: false
referencedRelation: "supplierLocation"
referencedColumns: ["id"]
},
{
foreignKeyName: "partner_id_fkey"
- columns: ["id"]
+ columns: ["supplierLocationId"]
isOneToOne: false
referencedRelation: "supplierLocation"
referencedColumns: ["id"]
@@ -44536,6 +42989,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -44700,6 +43154,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
procedures: {
@@ -48911,14 +47372,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["paymentCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["paymentCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
@@ -50901,14 +49362,17 @@ export type Database = {
createdBy: string | null
currencyCode: string | null
customFields: Json | null
+ embedding: unknown
externalId: Json | null
fax: string | null
id: string | null
+ invoicingContactId: string | null
logo: string | null
name: string | null
orderCount: number | null
partCount: number | null
phone: string | null
+ purchasingContactId: string | null
status: string | null
supplierStatusId: string | null
supplierTypeId: string | null
@@ -51061,6 +49525,20 @@ export type Database = {
referencedRelation: "currencyCode"
referencedColumns: ["code"]
},
+ {
+ foreignKeyName: "supplier_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "supplier_purchasingContactId_fkey"
+ columns: ["purchasingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "supplier_supplierStatusId_fkey"
columns: ["supplierStatusId"]
@@ -51123,6 +49601,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -51287,6 +49766,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
trainings: {
@@ -51757,6 +50243,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelName: string
modelPath: string
@@ -52154,6 +50641,7 @@ export type Database = {
grade: string
gradeId: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
materialForm: string
materialFormId: string
@@ -52268,6 +50756,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelId: string
modelName: string
@@ -52724,6 +51213,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelId: string
modelName: string
@@ -53158,25 +51648,6 @@ export type Database = {
| "Blanket Order"
| "Return Order"
kanbanOutput: "label" | "qrcode" | "url"
- maintenanceDispatchPriority: "Low" | "Medium" | "High" | "Critical"
- maintenanceDispatchStatus:
- | "Open"
- | "Assigned"
- | "In Progress"
- | "Completed"
- | "Cancelled"
- maintenanceFrequency:
- | "Daily"
- | "Weekly"
- | "Monthly"
- | "Quarterly"
- | "Annual"
- maintenanceSeverity:
- | "Preventive"
- | "OPM"
- | "Maintenance Required"
- | "OEM Required"
- maintenanceSource: "Scheduled" | "Reactive" | "Non-Conformance"
makeMethodStatus: "Draft" | "Active" | "Archived"
methodOperationOrder: "After Previous" | "With Previous"
methodType: "Buy" | "Make" | "Pick"
@@ -54298,28 +52769,6 @@ export const Constants = {
"Return Order",
],
kanbanOutput: ["label", "qrcode", "url"],
- maintenanceDispatchPriority: ["Low", "Medium", "High", "Critical"],
- maintenanceDispatchStatus: [
- "Open",
- "Assigned",
- "In Progress",
- "Completed",
- "Cancelled",
- ],
- maintenanceFrequency: [
- "Daily",
- "Weekly",
- "Monthly",
- "Quarterly",
- "Annual",
- ],
- maintenanceSeverity: [
- "Preventive",
- "OPM",
- "Maintenance Required",
- "OEM Required",
- ],
- maintenanceSource: ["Scheduled", "Reactive", "Non-Conformance"],
makeMethodStatus: ["Draft", "Active", "Archived"],
methodOperationOrder: ["After Previous", "With Previous"],
methodType: ["Buy", "Make", "Pick"],
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 0cd3ed4094..4bdf7a4f75 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -2257,8 +2257,6 @@ export type Database = {
id: string
inventoryJobCompletedNotificationGroup: string[]
kanbanOutput: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays: number
- maintenanceGenerateInAdvance: boolean
materialGeneratedIds: boolean
productLabelSize: string | null
purchasePriceUpdateTiming: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -2276,8 +2274,6 @@ export type Database = {
id: string
inventoryJobCompletedNotificationGroup?: string[]
kanbanOutput?: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays?: number
- maintenanceGenerateInAdvance?: boolean
materialGeneratedIds?: boolean
productLabelSize?: string | null
purchasePriceUpdateTiming?: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -2295,8 +2291,6 @@ export type Database = {
id?: string
inventoryJobCompletedNotificationGroup?: string[]
kanbanOutput?: Database["public"]["Enums"]["kanbanOutput"]
- maintenanceAdvanceDays?: number
- maintenanceGenerateInAdvance?: boolean
materialGeneratedIds?: boolean
productLabelSize?: string | null
purchasePriceUpdateTiming?: Database["public"]["Enums"]["purchasePriceUpdateTiming"]
@@ -3002,7 +2996,7 @@ export type Database = {
contact: {
Row: {
companyId: string
- email: string
+ email: string | null
externalId: Json | null
fax: string | null
firstName: string | null
@@ -3018,7 +3012,7 @@ export type Database = {
}
Insert: {
companyId: string
- email: string
+ email?: string | null
externalId?: Json | null
fax?: string | null
firstName?: string | null
@@ -3034,7 +3028,7 @@ export type Database = {
}
Update: {
companyId?: string
- email?: string
+ email?: string | null
externalId?: Json | null
fax?: string | null
firstName?: string | null
@@ -3593,9 +3587,11 @@ export type Database = {
externalId: Json | null
fax: string | null
id: string
+ invoicingContactId: string | null
logo: string | null
name: string
phone: string | null
+ salesContactId: string | null
tags: string[] | null
taxId: string | null
taxPercent: number
@@ -3617,9 +3613,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name: string
phone?: string | null
+ salesContactId?: string | null
tags?: string[] | null
taxId?: string | null
taxPercent?: number
@@ -3641,9 +3639,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name?: string
phone?: string | null
+ salesContactId?: string | null
tags?: string[] | null
taxId?: string | null
taxPercent?: number
@@ -3806,6 +3806,20 @@ export type Database = {
referencedRelation: "customerType"
referencedColumns: ["id"]
},
+ {
+ foreignKeyName: "customer_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "customer_salesContactId_fkey"
+ columns: ["salesContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "customer_updatedBy_fkey"
columns: ["updatedBy"]
@@ -12016,1830 +12030,257 @@ export type Database = {
purchaseUnitOfMeasureCode: string | null
quantity: number
replenishmentSystem: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId: string | null
- supplierId: string | null
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- autoRelease?: boolean
- autoStartJob?: boolean
- companyId: string
- completedBarcodeOverride?: string | null
- conversionFactor?: number
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- jobId?: string | null
- locationId: string
- purchaseUnitOfMeasureCode?: string | null
- quantity: number
- replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId?: string | null
- supplierId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- autoRelease?: boolean
- autoStartJob?: boolean
- companyId?: string
- completedBarcodeOverride?: string | null
- conversionFactor?: number
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- jobId?: string | null
- locationId?: string
- purchaseUnitOfMeasureCode?: string | null
- quantity?: number
- replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
- shelfId?: string | null
- supplierId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "kanban_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "job"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "jobs"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_jobId_fkey"
- columns: ["jobId"]
- isOneToOne: false
- referencedRelation: "openProductionOrders"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_locationId_fkey"
- columns: ["locationId"]
- isOneToOne: false
- referencedRelation: "location"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_purchaseUnitOfMeasureCode_fkey"
- columns: ["purchaseUnitOfMeasureCode", "companyId"]
- isOneToOne: false
- referencedRelation: "unitOfMeasure"
- referencedColumns: ["code", "companyId"]
- },
- {
- foreignKeyName: "kanban_shelfId_fkey"
- columns: ["shelfId"]
- isOneToOne: false
- referencedRelation: "shelf"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "contractors"
- referencedColumns: ["supplierId"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "partners"
- referencedColumns: ["supplierId"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "purchaseOrderSuppliers"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "supplier"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_supplierId_fkey"
- columns: ["supplierId"]
- isOneToOne: false
- referencedRelation: "suppliers"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "kanban_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- lessonCompletion: {
- Row: {
- courseId: string
- createdAt: string
- lessonId: string
- userId: string
- }
- Insert: {
- courseId: string
- createdAt?: string
- lessonId: string
- userId: string
- }
- Update: {
- courseId?: string
- createdAt?: string
- lessonId?: string
- userId?: string
- }
- Relationships: [
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "lessonCompletion_userId_fkey"
- columns: ["userId"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- location: {
- Row: {
- addressLine1: string
- addressLine2: string | null
- city: string
- companyId: string
- countryCode: string | null
- createdAt: string
- createdBy: string
- customFields: Json | null
- id: string
- latitude: number | null
- longitude: number | null
- name: string
- postalCode: string
- stateProvince: string
- tags: string[] | null
- timezone: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- addressLine1: string
- addressLine2?: string | null
- city: string
- companyId: string
- countryCode?: string | null
- createdAt?: string
- createdBy: string
- customFields?: Json | null
- id?: string
- latitude?: number | null
- longitude?: number | null
- name: string
- postalCode: string
- stateProvince: string
- tags?: string[] | null
- timezone: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- addressLine1?: string
- addressLine2?: string | null
- city?: string
- companyId?: string
- countryCode?: string | null
- createdAt?: string
- createdBy?: string
- customFields?: Json | null
- id?: string
- latitude?: number | null
- longitude?: number | null
- name?: string
- postalCode?: string
- stateProvince?: string
- tags?: string[] | null
- timezone?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "location_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- ]
- }
- maintenanceDispatch: {
- Row: {
- actualEndTime: string | null
- actualFailureModeId: string | null
- actualStartTime: string | null
- assignee: string | null
- companyId: string
- completedAt: string | null
- content: Json
- createdAt: string
- createdBy: string
- duration: number | null
- id: string
- isFailure: boolean
- maintenanceDispatchId: string
- maintenanceScheduleId: string | null
- nonConformanceId: string | null
- plannedEndTime: string | null
- plannedStartTime: string | null
- priority: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source: Database["public"]["Enums"]["maintenanceSource"]
- status: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId: string | null
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string | null
- }
- Insert: {
- actualEndTime?: string | null
- actualFailureModeId?: string | null
- actualStartTime?: string | null
- assignee?: string | null
- companyId: string
- completedAt?: string | null
- content?: Json
- createdAt?: string
- createdBy: string
- duration?: number | null
- id?: string
- isFailure?: boolean
- maintenanceDispatchId: string
- maintenanceScheduleId?: string | null
- nonConformanceId?: string | null
- plannedEndTime?: string | null
- plannedStartTime?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity?: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source?: Database["public"]["Enums"]["maintenanceSource"]
- status?: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string | null
- }
- Update: {
- actualEndTime?: string | null
- actualFailureModeId?: string | null
- actualStartTime?: string | null
- assignee?: string | null
- companyId?: string
- completedAt?: string | null
- content?: Json
- createdAt?: string
- createdBy?: string
- duration?: number | null
- id?: string
- isFailure?: boolean
- maintenanceDispatchId?: string
- maintenanceScheduleId?: string | null
- nonConformanceId?: string | null
- plannedEndTime?: string | null
- plannedStartTime?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- severity?: Database["public"]["Enums"]["maintenanceSeverity"] | null
- source?: Database["public"]["Enums"]["maintenanceSource"]
- status?: Database["public"]["Enums"]["maintenanceDispatchStatus"]
- suspectedFailureModeId?: string | null
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatch_actualFailureModeId_fkey"
- columns: ["actualFailureModeId"]
- isOneToOne: false
- referencedRelation: "maintenanceFailureMode"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_assignee_fkey"
- columns: ["assignee"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_maintenanceScheduleId_fkey"
- columns: ["maintenanceScheduleId"]
- isOneToOne: false
- referencedRelation: "maintenanceSchedule"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_nonConformanceId_fkey"
- columns: ["nonConformanceId"]
- isOneToOne: false
- referencedRelation: "issues"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_nonConformanceId_fkey"
- columns: ["nonConformanceId"]
- isOneToOne: false
- referencedRelation: "nonConformance"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_suspectedFailureModeId_fkey"
- columns: ["suspectedFailureModeId"]
- isOneToOne: false
- referencedRelation: "maintenanceFailureMode"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatch_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatch_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceDispatchComment: {
- Row: {
- comment: string
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- maintenanceDispatchId: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- comment: string
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- maintenanceDispatchId: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- comment?: string
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- maintenanceDispatchId?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchComment_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceDispatchEvent: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- duration: number | null
- employeeId: string
- endTime: string | null
- id: string
- maintenanceDispatchId: string
- notes: string | null
- startTime: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- duration?: number | null
- employeeId: string
- endTime?: string | null
- id?: string
- maintenanceDispatchId: string
- notes?: string | null
- startTime: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- duration?: number | null
- employeeId?: string
- endTime?: string | null
- id?: string
- maintenanceDispatchId?: string
- notes?: string | null
- startTime?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_employeeId_fkey"
- columns: ["employeeId"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchEvent_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceDispatchItem: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- maintenanceDispatchId: string
- quantity: number
- totalCost: number | null
- unitCost: number | null
- unitOfMeasureCode: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- maintenanceDispatchId: string
- quantity: number
- totalCost?: number | null
- unitCost?: number | null
- unitOfMeasureCode: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- maintenanceDispatchId?: string
- quantity?: number
- totalCost?: number | null
- unitCost?: number | null
- unitOfMeasureCode?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchItem_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceDispatchWorkCenter: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- maintenanceDispatchId: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- maintenanceDispatchId: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- maintenanceDispatchId?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_maintenanceDispatchId_fkey"
- columns: ["maintenanceDispatchId"]
- isOneToOne: false
- referencedRelation: "maintenanceDispatch"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceDispatchWorkCenter_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceFailureMode: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- name: string
- updatedAt: string | null
- updatedBy: string | null
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- name: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- name?: string
- updatedAt?: string | null
- updatedBy?: string | null
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceFailureMode_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- ]
- }
- maintenanceSchedule: {
- Row: {
- active: boolean
- companyId: string
- createdAt: string
- createdBy: string
- description: string | null
- estimatedDuration: number | null
- frequency: Database["public"]["Enums"]["maintenanceFrequency"]
- id: string
- lastGeneratedAt: string | null
- name: string
- nextDueAt: string | null
- priority: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- active?: boolean
- companyId: string
- createdAt?: string
- createdBy: string
- description?: string | null
- estimatedDuration?: number | null
- frequency: Database["public"]["Enums"]["maintenanceFrequency"]
- id?: string
- lastGeneratedAt?: string | null
- name: string
- nextDueAt?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- active?: boolean
- companyId?: string
- createdAt?: string
- createdBy?: string
- description?: string | null
- estimatedDuration?: number | null
- frequency?: Database["public"]["Enums"]["maintenanceFrequency"]
- id?: string
- lastGeneratedAt?: string | null
- name?: string
- nextDueAt?: string | null
- priority?: Database["public"]["Enums"]["maintenanceDispatchPriority"]
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "maintenanceSchedule_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "maintenanceSchedule_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
- maintenanceScheduleItem: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- maintenanceScheduleId: string
- quantity: number
- unitOfMeasureCode: string
+ shelfId: string | null
+ supplierId: string | null
updatedAt: string | null
updatedBy: string | null
}
Insert: {
+ autoRelease?: boolean
+ autoStartJob?: boolean
companyId: string
+ completedBarcodeOverride?: string | null
+ conversionFactor?: number
createdAt?: string
createdBy: string
id?: string
itemId: string
- maintenanceScheduleId: string
+ jobId?: string | null
+ locationId: string
+ purchaseUnitOfMeasureCode?: string | null
quantity: number
- unitOfMeasureCode: string
+ replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
+ shelfId?: string | null
+ supplierId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
Update: {
+ autoRelease?: boolean
+ autoStartJob?: boolean
companyId?: string
+ completedBarcodeOverride?: string | null
+ conversionFactor?: number
createdAt?: string
createdBy?: string
id?: string
itemId?: string
- maintenanceScheduleId?: string
+ jobId?: string | null
+ locationId?: string
+ purchaseUnitOfMeasureCode?: string | null
quantity?: number
- unitOfMeasureCode?: string
+ replenishmentSystem?: Database["public"]["Enums"]["itemReplenishmentSystem"]
+ shelfId?: string | null
+ supplierId?: string | null
updatedAt?: string | null
updatedBy?: string | null
}
Relationships: [
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "companies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "company"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "customFieldTables"
referencedColumns: ["companyId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_companyId_fkey"
+ foreignKeyName: "kanban_companyId_fkey"
columns: ["companyId"]
isOneToOne: false
referencedRelation: "integrations"
referencedColumns: ["companyId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employees"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employeesAcrossCompanies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "employeeSummary"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "user"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_createdBy_fkey"
+ foreignKeyName: "kanban_createdBy_fkey"
columns: ["createdBy"]
isOneToOne: false
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "consumables"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "item"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "materials"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "parts"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_itemId_fkey"
+ foreignKeyName: "kanban_itemId_fkey"
columns: ["itemId"]
isOneToOne: false
referencedRelation: "tools"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_maintenanceScheduleId_fkey"
- columns: ["maintenanceScheduleId"]
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "job"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "jobs"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_jobId_fkey"
+ columns: ["jobId"]
+ isOneToOne: false
+ referencedRelation: "openProductionOrders"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_locationId_fkey"
+ columns: ["locationId"]
+ isOneToOne: false
+ referencedRelation: "location"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_purchaseUnitOfMeasureCode_fkey"
+ columns: ["purchaseUnitOfMeasureCode", "companyId"]
+ isOneToOne: false
+ referencedRelation: "unitOfMeasure"
+ referencedColumns: ["code", "companyId"]
+ },
+ {
+ foreignKeyName: "kanban_shelfId_fkey"
+ columns: ["shelfId"]
+ isOneToOne: false
+ referencedRelation: "shelf"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "contractors"
+ referencedColumns: ["supplierId"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "partners"
+ referencedColumns: ["supplierId"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "purchaseOrderSuppliers"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
+ isOneToOne: false
+ referencedRelation: "supplier"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "kanban_supplierId_fkey"
+ columns: ["supplierId"]
isOneToOne: false
- referencedRelation: "maintenanceSchedule"
+ referencedRelation: "suppliers"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employees"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employeesAcrossCompanies"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "employeeSummary"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "user"
referencedColumns: ["id"]
},
{
- foreignKeyName: "maintenanceScheduleItem_updatedBy_fkey"
+ foreignKeyName: "kanban_updatedBy_fkey"
columns: ["updatedBy"]
isOneToOne: false
referencedRelation: "userDefaults"
@@ -13847,6 +12288,155 @@ export type Database = {
},
]
}
+ lessonCompletion: {
+ Row: {
+ courseId: string
+ createdAt: string
+ lessonId: string
+ userId: string
+ }
+ Insert: {
+ courseId: string
+ createdAt?: string
+ lessonId: string
+ userId: string
+ }
+ Update: {
+ courseId?: string
+ createdAt?: string
+ lessonId?: string
+ userId?: string
+ }
+ Relationships: [
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employees"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employeesAcrossCompanies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "employeeSummary"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "user"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "lessonCompletion_userId_fkey"
+ columns: ["userId"]
+ isOneToOne: false
+ referencedRelation: "userDefaults"
+ referencedColumns: ["userId"]
+ },
+ ]
+ }
+ location: {
+ Row: {
+ addressLine1: string
+ addressLine2: string | null
+ city: string
+ companyId: string
+ countryCode: string | null
+ createdAt: string
+ createdBy: string
+ customFields: Json | null
+ id: string
+ latitude: number | null
+ longitude: number | null
+ name: string
+ postalCode: string
+ stateProvince: string
+ tags: string[] | null
+ timezone: string
+ updatedAt: string | null
+ updatedBy: string | null
+ }
+ Insert: {
+ addressLine1: string
+ addressLine2?: string | null
+ city: string
+ companyId: string
+ countryCode?: string | null
+ createdAt?: string
+ createdBy: string
+ customFields?: Json | null
+ id?: string
+ latitude?: number | null
+ longitude?: number | null
+ name: string
+ postalCode: string
+ stateProvince: string
+ tags?: string[] | null
+ timezone: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Update: {
+ addressLine1?: string
+ addressLine2?: string | null
+ city?: string
+ companyId?: string
+ countryCode?: string | null
+ createdAt?: string
+ createdBy?: string
+ customFields?: Json | null
+ id?: string
+ latitude?: number | null
+ longitude?: number | null
+ name?: string
+ postalCode?: string
+ stateProvince?: string
+ tags?: string[] | null
+ timezone?: string
+ updatedAt?: string | null
+ updatedBy?: string | null
+ }
+ Relationships: [
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "companies"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "company"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "customFieldTables"
+ referencedColumns: ["companyId"]
+ },
+ {
+ foreignKeyName: "location_companyId_fkey"
+ columns: ["companyId"]
+ isOneToOne: false
+ referencedRelation: "integrations"
+ referencedColumns: ["companyId"]
+ },
+ ]
+ }
makeMethod: {
Row: {
companyId: string
@@ -33216,9 +31806,11 @@ export type Database = {
externalId: Json | null
fax: string | null
id: string
+ invoicingContactId: string | null
logo: string | null
name: string
phone: string | null
+ purchasingContactId: string | null
supplierStatusId: string | null
supplierTypeId: string | null
tags: string[] | null
@@ -33240,9 +31832,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name: string
phone?: string | null
+ purchasingContactId?: string | null
supplierStatusId?: string | null
supplierTypeId?: string | null
tags?: string[] | null
@@ -33264,9 +31858,11 @@ export type Database = {
externalId?: Json | null
fax?: string | null
id?: string
+ invoicingContactId?: string | null
logo?: string | null
name?: string
phone?: string | null
+ purchasingContactId?: string | null
supplierStatusId?: string | null
supplierTypeId?: string | null
tags?: string[] | null
@@ -33417,6 +32013,20 @@ export type Database = {
referencedRelation: "currencyCode"
referencedColumns: ["code"]
},
+ {
+ foreignKeyName: "supplier_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "supplier_purchasingContactId_fkey"
+ columns: ["purchasingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "supplier_supplierStatusId_fkey"
columns: ["supplierStatusId"]
@@ -39625,193 +38235,6 @@ export type Database = {
},
]
}
- workCenterReplacementPart: {
- Row: {
- companyId: string
- createdAt: string
- createdBy: string
- id: string
- itemId: string
- quantity: number
- unitOfMeasureCode: string
- updatedAt: string | null
- updatedBy: string | null
- workCenterId: string
- }
- Insert: {
- companyId: string
- createdAt?: string
- createdBy: string
- id?: string
- itemId: string
- quantity: number
- unitOfMeasureCode: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId: string
- }
- Update: {
- companyId?: string
- createdAt?: string
- createdBy?: string
- id?: string
- itemId?: string
- quantity?: number
- unitOfMeasureCode?: string
- updatedAt?: string | null
- updatedBy?: string | null
- workCenterId?: string
- }
- Relationships: [
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "companies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "company"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "customFieldTables"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_companyId_fkey"
- columns: ["companyId"]
- isOneToOne: false
- referencedRelation: "integrations"
- referencedColumns: ["companyId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_createdBy_fkey"
- columns: ["createdBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "consumables"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "item"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "materials"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "parts"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_itemId_fkey"
- columns: ["itemId"]
- isOneToOne: false
- referencedRelation: "tools"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employees"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeesAcrossCompanies"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "employeeSummary"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "user"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_updatedBy_fkey"
- columns: ["updatedBy"]
- isOneToOne: false
- referencedRelation: "userDefaults"
- referencedColumns: ["userId"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenter"
- referencedColumns: ["id"]
- },
- {
- foreignKeyName: "workCenterReplacementPart_workCenterId_fkey"
- columns: ["workCenterId"]
- isOneToOne: false
- referencedRelation: "workCenters"
- referencedColumns: ["id"]
- },
- ]
- }
}
Views: {
accountCategories: {
@@ -40403,6 +38826,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -40589,6 +39013,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
contractors: {
@@ -40743,15 +39174,15 @@ export type Database = {
customerStatusId: string | null
customerTypeId: string | null
customFields: Json | null
- externalId: Json | null
fax: string | null
id: string | null
+ invoicingContactId: string | null
logo: string | null
name: string | null
orderCount: number | null
phone: string | null
+ salesContactId: string | null
status: string | null
- tags: string[] | null
taxId: string | null
taxPercent: number | null
type: string | null
@@ -40914,6 +39345,20 @@ export type Database = {
referencedRelation: "customerType"
referencedColumns: ["id"]
},
+ {
+ foreignKeyName: "customer_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "customer_salesContactId_fkey"
+ columns: ["salesContactId"]
+ isOneToOne: false
+ referencedRelation: "customerContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "customer_updatedBy_fkey"
columns: ["updatedBy"]
@@ -43645,6 +42090,7 @@ export type Database = {
finish: string | null
grade: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -43836,6 +42282,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "material_materialFormId_fkey"
columns: ["materialFormId"]
@@ -44476,14 +42929,14 @@ export type Database = {
},
{
foreignKeyName: "partner_id_fkey"
- columns: ["supplierLocationId"]
+ columns: ["id"]
isOneToOne: false
referencedRelation: "supplierLocation"
referencedColumns: ["id"]
},
{
foreignKeyName: "partner_id_fkey"
- columns: ["id"]
+ columns: ["supplierLocationId"]
isOneToOne: false
referencedRelation: "supplierLocation"
referencedColumns: ["id"]
@@ -44536,6 +42989,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -44700,6 +43154,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
procedures: {
@@ -48911,14 +47372,14 @@ export type Database = {
Relationships: [
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["paymentCountryCode"]
+ columns: ["customerCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
},
{
foreignKeyName: "address_countryCode_fkey"
- columns: ["customerCountryCode"]
+ columns: ["paymentCountryCode"]
isOneToOne: false
referencedRelation: "country"
referencedColumns: ["alpha2"]
@@ -50901,14 +49362,17 @@ export type Database = {
createdBy: string | null
currencyCode: string | null
customFields: Json | null
+ embedding: unknown
externalId: Json | null
fax: string | null
id: string | null
+ invoicingContactId: string | null
logo: string | null
name: string | null
orderCount: number | null
partCount: number | null
phone: string | null
+ purchasingContactId: string | null
status: string | null
supplierStatusId: string | null
supplierTypeId: string | null
@@ -51061,6 +49525,20 @@ export type Database = {
referencedRelation: "currencyCode"
referencedColumns: ["code"]
},
+ {
+ foreignKeyName: "supplier_invoicingContactId_fkey"
+ columns: ["invoicingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
+ {
+ foreignKeyName: "supplier_purchasingContactId_fkey"
+ columns: ["purchasingContactId"]
+ isOneToOne: false
+ referencedRelation: "supplierContact"
+ referencedColumns: ["id"]
+ },
{
foreignKeyName: "supplier_supplierStatusId_fkey"
columns: ["supplierStatusId"]
@@ -51123,6 +49601,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"] | null
description: string | null
id: string | null
+ itemPostingGroupId: string | null
itemTrackingType:
| Database["public"]["Enums"]["itemTrackingType"]
| null
@@ -51287,6 +49766,13 @@ export type Database = {
referencedRelation: "userDefaults"
referencedColumns: ["userId"]
},
+ {
+ foreignKeyName: "itemCost_itemPostingGroupId_fkey"
+ columns: ["itemPostingGroupId"]
+ isOneToOne: false
+ referencedRelation: "itemPostingGroup"
+ referencedColumns: ["id"]
+ },
]
}
trainings: {
@@ -51757,6 +50243,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelName: string
modelPath: string
@@ -52154,6 +50641,7 @@ export type Database = {
grade: string
gradeId: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
materialForm: string
materialFormId: string
@@ -52268,6 +50756,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelId: string
modelName: string
@@ -52724,6 +51213,7 @@ export type Database = {
defaultMethodType: Database["public"]["Enums"]["methodType"]
description: string
id: string
+ itemPostingGroupId: string
itemTrackingType: Database["public"]["Enums"]["itemTrackingType"]
modelId: string
modelName: string
@@ -53158,25 +51648,6 @@ export type Database = {
| "Blanket Order"
| "Return Order"
kanbanOutput: "label" | "qrcode" | "url"
- maintenanceDispatchPriority: "Low" | "Medium" | "High" | "Critical"
- maintenanceDispatchStatus:
- | "Open"
- | "Assigned"
- | "In Progress"
- | "Completed"
- | "Cancelled"
- maintenanceFrequency:
- | "Daily"
- | "Weekly"
- | "Monthly"
- | "Quarterly"
- | "Annual"
- maintenanceSeverity:
- | "Preventive"
- | "OPM"
- | "Maintenance Required"
- | "OEM Required"
- maintenanceSource: "Scheduled" | "Reactive" | "Non-Conformance"
makeMethodStatus: "Draft" | "Active" | "Archived"
methodOperationOrder: "After Previous" | "With Previous"
methodType: "Buy" | "Make" | "Pick"
@@ -54298,28 +52769,6 @@ export const Constants = {
"Return Order",
],
kanbanOutput: ["label", "qrcode", "url"],
- maintenanceDispatchPriority: ["Low", "Medium", "High", "Critical"],
- maintenanceDispatchStatus: [
- "Open",
- "Assigned",
- "In Progress",
- "Completed",
- "Cancelled",
- ],
- maintenanceFrequency: [
- "Daily",
- "Weekly",
- "Monthly",
- "Quarterly",
- "Annual",
- ],
- maintenanceSeverity: [
- "Preventive",
- "OPM",
- "Maintenance Required",
- "OEM Required",
- ],
- maintenanceSource: ["Scheduled", "Reactive", "Non-Conformance"],
makeMethodStatus: ["Draft", "Active", "Archived"],
methodOperationOrder: ["After Previous", "With Previous"],
methodType: ["Buy", "Make", "Pick"],
diff --git a/packages/database/supabase/migrations/20250825175837_quickbooks-integration.sql b/packages/database/supabase/migrations/20250825175837_quickbooks-integration.sql
new file mode 100644
index 0000000000..07355a0105
--- /dev/null
+++ b/packages/database/supabase/migrations/20250825175837_quickbooks-integration.sql
@@ -0,0 +1,5 @@
+INSERT INTO "integration" ("id", "jsonschema")
+VALUES
+ ('quickbooks', '{"type": "object", "properties": {}}'::json),
+ ('xero', '{"type": "object", "properties": {}}'::json),
+ ('sage', '{"type": "object", "properties": {}}'::json);
diff --git a/packages/database/supabase/migrations/20250913023107_item-posting-group-in-parts.sql b/packages/database/supabase/migrations/20250913023107_item-posting-group-in-parts.sql
new file mode 100644
index 0000000000..b870240f3c
--- /dev/null
+++ b/packages/database/supabase/migrations/20250913023107_item-posting-group-in-parts.sql
@@ -0,0 +1,833 @@
+DROP FUNCTION IF EXISTS get_part_details;
+CREATE OR REPLACE FUNCTION get_part_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "unitOfMeasure" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "revisions" JSON,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ uom.name as "unitOfMeasure",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ir."revisions",
+ p."customFields",
+ p."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "part" p
+ LEFT JOIN "item" i ON i."readableId" = p."id" AND i."companyId" = p."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql;
+
+
+
+DROP VIEW IF EXISTS "parts";
+CREATE OR REPLACE VIEW "parts" WITH (SECURITY_INVOKER=true) AS
+WITH latest_items AS (
+ SELECT DISTINCT ON (i."readableId", i."companyId")
+ i.*,
+ mu.id as "modelUploadId",
+
+ mu."modelPath",
+ mu."thumbnailPath" as "modelThumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize"
+ FROM "item" i
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ ORDER BY i."readableId", i."companyId", i."createdAt" DESC NULLS LAST
+),
+item_revisions AS (
+ SELECT
+ i."readableId",
+ i."companyId",
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'name', i."name",
+ 'description', i."description",
+ 'active', i."active",
+ 'createdAt', i."createdAt"
+ ) ORDER BY i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ GROUP BY i."readableId", i."companyId"
+)
+SELECT
+ li."active",
+ li."assignee",
+ li."defaultMethodType",
+ li."description",
+ li."itemTrackingType",
+ li."name",
+ li."replenishmentSystem",
+ li."unitOfMeasureCode",
+ li."notes",
+ li."revision",
+ li."readableId",
+ li."readableIdWithRevision",
+ li."id",
+ li."companyId",
+ CASE
+ WHEN li."thumbnailPath" IS NULL AND li."modelThumbnailPath" IS NOT NULL THEN li."modelThumbnailPath"
+ ELSE li."thumbnailPath"
+ END as "thumbnailPath",
+
+ li."modelPath",
+ li."modelName",
+ li."modelSize",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ p."customFields",
+ p."tags",
+ ic."itemPostingGroupId",
+ li."createdBy",
+ li."createdAt",
+ li."updatedBy",
+ li."updatedAt"
+FROM "part" p
+INNER JOIN latest_items li ON li."readableId" = p."id" AND li."companyId" = p."companyId"
+LEFT JOIN item_revisions ir ON ir."readableId" = p."id" AND ir."companyId" = p."companyId"
+LEFT JOIN (
+ SELECT
+ "itemId",
+ "companyId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY "itemId", "companyId"
+) ps ON ps."itemId" = li."id" AND ps."companyId" = li."companyId"
+LEFT JOIN "unitOfMeasure" uom ON uom.code = li."unitOfMeasureCode" AND uom."companyId" = li."companyId"
+LEFT JOIN "itemCost" ic ON ic."itemId" = li.id;
+
+DROP VIEW IF EXISTS "materials";
+CREATE OR REPLACE VIEW "materials" WITH (SECURITY_INVOKER=true) AS
+WITH latest_items AS (
+ SELECT DISTINCT ON (i."readableId", i."companyId")
+ i.*,
+
+ mu."modelPath",
+ mu."thumbnailPath" as "modelThumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize"
+ FROM "item" i
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ ORDER BY i."readableId", i."companyId", i."createdAt" DESC NULLS LAST
+),
+item_revisions AS (
+ SELECT
+ i."readableId",
+ i."companyId",
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ GROUP BY i."readableId", i."companyId"
+)
+SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ i."revision",
+ i."readableId",
+ i."readableIdWithRevision",
+ i."id",
+ i."companyId",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND i."modelThumbnailPath" IS NOT NULL THEN i."modelThumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ i."modelUploadId",
+
+ i."modelPath",
+ i."modelName",
+ i."modelSize",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ mf."name" AS "materialForm",
+ ms."name" AS "materialSubstance",
+ md."name" AS "dimensions",
+ mfin."name" AS "finish",
+ mg."name" AS "grade",
+ mt."name" AS "materialType",
+ m."materialSubstanceId",
+ m."materialFormId",
+ m."customFields",
+ m."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+FROM "material" m
+ INNER JOIN latest_items i ON i."readableId" = m."id" AND i."companyId" = m."companyId"
+ LEFT JOIN item_revisions ir ON ir."readableId" = m."id" AND ir."companyId" = i."companyId"
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ ps."companyId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId", ps."companyId"
+ ) ps ON ps."itemId" = i."id" AND ps."companyId" = i."companyId"
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "materialForm" mf ON mf."id" = m."materialFormId"
+ LEFT JOIN "materialSubstance" ms ON ms."id" = m."materialSubstanceId"
+ LEFT JOIN "materialDimension" md ON m."dimensionId" = md."id"
+ LEFT JOIN "materialFinish" mfin ON m."finishId" = mfin."id"
+ LEFT JOIN "materialGrade" mg ON m."gradeId" = mg."id"
+ LEFT JOIN "materialType" mt ON m."materialTypeId" = mt."id"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id;
+
+
+-- Update get_material_details function to use new ID-based relationships
+DROP FUNCTION IF EXISTS get_material_details;
+CREATE OR REPLACE FUNCTION get_material_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelUploadId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "supplierIds" TEXT,
+ "unitOfMeasure" TEXT,
+ "revisions" JSON,
+ "materialForm" TEXT,
+ "materialSubstance" TEXT,
+ "finish" TEXT,
+ "grade" TEXT,
+ "dimensions" TEXT,
+ "materialType" TEXT,
+ "materialSubstanceId" TEXT,
+ "materialFormId" TEXT,
+ "materialTypeId" TEXT,
+ "dimensionId" TEXT,
+ "gradeId" TEXT,
+ "finishId" TEXT,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelUploadId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ mf."name" AS "materialForm",
+ ms."name" AS "materialSubstance",
+ mfin."name" AS "finish",
+ mg."name" AS "grade",
+ md."name" AS "dimensions",
+ mt."name" AS "materialType",
+ m."materialSubstanceId",
+ m."materialFormId",
+ m."materialTypeId",
+ m."dimensionId",
+ m."gradeId",
+ m."finishId",
+ m."customFields",
+ m."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "material" m
+ LEFT JOIN "item" i ON i."readableId" = m."id" AND i."companyId" = m."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "materialForm" mf ON mf."id" = m."materialFormId"
+ LEFT JOIN "materialSubstance" ms ON ms."id" = m."materialSubstanceId"
+ LEFT JOIN "materialDimension" md ON m."dimensionId" = md."id"
+ LEFT JOIN "materialFinish" mfin ON m."finishId" = mfin."id"
+ LEFT JOIN "materialGrade" mg ON m."gradeId" = mg."id"
+ LEFT JOIN "materialType" mt ON m."materialTypeId" = mt."id"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql STABLE;
+
+
+DROP VIEW IF EXISTS "consumables";
+CREATE OR REPLACE VIEW "consumables" WITH (SECURITY_INVOKER=true) AS
+WITH latest_items AS (
+ SELECT DISTINCT ON (i."readableId", i."companyId")
+ i.*,
+ mu."modelPath",
+ mu."thumbnailPath" as "modelThumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize"
+ FROM "item" i
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ ORDER BY i."readableId", i."companyId", i."createdAt" DESC NULLS LAST
+),
+item_revisions AS (
+ SELECT
+ i."readableId",
+ i."companyId",
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ GROUP BY i."readableId", i."companyId"
+)
+SELECT
+ li."active",
+ li."assignee",
+ li."defaultMethodType",
+ li."description",
+ li."itemTrackingType",
+ li."name",
+ li."replenishmentSystem",
+ li."unitOfMeasureCode",
+ li."notes",
+ li."revision",
+ li."readableId",
+ li."readableIdWithRevision",
+ li."id",
+ li."companyId",
+ CASE
+ WHEN li."thumbnailPath" IS NULL AND li."modelThumbnailPath" IS NOT NULL THEN li."modelThumbnailPath"
+ ELSE li."thumbnailPath"
+ END as "thumbnailPath",
+ li."modelUploadId",
+ li."modelPath",
+ li."modelName",
+ li."modelSize",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ c."customFields",
+ c."tags",
+ ic."itemPostingGroupId",
+ li."createdBy",
+ li."createdAt",
+ li."updatedBy",
+ li."updatedAt"
+FROM "consumable" c
+ INNER JOIN latest_items li ON li."readableId" = c."id" AND li."companyId" = c."companyId"
+LEFT JOIN item_revisions ir ON ir."readableId" = c."id" AND ir."companyId" = li."companyId"
+LEFT JOIN (
+ SELECT
+ "itemId",
+ "companyId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY "itemId", "companyId"
+) ps ON ps."itemId" = li."id" AND ps."companyId" = li."companyId"
+LEFT JOIN "unitOfMeasure" uom ON uom.code = li."unitOfMeasureCode" AND uom."companyId" = li."companyId"
+LEFT JOIN "itemCost" ic ON ic."itemId" = li.id;
+
+
+DROP FUNCTION IF EXISTS get_consumable_details;
+CREATE OR REPLACE FUNCTION get_consumable_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelUploadId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "supplierIds" TEXT,
+ "unitOfMeasure" TEXT,
+ "revisions" JSON,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelUploadId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ c."customFields",
+ c."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "consumable" c
+ LEFT JOIN "item" i ON i."readableId" = c."id" AND i."companyId" = c."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql STABLE;
+
+
+DROP FUNCTION IF EXISTS get_tool_details;
+CREATE OR REPLACE FUNCTION get_tool_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "unitOfMeasure" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "revisions" JSON,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ uom.name as "unitOfMeasure",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ir."revisions",
+ t."customFields",
+ t."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "tool" t
+ LEFT JOIN "item" i ON i."readableId" = t."id" AND i."companyId" = t."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql;
+
+DROP VIEW IF EXISTS "tools";
+CREATE OR REPLACE VIEW "tools" WITH (SECURITY_INVOKER=true) AS
+WITH latest_items AS (
+ SELECT DISTINCT ON (i."readableId", i."companyId")
+ i.*,
+ mu.id as "modelUploadId",
+
+ mu."modelPath",
+ mu."thumbnailPath" as "modelThumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize"
+ FROM "item" i
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ ORDER BY i."readableId", i."companyId", i."createdAt" DESC NULLS LAST
+),
+item_revisions AS (
+ SELECT
+ i."readableId",
+ i."companyId",
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ GROUP BY i."readableId", i."companyId"
+)
+SELECT
+ li."active",
+ li."assignee",
+ li."defaultMethodType",
+ li."description",
+ li."itemTrackingType",
+ li."name",
+ li."replenishmentSystem",
+ li."unitOfMeasureCode",
+ li."notes",
+ li."revision",
+ li."readableId",
+ li."readableIdWithRevision",
+ li."id",
+ li."companyId",
+ CASE
+ WHEN li."thumbnailPath" IS NULL AND li."modelThumbnailPath" IS NOT NULL THEN li."modelThumbnailPath"
+ ELSE li."thumbnailPath"
+ END as "thumbnailPath",
+
+ li."modelPath",
+ li."modelName",
+ li."modelSize",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ t."customFields",
+ t."tags",
+ ic."itemPostingGroupId",
+ li."createdBy",
+ li."createdAt",
+ li."updatedBy",
+ li."updatedAt"
+FROM "tool" t
+ INNER JOIN latest_items li ON li."readableId" = t."id" AND li."companyId" = t."companyId"
+LEFT JOIN item_revisions ir ON ir."readableId" = t."id" AND ir."companyId" = li."companyId"
+LEFT JOIN (
+ SELECT
+ "itemId",
+ "companyId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY "itemId", "companyId"
+) ps ON ps."itemId" = li."id" AND ps."companyId" = li."companyId"
+LEFT JOIN "unitOfMeasure" uom ON uom.code = li."unitOfMeasureCode" AND uom."companyId" = li."companyId"
+LEFT JOIN "itemCost" ic ON ic."itemId" = li.id;
+
+DROP VIEW IF EXISTS "jobs";
+CREATE OR REPLACE VIEW "jobs" WITH(SECURITY_INVOKER=true) AS
+WITH job_model AS (
+ SELECT
+ j.id AS job_id,
+ j."companyId",
+ COALESCE(j."modelUploadId", i."modelUploadId") AS model_upload_id
+ FROM "job" j
+ INNER JOIN "item" i ON j."itemId" = i."id" AND j."companyId" = i."companyId"
+)
+SELECT
+ j.*,
+ CASE
+ WHEN j.status = 'Completed' THEN 'Completed'
+ WHEN j."status" = 'Cancelled' THEN 'Cancelled'
+ WHEN j."dueDate" IS NOT NULL AND j."dueDate" < CURRENT_DATE THEN 'Overdue'
+ WHEN j."dueDate" IS NOT NULL AND j."dueDate" = CURRENT_DATE THEN 'Due Today'
+ ELSE j."status"
+ END as "statusWithDueDate",
+ i.name,
+ i."readableIdWithRevision" as "itemReadableIdWithRevision",
+ i.type as "itemType",
+ i.name as "description",
+ i."itemTrackingType",
+ i.active,
+ i."replenishmentSystem",
+ mu.id as "modelId",
+ mu."autodeskUrn",
+ mu."modelPath",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ so."salesOrderId" as "salesOrderReadableId",
+ qo."quoteId" as "quoteReadableId",
+ ic."itemPostingGroupId"
+FROM "job" j
+INNER JOIN "item" i ON j."itemId" = i."id" AND j."companyId" = i."companyId"
+LEFT JOIN job_model jm ON j.id = jm.job_id AND j."companyId" = jm."companyId"
+LEFT JOIN "modelUpload" mu ON mu.id = jm.model_upload_id
+LEFT JOIN "salesOrder" so on j."salesOrderId" = so.id AND j."companyId" = so."companyId"
+LEFT JOIN "quote" qo ON j."quoteId" = qo.id AND j."companyId" = qo."companyId"
+LEFT JOIN "itemCost" ic ON ic."itemId" = i.id;
\ No newline at end of file
diff --git a/packages/database/supabase/migrations/20250913172116_customer-location-unique.sql b/packages/database/supabase/migrations/20250913172116_customer-location-unique.sql
new file mode 100644
index 0000000000..e04bdba839
--- /dev/null
+++ b/packages/database/supabase/migrations/20250913172116_customer-location-unique.sql
@@ -0,0 +1,4 @@
+ALTER TABLE "customerLocation" ADD CONSTRAINT "customerLocation_addressId_customerId_name_key" UNIQUE ("addressId", "customerId");
+
+ALTER TABLE "supplierLocation" ADD CONSTRAINT "supplierLocation_addressId_supplierId_name_key" UNIQUE ("addressId", "supplierId");
+
diff --git a/packages/database/supabase/migrations/20251212020734_add-posting-group-to-details-view.sql b/packages/database/supabase/migrations/20251212020734_add-posting-group-to-details-view.sql
new file mode 100644
index 0000000000..e09210a0ce
--- /dev/null
+++ b/packages/database/supabase/migrations/20251212020734_add-posting-group-to-details-view.sql
@@ -0,0 +1,302 @@
+DROP FUNCTION IF EXISTS get_part_details;
+CREATE OR REPLACE FUNCTION get_part_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "unitOfMeasure" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "revisions" JSON,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt" DESC
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ uom.name as "unitOfMeasure",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ir."revisions",
+ p."customFields",
+ p."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "part" p
+ LEFT JOIN "item" i ON i."readableId" = p."id" AND i."companyId" = p."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql;
+
+DROP FUNCTION IF EXISTS get_tool_details;
+CREATE OR REPLACE FUNCTION get_tool_details(item_id TEXT)
+RETURNS TABLE (
+ "active" BOOLEAN,
+ "assignee" TEXT,
+ "defaultMethodType" "methodType",
+ "description" TEXT,
+ "itemTrackingType" "itemTrackingType",
+ "name" TEXT,
+ "replenishmentSystem" "itemReplenishmentSystem",
+ "unitOfMeasureCode" TEXT,
+ "notes" JSONB,
+ "thumbnailPath" TEXT,
+ "modelId" TEXT,
+ "modelPath" TEXT,
+ "modelName" TEXT,
+ "modelSize" BIGINT,
+ "id" TEXT,
+ "companyId" TEXT,
+ "unitOfMeasure" TEXT,
+ "readableId" TEXT,
+ "revision" TEXT,
+ "readableIdWithRevision" TEXT,
+ "revisions" JSON,
+ "customFields" JSONB,
+ "tags" TEXT[],
+ "itemPostingGroupId" TEXT,
+ "createdBy" TEXT,
+ "createdAt" TIMESTAMP WITH TIME ZONE,
+ "updatedBy" TEXT,
+ "updatedAt" TIMESTAMP WITH TIME ZONE
+) AS $$
+DECLARE
+ v_readable_id TEXT;
+ v_company_id TEXT;
+BEGIN
+ -- First get the readableId and companyId for the item
+ SELECT i."readableId", i."companyId" INTO v_readable_id, v_company_id
+ FROM "item" i
+ WHERE i.id = item_id;
+
+ RETURN QUERY
+ WITH item_revisions AS (
+ SELECT
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY
+ i."createdAt" DESC
+ ) as "revisions"
+ FROM "item" i
+ WHERE i."readableId" = v_readable_id
+ AND i."companyId" = v_company_id
+ )
+ SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND mu."thumbnailPath" IS NOT NULL THEN mu."thumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ mu.id as "modelId",
+ mu."modelPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize",
+ i."id",
+ i."companyId",
+ uom.name as "unitOfMeasure",
+ i."readableId",
+ i."revision",
+ i."readableIdWithRevision",
+ ir."revisions",
+ t."customFields",
+ t."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+ FROM "tool" t
+ LEFT JOIN "item" i ON i."readableId" = t."id" AND i."companyId" = t."companyId"
+ LEFT JOIN item_revisions ir ON true
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId"
+ ) ps ON ps."itemId" = i.id
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id
+ WHERE i."id" = item_id;
+END;
+$$ LANGUAGE plpgsql;
+
+DROP VIEW IF EXISTS "materials";
+CREATE OR REPLACE VIEW "materials" WITH (SECURITY_INVOKER=true) AS
+WITH latest_items AS (
+ SELECT DISTINCT ON (i."readableId", i."companyId")
+ i.*,
+
+ mu."modelPath",
+ mu."thumbnailPath" as "modelThumbnailPath",
+ mu."name" as "modelName",
+ mu."size" as "modelSize"
+ FROM "item" i
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ ORDER BY i."readableId", i."companyId", i."createdAt" DESC NULLS LAST
+),
+item_revisions AS (
+ SELECT
+ i."readableId",
+ i."companyId",
+ json_agg(
+ json_build_object(
+ 'id', i.id,
+ 'revision', i."revision",
+ 'methodType', i."defaultMethodType",
+ 'type', i."type"
+ ) ORDER BY i."createdAt"
+ ) as "revisions"
+ FROM "item" i
+ GROUP BY i."readableId", i."companyId"
+)
+SELECT
+ i."active",
+ i."assignee",
+ i."defaultMethodType",
+ i."description",
+ i."itemTrackingType",
+ i."name",
+ i."replenishmentSystem",
+ i."unitOfMeasureCode",
+ i."notes",
+ i."revision",
+ i."readableId",
+ i."readableIdWithRevision",
+ i."id",
+ i."companyId",
+ CASE
+ WHEN i."thumbnailPath" IS NULL AND i."modelThumbnailPath" IS NOT NULL THEN i."modelThumbnailPath"
+ ELSE i."thumbnailPath"
+ END as "thumbnailPath",
+ i."modelUploadId",
+ i."modelPath",
+ i."modelName",
+ i."modelSize",
+ ps."supplierIds",
+ uom.name as "unitOfMeasure",
+ ir."revisions",
+ mf."name" AS "materialForm",
+ ms."name" AS "materialSubstance",
+ md."name" AS "dimensions",
+ mfin."name" AS "finish",
+ mg."name" AS "grade",
+ mt."name" AS "materialType",
+ m."materialSubstanceId",
+ m."materialFormId",
+ m."customFields",
+ m."tags",
+ ic."itemPostingGroupId",
+ i."createdBy",
+ i."createdAt",
+ i."updatedBy",
+ i."updatedAt"
+FROM "material" m
+ INNER JOIN latest_items i ON i."readableId" = m."id" AND i."companyId" = m."companyId"
+ LEFT JOIN item_revisions ir ON ir."readableId" = m."id" AND ir."companyId" = i."companyId"
+ LEFT JOIN (
+ SELECT
+ ps."itemId",
+ ps."companyId",
+ string_agg(ps."supplierPartId", ',') AS "supplierIds"
+ FROM "supplierPart" ps
+ GROUP BY ps."itemId", ps."companyId"
+ ) ps ON ps."itemId" = i."id" AND ps."companyId" = i."companyId"
+ LEFT JOIN "modelUpload" mu ON mu.id = i."modelUploadId"
+ LEFT JOIN "unitOfMeasure" uom ON uom.code = i."unitOfMeasureCode" AND uom."companyId" = i."companyId"
+ LEFT JOIN "materialForm" mf ON mf."id" = m."materialFormId"
+ LEFT JOIN "materialSubstance" ms ON ms."id" = m."materialSubstanceId"
+ LEFT JOIN "materialDimension" md ON m."dimensionId" = md."id"
+ LEFT JOIN "materialFinish" mfin ON m."finishId" = mfin."id"
+ LEFT JOIN "materialGrade" mg ON m."gradeId" = mg."id"
+ LEFT JOIN "materialType" mt ON m."materialTypeId" = mt."id"
+ LEFT JOIN "itemCost" ic ON ic."itemId" = i.id;
\ No newline at end of file
diff --git a/packages/database/supabase/migrations/20251224160904_contacts_simplifications.sql b/packages/database/supabase/migrations/20251224160904_contacts_simplifications.sql
new file mode 100644
index 0000000000..848b60f23e
--- /dev/null
+++ b/packages/database/supabase/migrations/20251224160904_contacts_simplifications.sql
@@ -0,0 +1,131 @@
+-- Customer table simplifications and contact email adjustments start
+-- Make email nullable on contact table
+ALTER TABLE "contact" DROP CONSTRAINT IF EXISTS "contact_email_companyId_unique";
+
+ALTER TABLE "contact" ALTER COLUMN "email" DROP NOT NULL;
+
+-- Create a partial unique index for email (only when email is not null)
+CREATE UNIQUE INDEX "contact_email_companyId_unique_idx"
+ ON "contact" ("email", "companyId", "isCustomer")
+ WHERE "email" IS NOT NULL;
+
+
+ALTER TABLE customer ADD COLUMN "salesContactId" TEXT references "customerContact" (id) ON DELETE RESTRICT;
+ALTER TABLE customer ADD COLUMN "invoicingContactId" TEXT references "customerContact" (id) ON DELETE RESTRICT;
+
+DROP VIEW IF EXISTS "customers";
+
+-- Recreate customers view with phone/fax from primary contact
+CREATE OR REPLACE VIEW "customers" WITH(SECURITY_INVOKER=true) AS
+ SELECT
+ c.id,
+ c.name,
+ c."customerTypeId",
+ c."customerStatusId",
+ c."taxId",
+ c."accountManagerId",
+ c.logo,
+ c.assignee,
+ c."taxPercent",
+ c.website,
+ c."companyId",
+ c."createdAt",
+ c."createdBy",
+ c."updatedAt",
+ c."updatedBy",
+ c."customFields",
+ c."currencyCode",
+ c."salesContactId",
+ c."invoicingContactId",
+ ct.name AS "type",
+ cs.name AS "status",
+ so.count AS "orderCount",
+ pc."workPhone" AS "phone",
+ pc."fax" AS "fax"
+ FROM "customer" c
+ LEFT JOIN "customerType" ct ON ct.id = c."customerTypeId"
+ LEFT JOIN "customerStatus" cs ON cs.id = c."customerStatusId"
+ LEFT JOIN (
+ SELECT
+ "customerId",
+ COUNT(*) AS "count"
+ FROM "salesOrder"
+ GROUP BY "customerId"
+ ) so ON so."customerId" = c.id
+ LEFT JOIN (
+ SELECT DISTINCT ON (cc."customerId")
+ cc."customerId",
+ co."workPhone",
+ co."fax"
+ FROM "customerContact" cc
+ INNER JOIN "contact" co ON co.id = cc."contactId"
+ ORDER BY cc."customerId"
+ ) pc ON pc."customerId" = c.id;
+
+-- Create contacts from customer phone/fax data
+-- Only create contacts for customers that have phone or fax data
+WITH src AS (
+ SELECT
+ xid() AS contact_id,
+ cu."id" AS "customerId",
+ cu."name" AS "firstName",
+ '' AS "lastName",
+ NULL AS "email",
+ cu."phone" AS "mobilePhone",
+ cu."fax",
+ true AS "isCustomer",
+ cu."companyId"
+ FROM "customer" cu
+ WHERE cu."phone" IS NOT NULL
+ OR cu."fax" IS NOT NULL
+),
+
+c AS (
+ INSERT INTO "contact" (
+ "id",
+ "firstName",
+ "lastName",
+ "email",
+ "mobilePhone",
+ "fax",
+ "isCustomer",
+ "companyId"
+ )
+ SELECT
+ contact_id,
+ "firstName",
+ "lastName",
+ "email",
+ "mobilePhone",
+ "fax",
+ "isCustomer",
+ "companyId"
+ FROM src
+ ON CONFLICT DO NOTHING
+ RETURNING id
+),
+
+cc AS (
+ INSERT INTO "customerContact" (
+ "id",
+ "customerId",
+ "contactId"
+ )
+ SELECT
+ xid(),
+ src."customerId",
+ c.id
+ FROM c
+ JOIN src
+ ON src.contact_id = c.id
+ ON CONFLICT DO NOTHING
+ RETURNING id, "customerId"
+)
+
+-- Update customer table to set salesContactId and invoicingContactId
+UPDATE customer cu
+SET "salesContactId" = cc.id, "invoicingContactId" = cc.id
+FROM cc
+WHERE cu."id" = cc."customerId";
+
+-- Customer table simplifications and contact email adjustments end
diff --git a/packages/database/supabase/migrations/20251225113440_supplier_simplifications.sql b/packages/database/supabase/migrations/20251225113440_supplier_simplifications.sql
new file mode 100644
index 0000000000..659e09ca4a
--- /dev/null
+++ b/packages/database/supabase/migrations/20251225113440_supplier_simplifications.sql
@@ -0,0 +1,133 @@
+-- Supplier table simplifications and contact email adjustments start
+-- Add purchasingContactId and invoicingContactId to supplier table
+ALTER TABLE supplier ADD COLUMN "purchasingContactId" TEXT references "supplierContact" (id) ON DELETE RESTRICT;
+ALTER TABLE supplier ADD COLUMN "invoicingContactId" TEXT references "supplierContact" (id) ON DELETE RESTRICT;
+
+-- Recreate suppliers view to include phone and fax from supplierContact
+DROP VIEW IF EXISTS "suppliers";
+
+-- Recreate suppliers view with phone/fax from primary contact
+CREATE OR REPLACE VIEW "suppliers" WITH(SECURITY_INVOKER=true) AS
+ SELECT
+ s.id,
+ s.name,
+ s."supplierTypeId",
+ s."supplierStatusId",
+ s."taxId",
+ s."accountManagerId",
+ s.logo,
+ s.assignee,
+ s."companyId",
+ s."createdAt",
+ s."createdBy",
+ s."updatedAt",
+ s."updatedBy",
+ s."customFields",
+ s."currencyCode",
+ s.website,
+ s."externalId",
+ s.tags,
+ s."taxPercent",
+ s."purchasingContactId",
+ s."invoicingContactId",
+ s.embedding,
+ st.name AS "type",
+ ss.name AS "status",
+ po.count AS "orderCount",
+ p.count AS "partCount",
+ pc."workPhone" AS "phone",
+ pc.fax AS "fax"
+ FROM "supplier" s
+ LEFT JOIN "supplierType" st ON st.id = s."supplierTypeId"
+ LEFT JOIN "supplierStatus" ss ON ss.id = s."supplierStatusId"
+ LEFT JOIN (
+ SELECT
+ "supplierId",
+ COUNT(*) AS "count"
+ FROM "purchaseOrder"
+ GROUP BY "supplierId"
+ ) po ON po."supplierId" = s.id
+ LEFT JOIN (
+ SELECT
+ "supplierId",
+ COUNT(*) AS "count"
+ FROM "supplierPart"
+ GROUP BY "supplierId"
+ ) p ON p."supplierId" = s.id
+ LEFT JOIN (
+ SELECT DISTINCT ON (sc."supplierId")
+ sc."supplierId" AS id,
+ co."workPhone",
+ co."fax"
+ FROM "supplierContact" sc
+ JOIN "contact" co
+ ON co.id = sc."contactId"
+ ORDER BY sc."supplierId", sc.id
+ ) pc
+ ON pc.id = s.id;
+
+-- Create contacts from supplier phone/fax data
+-- Only create contacts for suppliers that have phone or fax data
+WITH src AS (
+ SELECT
+ xid() AS contact_id,
+ su."id" AS "supplierId",
+ su."name" AS "firstName",
+ '' AS "lastName",
+ NULL AS "email",
+ su."phone" AS "workPhone",
+ su."fax",
+ false AS "isCustomer",
+ su."companyId"
+ FROM "supplier" su
+ WHERE su."phone" IS NOT NULL
+ OR su."fax" IS NOT NULL
+),
+
+c AS (
+ INSERT INTO "contact" (
+ "id",
+ "firstName",
+ "lastName",
+ "email",
+ "workPhone",
+ "fax",
+ "isCustomer",
+ "companyId"
+ )
+ SELECT
+ contact_id,
+ "firstName",
+ "lastName",
+ "email",
+ "workPhone",
+ "fax",
+ "isCustomer",
+ "companyId"
+ FROM src
+ ON CONFLICT DO NOTHING
+ RETURNING id
+),
+sc AS (
+ INSERT INTO "supplierContact" (
+ "id",
+ "supplierId",
+ "contactId"
+ )
+ SELECT
+ xid(),
+ src."supplierId",
+ c.id
+ FROM c
+ JOIN src
+ ON src.contact_id = c.id
+ ON CONFLICT DO NOTHING
+ RETURNING id, "supplierId"
+)
+
+UPDATE supplier su
+SET "purchasingContactId" = sc.id, "invoicingContactId" = sc.id
+FROM sc
+WHERE su."id" = sc."supplierId";
+
+-- Supplier table simplifications and contact email adjustments end
\ No newline at end of file
diff --git a/packages/ee/package.json b/packages/ee/package.json
index 0478126720..788c42767c 100644
--- a/packages/ee/package.json
+++ b/packages/ee/package.json
@@ -4,13 +4,16 @@
"type": "module",
"exports": {
".": "./src/index.ts",
+ "./accounting": "./src/accounting/index.ts",
"./exchange-rates.server": "./src/exchange-rates/exchange-rates.server.ts",
"./notifications": "./src/notifications/index.ts",
"./onshape": "./src/onshape/lib/index.ts",
"./linear": "./src/linear/lib/index.ts",
"./paperless-parts": "./src/paperless-parts/lib/index.ts",
+ "./quickbooks": "./src/accounting/providers/quickbooks.ts",
"./slack.server": "./src/slack.server.ts",
- "./slack/messages": "./src/slack/lib/messages.ts"
+ "./slack/messages": "./src/slack/lib/messages.ts",
+ "./xero": "./src/accounting/providers/xero.ts"
},
"jest": {
"preset": "@carbon/jest/node"
diff --git a/packages/ee/src/accounting/core/index.ts b/packages/ee/src/accounting/core/index.ts
new file mode 100644
index 0000000000..ded7277f9c
--- /dev/null
+++ b/packages/ee/src/accounting/core/index.ts
@@ -0,0 +1,5 @@
+export * from "./models";
+export * from "./provider";
+export * from "./service";
+export * from "./sync";
+export * from "./utils";
diff --git a/packages/ee/src/accounting/core/models.ts b/packages/ee/src/accounting/core/models.ts
new file mode 100644
index 0000000000..af03d614c4
--- /dev/null
+++ b/packages/ee/src/accounting/core/models.ts
@@ -0,0 +1,32 @@
+import z from "zod";
+
+/**
+ * Provider core interfaces and base classes.
+ */
+export type ProviderConfig<T = unknown> = {
+ id: ProviderID;
+ companyId: string;
+ onTokenRefresh?: (creds: ProviderCredentials) => void;
+} & T;
+
+export enum ProviderID {
+ XERO = "xero",
+ QUICKBOOKS = "quickbooks"
+ // SAGE = "sage",
+}
+
+/**
+ * Schemas for shared provider entities and credentials.
+ */
+export const ProviderCredentialsSchema = z.discriminatedUnion("type", [
+ z.object({
+ type: z.literal("oauth2"),
+ accessToken: z.string(),
+ refreshToken: z.string().optional(),
+ expiresAt: z.string().datetime().optional(),
+ scope: z.array(z.string()).optional(),
+ tenantId: z.string().optional()
+ })
+]);
+
+export type ProviderCredentials = z.output<typeof ProviderCredentialsSchema>;
diff --git a/packages/ee/src/accounting/core/provider.ts b/packages/ee/src/accounting/core/provider.ts
new file mode 100644
index 0000000000..2b02287e06
--- /dev/null
+++ b/packages/ee/src/accounting/core/provider.ts
@@ -0,0 +1,45 @@
+import { ProviderCredentials, ProviderID } from "./models";
+
+export interface AuthProvider {
+ getCredentials(): ProviderCredentials;
+ getAuthUrl(scopes: string[], redirectUri: string): string;
+ exchangeCode(code: string, redirectUri: string): Promise<ProviderCredentials>;
+ refresh(): Promise<ProviderCredentials>;
+}
+
+export interface RequestContext {
+ auth?: ProviderCredentials;
+ signal?: AbortSignal;
+}
+
+export interface SyncOptions {
+ modifiedSince?: Date;
+ cursor?: string;
+ limit?: number;
+ includeDeleted?: boolean;
+}
+
+export interface ReadableResource<T> {
+ list(options?: SyncOptions): Promise<T[]>;
+ get(id: string): Promise<T>;
+}
+
+export interface WritableResource<T, Create, Update> {
+ create(data: Create): Promise<T>;
+ update(id: string, data: Update): Promise<T>;
+ delete(id: string): Promise<void>;
+}
+
+export type Resource<T, Create, Update> = ReadableResource<T> &
+ WritableResource<T, Create, Update>;
+
+export abstract class BaseProvider {
+ static id: ProviderID;
+
+ protected creds?: ProviderCredentials;
+ public auth!: AuthProvider;
+
+ abstract validate(auth: ProviderCredentials): Promise<boolean>;
+
+ abstract authenticate(...args: any[]): Promise<ProviderCredentials>;
+}
diff --git a/packages/ee/src/accounting/core/service.ts b/packages/ee/src/accounting/core/service.ts
new file mode 100644
index 0000000000..831a5b8f5a
--- /dev/null
+++ b/packages/ee/src/accounting/core/service.ts
@@ -0,0 +1,109 @@
+import type { Database } from "@carbon/database";
+import type { SupabaseClient } from "@supabase/supabase-js";
+import z from "zod";
+import { QuickBooksProvider, XeroProvider } from "../providers";
+import {
+ ProviderCredentials,
+ ProviderCredentialsSchema,
+ ProviderID
+} from "./models";
+
+export const getAccountingIntegration = async <T extends ProviderID>(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ provider: T
+) => {
+ const integration = await client
+ .from("companyIntegration")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("id", provider)
+ .single();
+
+ if (integration.error || !integration.data) {
+ throw new Error(
+ `No ${provider} integration found for company ${companyId}`
+ );
+ }
+
+ const config = ProviderCredentialsSchema.safeParse(integration.data.metadata);
+
+ if (!config.success) {
+ console.error(integration.error);
+ throw new Error("Invalid provider config");
+ }
+
+ return {
+ id: provider as T,
+ config: config.data
+ };
+};
+
+export const getProviderIntegration = (
+ client: SupabaseClient<Database>,
+ companyId: string,
+ provider: string,
+ config: ProviderCredentials
+) => {
+ const { accessToken, refreshToken, tenantId } = config;
+
+ // Create a callback function to update the integration metadata when tokens are refreshed
+ const onTokenRefresh = async (auth: ProviderCredentials) => {
+ try {
+ const update: ProviderCredentials = {
+ ...auth,
+ expiresAt:
+ auth.expiresAt || new Date(Date.now() + 3600000).toISOString(), // Default to 1 hour if not provided
+ tenantId: auth.tenantId || tenantId
+ };
+
+ await client
+ .from("companyIntegration")
+ .update({ metadata: update })
+ .eq("companyId", companyId)
+ .eq("id", provider);
+
+ console.log(
+ `Updated ${provider} integration metadata for company ${companyId}`
+ );
+ } catch (error) {
+ console.error(
+ `Failed to update ${provider} integration metadata:`,
+ error
+ );
+ }
+ };
+
+ switch (provider) {
+ case "quickbooks": {
+ const environment = process.env.QUICKBOOKS_ENVIRONMENT as
+ | "production"
+ | "sandbox";
+ return new QuickBooksProvider({
+ companyId,
+ tenantId,
+ environment: environment || "sandbox",
+ clientId: process.env.QUICKBOOKS_CLIENT_ID!,
+ clientSecret: process.env.QUICKBOOKS_CLIENT_SECRET!,
+ redirectUri: process.env.QUICKBOOKS_REDIRECT_URI,
+ onTokenRefresh
+ });
+ }
+ case "xero":
+ return new XeroProvider({
+ companyId,
+ tenantId,
+ accessToken,
+ refreshToken,
+ clientId: process.env.XERO_CLIENT_ID!,
+ clientSecret: process.env.XERO_CLIENT_SECRET!,
+ redirectUri: process.env.XERO_REDIRECT_URI,
+ onTokenRefresh
+ });
+ // Add other providers as needed
+ // case "sage":
+ // return new SageProvider(config);
+ default:
+ throw new Error(`Unsupported provider: ${provider}`);
+ }
+};
diff --git a/packages/ee/src/accounting/core/sync.ts b/packages/ee/src/accounting/core/sync.ts
new file mode 100644
index 0000000000..72eab0cace
--- /dev/null
+++ b/packages/ee/src/accounting/core/sync.ts
@@ -0,0 +1,52 @@
+import { SupabaseClient } from "@supabase/supabase-js";
+import z from "zod";
+import { Database } from "../../../../database/src/types";
+import { AccountingEntityType, EntityMap } from "../entities";
+import { AccountingProvider } from "../providers";
+import { ProviderCredentialsSchema, ProviderID } from "./models";
+
+export const AccountingSyncSchema = z.object({
+ companyId: z.string(),
+ provider: z.nativeEnum(ProviderID),
+ syncType: z.enum(["webhook", "scheduled", "trigger"]),
+ syncDirection: z.enum(["from-accounting", "to-accounting", "bi-directional"]),
+ entities: z.array(z.custom<AccountingEntity>()),
+ metadata: z
+ .record(z.union([z.string(), z.number(), z.boolean(), z.null()]))
+ .optional()
+});
+
+export type AccountingSyncPayload = z.infer<typeof AccountingSyncSchema>;
+
+export type SyncFn = <T = unknown>(input: {
+ client: SupabaseClient<Database>;
+ entity: AccountingEntity;
+ provider: AccountingProvider;
+ payload: AccountingSyncPayload;
+}) => T | Promise<T>;
+
+/**
+ * {
+ companyId: string;
+ provider: AccountingProvider;
+ syncType: "webhook" | "scheduled" | "trigger";
+ syncDirection: "from-accounting" | "to-accounting" | "bi-directional";
+ entities: AccountingEntity[];
+ metadata?: {
+ tenantId?: string;
+ webhookId?: string;
+ userId?: string;
+ [key: string]: any;
+ };
+
+ */
+
+export interface AccountingEntity<
+ T extends AccountingEntityType = AccountingEntityType
+> {
+ entityType: T;
+ entityId: string;
+ operation: "create" | "update" | "delete" | "sync";
+ lastSyncedAt?: string;
+ data?: Partial<EntityMap[T]>;
+}
diff --git a/packages/ee/src/accounting/core/utils.ts b/packages/ee/src/accounting/core/utils.ts
new file mode 100644
index 0000000000..b3073b4e2a
--- /dev/null
+++ b/packages/ee/src/accounting/core/utils.ts
@@ -0,0 +1,213 @@
+import { ProviderCredentials } from "./models";
+import { AuthProvider } from "./provider";
+
+export class HTTPClient {
+ constructor(
+ private baseUrl?: string,
+ private maxRetries: number = 3
+ ) {}
+
+ async request<T>(method: string, path: string, opts: RequestInit = {}) {
+ const response = await this.fetch(method, path, opts);
+ return this.parseResponse<T>(response);
+ }
+
+ async requestWithRetry<T>(
+ method: string,
+ path: string,
+ opts: RequestInit = {}
+ ) {
+ let attempt = 0;
+
+ while (true) {
+ const response = await this.fetch(method, path, opts);
+
+ if (this.shouldRetry(response, attempt)) {
+ attempt++;
+
+ const retryAfterMs = this.getRetryAfterMs(response);
+ if (retryAfterMs !== undefined) {
+ await this.sleep(retryAfterMs);
+ }
+
+ continue;
+ }
+
+ return this.parseResponse<T>(response);
+ }
+ }
+
+ private fetch(
+ method: string,
+ path: string,
+ opts: RequestInit
+ ): Promise<Response> {
+ const url = this.baseUrl ? `${this.baseUrl}${path}` : path;
+
+ return fetch(url, {
+ method,
+ ...opts
+ });
+ }
+
+ private async parseResponse<T>(response: Response) {
+ const hasBody =
+ response.headers.get("content-length") !== "0" &&
+ response.headers.get("content-type")?.includes("application/json");
+
+ if (!response.ok) {
+ return {
+ error: true,
+ message: response.statusText,
+ code: response.status,
+ data: await response.text()
+ } as const;
+ }
+
+ if (hasBody) {
+ return {
+ error: false,
+ message: response.statusText,
+ code: response.status,
+ data: (await response.json()) as T
+ } as const;
+ }
+
+ return {
+ error: false,
+ message: response.statusText,
+ code: response.status,
+ data: null
+ } as const;
+ }
+
+ private shouldRetry(response: Response, attempt: number): boolean {
+ return response.status === 429 && attempt < this.maxRetries;
+ }
+
+ private getRetryAfterMs(response: Response): number | undefined {
+ const retryAfter = response.headers.get("Retry-After");
+ if (!retryAfter) return undefined;
+
+ const seconds = Number(retryAfter);
+ if (!Number.isNaN(seconds)) {
+ return seconds * 1000;
+ }
+
+ const date = Date.parse(retryAfter);
+ if (!Number.isNaN(date)) {
+ return Math.max(0, date - Date.now());
+ }
+
+ return undefined;
+ }
+
+ private sleep(ms: number) {
+ return new Promise((resolve) => setTimeout(resolve, ms));
+ }
+}
+
+export class NotImplementedError extends Error {
+ constructor(name: string) {
+ super(`Method ${name} is not implemented.`);
+ this.name = "NotImplementedError";
+ }
+}
+
+interface OAuthClientOptions {
+ clientId: string;
+ clientSecret: string;
+ tokenUrl: string;
+ accessToken?: string;
+ refreshToken?: string;
+ redirectUri?: string;
+ getAuthUrl: (scopes: string[], redirectUri: string) => string;
+}
+
+export function createOAuthClient({
+ clientId,
+ clientSecret,
+ ...options
+}: OAuthClientOptions): AuthProvider {
+ const basicAuth = btoa(`${clientId}:${clientSecret}`);
+ const http = new HTTPClient();
+
+ let creds: ProviderCredentials = {
+ type: "oauth2",
+ accessToken: options.accessToken!,
+ refreshToken: options.refreshToken!
+ };
+
+ return {
+ getAuthUrl: options.getAuthUrl,
+ async exchangeCode(code: string, redirectUri?: string) {
+ const response = await http.request<{
+ access_token: string;
+ refresh_token: string;
+ expires_in: number;
+ }>("POST", options.tokenUrl, {
+ headers: {
+ "Content-Type": "application/x-www-form-urlencoded",
+ Authorization: `Basic ${basicAuth}`
+ },
+ body: new URLSearchParams({
+ grant_type: "authorization_code",
+ code,
+ redirect_uri: redirectUri ?? options.redirectUri ?? ""
+ })
+ });
+
+ if (response.error || !response.data) {
+ throw new Error(`Auth failed: ${response.data}`);
+ }
+
+ return {
+ type: "oauth2",
+ accessToken: response.data.access_token,
+ refreshToken: response.data.refresh_token,
+ expiresAt: new Date(Date.now() + response.data.expires_in * 1000)
+ };
+ },
+ async refresh() {
+ if (!creds?.refreshToken) {
+ throw new Error("No refresh token available");
+ }
+
+ const response = await http.request<{
+ access_token: string;
+ refresh_token: string;
+ expires_in: number;
+ }>("POST", options.tokenUrl, {
+ headers: {
+ "Content-Type": "application/x-www-form-urlencoded",
+ Authorization: `Basic ${basicAuth}`
+ },
+ body: new URLSearchParams({
+ grant_type: "refresh_token",
+ refresh_token: creds.refreshToken
+ })
+ });
+
+ if (response.error || !response.data) {
+ throw new Error(`Token refresh failed: ${response}`);
+ }
+
+ const newCreds = {
+ type: "oauth2",
+ accessToken: response.data.access_token,
+ refreshToken: response.data.refresh_token,
+ expiresAt: new Date(Date.now() + response.data.expires_in * 1000),
+ tenantId: creds?.tenantId
+ } satisfies ProviderCredentials;
+
+ return newCreds;
+ },
+ getCredentials() {
+ if (!creds) {
+ throw new Error("No credentials available");
+ }
+
+ return creds;
+ }
+ };
+}
diff --git a/packages/ee/src/accounting/entities/index.ts b/packages/ee/src/accounting/entities/index.ts
new file mode 100644
index 0000000000..b2c49a74cf
--- /dev/null
+++ b/packages/ee/src/accounting/entities/index.ts
@@ -0,0 +1,3 @@
+export * from "./provider";
+export * from "./schema";
+export * from "./types";
diff --git a/packages/ee/src/accounting/entities/provider.ts b/packages/ee/src/accounting/entities/provider.ts
new file mode 100644
index 0000000000..35c6856346
--- /dev/null
+++ b/packages/ee/src/accounting/entities/provider.ts
@@ -0,0 +1,142 @@
+import { z } from "zod";
+
+export namespace Xero {
+ export const AddressSchema = z.object({
+ AddressType: z.enum(["POBOX", "STREET", "DELIVERY"]),
+ AddressLine1: z.string().optional(),
+ AddressLine2: z.string().optional(),
+ AddressLine3: z.string().optional(),
+ AddressLine4: z.string().optional(),
+ City: z.string().optional(),
+ Region: z.string().optional(),
+ PostalCode: z.string().optional(),
+ Country: z.string().optional(),
+ AttentionTo: z.string().optional()
+ });
+
+ export const PhoneSchema = z.object({
+ PhoneType: z.enum(["DDI", "DEFAULT", "FAX", "MOBILE"]),
+ PhoneNumber: z.string().optional(),
+ PhoneAreaCode: z.string().optional(),
+ PhoneCountryCode: z.string().optional()
+ });
+
+ export const BalancesSchema = z.object({
+ AccountsReceivable: z.object({
+ Outstanding: z.number(),
+ Overdue: z.number()
+ }),
+ AccountsPayable: z.object({
+ Outstanding: z.number(),
+ Overdue: z.number()
+ })
+ });
+
+ export const BrandingThemeSchema = z.object({
+ BrandingThemeID: z.string().uuid(),
+ Name: z.string()
+ });
+
+ export const BatchPaymentsSchema = z.object({
+ BankAccountNumber: z.string(),
+ BankAccountName: z.string(),
+ Details: z.string(),
+ Code: z.string().optional(),
+ Reference: z.string().optional()
+ });
+
+ export const ContactSchema = z.object({
+ ContactID: z.string().uuid(),
+ ContactStatus: z.literal("ACTIVE"),
+
+ Name: z.string(),
+ Website: z.string().optional(),
+
+ FirstName: z.string().optional(),
+ LastName: z.string().optional(),
+
+ EmailAddress: z.string().email().optional(),
+ ContactNumber: z.string().optional(),
+
+ BankAccountDetails: z.string().optional(),
+ TaxNumber: z.string().optional(),
+
+ AccountsReceivableTaxType: z.string().optional(),
+ AccountsPayableTaxType: z.string().optional(),
+
+ Addresses: z.array(AddressSchema),
+ Phones: z.array(PhoneSchema),
+
+ UpdatedDateUTC: z.string(), // serialized /Date(...)/
+
+ ContactGroups: z.array(z.unknown()),
+
+ IsSupplier: z.boolean(),
+ IsCustomer: z.boolean(),
+
+ DefaultCurrency: z.string().optional(),
+
+ BrandingTheme: BrandingThemeSchema.optional(),
+ BatchPayments: BatchPaymentsSchema.optional(),
+
+ Balances: BalancesSchema.optional(),
+
+ ContactPersons: z.array(z.unknown()),
+
+ HasAttachments: z.boolean(),
+ HasValidationErrors: z.boolean()
+ });
+
+ export type Contact = z.infer<typeof ContactSchema>;
+}
+
+export namespace QuickBooks {
+ export const BillAddrSchema = z.object({
+ City: z.string(),
+ Line1: z.string(),
+ PostalCode: z.string(),
+ Lat: z.string(),
+ Long: z.string(),
+ CountrySubDivisionCode: z.string(),
+ Id: z.string()
+ });
+
+ export const MetaDataSchema = z.object({
+ CreateTime: z.coerce.date(),
+ LastUpdatedTime: z.coerce.date()
+ });
+
+ export const PrimaryEmailAddrSchema = z.object({
+ Address: z.string()
+ });
+
+ export const PrimaryPhoneSchema = z.object({
+ FreeFormNumber: z.string()
+ });
+
+ export const CustomerSchema = z.object({
+ PrimaryEmailAddr: PrimaryEmailAddrSchema,
+ SyncToken: z.string(),
+ domain: z.string(),
+ GivenName: z.string(),
+ DisplayName: z.string(),
+ BillWithParent: z.boolean(),
+ FullyQualifiedName: z.string(),
+ CompanyName: z.string(),
+ FamilyName: z.string(),
+ sparse: z.boolean(),
+ PrimaryPhone: PrimaryPhoneSchema,
+ Active: z.boolean(),
+ Job: z.boolean(),
+ BalanceWithJobs: z.number(),
+ BillAddr: BillAddrSchema,
+ PreferredDeliveryMethod: z.string(),
+ Taxable: z.boolean(),
+ PrintOnCheckName: z.string(),
+ Balance: z.number(),
+ Id: z.string(),
+ MetaData: MetaDataSchema
+ });
+
+ export type Customer = z.infer<typeof CustomerSchema>;
+}
diff --git a/packages/ee/src/accounting/entities/schema.ts b/packages/ee/src/accounting/entities/schema.ts
new file mode 100644
index 0000000000..cda99d69ef
--- /dev/null
+++ b/packages/ee/src/accounting/entities/schema.ts
@@ -0,0 +1,47 @@
+import z from "zod";
+
+function withNullable<T extends z.ZodTypeAny>(schema: T) {
+ return z.preprocess((v) => (v === undefined ? null : v), schema.nullish());
+}
+
+// export const BaseEntitySchema = z.object({
+// id: z.string(),
+// externalId: z.string().optional(), // Provider-specific ID
+// createdAt: z.string().datetime(),
+// updatedAt: z.string().datetime(),
+// lastSyncedAt: z.string().datetime().optional(),
+// });
+
+export const ContactSchema = z.object({
+ name: z.string(),
+ firstName: z.string(),
+ lastName: z.string(),
+ companyId: z.string(),
+ email: z.string().optional(),
+ website: withNullable(z.string().url()),
+ taxId: withNullable(z.string()),
+ currencyCode: z.string().default("USD"),
+ balance: z.number().nullish(),
+ creditLimit: z.number().nullish(),
+ paymentTerms: z.string().nullish(),
+ updatedAt: z.string().datetime(),
+ phones: z.array(
+ z.object({
+ type: z.string().optional(),
+ phone: z.string().optional()
+ })
+ ),
+ addresses: z.array(
+ z.object({
+ type: z.string().nullish(),
+ line1: z.string().nullish(),
+ line2: z.string().nullish(),
+ city: z.string().nullish(),
+ country: z.string().nullish(),
+ region: z.string().nullish(),
+ postalCode: z.string().nullish()
+ })
+ ),
+ isVendor: z.boolean(),
+ isCustomer: z.boolean()
+});
diff --git a/packages/ee/src/accounting/entities/types.ts b/packages/ee/src/accounting/entities/types.ts
new file mode 100644
index 0000000000..692448989b
--- /dev/null
+++ b/packages/ee/src/accounting/entities/types.ts
@@ -0,0 +1,21 @@
+import z from "zod";
+import { ContactSchema } from "./schema";
+
+export type AccountingEntityType = "customer" | "vendor";
+// Uncomment and expand as needed
+// | "bill" // Purchase Invoice
+// | "employee"
+// | "invoice"
+// | "item"
+// | "purchase_order"
+// | "sales_order"
+// | "inventory_adjustment";
+
+export interface EntityMap {
+ customer: Accounting.Contact;
+ vendor: Accounting.Contact;
+}
+
+export namespace Accounting {
+ export type Contact = z.infer<typeof ContactSchema>;
+}
diff --git a/packages/ee/src/accounting/index.ts b/packages/ee/src/accounting/index.ts
new file mode 100644
index 0000000000..db875efa28
--- /dev/null
+++ b/packages/ee/src/accounting/index.ts
@@ -0,0 +1,3 @@
+export * from "./core";
+export * from "./entities";
+export * from "./providers";
diff --git a/packages/ee/src/accounting/models.ts b/packages/ee/src/accounting/models.ts
new file mode 100644
index 0000000000..40fca66eed
--- /dev/null
+++ b/packages/ee/src/accounting/models.ts
@@ -0,0 +1,518 @@
+/*
+License: MIT
+Author: Pontus Abrahamssons
+Repository: https://github.com/midday-ai/zuno
+*/
+
+import { z } from "zod";
+
+// Base schemas
+export const BaseEntitySchema = z.object({
+ id: z.string(),
+ externalId: z.string().optional(), // Provider-specific ID
+ createdAt: z.string().datetime(),
+ updatedAt: z.string().datetime(),
+ lastSyncedAt: z.string().datetime().optional(),
+ remoteWasDeleted: z.boolean().optional()
+});
+
+// Address schema (reusable)
+export const AddressSchema = z.object({
+ type: z.enum(["billing", "shipping", "mailing"]).optional(),
+ street: z.string().optional(),
+ street2: z.string().optional(),
+ city: z.string().optional(),
+ state: z.string().optional(),
+ postalCode: z.string().optional(),
+ country: z.string().optional()
+});
+
+// Phone number schema
+export const PhoneNumberSchema = z.object({
+ type: z.enum(["home", "work", "mobile", "fax"]).optional(),
+ number: z.string(),
+ isPrimary: z.boolean().optional()
+});
+
+// Enhanced attachment schema with comprehensive file support
+export const AttachmentSchema = BaseEntitySchema.extend({
+ filename: z.string(),
+ originalFilename: z.string().optional(),
+ mimeType: z.string(),
+ size: z.number(),
+ url: z.string().url(),
+ downloadUrl: z.string().url().optional(),
+ thumbnailUrl: z.string().url().optional(),
+ entityType: z.enum([
+ "invoice",
+ "customer",
+ "transaction",
+ "expense",
+ "bill",
+ "receipt",
+ "journal_entry"
+ ]),
+ entityId: z.string(),
+ attachmentType: z
+ .enum(["receipt", "invoice", "contract", "supporting_document", "other"])
+ .optional(),
+ description: z.string().optional(),
+ isPublic: z.boolean().default(false),
+ uploadedBy: z.string().optional(),
+ checksum: z.string().optional(), // For file integrity
+ metadata: z.record(z.any()).optional() // Provider-specific metadata
+});
+
+// Account schema for chart of accounts
+export const AccountSchema = BaseEntitySchema.extend({
+ name: z.string(),
+ code: z.string().optional(),
+ description: z.string().optional(),
+ accountType: z.enum([
+ "asset",
+ "liability",
+ "equity",
+ "income",
+ "expense",
+ "accounts_receivable",
+ "accounts_payable",
+ "bank",
+ "credit_card",
+ "current_asset",
+ "fixed_asset",
+ "other_asset",
+ "current_liability",
+ "long_term_liability",
+ "cost_of_goods_sold",
+ "other_income",
+ "other_expense"
+ ]),
+ accountSubType: z.string().optional(),
+ parentAccountId: z.string().optional(),
+ isActive: z.boolean().default(true),
+ currentBalance: z.number().optional(),
+ currency: z.string().default("USD"),
+ taxCode: z.string().optional(),
+ bankAccountNumber: z.string().optional(),
+ routingNumber: z.string().optional()
+});
+
+// Enhanced customer schema
+export const CustomerSchema = BaseEntitySchema.extend({
+ name: z.string(),
+ displayName: z.string().optional(),
+ email: z.string().email().optional(),
+ website: z.string().url().optional(),
+ phone: PhoneNumberSchema.optional(),
+ phoneNumbers: z.array(PhoneNumberSchema).optional(),
+ addresses: z.array(AddressSchema).optional(),
+ billingAddress: AddressSchema.optional(),
+ shippingAddress: AddressSchema.optional(),
+ taxNumber: z.string().optional(),
+ registrationNumber: z.string().optional(),
+ currency: z.string().default("USD"),
+ paymentTerms: z.string().optional(),
+ creditLimit: z.number().optional(),
+ isActive: z.boolean().default(true),
+ isArchived: z.boolean().default(false),
+ balance: z.number().optional(),
+ notes: z.string().optional(),
+ tags: z.array(z.string()).optional(),
+ customFields: z.record(z.any()).optional(),
+ attachments: z.array(AttachmentSchema).optional()
+});
+
+// Vendor/Supplier schema
+export const VendorSchema = BaseEntitySchema.extend({
+ name: z.string(),
+ displayName: z.string().optional(),
+ email: z.string().email().optional(),
+ website: z.string().url().optional(),
+ phone: PhoneNumberSchema.optional(),
+ phoneNumbers: z.array(PhoneNumberSchema).optional(),
+ addresses: z.array(AddressSchema).optional(),
+ billingAddress: AddressSchema.optional(),
+ taxNumber: z.string().optional(),
+ registrationNumber: z.string().optional(),
+ currency: z.string().default("USD"),
+ paymentTerms: z.string().optional(),
+ isActive: z.boolean().default(true),
+ isArchived: z.boolean().default(false),
+ balance: z.number().optional(),
+ notes: z.string().optional(),
+ tags: z.array(z.string()).optional(),
+ customFields: z.record(z.any()).optional(),
+ attachments: z.array(AttachmentSchema).optional()
+});
+
+// Item/Product schema
+export const ItemSchema = BaseEntitySchema.extend({
+ name: z.string(),
+ description: z.string().optional(),
+ sku: z.string().optional(),
+ type: z.enum(["inventory", "non_inventory", "service", "bundle"]),
+ unitPrice: z.number().optional(),
+ unitOfMeasure: z.string().optional(),
+ quantityOnHand: z.number().optional(),
+ reorderPoint: z.number().optional(),
+ assetAccountId: z.string().optional(),
+ incomeAccountId: z.string().optional(),
+ expenseAccountId: z.string().optional(),
+ isActive: z.boolean().default(true),
+ isTaxable: z.boolean().default(true),
+ isSold: z.boolean().default(true),
+ isPurchased: z.boolean().default(false),
+ taxCode: z.string().optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Enhanced invoice schema with attachments
+export const InvoiceSchema = BaseEntitySchema.extend({
+ number: z.string(),
+ customerId: z.string(),
+ customerName: z.string(),
+ issueDate: z.string().datetime(),
+ dueDate: z.string().datetime(),
+ status: z.enum(["draft", "sent", "paid", "overdue", "cancelled", "void"]),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ subtotal: z.number(),
+ taxAmount: z.number(),
+ discountAmount: z.number().optional(),
+ total: z.number(),
+ amountPaid: z.number().optional(),
+ amountDue: z.number().optional(),
+ paymentTerms: z.string().optional(),
+ reference: z.string().optional(),
+ poNumber: z.string().optional(),
+ notes: z.string().optional(),
+ privateNotes: z.string().optional(),
+ billingAddress: AddressSchema.optional(),
+ shippingAddress: AddressSchema.optional(),
+ lineItems: z.array(
+ z.object({
+ id: z.string(),
+ itemId: z.string().optional(),
+ description: z.string(),
+ quantity: z.number(),
+ unitPrice: z.number(),
+ discount: z.number().optional(),
+ total: z.number(),
+ taxRate: z.number().optional(),
+ taxAmount: z.number().optional(),
+ accountId: z.string().optional(),
+ trackingCategories: z
+ .array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ value: z.string()
+ })
+ )
+ .optional()
+ })
+ ),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Bill schema (for vendor bills)
+export const BillSchema = BaseEntitySchema.extend({
+ number: z.string(),
+ vendorId: z.string(),
+ vendorName: z.string(),
+ issueDate: z.string().datetime(),
+ dueDate: z.string().datetime(),
+ status: z.enum(["draft", "open", "paid", "overdue", "cancelled", "void"]),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ subtotal: z.number(),
+ taxAmount: z.number(),
+ discountAmount: z.number().optional(),
+ total: z.number(),
+ amountPaid: z.number().optional(),
+ amountDue: z.number().optional(),
+ reference: z.string().optional(),
+ poNumber: z.string().optional(),
+ notes: z.string().optional(),
+ privateNotes: z.string().optional(),
+ lineItems: z.array(
+ z.object({
+ id: z.string(),
+ itemId: z.string().optional(),
+ description: z.string(),
+ quantity: z.number(),
+ unitPrice: z.number(),
+ discount: z.number().optional(),
+ total: z.number(),
+ taxRate: z.number().optional(),
+ taxAmount: z.number().optional(),
+ accountId: z.string().optional(),
+ trackingCategories: z
+ .array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ value: z.string()
+ })
+ )
+ .optional()
+ })
+ ),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Enhanced transaction schema with attachments and reconciliation
+export const TransactionSchema = BaseEntitySchema.extend({
+ type: z.enum([
+ "payment",
+ "receipt",
+ "transfer",
+ "adjustment",
+ "deposit",
+ "withdrawal",
+ "charge",
+ "refund"
+ ]),
+ reference: z.string().optional(),
+ description: z.string(),
+ amount: z.number(),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ date: z.string().datetime(),
+ accountId: z.string(),
+ accountName: z.string(),
+ toAccountId: z.string().optional(), // For transfers
+ toAccountName: z.string().optional(),
+ customerId: z.string().optional(),
+ vendorId: z.string().optional(),
+ contactName: z.string().optional(),
+ invoiceId: z.string().optional(),
+ billId: z.string().optional(),
+ status: z.enum(["pending", "cleared", "reconciled", "voided"]),
+ reconciliationStatus: z
+ .enum(["unreconciled", "reconciled", "suggested"])
+ .optional(),
+ reconciliationDate: z.string().datetime().optional(),
+ bankTransactionId: z.string().optional(),
+ checkNumber: z.string().optional(),
+ memo: z.string().optional(),
+ category: z.string().optional(),
+ tags: z.array(z.string()).optional(),
+ trackingCategories: z
+ .array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ value: z.string()
+ })
+ )
+ .optional(),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Expense schema
+export const ExpenseSchema = BaseEntitySchema.extend({
+ amount: z.number(),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ date: z.string().datetime(),
+ description: z.string(),
+ reference: z.string().optional(),
+ vendorId: z.string().optional(),
+ vendorName: z.string().optional(),
+ employeeId: z.string().optional(),
+ employeeName: z.string().optional(),
+ accountId: z.string(),
+ accountName: z.string(),
+ category: z.string().optional(),
+ projectId: z.string().optional(),
+ projectName: z.string().optional(),
+ billable: z.boolean().default(false),
+ reimbursable: z.boolean().default(false),
+ status: z.enum(["draft", "submitted", "approved", "rejected", "paid"]),
+ paymentMethod: z
+ .enum(["cash", "credit_card", "bank_transfer", "check", "other"])
+ .optional(),
+ receiptRequired: z.boolean().default(true),
+ notes: z.string().optional(),
+ taxAmount: z.number().optional(),
+ taxRate: z.number().optional(),
+ tags: z.array(z.string()).optional(),
+ trackingCategories: z
+ .array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ value: z.string()
+ })
+ )
+ .optional(),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Journal Entry schema
+export const JournalEntrySchema = BaseEntitySchema.extend({
+ number: z.string(),
+ date: z.string().datetime(),
+ description: z.string(),
+ reference: z.string().optional(),
+ status: z.enum(["draft", "posted", "void"]),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ lineItems: z.array(
+ z.object({
+ id: z.string(),
+ accountId: z.string(),
+ accountName: z.string(),
+ description: z.string().optional(),
+ debitAmount: z.number().optional(),
+ creditAmount: z.number().optional(),
+ trackingCategories: z
+ .array(
+ z.object({
+ id: z.string(),
+ name: z.string(),
+ value: z.string()
+ })
+ )
+ .optional()
+ })
+ ),
+ totalDebit: z.number(),
+ totalCredit: z.number(),
+ notes: z.string().optional(),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Payment schema
+export const PaymentSchema = BaseEntitySchema.extend({
+ amount: z.number(),
+ currency: z.string(),
+ exchangeRate: z.number().optional(),
+ date: z.string().datetime(),
+ reference: z.string().optional(),
+ paymentMethod: z.enum([
+ "cash",
+ "check",
+ "credit_card",
+ "bank_transfer",
+ "online",
+ "other"
+ ]),
+ accountId: z.string(),
+ accountName: z.string(),
+ customerId: z.string().optional(),
+ vendorId: z.string().optional(),
+ contactName: z.string().optional(),
+ invoiceId: z.string().optional(),
+ billId: z.string().optional(),
+ status: z.enum(["pending", "cleared", "bounced", "cancelled"]),
+ checkNumber: z.string().optional(),
+ memo: z.string().optional(),
+ fees: z.number().optional(),
+ notes: z.string().optional(),
+ attachments: z.array(AttachmentSchema).optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Company info schema
+export const CompanyInfoSchema = BaseEntitySchema.extend({
+ name: z.string(),
+ legalName: z.string().optional(),
+ email: z.string().email().optional(),
+ phone: PhoneNumberSchema.optional(),
+ website: z.string().url().optional(),
+ addresses: z.array(AddressSchema).optional(),
+ taxNumber: z.string().optional(),
+ registrationNumber: z.string().optional(),
+ baseCurrency: z.string().default("USD"),
+ fiscalYearStart: z.string().optional(),
+ timeZone: z.string().optional(),
+ logo: z.string().url().optional(),
+ industry: z.string().optional(),
+ employees: z.number().optional(),
+ customFields: z.record(z.any()).optional()
+});
+
+// Enhanced provider-specific metadata
+export const ProviderMetadataSchema = z.object({
+ provider: z.enum(["xero", "sage", "quickbooks"]),
+ externalId: z.string(),
+ lastSyncAt: z.string().datetime().optional(),
+ syncHash: z.string().optional(),
+ version: z.string().optional(),
+ rawData: z.record(z.any()).optional(), // Store original provider data
+ customFields: z.record(z.any()).optional()
+});
+
+// Enhanced API Request/Response schemas
+export const ApiRequestSchema = z.object({
+ provider: z.enum(["xero", "sage", "quickbooks"]),
+ includeAttachments: z.boolean().default(false),
+ includeCustomFields: z.boolean().default(false),
+ includeRawData: z.boolean().default(false)
+});
+
+export const PaginationSchema = z.object({
+ page: z.number().min(1).default(1),
+ limit: z.number().min(1).max(100).default(20),
+ total: z.number().optional(),
+ hasNext: z.boolean().optional(),
+ cursor: z.string().optional()
+});
+
+// Bulk export request schema
+export const BulkExportSchema = z.object({
+ provider: z.enum(["xero", "sage", "quickbooks"]),
+ entityTypes: z.array(
+ z.enum([
+ "customers",
+ "vendors",
+ "invoices",
+ "bills",
+ "transactions",
+ "expenses",
+ "accounts",
+ "items",
+ "journal_entries",
+ "payments"
+ ])
+ ),
+ dateRange: z
+ .object({
+ startDate: z.string().datetime(),
+ endDate: z.string().datetime()
+ })
+ .optional(),
+ includeAttachments: z.boolean().default(true),
+ includeCustomFields: z.boolean().default(false),
+ includeRawData: z.boolean().default(false),
+ format: z.enum(["json", "csv", "xlsx"]).default("json"),
+ batchSize: z.number().min(1).max(1000).default(100)
+});
+
+// Export types
+export type Customer = z.infer<typeof CustomerSchema>;
+export type Vendor = z.infer<typeof VendorSchema>;
+export type Item = z.infer<typeof ItemSchema>;
+export type Invoice = z.infer<typeof InvoiceSchema>;
+export type Bill = z.infer<typeof BillSchema>;
+export type Transaction = z.infer<typeof TransactionSchema>;
+export type Expense = z.infer<typeof ExpenseSchema>;
+export type JournalEntry = z.infer<typeof JournalEntrySchema>;
+export type Payment = z.infer<typeof PaymentSchema>;
+export type Account = z.infer<typeof AccountSchema>;
+export type Attachment = z.infer<typeof AttachmentSchema>;
+export type CompanyInfo = z.infer<typeof CompanyInfoSchema>;
+export type ProviderMetadata = z.infer<typeof ProviderMetadataSchema>;
+
+export type ApiRequest = z.infer<typeof ApiRequestSchema>;
+export type Pagination = z.infer<typeof PaginationSchema>;
+export type BulkExport = z.infer<typeof BulkExportSchema>;
+export type Address = z.infer<typeof AddressSchema>;
+export type PhoneNumber = z.infer<typeof PhoneNumberSchema>;
diff --git a/packages/ee/src/accounting/providers/index.ts b/packages/ee/src/accounting/providers/index.ts
new file mode 100644
index 0000000000..bf06679a82
--- /dev/null
+++ b/packages/ee/src/accounting/providers/index.ts
@@ -0,0 +1,7 @@
+import { QuickBooksProvider } from "./quickbooks";
+import { XeroProvider } from "./xero";
+
+export * from "./quickbooks";
+export * from "./xero";
+
+export type AccountingProvider = XeroProvider | QuickBooksProvider;
diff --git a/packages/ee/src/accounting/providers/quickbooks.ts b/packages/ee/src/accounting/providers/quickbooks.ts
new file mode 100644
index 0000000000..82f0214995
--- /dev/null
+++ b/packages/ee/src/accounting/providers/quickbooks.ts
@@ -0,0 +1,162 @@
+import {
+ AuthProvider,
+ BaseProvider,
+ createOAuthClient,
+ HTTPClient,
+ ProviderConfig,
+ ProviderCredentials,
+ ProviderID,
+ Resource
+} from "../core";
+import { Accounting, QuickBooks } from "../entities";
+
+export interface IQuickBooksProvider extends BaseProvider {
+ // Add resource interfaces as needed, e.g.: customers, invoices, etc.
+ contacts: Pick<
+ Resource<Accounting.Contact, unknown, unknown>,
+ "get" | "list"
+ >;
+}
+
+type QuickBooksProviderConfig = ProviderConfig<{
+ clientId: string;
+ clientSecret: string;
+ redirectUri?: string;
+ tenantId?: string;
+ environment?: "sandbox" | "production";
+}> & {
+ id: ProviderID.QUICKBOOKS;
+};
+
+export class QuickBooksProvider implements IQuickBooksProvider {
+ http: HTTPClient;
+ auth: AuthProvider;
+
+ static id = ProviderID.QUICKBOOKS;
+
+ constructor(public config: Omit<QuickBooksProviderConfig, "id">) {
+ const host =
+ config.environment === "production"
+ ? "https://quickbooks.api.intuit.com"
+ : "https://sandbox-quickbooks.api.intuit.com";
+ const baseURL = `${host}/v3/company/${this.config.tenantId}`;
+
+ this.http = new HTTPClient(baseURL, 3);
+ this.auth = createOAuthClient({
+ clientId: config.clientId,
+ clientSecret: config.clientSecret,
+ redirectUri: config.redirectUri,
+ tokenUrl: "https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer",
+ getAuthUrl(scopes, redirect_uri = "") {
+ const params = new URLSearchParams({
+ client_id: config.clientId,
+ scope: scopes.join(" ") || "com.intuit.quickbooks.accounting",
+ redirect_uri,
+ response_type: "code",
+ access_type: "offline",
+ state: crypto.randomUUID()
+ });
+ return `https://appcenter.intuit.com/connect/oauth2?${params.toString()}`;
+ }
+ });
+ }
+
+ get id(): ProviderID.QUICKBOOKS {
+ // @ts-expect-error
+ return this.constructor.id;
+ }
+
+ contacts: IQuickBooksProvider["contacts"] = {
+ list: async () => {
+ const res = await this.http.requestWithRetry<{
+ QueryResponse: {
+ Customer: QuickBooks.Customer[];
+ };
+ }>(
+ "GET",
+ `/query?query=${encodeURIComponent("select * from Customer")}'`
+ );
+
+ if (res.error) {
+ throw new Error(`Failed to fetch contacts: ${res.message}`);
+ }
+
+ return res.data?.QueryResponse.Customer || [];
+ },
+ get: async (id) => {
+ const res = await this.http.requestWithRetry<{
+ Contacts: Xero.Contact[];
+ }>("GET", `/Contacts/${id}`);
+
+ if (res.error || !res.data?.Contacts?.length) {
+ throw new Error(`Failed to fetch contact ${id}: ${res.message}`);
+ }
+
+ const contact = res.data.Contacts[0]!;
+
+ return contact;
+ }
+ };
+
+ authenticate(
+ code: string,
+ redirectUri: string
+ ): Promise<ProviderCredentials> {
+ return this.auth.exchangeCode(code, redirectUri);
+ }
+
+ async request<T>(method: string, url: string, options?: RequestInit) {
+ const { accessToken, ...creds } = this.auth.getCredentials();
+
+ const tenantId = creds.tenantId || this.config.tenantId;
+
+ const baseHeaders: Record<string, string> = {
+ Authorization: `Bearer ${accessToken}`,
+ Accept: "application/json",
+ "Content-Type": "application/json",
+ ...((options?.headers ?? {}) as Record<string, string>)
+ };
+
+ const endpoint = `/v3/company/${tenantId}${url}`;
+
+ const response = await this.http.requestWithRetry(method, endpoint, {
+ ...options,
+ headers: baseHeaders
+ });
+
+ if (response.code === 401) {
+ await this.auth.refresh();
+
+ const c = this.auth.getCredentials();
+
+ if (typeof this.config.onTokenRefresh === "function") {
+ this.config.onTokenRefresh(c);
+ }
+
+ const retryHeaders: Record<string, string> = {
+ ...baseHeaders,
+ Authorization: `Bearer ${c.accessToken}`
+ };
+
+ return this.http.request<T>(method, url, {
+ ...options,
+ headers: retryHeaders
+ });
+ }
+
+ return response;
+ }
+
+ async validate(auth: ProviderCredentials): Promise<boolean> {
+ if (!auth?.accessToken || !auth?.tenantId) {
+ return false;
+ }
+
+ try {
+ const response = await this.request("GET", "/companyinfo");
+ return !response.error;
+ } catch {
+ return false;
+ }
+ }
+}
diff --git a/packages/ee/src/accounting/providers/xero.ts b/packages/ee/src/accounting/providers/xero.ts
new file mode 100644
index 0000000000..1e7e2ebdb5
--- /dev/null
+++ b/packages/ee/src/accounting/providers/xero.ts
@@ -0,0 +1,239 @@
+import {
+ AuthProvider,
+ BaseProvider,
+ createOAuthClient,
+ HTTPClient,
+ ProviderConfig,
+ ProviderCredentials,
+ ProviderID,
+ Resource
+} from "../core";
+import { Xero } from "../entities";
+import { Accounting } from "../entities/types";
+
+export interface IXeroProvider extends BaseProvider {
+ contacts: Resource<Accounting.Contact, Accounting.Contact, unknown>;
+}
+
+type XeroProviderConfig = ProviderConfig<{
+ clientId: string;
+ clientSecret: string;
+ redirectUri?: string;
+ tenantId?: string;
+}> & {
+ id: ProviderID.XERO;
+ accessToken?: string;
+ refreshToken?: string;
+};
+
+const fromDotnetDate = (date: Date | string) => {
+ if (typeof date === "string") {
+ const value = date.replace(/\/Date\((\d+)([-+]\d+)?\)\//, "$1");
+ return new Date(parseInt(value));
+ }
+
+ return date;
+};
+
+export class XeroProvider implements IXeroProvider {
+ static id = ProviderID.XERO;
+
+ http: HTTPClient;
+ auth: AuthProvider;
+
+ constructor(public config: Omit<XeroProviderConfig, "id">) {
+ this.http = new HTTPClient("https://api.xero.com/api.xro/2.0", 3);
+ this.auth = createOAuthClient({
+ clientId: config.clientId,
+ clientSecret: config.clientSecret,
+ accessToken: config.accessToken,
+ refreshToken: config.refreshToken,
+ redirectUri: config.redirectUri,
+ tokenUrl: "https://identity.xero.com/connect/token",
+ getAuthUrl(scopes: string[], redirectURL): string {
+ const params = new URLSearchParams({
+ response_type: "code",
+ client_id: config.clientId,
+ redirect_uri: redirectURL,
+ scope: scopes.join(" "),
+ state: crypto.randomUUID()
+ });
+
+ return `https://login.xero.com/identity/connect/authorize?${params.toString()}`;
+ }
+ });
+ }
+
+ get id(): ProviderID.XERO {
+ // @ts-expect-error
+ return this.constructor.id;
+ }
+
+ contacts: IXeroProvider["contacts"] = {
+ list: async () => {
+ const res = await this.request<{
+ Contacts: Xero.Contact[];
+ }>("GET", `/Contacts`);
+
+ if (res.error) {
+ throw new Error(`Failed to fetch contacts: ${res.message}`);
+ }
+
+ return (res.data?.Contacts || []).map((c) =>
+ transformContact(c, this.config.companyId)
+ );
+ },
+ get: async (id) => {
+ const res = await this.request<{
+ Contacts: Xero.Contact[];
+ }>("GET", `/Contacts/${id}`);
+
+ if (res.error || !res.data?.Contacts?.length) {
+ throw new Error(`Failed to fetch contact ${id}: ${res.message}`);
+ }
+
+ const contact = res.data.Contacts[0]!;
+
+ return transformContact(contact, this.config.companyId);
+ },
+ create: async (data) => {
+ const res = await this.request<{
+ Contacts: Xero.Contact[];
+ }>("POST", `/Contacts`, {
+ body: JSON.stringify({
+ Contacts: [
+ {
+ Name: data.name,
+ FirstName: data.firstName,
+ LastName: data.lastName,
+ EmailAddress: data.email,
+ Website: data.website,
+ TaxNumber: data.taxId,
+ IsCustomer: data.isCustomer,
+ IsSupplier: data.isVendor,
+ Phones: data.phones?.map((p) => ({
+ PhoneType: p.type,
+ PhoneNumber: p.phone
+ })),
+ Addresses: data.addresses?.map((a) => ({
+ AddressLine1: a.line1,
+ AddressLine2: a.line2,
+ City: a.city,
+ Region: a.region,
+ Country: a.country,
+ PostalCode: a.postalCode
+ }))
+ }
+ ]
+ })
+ });
+
+ if (res.error || !res.data?.Contacts?.length) {
+ throw new Error(`Failed to create contact: ${res.message}`);
+ }
+
+ const contact = res.data.Contacts[0]!;
+
+ return transformContact(contact, this.config.companyId);
+ }
+ };
+
+ authenticate(
+ code: string,
+ redirectUri: string
+ ): Promise<ProviderCredentials> {
+ return this.auth.exchangeCode(code, redirectUri);
+ }
+
+ async request<T>(method: string, url: string, options?: RequestInit) {
+ const { accessToken, ...creds } = this.auth.getCredentials();
+
+ const tenantId = creds.tenantId || this.config.tenantId;
+
+ const headers: Record<string, string> = {
+ Authorization: `Bearer ${accessToken}`,
+ Accept: "application/json",
+ "Content-Type": "application/json",
+ ...((options?.headers ?? {}) as Record<string, string>)
+ };
+
+ if (tenantId) {
+ headers["xero-tenant-id"] = tenantId;
+ }
+
+ const response = await this.http.requestWithRetry<T>(method, url, {
+ ...options,
+ headers: headers
+ });
+
+ if (response.code === 401) {
+ await this.auth.refresh();
+
+ const c = this.auth.getCredentials();
+
+ const retryHeaders: Record<string, string> = {
+ ...headers,
+ Authorization: `Bearer ${c.accessToken}`
+ };
+
+ if (tenantId) {
+ retryHeaders["xero-tenant-id"] = tenantId;
+ }
+
+ return this.http.request<T>(method, url, {
+ ...options,
+ headers: retryHeaders
+ });
+ }
+
+ return response;
+ }
+
+ async validate(auth: ProviderCredentials): Promise<boolean> {
+ if (!auth?.accessToken || !auth.tenantId) return false;
+ try {
+ const response = await this.request("GET", `/Organisation`);
+ return !response.error;
+ } catch {
+ return false;
+ }
+ }
+}
+
+/** Helpers */
+const transformContact = (
+ contact: Xero.Contact,
+ companyId: string
+): Accounting.Contact => {
+ const firstName = contact.FirstName || "";
+ const lastName = contact.LastName || "";
+
+ const phones = contact.Phones ?? [];
+ const addresses = contact.Addresses ?? [];
+
+ return {
+ name: `${firstName} ${lastName}`.trim(),
+ firstName,
+ lastName,
+ companyId,
+ website: contact.Website,
+ currencyCode: contact.DefaultCurrency ?? "USD",
+ taxId: contact.TaxNumber,
+ email: contact.EmailAddress,
+ isCustomer: contact.IsCustomer,
+ isVendor: contact.IsSupplier,
+ addresses: addresses.map((a) => ({
+ line1: a.AddressLine1,
+ line2: a.AddressLine2,
+ city: a.City,
+ region: a.Region,
+ country: a.Country,
+ postalCode: a.PostalCode
+ })),
+ phones: phones.map((p) => ({
+ type: p.PhoneType,
+ phone: p.PhoneNumber
+ })),
+ updatedAt: fromDotnetDate(contact.UpdatedDateUTC).toISOString()
+ };
+};
diff --git a/packages/ee/src/index.ts b/packages/ee/src/index.ts
index 81c0e79813..066f85e2f3 100644
--- a/packages/ee/src/index.ts
+++ b/packages/ee/src/index.ts
@@ -30,5 +30,7 @@ export const integrations = [
export { Logo as OnshapeLogo, Onshape } from "./onshape/config";
// TODO: export as @carbon/ee/paperless
export { PaperlessPartsClient } from "./paperless-parts/lib/client";
+export { QuickBooks } from "./quickbooks/config";
export { Slack } from "./slack/config";
export * from "./slack/lib/messages";
+export { Xero } from "./xero/config";
diff --git a/packages/ee/src/quickbooks/config.tsx b/packages/ee/src/quickbooks/config.tsx
index 6ad82bbded..40ef3cb986 100644
--- a/packages/ee/src/quickbooks/config.tsx
+++ b/packages/ee/src/quickbooks/config.tsx
@@ -1,10 +1,11 @@
+import { QUICKBOOKS_CLIENT_ID } from "@carbon/auth";
import type { ComponentProps } from "react";
import { z } from "zod/v3";
import type { IntegrationConfig } from "../types";
export const QuickBooks: IntegrationConfig = {
name: "QuickBooks",
- id: "quick-books",
+ id: "quickbooks",
active: false,
category: "Accounting",
logo: Logo,
@@ -14,7 +15,17 @@ export const QuickBooks: IntegrationConfig = {
"Automatically post transactions from sales and purchase invoices.",
images: [],
settings: [],
- schema: z.object({})
+ schema: z.object({}),
+ oauth: {
+ authUrl: "https://appcenter.intuit.com/connect/oauth2",
+ clientId: QUICKBOOKS_CLIENT_ID!,
+ redirectUri: "/api/integrations/quickbooks/oauth",
+ scopes: [
+ "com.intuit.quickbooks.accounting",
+ "com.intuit.quickbooks.payment"
+ ],
+ tokenUrl: "https://oauth.platform.intuit.com/oauth2/v1/tokens/bearer"
+ }
};
function Logo(props: ComponentProps<"svg">) {
diff --git a/packages/ee/src/slack/lib/client.ts b/packages/ee/src/slack/lib/client.ts
index 9c6f640e81..6a1247ded2 100644
--- a/packages/ee/src/slack/lib/client.ts
+++ b/packages/ee/src/slack/lib/client.ts
@@ -52,9 +52,6 @@ export const slackOAuthTokenResponseSchema = z.object({
.optional()
});
-// Legacy export for backward compatibility - should be removed eventually
-export const slackAuthResponseSchema = slackOAuthTokenResponseSchema;
-
let slackInstaller: InstallProvider | null = null;
export const createSlackApp = ({
diff --git a/packages/ee/src/slack/lib/service.ts b/packages/ee/src/slack/lib/service.ts
index 875202488f..25fe3b8da7 100644
--- a/packages/ee/src/slack/lib/service.ts
+++ b/packages/ee/src/slack/lib/service.ts
@@ -112,8 +112,6 @@ export async function createIssueSlackThread(
: [])
];
- console.log({ blocks, data });
-
const threadMessage = await slackClient.chat.postMessage({
channel: auth.channelId,
unfurl_links: false,
diff --git a/packages/ee/src/types.ts b/packages/ee/src/types.ts
index ecfb0f4176..da751c4ec4 100644
--- a/packages/ee/src/types.ts
+++ b/packages/ee/src/types.ts
@@ -19,6 +19,13 @@ export type IntegrationConfig = {
value: unknown;
}[];
schema: ZodType;
+ oauth?: {
+ authUrl: string;
+ clientId: string;
+ redirectUri: string;
+ scopes: string[];
+ tokenUrl: string;
+ };
onInitialize?: () => void | Promise<void>;
onUninstall?: () => void | Promise<void>;
};
diff --git a/packages/ee/src/xero/config.tsx b/packages/ee/src/xero/config.tsx
index 542aa9cc34..2f04bc8015 100644
--- a/packages/ee/src/xero/config.tsx
+++ b/packages/ee/src/xero/config.tsx
@@ -1,3 +1,4 @@
+import { XERO_CLIENT_ID } from "@carbon/auth";
import type { ComponentProps } from "react";
import { z } from "zod/v3";
import type { IntegrationConfig } from "../types";
@@ -14,7 +15,19 @@ export const Xero: IntegrationConfig = {
"Automatically post transactions from sales and purchase invoices.",
images: [],
settings: [],
- schema: z.object({})
+ schema: z.object({}),
+ oauth: {
+ authUrl: "https://login.xero.com/identity/connect/authorize",
+ clientId: XERO_CLIENT_ID!,
+ redirectUri: "/api/integrations/xero/oauth",
+ scopes: [
+ "offline_access",
+ "accounting.contacts",
+ "accounting.transactions",
+ "accounting.settings"
+ ],
+ tokenUrl: "https://login.xero.com/identity/connect/token"
+ }
};
function Logo(props: ComponentProps<"svg">) {
diff --git a/packages/ee/tsconfig.json b/packages/ee/tsconfig.json
index e8a0e95a8d..a53b926833 100644
--- a/packages/ee/tsconfig.json
+++ b/packages/ee/tsconfig.json
@@ -1,6 +1,7 @@
{
"compilerOptions": {
- "lib": ["dom", "ES2015"]
+ "lib": ["dom", "ES2015"],
+ "strict": true
},
"include": ["src", "../../apps/erp/app/components/OnshapeSync.tsx"],
"exclude": ["node_modules"],
diff --git a/packages/form/src/components/CreatableCombobox.tsx b/packages/form/src/components/CreatableCombobox.tsx
index 92b2a78a96..b7238fe6ba 100644
--- a/packages/form/src/components/CreatableCombobox.tsx
+++ b/packages/form/src/components/CreatableCombobox.tsx
@@ -23,9 +23,11 @@ export type CreatableComboboxProps = Omit<
isOptional?: boolean;
inline?: (
value: string,
- options: { value: string; label: string; helper?: string }[]
+ options: { value: string; label: string | JSX.Element; helper?: string }[]
) => React.ReactNode;
- onChange?: (newValue: { value: string; label: string } | null) => void;
+ onChange?: (
+ newValue: { value: string; label: string | JSX.Element } | null
+ ) => void;
onConfigure?: () => void;
};
diff --git a/packages/jobs/client.ts b/packages/jobs/client.ts
deleted file mode 100644
index e69de29bb2..0000000000
diff --git a/packages/jobs/trigger/accounting-sync.ts b/packages/jobs/trigger/accounting-sync.ts
new file mode 100644
index 0000000000..6f05938f77
--- /dev/null
+++ b/packages/jobs/trigger/accounting-sync.ts
@@ -0,0 +1,1057 @@
+import { getCarbonServiceRole } from "@carbon/auth";
+import type { Database } from "@carbon/database";
+import {
+ AccountingEntity,
+ AccountingProvider,
+ ProviderCredentialsSchema,
+ ProviderID,
+ AccountingSyncSchema,
+ ProviderCredentials,
+ type ProviderConfig,
+} from "@carbon/ee/accounting";
+import { QuickBooksProvider } from "@carbon/ee/quickbooks";
+import { XeroProvider } from "@carbon/ee/xero";
+
+import type { SupabaseClient } from "@supabase/supabase-js";
+import { task } from "@trigger.dev/sdk/v3";
+import z from "zod";
+
+export const accountingSyncTask = task({
+ id: "accounting-sync",
+ run: async (input) => {
+ const payload = AccountingSyncSchema.parse(input);
+
+ const { companyId, provider, syncDirection, entities, metadata } = payload;
+
+ const client = getCarbonServiceRole();
+
+ // Get the company integration details
+ const companyIntegration = await client
+ .from("companyIntegration")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("id", provider)
+ .single();
+
+ if (companyIntegration.error || !companyIntegration.data) {
+ throw new Error(
+ `No ${provider} integration found for company ${companyId}`
+ );
+ }
+
+ const providerConfig = ProviderCredentialsSchema.safeParse(
+ companyIntegration.data.metadata
+ );
+
+ if (!providerConfig.success) {
+ console.error(providerConfig.error);
+ throw new Error("Invalid provider config");
+ }
+
+ const accountingProvider = await initializeProvider(
+ client,
+ companyId,
+ provider,
+ providerConfig.data
+ );
+
+ const results = {
+ success: [] as any[],
+ failed: [] as { entity: AccountingEntity; error: string }[],
+ };
+
+ for (const entity of entities) {
+ try {
+ const result = await processEntity(
+ client,
+ accountingProvider,
+ entity,
+ syncDirection,
+ companyId,
+ metadata
+ );
+ results.success.push(result);
+ } catch (error) {
+ results.failed.push({
+ entity,
+ error: error instanceof Error ? error.message : "Unknown error",
+ });
+ console.error(
+ `Failed to process ${entity.entityType} ${entity.entityId}:`,
+ error
+ );
+ }
+ }
+
+ return results;
+ },
+});
+
+async function initializeProvider(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ provider: string,
+ config: z.infer<typeof metadataSchema>
+) {
+ const { accessToken, refreshToken, tenantId } = config;
+
+ // Create a callback function to update the integration metadata when tokens are refreshed
+ const onTokenRefresh = async (auth: ProviderCredentials) => {
+ try {
+ const update = {
+ accessToken: auth.accessToken,
+ refreshToken: auth.refreshToken,
+ expiresAt:
+ auth.expiresAt?.toISOString() ||
+ new Date(Date.now() + 3600000).toISOString(), // Default to 1 hour if not provided
+ tenantId: auth.tenantId || tenantId,
+ };
+
+ await client
+ .from("companyIntegration")
+ .update({ metadata: update })
+ .eq("companyId", companyId)
+ .eq("id", provider);
+
+ console.log(
+ `Updated ${provider} integration metadata for company ${companyId}`
+ );
+ } catch (error) {
+ console.error(
+ `Failed to update ${provider} integration metadata:`,
+ error
+ );
+ }
+ };
+
+ switch (provider) {
+ case "quickbooks": {
+ const environment = process.env.QUICKBOOKS_ENVIRONMENT as
+ | "production"
+ | "sandbox";
+
+ return new QuickBooksProvider({
+ companyId,
+ tenantId,
+ environment: environment || "sandbox",
+ clientId: process.env.QUICKBOOKS_CLIENT_ID!,
+ clientSecret: process.env.QUICKBOOKS_CLIENT_SECRET!,
+ redirectUri: process.env.QUICKBOOKS_REDIRECT_URI,
+ onTokenRefresh,
+ });
+ }
+ case "xero":
+ return new XeroProvider({
+ companyId,
+ tenantId,
+ accessToken,
+ refreshToken,
+ clientId: process.env.XERO_CLIENT_ID!,
+ clientSecret: process.env.XERO_CLIENT_SECRET!,
+ redirectUri: process.env.XERO_REDIRECT_URI,
+ onTokenRefresh,
+ });
+ // Add other providers as needed
+ // case "sage":
+ // return new SageProvider(config);
+ default:
+ throw new Error(`Unsupported provider: ${provider}`);
+ }
+}
+
+async function processEntity(
+ client: SupabaseClient<Database>,
+ provider: AccountingProvider,
+ entity: AccountingEntity,
+ syncDirection: "fromAccounting" | "toAccounting" | "bidirectional",
+ companyId: string,
+ metadata?: any
+): Promise<any> {
+ const { entityType, entityId, operation, data, lastSyncedAt } = entity;
+
+ if (syncDirection === "fromAccounting" || syncDirection === "bidirectional") {
+ if (
+ operation === "create" ||
+ operation === "update" ||
+ operation === "sync"
+ ) {
+ switch (entityType) {
+ case "customer":
+ return await syncCustomerFromAccounting(
+ client,
+ provider,
+ entityId,
+ companyId,
+ operation
+ );
+ case "vendor":
+ return await syncVendorFromAccounting(
+ client,
+ provider,
+ entityId,
+ companyId,
+ operation
+ );
+ }
+ } else if (operation === "delete") {
+ switch (entityType) {
+ case "customer":
+ return await deactivateCustomer(client, companyId);
+ case "vendor":
+ return await deactivateSupplier(client, companyId);
+ }
+ }
+ }
+
+ if (syncDirection === "toAccounting" || syncDirection === "bidirectional") {
+ if (operation === "create" || operation === "update") {
+ switch (entityType) {
+ case "customer":
+ return await syncCustomerToAccounting(
+ client,
+ provider,
+ entityId,
+ companyId
+ );
+ case "vendor":
+ return await syncVendorToAccounting(
+ client,
+ provider,
+ entityId,
+ companyId
+ );
+ }
+ }
+ }
+
+ throw new Error(
+ `Unsupported operation ${operation} for ${entityType} in direction ${syncDirection}`
+ );
+}
+
+async function syncCustomerFromAccounting(
+ client: SupabaseClient<Database>,
+ provider: AccountingProvider,
+ externalId: string,
+ companyId: string,
+ operation: "create" | "update" | "sync"
+): Promise<any> {
+ const customer = await provider.contacts.get(externalId);
+
+ const existing = await client
+ .from("customer")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("externalId->>externalId", externalId)
+ .single();
+
+ const externalIdKey = `${provider.id}Id`;
+
+ const customerData: Database["public"]["Tables"]["customer"]["Insert"] = {
+ companyId,
+ name: customer.firstName,
+ phone: customer.phones?.[0].phone || null,
+ website: customer.website || null,
+ taxId: customer.taxId || null,
+ currencyCode: customer.currencyCode,
+ externalId: {
+ [externalIdKey]: externalId,
+ syncToken: (customer as any).syncToken,
+ accountingProvider: provider.id,
+ lastSyncedAt: new Date().toISOString(),
+ accountingData: {
+ displayName: customer.name,
+ balance: customer.balance,
+ creditLimit: customer.creditLimit,
+ paymentTerms: customer.paymentTerms,
+ },
+ },
+ updatedAt: new Date().toISOString(),
+ };
+
+ let customerId: string;
+
+ if (existing.data) {
+ // Update existing customer
+ const result = await client
+ .from("customer")
+ .update(customerData)
+ .eq("id", existing.data.id)
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+ customerId = result.data.id;
+ } else {
+ // Create new customer
+ const result = await client
+ .from("customer")
+ .insert({
+ ...customerData,
+ createdAt: new Date().toISOString(),
+ })
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+ customerId = result.data.id;
+ }
+
+ // Sync contact information if email is available
+ if (customerId) {
+ try {
+ // Check if contact already exists by external ID
+ const existingContactQuery = await client
+ .from("contact")
+ .select(
+ `
+ id,
+ customerContact!inner(
+ id,
+ customerId
+ )
+ `
+ )
+ .eq("companyId", companyId)
+ .eq(`externalId->>${externalIdKey}`, externalId)
+ .single();
+
+ let contactId: string;
+
+ if (!existingContactQuery.data) {
+ // Try to find contact by email
+ const contactByEmail = await client
+ .from("contact")
+ .select("id")
+ .eq("companyId", companyId)
+ .eq("email", customer.email)
+ .eq("isCustomer", true)
+ .maybeSingle();
+
+ if (contactByEmail.data) {
+ contactId = contactByEmail.data.id;
+
+ // Update the contact with external ID
+ await client
+ .from("contact")
+ .update({
+ externalId: {
+ [externalIdKey]: externalId,
+ },
+ })
+ .eq("id", contactId);
+ } else {
+ // Create new contact
+ const firstName = customer.firstName;
+ const lastName = customer.lastName;
+
+ const newContact = await client
+ .from("contact")
+ .insert({
+ companyId,
+ firstName,
+ lastName,
+ email: customer.email,
+ isCustomer: true,
+ workPhone: customer.phones.find((p) => p.isPrimary).phone || null,
+ externalId: {
+ [externalIdKey]: externalId,
+ },
+ })
+ .select()
+ .single();
+
+ if (newContact.error) {
+ console.error("Failed to create contact:", newContact.error);
+ } else {
+ contactId = newContact.data.id;
+ }
+ }
+
+ // Create customerContact relationship if contact was created/found
+ if (contactId) {
+ // Check if customerContact already exists
+ const existingCustomerContact = await client
+ .from("customerContact")
+ .select("id")
+ .eq("customerId", customerId)
+ .eq("contactId", contactId)
+ .maybeSingle();
+
+ if (!existingCustomerContact.data) {
+ const newCustomerContact = await client
+ .from("customerContact")
+ .insert({
+ customerId,
+ contactId,
+ })
+ .select()
+ .single();
+
+ if (newCustomerContact.error) {
+ console.error(
+ "Failed to create customerContact:",
+ newCustomerContact.error
+ );
+ }
+ }
+ }
+ } else {
+ // Contact exists, check if linked to this customer
+ const customerContact = existingContactQuery.data.customerContact?.find(
+ (cc: any) => cc.customerId === customerId
+ );
+
+ if (!customerContact) {
+ // Link existing contact to customer
+ const newCustomerContact = await client
+ .from("customerContact")
+ .insert({
+ customerId,
+ contactId: existingContactQuery.data.id,
+ })
+ .select()
+ .single();
+
+ if (newCustomerContact.error) {
+ console.error(
+ "Failed to link contact to customer:",
+ newCustomerContact.error
+ );
+ }
+ }
+ }
+ } catch (error) {
+ console.error("Error syncing customer contact:", error);
+ }
+ }
+
+ // Sync addresses if available
+ if (customer.addresses && customer.addresses.length > 0) {
+ for (const address of customer.addresses) {
+ // Skip if no valid address data (need at least street and city or state)
+ if (!address.street || (!address.city && !address.state)) {
+ console.log(
+ "Skipping address creation - missing required fields (street and city/state)"
+ );
+ continue;
+ }
+
+ if (address.country && address.country.length === 3) {
+ const country = await client
+ .from("country")
+ .select("alpha2")
+ .eq("alpha3", address.country)
+ .maybeSingle();
+ if (country.data) {
+ address.country = country.data?.alpha2;
+ }
+ }
+
+ if (address.country && address.country.length > 3) {
+ const country = await client
+ .from("country")
+ .select("alpha2")
+ .eq("name", address.country)
+ .maybeSingle();
+ if (country.data) {
+ address.country = country.data?.alpha2;
+ }
+ }
+
+ const addressData = {
+ companyId,
+ addressLine1: address.street,
+ addressLine2: address.street2 || null,
+ city: address.city || "",
+ stateProvince: address.state || null,
+ postalCode: address.postalCode || null,
+ countryCode: address.country || null,
+ };
+
+ // Check if address exists
+ const existingAddress = await client
+ .from("address")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("addressLine1", addressData.addressLine1)
+ .eq("city", addressData.city)
+ .maybeSingle();
+
+ let addressId: string;
+
+ if (existingAddress?.data) {
+ addressId = existingAddress.data.id;
+ } else {
+ const newAddress = await client
+ .from("address")
+ .insert(addressData)
+ .select()
+ .single();
+
+ if (newAddress.error) throw newAddress.error;
+ addressId = newAddress.data.id;
+ }
+
+ // Link address to customer
+ const locationType = address.type === "billing" ? "Billing" : "Shipping";
+
+ const customerLocation = await client.from("customerLocation").upsert(
+ {
+ customerId,
+ addressId,
+ name: locationType,
+ },
+ {
+ onConflict: "addressId,customerId",
+ ignoreDuplicates: true,
+ }
+ );
+
+ if (customerLocation.error) console.error(customerLocation.error);
+ }
+ }
+
+ return {
+ customerId,
+ externalId,
+ operation,
+ status: "success",
+ };
+}
+
+async function syncVendorFromAccounting(
+ client: SupabaseClient<Database>,
+ provider: CoreProvider,
+ externalId: string,
+ companyId: string,
+ operation: "create" | "update" | "sync"
+): Promise<any> {
+ // Fetch vendor from accounting system
+ const accountingVendor = await provider.getVendor(externalId);
+
+ // Check if supplier exists in Carbon (by external ID)
+ const existingSupplier = await client
+ .from("supplier")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("externalId->>externalId", externalId)
+ .single();
+
+ const providerName = provider.getProviderInfo().name.toLowerCase();
+
+ const supplierData: Database["public"]["Tables"]["supplier"]["Insert"] = {
+ companyId,
+ name: accountingVendor.name ?? accountingVendor.displayName,
+ phone: accountingVendor.phone?.number || null,
+ website: accountingVendor.website || null,
+ taxId: accountingVendor.taxNumber || null,
+ currencyCode: accountingVendor.currency || "USD",
+ externalId: {
+ externalId,
+ syncToken: (accountingVendor as any).syncToken,
+ accountingProvider: provider.getProviderInfo().name,
+ lastSyncedAt: new Date().toISOString(),
+ accountingData: {
+ displayName: accountingVendor.displayName,
+ balance: accountingVendor.balance,
+ paymentTerms: accountingVendor.paymentTerms,
+ },
+ },
+ updatedAt: new Date().toISOString(),
+ };
+
+ let supplierId: string;
+
+ if (existingSupplier.data) {
+ // Update existing supplier
+ const result = await client
+ .from("supplier")
+ .update(supplierData)
+ .eq("id", existingSupplier.data.id)
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+ supplierId = result.data.id;
+ } else {
+ // Create new supplier
+ const result = await client
+ .from("supplier")
+ .insert({
+ ...supplierData,
+ createdAt: new Date().toISOString(),
+ })
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+ supplierId = result.data.id;
+ }
+
+ // Sync contact information if email is available
+ if (accountingVendor.email) {
+ try {
+ // Check if contact already exists by external ID
+ const existingContactQuery = await client
+ .from("contact")
+ .select(
+ `
+ id,
+ supplierContact!inner(
+ id,
+ supplierId
+ )
+ `
+ )
+ .eq("companyId", companyId)
+ .eq(`externalId->>${providerName}Id`, externalId)
+ .single();
+
+ let contactId: string;
+
+ if (!existingContactQuery.data) {
+ // Try to find contact by email
+ const contactByEmail = await client
+ .from("contact")
+ .select("id")
+ .eq("companyId", companyId)
+ .eq("email", accountingVendor.email)
+ .eq("isCustomer", false)
+ .maybeSingle();
+
+ if (contactByEmail.data) {
+ contactId = contactByEmail.data.id;
+
+ // Update the contact with external ID
+ await client
+ .from("contact")
+ .update({
+ externalId: {
+ [`${providerName}Id`]: externalId,
+ },
+ })
+ .eq("id", contactId);
+ } else {
+ // Create new contact
+ const firstName = accountingVendor.firstName;
+ const lastName = accountingVendor.lastName;
+
+ const newContact = await client
+ .from("contact")
+ .insert({
+ companyId,
+ firstName,
+ lastName,
+ email: accountingVendor.email,
+ isCustomer: false,
+ workPhone: accountingVendor.phone?.number || null,
+ externalId: {
+ [`${providerName}Id`]: externalId,
+ },
+ })
+ .select()
+ .single();
+
+ if (newContact.error) {
+ console.error("Failed to create contact:", newContact.error);
+ } else {
+ contactId = newContact.data.id;
+ }
+ }
+
+ // Create supplierContact relationship if contact was created/found
+ if (contactId) {
+ // Check if supplierContact already exists
+ const existingSupplierContact = await client
+ .from("supplierContact")
+ .select("id")
+ .eq("supplierId", supplierId)
+ .eq("contactId", contactId)
+ .maybeSingle();
+
+ if (!existingSupplierContact.data) {
+ const newSupplierContact = await client
+ .from("supplierContact")
+ .insert({
+ supplierId,
+ contactId,
+ })
+ .select()
+ .single();
+
+ if (newSupplierContact.error) {
+ console.error(
+ "Failed to create supplierContact:",
+ newSupplierContact.error
+ );
+ }
+ }
+ }
+ } else {
+ // Contact exists, check if linked to this supplier
+ const supplierContact = existingContactQuery.data.supplierContact?.find(
+ (sc: any) => sc.supplierId === supplierId
+ );
+
+ if (!supplierContact) {
+ // Link existing contact to supplier
+ const newSupplierContact = await client
+ .from("supplierContact")
+ .insert({
+ supplierId,
+ contactId: existingContactQuery.data.id,
+ })
+ .select()
+ .single();
+
+ if (newSupplierContact.error) {
+ console.error(
+ "Failed to link contact to supplier:",
+ newSupplierContact.error
+ );
+ }
+ }
+ }
+ } catch (error) {
+ console.error("Error syncing supplier contact:", error);
+ }
+ }
+
+ if (accountingVendor.addresses && accountingVendor.addresses.length > 0) {
+ for (const address of accountingVendor.addresses) {
+ // Skip if no valid address data (need at least street and city or state)
+ if (!address.street || (!address.city && !address.state)) {
+ console.log(
+ "Skipping address creation - missing required fields (street and city/state)"
+ );
+ continue;
+ }
+
+ if (address.country && address.country.length === 3) {
+ const country = await client
+ .from("country")
+ .select("alpha2")
+ .eq("alpha3", address.country)
+ .maybeSingle();
+ if (country.data) {
+ address.country = country.data?.alpha2;
+ }
+ }
+
+ if (address.country && address.country.length > 3) {
+ const country = await client
+ .from("country")
+ .select("alpha2")
+ .eq("name", address.country)
+ .maybeSingle();
+ if (country.data) {
+ address.country = country.data?.alpha2;
+ }
+ }
+ const addressData = {
+ companyId,
+ addressLine1: address.street,
+ addressLine2: address.street2 || null,
+ city: address.city || "",
+ stateProvince: address.state || null,
+ postalCode: address.postalCode || null,
+ countryCode: address.country || null,
+ };
+
+ // Check if address exists
+ const existingAddress = await client
+ .from("address")
+ .select("*")
+ .eq("companyId", companyId)
+ .eq("addressLine1", addressData.addressLine1)
+ .eq("city", addressData.city)
+ .maybeSingle();
+
+ let addressId: string;
+
+ if (existingAddress?.data) {
+ addressId = existingAddress.data.id;
+ } else {
+ const newAddress = await client
+ .from("address")
+ .insert(addressData)
+ .select()
+ .single();
+
+ if (newAddress.error) throw newAddress.error;
+ addressId = newAddress.data.id;
+ }
+
+ // Link address to supplier
+ const locationType = address.type === "billing" ? "Billing" : "Shipping";
+
+ const supplierLocation = await client.from("supplierLocation").upsert(
+ {
+ supplierId,
+ addressId,
+ name: locationType,
+ },
+ {
+ onConflict: "addressId,supplierId",
+ }
+ );
+
+ if (supplierLocation.error) console.error(supplierLocation.error);
+ }
+ }
+
+ return {
+ supplierId,
+ externalId,
+ operation,
+ status: "success",
+ };
+}
+
+async function syncCustomerToAccounting(
+ client: SupabaseClient<Database>,
+ provider: CoreProvider,
+ customerId: string,
+ companyId: string,
+ externalId?: string
+): Promise<any> {
+ // Fetch customer from Carbon
+ const customer = await client
+ .from("customer")
+ .select("*, customerLocation(*, address(*))")
+ .eq("id", customerId)
+ .eq("companyId", companyId)
+ .single();
+
+ if (customer.error || !customer.data) {
+ throw new Error(`Customer ${customerId} not found`);
+ }
+
+ // Transform Carbon customer to accounting format
+ const accountingCustomerData = {
+ name: customer.data.name,
+ phone: customer.data.phone
+ ? { number: customer.data.phone, type: "work" as any }
+ : undefined,
+ website: customer.data.website || undefined,
+ taxNumber: customer.data.taxId || undefined,
+ currency: customer.data.currencyCode || "USD",
+ isActive: true,
+ addresses: (customer.data.customerLocation || [])
+ .map((loc: any) => ({
+ type: loc.name === "Billing" ? "billing" : "shipping",
+ street: loc.address?.addressLine1,
+ street2: loc.address?.addressLine2,
+ city: loc.address?.city,
+ state: loc.address?.state,
+ postalCode: loc.address?.postalCode,
+ country: loc.address?.country,
+ }))
+ .filter((addr: any) => addr.street),
+ };
+
+ let result;
+ if (externalId) {
+ // Update existing customer in accounting system
+ result = await provider.updateCustomer(externalId, accountingCustomerData);
+ } else {
+ // Create new customer in accounting system
+ result = await provider.createCustomer(accountingCustomerData);
+ }
+
+ // Update Carbon customer with external ID
+ await client
+ .from("customer")
+ .update({
+ externalId: {
+ ...((customer.data.externalId as any) || {}),
+ externalId: result.id,
+ syncToken: (result as any).syncToken,
+ accountingProvider: provider.getProviderInfo().name,
+ lastSyncedAt: new Date().toISOString(),
+ },
+ updatedAt: new Date().toISOString(),
+ })
+ .eq("id", customerId);
+
+ return {
+ customerId,
+ externalId: result.id,
+ operation: externalId ? "update" : "create",
+ status: "success",
+ };
+}
+
+async function syncVendorToAccounting(
+ client: SupabaseClient<Database>,
+ provider: CoreProvider,
+ supplierId: string,
+ companyId: string,
+ externalId?: string
+): Promise<any> {
+ // Fetch supplier from Carbon
+ const supplier = await client
+ .from("supplier")
+ .select("*, supplierLocation(*, address(*))")
+ .eq("id", supplierId)
+ .eq("companyId", companyId)
+ .single();
+
+ if (supplier.error || !supplier.data) {
+ throw new Error(`Supplier ${supplierId} not found`);
+ }
+
+ // Transform Carbon supplier to accounting vendor format
+ const accountingVendorData = {
+ name: supplier.data.name,
+ email: undefined,
+ phone: supplier.data.phone
+ ? { number: supplier.data.phone, type: "work" as any }
+ : undefined,
+ website: supplier.data.website || undefined,
+ taxNumber: supplier.data.taxId || undefined,
+ currency: supplier.data.currencyCode || "USD",
+ isActive: true,
+ addresses: (supplier.data.supplierLocation || [])
+ .map((loc: any) => ({
+ type: "billing" as any,
+ street: loc.address?.addressLine1,
+ street2: loc.address?.addressLine2,
+ city: loc.address?.city,
+ state: loc.address?.state,
+ postalCode: loc.address?.postalCode,
+ country: loc.address?.country,
+ }))
+ .filter((addr: any) => addr.street),
+ };
+
+ let result;
+ if (externalId) {
+ // Update existing vendor in accounting system
+ result = await provider.updateVendor(externalId, accountingVendorData);
+ } else {
+ // Create new vendor in accounting system
+ result = await provider.createVendor(accountingVendorData);
+ }
+
+ // Update Carbon supplier with external ID
+ await client
+ .from("supplier")
+ .update({
+ externalId: {
+ ...((supplier.data.externalId as any) || {}),
+ externalId: result.id,
+ syncToken: (result as any).syncToken,
+ accountingProvider: provider.getProviderInfo().name,
+ lastSyncedAt: new Date().toISOString(),
+ },
+ updatedAt: new Date().toISOString(),
+ })
+ .eq("id", supplierId);
+
+ return {
+ supplierId,
+ externalId: result.id,
+ operation: externalId ? "update" : "create",
+ status: "success",
+ };
+}
+
+async function deactivateCustomer(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ externalId?: string
+): Promise<any> {
+ if (!externalId) {
+ throw new Error("External ID required for deactivation");
+ }
+
+ const result = await client
+ .from("customer")
+ .update({
+ active: false,
+ updatedAt: new Date().toISOString(),
+ })
+ .eq("companyId", companyId)
+ .eq("externalId->>externalId", externalId)
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+
+ return {
+ customerId: result.data.id,
+ externalId,
+ operation: "delete",
+ status: "deactivated",
+ };
+}
+
+async function deactivateSupplier(
+ client: SupabaseClient<Database>,
+ companyId: string,
+ externalId?: string
+): Promise<any> {
+ if (!externalId) {
+ throw new Error("External ID required for deactivation");
+ }
+
+ const result = await client
+ .from("supplier")
+ .update({
+ active: false,
+ updatedAt: new Date().toISOString(),
+ })
+ .eq("companyId", companyId)
+ .eq("externalId->>externalId", externalId)
+ .select()
+ .single();
+
+ if (result.error) throw result.error;
+
+ return {
+ supplierId: result.data.id,
+ externalId,
+ operation: "delete",
+ status: "deactivated",
+ };
+}
+
+async function syncInvoiceFromAccounting(
+ client: SupabaseClient<Database>,
+ provider: CoreProvider,
+ externalId: string,
+ companyId: string,
+ operation: "create" | "update" | "sync"
+): Promise<any> {
+ // Fetch invoice from accounting system
+ const invoiceData = await provider.getInvoice(externalId);
+ const accountingInvoice = invoiceData.Invoices?.[0];
+
+ if (!accountingInvoice) {
+ throw new Error(`Invoice ${externalId} not found`);
+ }
+
+ console.log(
+ `Processing invoice ${externalId} of type ${accountingInvoice.Type} for contact ${accountingInvoice.Contact?.ContactID}`
+ );
+
+ // Invoice processing would typically include:
+ // 1. Creating/updating the invoice record
+ // 2. Processing line items
+ // 3. Handling payments and status updates
+
+ // For now, we'll focus on ensuring the related contact is synced
+ // The actual invoice sync logic would be implemented based on your invoice table schema
+
+ return {
+ invoiceId: externalId,
+ contactId: accountingInvoice.Contact?.ContactID,
+ invoiceType: accountingInvoice.Type,
+ operation,
+ status: "processed",
+ message:
+ "Invoice processed, related contact should be synced via webhook handler",
+ };
+}
diff --git a/packages/jobs/trigger/from-accounting-sync.ts b/packages/jobs/trigger/from-accounting-sync.ts
new file mode 100644
index 0000000000..ef6bbf89aa
--- /dev/null
+++ b/packages/jobs/trigger/from-accounting-sync.ts
@@ -0,0 +1,118 @@
+import {
+ AccountingEntity,
+ AccountingSyncSchema,
+ EntityMap,
+ getAccountingIntegration,
+ getProviderIntegration,
+ SyncFn,
+} from "@carbon/ee/accounting";
+import { task } from "@trigger.dev/sdk";
+import z from "zod";
+import { getCarbonServiceRole } from "@carbon/auth";
+
+const PayloadSchema = AccountingSyncSchema.extend({
+ syncDirection: AccountingSyncSchema.shape.syncDirection.exclude([
+ "to-accounting",
+ ]),
+});
+
+type Payload = z.infer<typeof PayloadSchema>;
+
+const UPSERT_MAP: Record<keyof EntityMap, SyncFn> = {
+ async customer({ client, entity, payload, provider }) {
+ // Fetch customer from Carbon
+ const customer = await client
+ .from("customer")
+ .select("*, customerLocation(*, address(*))")
+ .eq("id", entity.data.companyId)
+ .eq("companyId", payload.companyId)
+ .single();
+
+ if (customer.error || !customer.data) {
+ throw new Error(`Customer ${entity.entityId} not found`);
+ }
+
+ return {};
+ },
+ async vendor({ client, entity, payload, provider }) {},
+};
+
+const DELETE_MAP: Record<keyof EntityMap, SyncFn> = {
+ async customer({ client, entity, payload, provider }) {
+ // Fetch customer from Carbon
+ const customer = await client
+ .from("customer")
+ .select("*, customerLocation(*, address(*))")
+ .eq("id", entity.data.companyId)
+ .eq("companyId", payload.companyId)
+ .single();
+
+ if (customer.error || !customer.data) {
+ throw new Error(`Customer ${entity.entityId} not found`);
+ }
+
+ return {};
+ },
+ async vendor({ client, entity, payload, provider }) {},
+};
+
+export const fromAccountsSyncTask = task({
+ id: "from-accounting-sync",
+ run: async (input: Payload) => {
+ const payload = PayloadSchema.parse(input);
+
+ const client = getCarbonServiceRole();
+
+ const integration = await getAccountingIntegration(
+ client,
+ payload.companyId,
+ payload.provider
+ );
+
+ const provider = getProviderIntegration(
+ client,
+ payload.companyId,
+ integration.id,
+ integration.config
+ );
+
+ const results = {
+ success: [] as any[],
+ failed: [] as { entity: AccountingEntity; error: string }[],
+ };
+
+ for (const entity of payload.entities) {
+ try {
+ const isUpsert =
+ entity.operation === "create" ||
+ entity.operation === "update" ||
+ entity.operation === "sync";
+
+ const handler = isUpsert
+ ? UPSERT_MAP[entity.entityType]
+ : DELETE_MAP[entity.entityType];
+
+ const result = await handler({
+ client,
+ entity,
+ provider,
+ payload: { syncDirection: payload.syncDirection, ...payload },
+ });
+
+ results.success.push(result);
+ } catch (error) {
+ console.error(
+ `Failed to process ${entity.entityType} ${entity.entityId}:`,
+ error
+ );
+
+ results.failed.push({
+ entity,
+ error: error instanceof Error ? error.message : "Unknown error",
+ });
+ }
+ }
+
+ return results;
+ },
+});
diff --git a/packages/jobs/trigger/to-accounting-sync.ts b/packages/jobs/trigger/to-accounting-sync.ts
new file mode 100644
index 0000000000..d95d6ed8f6
--- /dev/null
+++ b/packages/jobs/trigger/to-accounting-sync.ts
@@ -0,0 +1,122 @@
+import { getCarbonServiceRole } from "@carbon/auth";
+import {
+ AccountingEntity,
+ AccountingSyncSchema,
+ EntityMap,
+ getAccountingIntegration,
+ getProviderIntegration,
+ SyncFn,
+} from "@carbon/ee/accounting";
+import { task } from "@trigger.dev/sdk";
+import z from "zod";
+
+const PayloadSchema = AccountingSyncSchema.extend({
+ syncDirection: AccountingSyncSchema.shape.syncDirection.exclude([
+ "from-accounting",
+ ]),
+});
+
+type Payload = z.infer<typeof PayloadSchema>;
+
+const UPSERT_MAP: Record<keyof EntityMap, SyncFn> = {
+ async customer({ client, entity, payload, provider }) {
+ // Fetch customer from Carbon
+ const customer = await client
+ .from("customer")
+ .select("*, customerLocation(*, address(*))")
+ .eq("id", entity.data.companyId)
+ .eq("companyId", payload.companyId)
+ .single();
+
+ if (customer.error) {
+ throw new Error(`Failed to get customer`);
+ }
+
+ if (!customer.data) {
+ // Customer does not exist, create it
+ }
+
+ return {};
+ },
+ async vendor({ client, entity, payload, provider }) {},
+};
+
+const DELETE_MAP: Record<keyof EntityMap, SyncFn> = {
+ async customer({ client, entity, payload, provider }) {
+ // Fetch customer from Carbon
+ const customer = await client
+ .from("customer")
+ .select("*, customerLocation(*, address(*))")
+ .eq("id", entity.data.companyId)
+ .eq("companyId", payload.companyId)
+ .single();
+
+ if (customer.error || !customer.data) {
+ throw new Error(`Customer ${entity.entityId} not found`);
+ }
+
+ return {};
+ },
+ async vendor({ client, entity, payload, provider }) {},
+};
+
+export const toAccountsSyncTask = task({
+ id: "to-accounting-sync",
+ run: async (input: Payload) => {
+ const payload = PayloadSchema.parse(input);
+
+ const client = getCarbonServiceRole();
+
+ const integration = await getAccountingIntegration(
+ client,
+ payload.companyId,
+ payload.provider
+ );
+
+ const provider = getProviderIntegration(
+ client,
+ payload.companyId,
+ integration.id,
+ integration.config
+ );
+
+ const results = {
+ success: [] as any[],
+ failed: [] as { entity: AccountingEntity; error: string }[],
+ };
+
+ for (const entity of payload.entities) {
+ try {
+ const isUpsert =
+ entity.operation === "create" ||
+ entity.operation === "update" ||
+ entity.operation === "sync";
+
+ const handler = isUpsert
+ ? UPSERT_MAP[entity.entityType]
+ : DELETE_MAP[entity.entityType];
+
+ const result = await handler({
+ client,
+ entity,
+ provider,
+ payload: { syncDirection: payload.syncDirection, ...payload },
+ });
+
+ results.success.push(result);
+ } catch (error) {
+ console.error(
+ `Failed to process ${entity.entityType} ${entity.entityId}:`,
+ error
+ );
+
+ results.failed.push({
+ entity,
+ error: error instanceof Error ? error.message : "Unknown error",
+ });
+ }
+ }
+
+ return results;
+ },
+});
diff --git a/packages/react/src/CreateableCombobox.tsx b/packages/react/src/CreateableCombobox.tsx
index 401b29bc9b..c743e75b7f 100644
--- a/packages/react/src/CreateableCombobox.tsx
+++ b/packages/react/src/CreateableCombobox.tsx
@@ -22,7 +22,7 @@ export type CreatableComboboxProps = Omit<
size?: "sm" | "md" | "lg";
value?: string;
options: {
- label: string;
+ label: string | JSX.Element;
value: string;
helper?: string;
}[];
@@ -33,7 +33,7 @@ export type CreatableComboboxProps = Omit<
placeholder?: string;
inline?: (
value: string,
- options: { value: string; label: string; helper?: string }[]
+ options: { value: string; label: string | JSX.Element; helper?: string }[]
) => React.ReactNode;
inlineAddLabel?: string;
onChange?: (selected: string) => void;
@@ -195,11 +195,15 @@ function VirtualizedCommand({
})
: options;
- const isExactMatch = options.some((option) =>
- [option.label.toLowerCase(), option.helper?.toLowerCase()].includes(
+ const isExactMatch = options.some((option) => {
+ const labelValue =
+ typeof option.label === "string"
+ ? option.label
+ : reactNodeToString(option.label);
+ return [labelValue.toLowerCase(), option.helper?.toLowerCase()].includes(
search.toLowerCase()
- )
- );
+ );
+ });
return isExactMatch
? filtered
diff --git a/packages/react/src/Select.tsx b/packages/react/src/Select.tsx
index 1086ed7bd4..b1f586b829 100644
--- a/packages/react/src/Select.tsx
+++ b/packages/react/src/Select.tsx
@@ -27,7 +27,7 @@ const selectTriggerVariants = cva(
size: {
lg: "h-12 px-4 py-3 rounded-lg text-base space-x-4",
md: "h-10 px-3 py-2 rounded-md text-sm space-x-3",
- sm: "h-8 px-3 py-2 rounded text-sm text-xs space-x-2"
+ sm: "h-8 px-3 py-2 rounded text-xs space-x-2"
}
},
defaultVariants: {
diff --git a/sst.config.ts b/sst.config.ts
index 10d31f774d..554fea4a52 100644
--- a/sst.config.ts
+++ b/sst.config.ts
@@ -57,6 +57,9 @@ export default $config({
OPENAI_API_KEY: process.env.OPENAI_API_KEY,
POSTHOG_API_HOST: process.env.POSTHOG_API_HOST,
POSTHOG_PROJECT_PUBLIC_KEY: process.env.POSTHOG_PROJECT_PUBLIC_KEY,
+ QUICKBOOKS_CLIENT_ID: process.env.QUICKBOOKS_CLIENT_ID,
+ QUICKBOOKS_CLIENT_SECRET: process.env.QUICKBOOKS_CLIENT_SECRET,
+ QUICKBOOKS_WEBHOOK_SECRET: process.env.QUICKBOOKS_WEBHOOK_SECRET,
RESEND_API_KEY: process.env.RESEND_API_KEY,
SESSION_SECRET: process.env.SESSION_SECRET,
SLACK_BOT_TOKEN: process.env.SLACK_BOT_TOKEN,
@@ -81,6 +84,9 @@ export default $config({
UPSTASH_REDIS_REST_URL: process.env.UPSTASH_REDIS_REST_URL,
VERCEL_ENV: "production",
VERCEL_URL: process.env.URL_ERP ?? "itar.carbon.ms",
+ XERO_CLIENT_ID: process.env.XERO_CLIENT_ID,
+ XERO_CLIENT_SECRET: process.env.XERO_CLIENT_SECRET,
+ XERO_WEBHOOK_SECRET: process.env.XERO_WEBHOOK_SECRET,
},
transform: {
loadBalancer: {