syncable-entity-types-and-constants

Create TypeORM entities, types, and constants for syncable entities.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/csabsgroup/DealHub-CEO --skill syncable-entity-types-and-constants-csabsgroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: syncable-entity-types-and-constants
Source: https://github.com/csabsgroup/DealHub-CEO/tree/main/.cursor/skills/syncable-entity-types-and-constants
Command: npx skills add https://github.com/csabsgroup/DealHub-CEO --skill syncable-entity-types-and-constants-csabsgroup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill defines the foundational types, entities, and registers central constants to manage syncable entities within Twenty's workspace migration system, ensuring consistent structure and references.

Core Features & Use Cases

  • Type Definitions: Sets up TypeScript types and interfaces for new syncable entities.
  • Entity Creation: Automates creation of TypeORM entities extending SyncableEntity.
  • Constants Registration: Registers entity names, property configurations, relations, and foreign keys for seamless integration.
  • Use Case: When creating a new entity, utilize this Skill to quickly generate and register all necessary types and constants, reducing manual coding errors.

Quick Start

Define types, create database entities, and register constants necessary for integrating a new syncable entity in the workspace management system.

Frequently Asked Questions about syncable-entity-types-and-constants

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are syncable entities in TypeORM and when do I need to set them up?

Syncable entities in TypeORM are database models that extend a base class for workspace data synchronization. You need to set them up when creating new database entities that require consistent registration and integration within a migration system.

How do I create a new syncable entity and register its constants in TypeScript?

To create a syncable entity, define TypeScript types, build the TypeORM model extending the base entity, and register constants like property configurations and foreign keys to ensure seamless integration into the system.

Does this approach support TypeORM models with custom relations and foreign keys?

Yes, the setup process explicitly registers entity names, property configurations, relations, and foreign keys. This ensures your custom TypeORM models integrate seamlessly into the workspace management system without manual coding errors.

Why do my new database entities fail to integrate with the workspace migration system?

New database entities fail to integrate when foundational types and central constants are not properly registered. Automating the setup of these core entity types and relations ensures consistent structure and references within the system.

Can I use this setup for managing multiple syncable entities at once?

Yes, the setup targets developers creating new database entities by automating the definition of types and constants. This streamlines initial setup for multiple syncable entities, reducing manual coding errors across the workspace.

What is the best way to establish core types and constants for syncable entities?

The best way to establish core types and constants is to automate the creation of TypeORM entities and register all associated configurations, ensuring consistent structure and references for new syncable entities.