Commit | @tomic

A Commit represents a (set of) changes to one specific Resource. See https://atomicdata.dev/classes/Commit If you want to create a Commit, you should probably use the CommitBuilder and call .sign() on it.

Hierarchy

Properties

createdAt

createdAt: number

Optional destroy

destroy?: boolean

Optional id

id?: string

Subject of created Commit. Will only be present after it was accepted and applied by the Server.

Optional previousCommit

previousCommit?: string

URL of the previous Commit, used by the receiver to make sure that we're having the same current version.

Optional push

Optional remove

remove?: string[]

Optional set

signature

signature: string

signer

signer: string

subject

subject: string

The resource being edited