Skip to main content

service/domain/workflow/workflowitem

Api Code Documentation / Exports / service/domain/workflow/workflowitem

Table of contents

Interfaces

Type Aliases

Variables

Functions

Type Aliases

Id

Ƭ Id: string

Defined in

src/service/domain/workflow/workflowitem.ts:19


ScrubbedWorkflowitem

Ƭ ScrubbedWorkflowitem: Workflowitem | RedactedWorkflowitem

Defined in

src/service/domain/workflow/workflowitem.ts:74

Variables

idSchema

Const idSchema: StringSchema<string>

Defined in

src/service/domain/workflow/workflowitem.ts:21


schema

Const schema: ObjectSchema<any>

Defined in

src/service/domain/workflow/workflowitem.ts:76

Functions

permits

permits(workflowitem, actingUser, intents): boolean

Parameters

NameType
workflowitemWorkflowitem
actingUserServiceUser
intentsdefault[]

Returns

boolean

Defined in

src/service/domain/workflow/workflowitem.ts:147


redact

redact(workflowitem): RedactedWorkflowitem

Parameters

NameType
workflowitemWorkflowitem

Returns

RedactedWorkflowitem

Defined in

src/service/domain/workflow/workflowitem.ts:162


validate

validate(input): Type<Workflowitem>

Parameters

NameType
inputany

Returns

Type<Workflowitem>

Defined in

src/service/domain/workflow/workflowitem.ts:142