/* auto-generated by CLI: af resources generate atbv_Production_ElementsAttachments \ --id dsAttachments \ --unique atbv_Production_ElementsAttachments \ --types \ --max-records 100 \ --permissions IUD \ --fields PrimKey,Domain,FileName,FileSize,FileRef,ProjectID,ElementID,Title,ElementRef,Damage,DamageID,ElementNumber */ import { generateApiDataObject } from "@olenbetong/appframe-data"; export type AttachmentsRecord = { PrimKey: string; Domain: string; FileName: string | null; FileSize: number | null; FileRef: string | null; ProjectID: string | null; ElementID: string | null; Title: string | null; ElementRef: string | null; Damage: boolean; DamageID: number | null; ElementNumber: string | null; }; export const dsAttachments = generateApiDataObject({ resource: "atbv_Production_ElementsAttachments", uniqueName: "atbv_Production_ElementsAttachments", id: "dsAttachments", allowUpdate: true, allowInsert: true, allowDelete: true, dynamicLoading: false, fields: [ { name: "PrimKey", type: "string", nullable: false, }, { name: "Domain", type: "string", nullable: false, }, { name: "FileName", type: "string", nullable: true, }, { name: "FileSize", type: "number", nullable: true, }, { name: "FileRef", type: "string", nullable: true, }, { name: "ProjectID", type: "string", nullable: true, }, { name: "ElementID", type: "string", nullable: true, }, { name: "Title", type: "string", nullable: true, }, { name: "ElementRef", type: "string", nullable: true, }, { name: "Damage", type: "boolean", nullable: false, }, { name: "DamageID", type: "number", nullable: true, }, { name: "ElementNumber", type: "string", nullable: true, }, ], parameters: { maxRecords: 100, }, });