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:76
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:78
Functions
permits
▸ permits(workflowitem, actingUser, intents): boolean
Parameters
| Name | Type |
|---|---|
workflowitem | Workflowitem |
actingUser | ServiceUser |
intents | default[] |
Returns
boolean
Defined in
src/service/domain/workflow/workflowitem.ts:150
redact
▸ redact(workflowitem): RedactedWorkflowitem
Parameters
| Name | Type |
|---|---|
workflowitem | Workflowitem |
Returns
Defined in
src/service/domain/workflow/workflowitem.ts:165
validate
▸ validate(input): Type<Workflowitem>
Parameters
| Name | Type |
|---|---|
input | any |