@honua/sdk-js
Preparing search index...
honua
EditWorkflowSession
Class EditWorkflowSession<T>
Type Parameters
T
=
Record
<
string
,
unknown
>
Index
Constructors
constructor
Properties
kind
source
Methods
capabilities
list
Attachments
metadata
pending
Attachments
query
Attachments
query
Related
set
Geometry
set
Id
set
Value
set
Values
snapshot
stage
Attachment
Add
stage
Attachment
Delete
stage
Attachment
Update
submit
validate
values
Constructors
constructor
new
EditWorkflowSession
<
T
=
Record
<
string
,
unknown
>
>
(
options
:
CreateEditSessionOptions
<
T
>
,
)
:
EditWorkflowSession
<
T
>
Type Parameters
T
=
Record
<
string
,
unknown
>
Parameters
options
:
CreateEditSessionOptions
<
T
>
Returns
EditWorkflowSession
<
T
>
Properties
Readonly
kind
kind
:
EditWorkflowKind
Readonly
source
source
:
Source
<
T
>
Methods
capabilities
capabilities
()
:
EditWorkflowCapabilitySummary
Returns
EditWorkflowCapabilitySummary
list
Attachments
listAttachments
(
parentId
?:
FeatureId
,
options
?:
{
signal
?:
AbortSignal
}
,
)
:
Promise
<
readonly
AttachmentInfo
[]
>
Parameters
Optional
parentId
:
FeatureId
options
:
{
signal
?:
AbortSignal
}
= {}
Returns
Promise
<
readonly
AttachmentInfo
[]
>
metadata
metadata
()
:
EditWorkflowMetadata
Returns
EditWorkflowMetadata
pending
Attachments
pendingAttachments
()
:
readonly
EditAttachmentMutation
[]
Returns
readonly
EditAttachmentMutation
[]
query
Attachments
queryAttachments
(
request
?:
AttachmentQuery
)
:
Promise
<
readonly
AttachmentGroup
[]
>
Parameters
request
:
AttachmentQuery
= {}
Returns
Promise
<
readonly
AttachmentGroup
[]
>
query
Related
queryRelated
<
R
=
Record
<
string
,
unknown
>
>
(
relationshipId
:
number
,
options
?:
Omit
<
RelatedQuery
,
"relationshipId"
|
"sourceIds"
>
&
{
sourceIds
?:
readonly
FeatureId
[]
;
}
,
)
:
Promise
<
RelatedResult
<
R
>
>
Type Parameters
R
=
Record
<
string
,
unknown
>
Parameters
relationshipId
:
number
options
:
Omit
<
RelatedQuery
,
"relationshipId"
|
"sourceIds"
>
&
{
sourceIds
?:
readonly
FeatureId
[]
;
}
= {}
Returns
Promise
<
RelatedResult
<
R
>
>
set
Geometry
setGeometry
(
geometry
:
Record
<
string
,
unknown
>
|
null
)
:
this
Parameters
geometry
:
Record
<
string
,
unknown
>
|
null
Returns
this
set
Id
setId
(
id
:
FeatureId
)
:
this
Parameters
id
:
FeatureId
Returns
this
set
Value
setValue
(
fieldName
:
string
,
value
:
unknown
)
:
this
Parameters
fieldName
:
string
value
:
unknown
Returns
this
set
Values
setValues
(
values
:
Partial
<
T
>
)
:
this
Parameters
values
:
Partial
<
T
>
Returns
this
snapshot
snapshot
()
:
EditWorkflowSnapshot
<
T
>
Returns
EditWorkflowSnapshot
<
T
>
stage
Attachment
Add
stageAttachmentAdd
(
attachment
:
string
|
Blob
|
File
,
options
?:
{
contentType
?:
string
;
name
?:
string
;
parentId
?:
FeatureId
}
,
)
:
this
Parameters
attachment
:
string
|
Blob
|
File
options
:
{
contentType
?:
string
;
name
?:
string
;
parentId
?:
FeatureId
}
= {}
Returns
this
stage
Attachment
Delete
stageAttachmentDelete
(
attachmentIds
:
readonly
FeatureId
[]
,
options
?:
{
parentId
?:
FeatureId
}
,
)
:
this
Parameters
attachmentIds
:
readonly
FeatureId
[]
options
:
{
parentId
?:
FeatureId
}
= {}
Returns
this
stage
Attachment
Update
stageAttachmentUpdate
(
attachmentId
:
FeatureId
,
attachment
:
string
|
Blob
|
File
,
options
?:
{
contentType
?:
string
;
name
?:
string
;
parentId
?:
FeatureId
}
,
)
:
this
Parameters
attachmentId
:
FeatureId
attachment
:
string
|
Blob
|
File
options
:
{
contentType
?:
string
;
name
?:
string
;
parentId
?:
FeatureId
}
= {}
Returns
this
submit
submit
(
overrides
?:
Partial
<
T
>
)
:
Promise
<
EditWorkflowSubmitResult
<
T
>
>
Parameters
overrides
:
Partial
<
T
>
= {}
Returns
Promise
<
EditWorkflowSubmitResult
<
T
>
>
validate
validate
()
:
EditWorkflowValidationResult
Returns
EditWorkflowValidationResult
values
values
()
:
Readonly
<
Record
<
string
,
unknown
>
>
Returns
Readonly
<
Record
<
string
,
unknown
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
kind
source
Methods
capabilities
list
Attachments
metadata
pending
Attachments
query
Attachments
query
Related
set
Geometry
set
Id
set
Value
set
Values
snapshot
stage
Attachment
Add
stage
Attachment
Delete
stage
Attachment
Update
submit
validate
values
@honua/sdk-js
Loading...