Class EditWorkflowSession<T>
Type Parameters
- T = Record<string, unknown>
Constructors
Properties
Methods
listAttachments
- listAttachments(parentId?, options?): Promise<readonly AttachmentInfo[]>
Parameters
OptionalparentId: FeatureId- options: {
signal?: AbortSignal;
} = {}Optionalsignal?: AbortSignal
queryRelated
- queryRelated<R>(relationshipId, options?): Promise<RelatedResult<R>>
Type Parameters
- R = Record<string, unknown>
Parameters
- relationshipId: number
- options: Omit<RelatedQuery, "relationshipId" | "sourceIds"> & {
sourceIds?: readonly FeatureId[];
} = {}
setGeometry
- setGeometry(geometry): this
Parameters
- geometry: null | Record<string, unknown>
Returns this
setId
- setId(id): this
Returns this
setValue
- setValue(fieldName, value): this
Parameters
- fieldName: string
- value: unknown
Returns this
setValues
- setValues(values): this
Returns this
stageAttachmentAdd
- stageAttachmentAdd(attachment, options?): this
Parameters
- attachment: string | Blob | File
- options: {
contentType?: string;
name?: string;
parentId?: FeatureId;
} = {}OptionalcontentType?: string
Optionalname?: string
OptionalparentId?: FeatureId
Returns this
stageAttachmentDelete
- stageAttachmentDelete(attachmentIds, options?): this
Returns this
stageAttachmentUpdate
- stageAttachmentUpdate(attachmentId, attachment, options?): this
Parameters
- attachmentId: FeatureId
- attachment: string | Blob | File
- options: {
contentType?: string;
name?: string;
parentId?: FeatureId;
} = {}OptionalcontentType?: string
Optionalname?: string
OptionalparentId?: FeatureId
Returns this
values
- values(): Readonly<Record<string, unknown>>
Returns Readonly<Record<string, unknown>>