Skip to main content

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

Defined in#

src/service/domain/organization/user_created.ts:46

Functions#

createEvent#

createEvent(source, publisher, user, time?): Type<Event>

Parameters#

NameType
sourcestring
publisherstring
userInitialData
timestring

Returns#

Type<Event>

Defined in#

src/service/domain/organization/user_created.ts:54


createFrom#

createFrom(ctx, event): Type<UserRecord>

Parameters#

NameType
ctxCtx
eventEvent

Returns#

Type<UserRecord>

Defined in#

src/service/domain/organization/user_created.ts:81


validate#

validate(input): Type<Event>

Parameters#

NameType
inputany

Returns#

Type<Event>

Defined in#

src/service/domain/organization/user_created.ts:76