Preparing search index...
The search index is not available @tomic
Defined in lib/dist/src/commit.d.ts:33
Properties
Private
Optional
_destroy
_destroy?: any
Defined in lib/dist/src/commit.d.ts:38
Private
Optional
_previous Commit
_previous Commit?: any
Defined in lib/dist/src/commit.d.ts:39
Private
_push
_push: any
Defined in lib/dist/src/commit.d.ts:36
Private
_remove
_remove: any
Defined in lib/dist/src/commit.d.ts:37
Private
_set
_set: any
Defined in lib/dist/src/commit.d.ts:35
Private
_subject
_subject: any
Defined in lib/dist/src/commit.d.ts:34
Accessors
destroy
get destroy( ) : undefined | boolean
Returns undefined | boolean
Defined in lib/dist/src/commit.d.ts:46
previous Commit
get previousCommit( ) : undefined | string
Returns undefined | string
Defined in lib/dist/src/commit.d.ts:47
push
get push( ) : Map < string , Set < JSONValue > >
Returns Map < string , Set < JSONValue > >
Defined in lib/dist/src/commit.d.ts:44
remove
get remove( ) : Set < string >
Returns Set < string >
Defined in lib/dist/src/commit.d.ts:45
set
get set( ) : Map < string , JSONValue >
Returns Map < string , JSONValue >
Defined in lib/dist/src/commit.d.ts:43
subject
get subject( ) : string
Returns string
Defined in lib/dist/src/commit.d.ts:42
Methods
add Remove Action
add Remove Action( property: string ) : CommitBuilder
Defined in lib/dist/src/commit.d.ts:50
has Unsaved Changes
has Unsaved Changes( ) : boolean
Returns boolean
Defined in lib/dist/src/commit.d.ts:65
remove Remove Action
remove Remove Action( property: string ) : CommitBuilder
Defined in lib/dist/src/commit.d.ts:51
set Destroy
set Destroy( destroy: boolean ) : CommitBuilder
Defined in lib/dist/src/commit.d.ts:52
set Previous Commit
set Previous Commit( prev: string ) : CommitBuilder
Defined in lib/dist/src/commit.d.ts:57
set Subject
set Subject( subject: string ) : CommitBuilder
Defined in lib/dist/src/commit.d.ts:58
sign
sign( privateKey: string , agentSubject: string ) : Promise < Commit >
Parameters
privateKey: string
agentSubject: string
Returns Promise < Commit >
Defined in lib/dist/src/commit.d.ts:63
sign At
sign At( agent: string , privateKey: string , createdAt: number ) : Promise < Commit >
Parameters
agent: string
privateKey: string
createdAt: number
Returns Promise < Commit >
Defined in lib/dist/src/commit.d.ts:74
to Plain Object
to Plain Object( ) : CommitBuilderI
Defined in lib/dist/src/commit.d.ts:72
A Commit without its signature, signer and timestamp