MCPcopy Index your code
hub / github.com/atomicdata-dev/atomic-data-browser / CommitBuilderI

Interface CommitBuilderI

lib/src/commit.ts:13–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12/** A {@link Commit} without its signature, signer and timestamp */
13export 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. */
25export function getTimestampNow(): number {

Callers

nothing calls this directly

Implementers 1

CommitBuilderlib/src/commit.ts

Calls

no outgoing calls

Tested by

no test coverage detected