EntityEditor
Properties
| Property | Type | Notes | 
|---|---|---|
| IWithEditorBehavior | 
Methods
| Method | Returns | Notes | 
|---|---|---|
| 
              
                
              
               | 
            EntityEditor | |
| 
              
                
              
               | 
            Promise<IEditorConfig> | |
| 
              
                
              
               | 
            Promise<HubEntity> | |
| 
              
                
              
               | 
            Promise<HubEntityEditor> | 
fromEntity
StaticParameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| entity Required | HubEntity | ||
| context Required | IArcGISContext | 
Returns
getConfig
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| i18nScope Required | string | ||
| type Required | EntityEditorType | 
Returns
save
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| editor Required | HubEntityEditor | ||
| editorContext Optional | IEntityEditorContext | 
Returns
toEditor
Parameters
| Parameter | Type | Default | Notes | 
|---|---|---|---|
| editorContext Optional | IEntityEditorContext | {} | |
| include Optional | string[] | [] | 
Returns
Class defined in packages/common/src/core/EntityEditor.ts:32