Add sync front component (#17748)

## Context
Allow twenty apps to sync front components
This commit is contained in:
Weiko
2026-02-09 00:00:23 +01:00
committed by GitHub
parent 40d7e740ef
commit 9aa63f7ddc
33 changed files with 643 additions and 97 deletions
@@ -9,13 +9,31 @@ import {
import { SyncableEntity } from 'src/engine/workspace-manager/types/syncable-entity.interface';
@Entity('frontComponent')
export class FrontComponentEntity extends SyncableEntity {
export class FrontComponentEntity
extends SyncableEntity
implements Required<FrontComponentEntity>
{
@PrimaryGeneratedColumn('uuid')
id: string;
@Column({ nullable: false })
name: string;
@Column({ nullable: true, type: 'varchar' })
description: string | null;
@Column({ nullable: false })
sourceComponentPath: string;
@Column({ nullable: false })
builtComponentPath: string;
@Column({ nullable: false })
componentName: string;
@Column({ nullable: false })
builtComponentChecksum: string;
@CreateDateColumn({ type: 'timestamptz' })
createdAt: Date;