| 11 | |
| 12 | /** A {@link Commit} without its signature, signer and timestamp */ |
| 13 | export interface CommitBuilderI { |
| 14 | /** The resource being edited */ |
| 15 | subject: string; |
| 16 | /** The propert-value combinations being edited https://atomicdata.dev/properties/set */ |
| 17 | set?: Record<string, JSONValue>; |
| 18 | /** The properties that need to be removed. https://atomicdata.dev/properties/remove */ |
| 19 | remove?: string[]; |
| 20 | /** If true, the resource must be deleted. https://atomicdata.dev/properties/destroy */ |
| 21 | destroy?: boolean; |
| 22 | } |
| 23 | |
| 24 | /** Return the current time as Atomic Data timestamp. Milliseconds since unix epoch. */ |
| 25 | export function getTimestampNow(): number { |
nothing calls this directly
no outgoing calls
no test coverage detected