Skip to main content

Artifact

@retinue/monorepo


@retinue/monorepo / backend/src / Artifact

Type Alias: Artifact

Artifact = object

Defined in: backend/src/persistence/index.ts:937

Properties​

conversationId​

readonly conversationId: ConversationId

Defined in: backend/src/persistence/index.ts:946

The conversation that owns it.

Ownership, not association: AC-4 follows from it. Entitlement to an artifact is entitlement to its conversation, exactly as #129 established for files, so there is no second permission model to keep in step with the first.


createdAt​

readonly createdAt: string

Defined in: backend/src/persistence/index.ts:952


deletedAt?​

readonly optional deletedAt?: string

Defined in: backend/src/persistence/index.ts:955

Soft delete, so a shared link resolves to "deleted" rather than to nothing.


id​

readonly id: ArtifactId

Defined in: backend/src/persistence/index.ts:938


kind​

readonly kind: ArtifactKind

Defined in: backend/src/persistence/index.ts:947


latestVersion​

readonly latestVersion: number

Defined in: backend/src/persistence/index.ts:951

The highest version that exists. The default a reader gets when they do not ask for one.


name​

readonly name: string

Defined in: backend/src/persistence/index.ts:949

As the user or agent named it. Display only.


updatedAt​

readonly updatedAt: string

Defined in: backend/src/persistence/index.ts:953