Internal object. Not currently exposed on the public REST API. The operations below describe the intended contract.
API operations
Data model
Attributes
Relationships
System-computed
- created_at β set once by onCreate: () => new Date(); also set explicitly to new Date() by DocumentWorkspaceConnectorService.createDocumentWorkspaceConnector() and .stage()
- updated_at β set by onCreate and onUpdate hooks; also set explicitly by the service methods
- deleted_at β soft-delete sentinel; NULL on creation; not written by the pipelineβs normal create/stage paths
- pk β auto-increment serial primary key assigned by Postgres; internal join target only, never exposed in the public API
- No public UUID (*_id) column β this is a pure infrastructure junction record with no user-facing stable identifier beyond pk
Example
apps/api/src/database/entities/DocumentWorkspaceConnector.ts Β· domain: ingestion Β· tier: Infrastructure