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<any>

Defined in

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

Functions

createEvent

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

Parameters

NameType
sourcestring
publisherstring
userInitialData
timestring
metadata?UserMetadata

Returns

Type<Event>

Defined in

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


createFrom

createFrom(ctx, event): Type<UserRecord>

Parameters

NameType
ctxCtx
eventEvent

Returns

Type<UserRecord>

Defined in

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


validate

validate(input): Type<Event>

Parameters

NameType
inputany

Returns

Type<Event>

Defined in

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