service/domain/organization/user_created
Api Code Documentation / Exports / service/domain/organization/user_created
Table of contents
Interfaces
Variables
Functions
Variables
schema
• Const
schema: ObjectSchema
<any
>
Defined in
src/service/domain/organization/user_created.ts:50
Functions
createEvent
▸ createEvent(source
, publisher
, user
, time?
, metadata?
): Type
<Event
>
Parameters
Name | Type |
---|---|
source | string |
publisher | string |
user | InitialData |
time | string |
metadata? | UserMetadata |
Returns
Defined in
src/service/domain/organization/user_created.ts:59
createFrom
▸ createFrom(ctx
, event
): Type
<UserRecord
>
Parameters
Name | Type |
---|---|
ctx | Ctx |
event | Event |
Returns
Defined in
src/service/domain/organization/user_created.ts:88
validate
▸ validate(input
): Type
<Event
>
Parameters
Name | Type |
---|---|
input | any |