Track HiveGrid Cloud planning reference

This commit is contained in:
david committed 2026-06-26 20:48:01 +02:00
1 parent b3d5ea6764
commit e341c5938a
5784 files changed
+1104929 -3

No files matched your search

@@ -0,0 +1,10 @@
export type MediaDto = {
id?: string;
title: string;
name: string;
file: string;
type: string;
publicUrl?: string | null;
storageBucket?: string | null;
storageProvider?: string | null;
};
@@ -0,0 +1,9 @@
import { Entity, Property, RowValue } from "@toolctrl/db/prisma-browser";
export interface RowDynamicValuesDto {
form: Entity | undefined;
name: string;
total: number;
headers: (RowValue & { property: Property })[];
// details: RequestDetailDto[];
}
@@ -0,0 +1,7 @@
export type RowPermissionsDto = {
canRead?: boolean;
canComment: boolean;
canUpdate: boolean;
canDelete: boolean;
isOwner: boolean;
};
@@ -0,0 +1,16 @@
import { RowMedia, RowValueMultiple, RowValueRange } from "@toolctrl/db/prisma-browser";
import { PropertyWithDetails } from "~/utils/db/entities/entities.db.server";
export type RowValueDto = {
id?: string | null;
property: PropertyWithDetails;
propertyId: string;
textValue?: string | undefined;
numberValue?: number | undefined;
dateValue?: Date | undefined;
booleanValue?: boolean | undefined;
selectedOption?: string | undefined;
media?: RowMedia[];
multiple?: RowValueMultiple[];
range?: RowValueRange | undefined;
};
@@ -0,0 +1,5 @@
export type RowValueMultipleDto = {
id?: string;
order: number;
value: string;
};
@@ -0,0 +1,8 @@
import { Decimal } from "decimal.js";
export type RowValueRangeDto = {
numberMin: Decimal | number | null;
numberMax: Decimal | number | null;
dateMin: Date | null;
dateMax: Date | null;
};