Search
Preparing search index...
The search index is not available
@echelon-solutions/aws-event-sourcing
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Deploy
Class Deploy
Hierarchy
Aggregate
<
DeployEvent
>
Deploy
Implements
Resource
DeployResource
Index
Constructors
constructor
Properties
id
specification
status
version
Methods
commit
events
hydrate
on
Deploy
Created
on
Deploy
Deleted
on
Event
find
All
find
One
Constructors
constructor
new
Deploy
(
options
?:
AggregateOptions
)
:
Deploy
Parameters
Optional
options:
AggregateOptions
Returns
Deploy
Properties
Readonly
id
id
:
string
Optional
specification
specification
:
undefined
|
string
Optional
status
status
:
"processing"
|
"success"
|
"failed"
|
"deleted"
version
version
:
number
Methods
commit
commit
(
event
:
Event
)
:
Promise
<
void
>
Parameters
event:
Event
Returns
Promise
<
void
>
events
events
(
)
:
Promise
<
DeployEvent
[]
>
Returns
Promise
<
DeployEvent
[]
>
hydrate
hydrate
(
hydrateFromEvents
?:
DeployEvent
[]
)
:
Promise
<
void
>
Parameters
Optional
hydrateFromEvents:
DeployEvent
[]
Returns
Promise
<
void
>
Protected
on
Deploy
Created
on
Deploy
Created
(
event
:
DeployCreatedEvent
)
:
void
Parameters
event:
DeployCreatedEvent
Returns
void
Protected
on
Deploy
Deleted
on
Deploy
Deleted
(
event
:
DeployDeletedEvent
)
:
void
Parameters
event:
DeployDeletedEvent
Returns
void
Protected
on
Event
on
Event
(
event
:
Event
)
:
void
Parameters
event:
Event
Returns
void
Static
find
All
find
All<BaseEventType, AggregateImplementation>
(
type
:
{}
, table
?:
undefined
|
string
)
:
Promise
<
AggregateImplementation
[]
>
Type parameters
BaseEventType
:
Event
AggregateImplementation
:
Aggregate
<
DeployEvent
>
Parameters
type:
{}
Optional
table:
undefined
|
string
Returns
Promise
<
AggregateImplementation
[]
>
Static
find
One
find
One<BaseEventType, AggregateImplementation>
(
type
:
{}
, id
:
string
, table
?:
undefined
|
string
)
:
Promise
<
AggregateImplementation
|
ResourceNotFound
>
Type parameters
BaseEventType
:
Event
AggregateImplementation
:
Aggregate
<
DeployEvent
>
Parameters
type:
{}
id:
string
Optional
table:
undefined
|
string
Returns
Promise
<
AggregateImplementation
|
ResourceNotFound
>
Globals
Aggregate
Base
Error
Deploy
constructor
id
specification
status
version
commit
events
hydrate
on
Deploy
Created
on
Deploy
Deleted
on
Event
find
All
find
One
Illegal
Event
Argument
Illegal
Event
Number
Argument
Property
Not
Found
Resource
Not
Found
Unroutable
Event
Type
Aggregate
Options
Deploy
Created
Event
Deploy
Deleted
Event
Deploy
Event
Deploy
Resource
Event
Resource
Property
AWS
api
Handler
app
default
Middlewares
dynamo
local
Database
s3
table
Name
default
App
handler
handler
Router
load
Property
load
Property
Optional
stream
Handler
xray
Generated using
TypeDoc