rea-agents
Preparing search index...
application/InvestigationWorkspaceStore
RevisionedWorkspaceCodec
Interface RevisionedWorkspaceCodec<Document>
Parser, serializer, and CAS transition owned by one revisioned workspace.
interface
RevisionedWorkspaceCodec
<
Document
>
{
parse
:
(
input
:
unknown
)
=>
Document
;
serialize
:
(
document
:
Document
)
=>
string
;
validateNext
:
(
current
:
Document
|
null
,
next
:
Document
,
expectedRevision
:
number
|
null
,
)
=>
WorkspaceResult
<
null
>
;
}
Type Parameters
Document
Index
Properties
parse
serialize
validate
Next
Properties
Readonly
parse
parse
:
(
input
:
unknown
)
=>
Document
Readonly
serialize
serialize
:
(
document
:
Document
)
=>
string
Readonly
validate
Next
validateNext
:
(
current
:
Document
|
null
,
next
:
Document
,
expectedRevision
:
number
|
null
,
)
=>
WorkspaceResult
<
null
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
parse
serialize
validate
Next
rea-agents
Loading...
Parser, serializer, and CAS transition owned by one revisioned workspace.