Spaces:
Build error
Build error
twenty / packages /twenty-server /src /engine /metadata-modules /logic-function-layer /logic-function-layer.entity.ts
| import { type PackageJson } from 'type-fest'; | |
| import { | |
| Column, | |
| CreateDateColumn, | |
| Entity, | |
| PrimaryGeneratedColumn, | |
| UpdateDateColumn, | |
| } from 'typeorm'; | |
| import { WorkspaceRelatedEntity } from 'src/engine/workspace-manager/types/workspace-related-entity'; | |
| ('logicFunctionLayer') | |
| export class LogicFunctionLayerEntity extends WorkspaceRelatedEntity { | |
| ('uuid') | |
| id: string; | |
| ({ type: 'jsonb', nullable: false }) | |
| packageJson: PackageJson; | |
| ({ type: 'text', nullable: false }) | |
| yarnLock: string; | |
| ({ type: 'text', nullable: true }) | |
| packageJsonChecksum?: string; | |
| ({ type: 'text', nullable: false }) | |
| yarnLockChecksum: string; | |
| ({ type: 'jsonb', nullable: false, default: {} }) | |
| availablePackages: Record<string, string>; | |
| ({ type: 'timestamptz' }) | |
| createdAt: Date; | |
| ({ type: 'timestamptz' }) | |
| updatedAt: Date; | |
| } | |