<!-- # hard line break macro for HTML -->

# @fiftyone/operators

## Hooks

<a id="fos-fiftyone-fiftyone-fiftyone-operators-usefirstexistinguri"></a>

### useFirstExistingUri

### @fiftyone/operators.useFirstExistingUri(uris)

* **Arguments:**
  * **uris** (`Array`)
* **Return type:**
  `Object`

Reactively returns the first registered operator URI from a list.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useglobalexecutioncontext"></a>

### useGlobalExecutionContext

### @fiftyone/operators.useGlobalExecutionContext()

* **Return type:**
  `plugins.fiftyone.operators.ExecutionContext`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useoperatoravailability"></a>

### useOperatorAvailability

### @fiftyone/operators.useOperatorAvailability(uri)

* **Arguments:**
  * **uri** (`string`)
* **Return type:**
  `boolean`

Reactively reports whether an operator URI is registered. This checks
registry presence only; callers remain responsible for permission checks.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useoperatorbrowser"></a>

### useOperatorBrowser

### @fiftyone/operators.useOperatorBrowser()

* **Return type:**
  `Object`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useoperatorexecutor"></a>

### useOperatorExecutor

### @fiftyone/operators.useOperatorExecutor(uri, handlers)

* **Arguments:**
  * **uri** (`any`)
  * **handlers** ([`Object`](#fiftyone-operators.Object))
  * **handlers.onError** (`( result : OperatorResult ,  options : ExecutionCallbackOptions )`)
  * **handlers.onSuccess** (`ExecutionCallback`)
* **Return type:**
  `Object`

**Returns**

An object containing the state of the operator execution.

Example:

```typescript
const defaultParams = {
  // default parameters of the operator
  param1: "value1",
  param2: "value2",
};
const paramOverrides = {
  // override the parameters of the operator
  param1: "value1-override",
};
const handlers = {
  onSuccess: (result: OperatorResult, opts: OperatorExecutorOptions) => {
    // do something with the success
  },
  onError: (error: OperatorResult, opts: OperatorExecutorOptions) => {
    // do something with the error
  }
};
const executor = useOperatorExecutor("my-operator", handlers);
const myBtnCb = useCallback(() => {
  const opts: OperatorExecutorOptions = {
    skipErrorNotification: true,
    callback: (result: OperatorResult, opts: OperatorExecutorOptions) => {
      if (result.error) {
        // do something with the error
      }
    }
  };
  executor.execute(paramOverrides, opts);
}, [executor]);
```

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useoperatorplacements"></a>

### useOperatorPlacements

### @fiftyone/operators.useOperatorPlacements(place)

* **Arguments:**
  * **place** (`Places`)
* **Return type:**
  `Object`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useoperators"></a>

### useOperators

### @fiftyone/operators.useOperators(datasetLess)

* **Arguments:**
  * **datasetLess** (`boolean`)
* **Return type:**
  `Object`

Load built-in and installed JavaScript and Python operators and queue all
: start-up operators for execution.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-usepanelevent"></a>

### usePanelEvent

### @fiftyone/operators.usePanelEvent()

* **Return type:**
  `plugins.fiftyone.operators.TriggerEventFn`

A hook that can be used to trigger an operator on a panel.

**Returns**

A function that can be used to trigger an operator on a panel.

Example:

```typescript
const panelId = usePanelId();
const triggerEvent = usePanelEvent();
triggerEvent(panelId, {
  operator: "@voxel51/plugin/operator#event",
  params: { param1: "value1" },
});
```

<a id="fos-fiftyone-fiftyone-fiftyone-operators-usepromptoperatorinput"></a>

### usePromptOperatorInput

### @fiftyone/operators.usePromptOperatorInput()

### @fiftyone/operators.promptOperatorInput()

* **Arguments:**
  * **operatorName** (`any`)
  * **params** (`Any`)
  * **options** (`Any`)
* **Return type:**
  `void`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-userefreshoperators"></a>

### useRefreshOperators

### @fiftyone/operators.useRefreshOperators()

Re-fetches and registers operators/panels, then bumps the refresh count
so mounted consumers see anything new without a reload. Skips
`loadOperators`’ one-time `onDatasetOpen`/`onStartup` side effects.

> ### @fiftyone/operators.refreshOperators()

> * **Arguments:**
>   * **datasetName** (`string`)
> * **Return type:**
>   `Promise < void >` `<` `void` `>`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-usetriggerpanelevent"></a>

### useTriggerPanelEvent

### @fiftyone/operators.useTriggerPanelEvent()

### @fiftyone/operators.triggerPanelEvent()

* **Arguments:**
  * **event** (`string`)
  * **params** (`ParamsType`)
  * **prompt** (`boolean`)
  * **callback** (`ExecutionCallback`)
* **Return type:**
  `void`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useviewtargetcounts"></a>

### useViewTargetCounts

### @fiftyone/operators.useViewTargetCounts()

* **Return type:**
  `Record < ViewTarget , number >` `<` `plugins.fiftyone.operators.ViewTarget` `,` `number` `>`

Hook which provides the number of samples each view target processes.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-useviewtargets"></a>

### useViewTargets

### @fiftyone/operators.useViewTargets(options)

* **Arguments:**
  * **options** ([`Object`](#fiftyone-operators.Object))
  * **options.requireFlat** (`boolean`)
* **Return type:**
  `Object`

Hook which resolves the view targets an operation may process.

`requireFlat` mirrors `ctx.target_view(require_flat=...)`: pass the
same value the operation resolves with.

## Functions

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorbrowser"></a>

### OperatorBrowser

### @fiftyone/operators.OperatorBrowser()

* **Return type:**
  `ReactPortal`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorcore"></a>

### OperatorCore

### @fiftyone/operators.OperatorCore()

* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorexecutionbutton"></a>

### OperatorExecutionButton

### @fiftyone/operators.OperatorExecutionButton(\_\_namedParameters)

* **Arguments:**
  * **\_\_namedParameters** ([`Object`](#fiftyone-operators.Object))
  * **\_\_namedParameters.children** (`ReactNode`)
  * **\_\_namedParameters.disabled** (`boolean`)
  * **\_\_namedParameters.executionParams** (`object`)
  * **\_\_namedParameters.insideModal** (`boolean`)
  * **\_\_namedParameters.menuAnchorOrigin** ([`Object`](#fiftyone-operators.Object))
  * **\_\_namedParameters.menuTransformOrigin** ([`Object`](#fiftyone-operators.Object))
  * **\_\_namedParameters.onClick** (`( )`)
  * **\_\_namedParameters.onError** (`ExecutionErrorCallback`)
  * **\_\_namedParameters.onOptionSelected** (`( option : OperatorExecutionOption )`)
  * **\_\_namedParameters.onSuccess** (`ExecutionCallback`)
  * **\_\_namedParameters.operatorUri** (`string`)
* **Return type:**
  `Element`

Button which acts as a trigger for opening an `OperatorExecutionMenu`.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorio"></a>

### OperatorIO

### @fiftyone/operators.OperatorIO(props)

* **Arguments:**
  * **props** (`any`)
* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorinvocationrequestexecutor"></a>

### OperatorInvocationRequestExecutor

### @fiftyone/operators.OperatorInvocationRequestExecutor()

* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorplacementwitherrorboundary"></a>

### OperatorPlacementWithErrorBoundary

### @fiftyone/operators.OperatorPlacementWithErrorBoundary(props)

* **Arguments:**
  * **props** (`OperatorPlacementProps`)
* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorplacements"></a>

### OperatorPlacements

### @fiftyone/operators.OperatorPlacements(props)

* **Arguments:**
  * **props** (`OperatorPlacementsProps`)
* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorprompt"></a>

### OperatorPrompt

### @fiftyone/operators.OperatorPrompt()

* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operatorpromptarea"></a>

### OperatorPromptArea

### @fiftyone/operators.OperatorPromptArea(props)

* **Arguments:**
  * **props** (`OperatorPromptAreaPropsType`)
* **Return type:**
  `Element`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-viewtargetselector"></a>

### ViewTargetSelector

### @fiftyone/operators.ViewTargetSelector(\_\_namedParameters)

* **Arguments:**
  * **\_\_namedParameters** ([`Object`](#fiftyone-operators.Object))
  * **\_\_namedParameters.label** (`string`)
  * **\_\_namedParameters.onChange** (`( value : ViewTarget )`)
  * **\_\_namedParameters.options** (`Array`)
  * **\_\_namedParameters.value** (`ViewTarget`)
* **Return type:**
  `Element`

Component which supports `radio`-style selection of a view target, with the
sample count each target would process.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-abortoperationsbyexpression"></a>

### abortOperationsByExpression

### @fiftyone/operators.abortOperationsByExpression(expression)

* **Arguments:**
  * **expression** (`any`)
* **Return type:**
  `void`

Cancels all abortable operations that match the given expression.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-abortoperationsbyuri"></a>

### abortOperationsByURI

### @fiftyone/operators.abortOperationsByURI(uri)

* **Arguments:**
  * **uri** (`any`)
* **Return type:**
  `void`

Cancels all abortable operations started by the operator with the given uri.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-executeoperator"></a>

### executeOperator

### @fiftyone/operators.executeOperator(uri, params, options)

* **Arguments:**
  * **uri** (`string`)
  * **params** (`unknown`)
  * **options** (`OperatorExecutorOptions`)
* **Return type:**
  `Promise < void >` `<` `void` `>`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-registeroperator"></a>

### registerOperator

### @fiftyone/operators.registerOperator(OperatorType, pluginName)

* **Arguments:**
  * **OperatorType**
  * **pluginName** (`string`)
* **Return type:**
  `void`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-validate"></a>

### validate

### @fiftyone/operators.validate(params, property)

* **Arguments:**
  * **params** (`ParamsType`)
  * **property** ([`Property`](#fiftyone-operators.Property))
* **Return type:**
  `Object`

## Types

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-places"></a>

### Places

Places where you can have your operator placement rendered.

| Name                           | Value   |
|--------------------------------|---------|
| DISPLAY_OPTIONS                |         |
| EMBEDDINGS_ACTIONS             |         |
| HEADER_ACTIONS                 |         |
| HISTOGRAM_ACTIONS              |         |
| MAP_ACTIONS                    |         |
| MAP_SECONDARY_ACTIONS          |         |
| SAMPLES_GRID_ACTIONS           |         |
| SAMPLES_GRID_SECONDARY_ACTIONS |         |
| SAMPLES_VIEWER_ACTIONS         |         |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-viewtarget"></a>

### ViewTarget

Enumeration of view targets for parity with server-side logic.

| Name               | Value   |
|--------------------|---------|
| BASE_VIEW          |         |
| CURRENT_VIEW       |         |
| CUSTOM_VIEW_TARGET |         |
| DATASET            |         |
| DATASET_VIEW       |         |
| SELECTED_LABELS    |         |
| SELECTED_SAMPLES   |         |

Operator class for describing an autocomplete [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-autocompleteview"></a>

### AutocompleteView

### *class* @fiftyone/operators.AutocompleteView()

* **Summary:**
  Operator class for describing an autocomplete [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-autocompleteview-constructor"></a>

### @fiftyone/operators.new AutocompleteView(options)

* **Arguments:**
  * **options** (`ChoicesOptions`)
* **Return type:**
  `plugins.fiftyone.operators.AutocompleteView`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-basetype"></a>

### BaseType

### *class* @fiftyone/operators.BaseType()

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-basetype-constructor"></a>

### @fiftyone/operators.new BaseType()

* **Return type:**
  `plugins.fiftyone.operators.BaseType`

Operator type for representing a boolean value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-boolean"></a>

### Boolean

### *class* @fiftyone/operators.Boolean()

* **Summary:**
  Operator type for representing a boolean value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-boolean-constructor"></a>

### @fiftyone/operators.new Boolean()

* **Return type:**
  `plugins.fiftyone.operators.OperatorBoolean`

Operator class for describing a button [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-button"></a>

### Button

### *class* @fiftyone/operators.Button()

* **Summary:**
  Operator class for describing a button [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-button-constructor"></a>

### @fiftyone/operators.new Button(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Button`

Operator class for describing a choice [`View`](#fiftyone-operators.View) for an operator type.
Must be used in conjunction with [`Choices`](#fiftyone-operators.Choices)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-choice"></a>

### Choice

### *class* @fiftyone/operators.Choice()

* **Summary:**
  Operator class for describing a choice [`View`](#fiftyone-operators.View) for an operator type.
  Must be used in conjunction with [`Choices`](#fiftyone-operators.Choices)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-choice-constructor"></a>

### @fiftyone/operators.new Choice(value, options)

* **Arguments:**
  * **value** (`string`)
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Choice`

Operator class for describing choices [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-choices"></a>

### Choices

### *class* @fiftyone/operators.Choices()

* **Summary:**
  Operator class for describing choices [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-choices-constructor"></a>

### @fiftyone/operators.new Choices(options)

* **Arguments:**
  * **options** (`ChoicesOptions`)
* **Return type:**
  `plugins.fiftyone.operators.Choices`

Operator class for describing a code block [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-codeview"></a>

### CodeView

### *class* @fiftyone/operators.CodeView()

* **Summary:**
  Operator class for describing a code block [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-codeview-constructor"></a>

### @fiftyone/operators.new CodeView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.CodeView`

Operator class for describing a color picker [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-colorview"></a>

### ColorView

### *class* @fiftyone/operators.ColorView()

* **Summary:**
  Operator class for describing a color picker [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-colorview-constructor"></a>

### @fiftyone/operators.new ColorView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ColorView`

Operator class for describing a column [`View`](#fiftyone-operators.View) for an
operator type. Must be used in conjunction with [`TableView`](#fiftyone-operators.TableView)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-column"></a>

### Column

### *class* @fiftyone/operators.Column()

* **Summary:**
  Operator class for describing a column [`View`](#fiftyone-operators.View) for an
  operator type. Must be used in conjunction with [`TableView`](#fiftyone-operators.TableView)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-column-constructor"></a>

### @fiftyone/operators.new Column(key, options)

* **Arguments:**
  * **key** (`string`)
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Column`

Operator class for describing a ComponentView [`View`](#fiftyone-operators.View) for an
operator type. When using ComponentView, you can render a registered custom
plugin component.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-componentview"></a>

### ComponentView

### *class* @fiftyone/operators.ComponentView()

* **Summary:**
  Operator class for describing a ComponentView [`View`](#fiftyone-operators.View) for an
  operator type. When using ComponentView, you can render a registered custom
  plugin component.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-componentview-constructor"></a>

### @fiftyone/operators.new ComponentView(component, options)

* **Arguments:**
  * **component** (`string`)
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ComponentView`

Operator class for describing a dropdown [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-dropdown"></a>

### Dropdown

### *class* @fiftyone/operators.Dropdown()

* **Summary:**
  Operator class for describing a dropdown [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-dropdown-constructor"></a>

### @fiftyone/operators.new Dropdown(options)

* **Arguments:**
  * **options** (`ChoicesOptions`)
* **Return type:**
  `plugins.fiftyone.operators.Dropdown`

Operator type for representing an enum value for operator input/output. Enum
: is similar to a string, but can define specific values

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-enum"></a>

### Enum

### *class* @fiftyone/operators.Enum()

* **Summary:**
  Operator type for representing an enum value for operator input/output. Enum
  is similar to a string, but can define specific values

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-enum-constructor"></a>

### @fiftyone/operators.new Enum(values)

* **Arguments:**
  * **values** (`Array`)
* **Return type:**
  `plugins.fiftyone.operators.Enum`

Operator class for describing a error notice [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-error"></a>

### Error

### *class* @fiftyone/operators.Error()

* **Summary:**
  Operator class for describing a error notice [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-error-constructor"></a>

### @fiftyone/operators.new Error(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ErrorView`

Operator class for describing a FieldView [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fieldview"></a>

### FieldView

### *class* @fiftyone/operators.FieldView()

* **Summary:**
  Operator class for describing a FieldView [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fieldview-constructor"></a>

### @fiftyone/operators.new FieldView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.FieldView`

Operator type for defining a file and its metadata.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-file"></a>

### File

### *class* @fiftyone/operators.File()

* **Summary:**
  Operator type for defining a file and its metadata.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-file-constructor"></a>

### @fiftyone/operators.new File(properties)

* **Arguments:**
  * **properties** (`Map`)
* **Return type:**
  `plugins.fiftyone.operators.File`

initial properties on the object

Operator class for interacting with files.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fileexplorerview"></a>

### FileExplorerView

### *class* @fiftyone/operators.FileExplorerView()

* **Summary:**
  Operator class for interacting with files.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fileexplorerview-constructor"></a>

### @fiftyone/operators.new FileExplorerView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.FileExplorerView`

Operator class for describing a file upload [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fileview"></a>

### FileView

### *class* @fiftyone/operators.FileView()

* **Summary:**
  Operator class for describing a file upload [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-fileview-constructor"></a>

### @fiftyone/operators.new FileView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.FileView`

Operator class for describing a view (rendering details in the app) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-form"></a>

### Form

### *class* @fiftyone/operators.Form()

* **Summary:**
  Operator class for describing a view (rendering details in the app) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-form-constructor"></a>

### @fiftyone/operators.new Form(live, submitButtonLabel, cancelButtonLabel, options)

* **Arguments:**
  * **live** (`boolean`)
  * **submitButtonLabel** (`string`)
  * **cancelButtonLabel** (`string`)
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Form`

Operator class for describing a header [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-header"></a>

### Header

### *class* @fiftyone/operators.Header()

* **Summary:**
  Operator class for describing a header [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-header-constructor"></a>

### @fiftyone/operators.new Header(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Header`

Operator class for describing a hidden [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-hiddenview"></a>

### HiddenView

### *class* @fiftyone/operators.HiddenView()

* **Summary:**
  Operator class for describing a hidden [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-hiddenview-constructor"></a>

### @fiftyone/operators.new HiddenView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.HiddenView`

Operator class for describing a IconButtonView [`Button`](#fiftyone-operators.Button) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-iconbuttonview"></a>

### IconButtonView

### *class* @fiftyone/operators.IconButtonView()

* **Summary:**
  Operator class for describing a IconButtonView [`Button`](#fiftyone-operators.Button) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-iconbuttonview-constructor"></a>

### @fiftyone/operators.new IconButtonView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.IconButtonView`

Operator class for describing an inferred [`View`](#fiftyone-operators.View) for an operator type.
Inferred view is useful for rendering an operator type without the need
to describe views for each type and sub-type explicitly

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-inferredview"></a>

### InferredView

### *class* @fiftyone/operators.InferredView()

* **Summary:**
  Operator class for describing an inferred [`View`](#fiftyone-operators.View) for an operator type.
  Inferred view is useful for rendering an operator type without the need
  to describe views for each type and sub-type explicitly

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-inferredview-constructor"></a>

### @fiftyone/operators.new InferredView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.InferredView`

Operator class for describing a json [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-jsonview"></a>

### JSONView

### *class* @fiftyone/operators.JSONView()

* **Summary:**
  Operator class for describing a json [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-jsonview-constructor"></a>

### @fiftyone/operators.new JSONView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.JSONView`

Operator class for describing a key-value [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-keyvalueview"></a>

### KeyValueView

### *class* @fiftyone/operators.KeyValueView()

* **Summary:**
  Operator class for describing a key-value [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-keyvalueview-constructor"></a>

### @fiftyone/operators.new KeyValueView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.KeyValueView`

Operator class for describing a LazyFieldView [`View`](#fiftyone-operators.View) for an
operator type. When using LazyFieldView, only apply input field changes on
blur or when user clicks the save button within the field.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-lazyfieldview"></a>

### LazyFieldView

### *class* @fiftyone/operators.LazyFieldView()

* **Summary:**
  Operator class for describing a LazyFieldView [`View`](#fiftyone-operators.View) for an
  operator type. When using LazyFieldView, only apply input field changes on
  blur or when user clicks the save button within the field.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-lazyfieldview-constructor"></a>

### @fiftyone/operators.new LazyFieldView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.LazyFieldView`

Operator class for describing a link [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-linkview"></a>

### LinkView

### *class* @fiftyone/operators.LinkView()

* **Summary:**
  Operator class for describing a link [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-linkview-constructor"></a>

### @fiftyone/operators.new LinkView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.LinkView`

Operator type for representing a list value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-list"></a>

### List

### *class* @fiftyone/operators.List()

* **Summary:**
  Operator type for representing a list value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-list-constructor"></a>

### @fiftyone/operators.new List(elementType, minItems, maxItems)

* **Arguments:**
  * **elementType** ([`ANY_TYPE`](#fiftyone-operators.ANY_TYPE))
  * **minItems** (`number`)
  * **maxItems** (`number`)
* **Return type:**
  `plugins.fiftyone.operators.List`

Operator class for describing a list [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-listview"></a>

### ListView

### *class* @fiftyone/operators.ListView()

* **Summary:**
  Operator class for describing a list [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-listview-constructor"></a>

### @fiftyone/operators.new ListView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ListView`

Operator class for describing a loader [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-loadingview"></a>

### LoadingView

### *class* @fiftyone/operators.LoadingView()

* **Summary:**
  Operator class for describing a loader [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-loadingview-constructor"></a>

### @fiftyone/operators.new LoadingView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.LoadingView`

Operator type for representing a map value for operator input/output. `Map`
can be useful for accepting arbitrary key-value pair where key is of type
`String` and value can be any one of operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-map"></a>

### Map

### *class* @fiftyone/operators.Map()

* **Summary:**
  Operator type for representing a map value for operator input/output. `Map`
  can be useful for accepting arbitrary key-value pair where key is of type
  `String` and value can be any one of operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-map-constructor"></a>

### @fiftyone/operators.new Map(keyType, valueType)

* **Arguments:**
  * **keyType** ([`ANY_TYPE`](#fiftyone-operators.ANY_TYPE))
  * **valueType** ([`ANY_TYPE`](#fiftyone-operators.ANY_TYPE))
* **Return type:**
  `plugins.fiftyone.operators.OperatorMap`

Operator class for describing a map [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-mapview"></a>

### MapView

### *class* @fiftyone/operators.MapView()

* **Summary:**
  Operator class for describing a map [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-mapview-constructor"></a>

### @fiftyone/operators.new MapView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.MapView`

Operator class for rendering a string as markdown.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-markdownview"></a>

### MarkdownView

### *class* @fiftyone/operators.MarkdownView()

* **Summary:**
  Operator class for rendering a string as markdown.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-markdownview-constructor"></a>

### @fiftyone/operators.new MarkdownView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.MarkdownView`

Operator class for describing a view (rendering details in the app) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-mediaplayerview"></a>

### MediaPlayerView

### *class* @fiftyone/operators.MediaPlayerView()

* **Summary:**
  Operator class for describing a view (rendering details in the app) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-mediaplayerview-constructor"></a>

### @fiftyone/operators.new MediaPlayerView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.MediaPlayerView`

Operator class for describing a ModalView [`Button`](#fiftyone-operators.Button) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-modalview"></a>

### ModalView

### *class* @fiftyone/operators.ModalView()

* **Summary:**
  Operator class for describing a ModalView [`Button`](#fiftyone-operators.Button) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-modalview-constructor"></a>

### @fiftyone/operators.new ModalView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ModalView`

Operator class for describing a informational notice [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-notice"></a>

### Notice

### *class* @fiftyone/operators.Notice()

* **Summary:**
  Operator class for describing a informational notice [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-notice-constructor"></a>

### @fiftyone/operators.new Notice(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Notice`

Operator type for representing a number value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-number"></a>

### Number

### *class* @fiftyone/operators.Number()

* **Summary:**
  Operator type for representing a number value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-number-constructor"></a>

### @fiftyone/operators.new Number(options)

* **Arguments:**
  * **options** ([`Object`](#fiftyone-operators.Object))
  * **options.float** (`boolean`)
  * **options.int** (`boolean`)
  * **options.max** (`number`) – maximum number a value can be
  * **options.min** (`number`) – minimum number a value can be
* **Return type:**
  `plugins.fiftyone.operators.OperatorNumber`

Construct operator type for number-like values

Operator type for representing an object value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-object"></a>

### Object

### *class* @fiftyone/operators.Object()

* **Summary:**
  Operator type for representing an object value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-object-constructor"></a>

### @fiftyone/operators.new Object(properties)

* **Arguments:**
  * **properties** (`ObjectProperties`)
* **Return type:**
  `plugins.fiftyone.operators.OperatorObject`

You can construct operator object type optionally providing a JS `Map` with
: key representing the name of a property and the value representing the
  property it self. (default: `new Map()`)

initial properties on the object

Operator type for representing an oneof value for operator input/output.
: `OneOf` can be used when a value can be of multiple types.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-oneof"></a>

### OneOf

### *class* @fiftyone/operators.OneOf()

* **Summary:**
  Operator type for representing an oneof value for operator input/output.
  `OneOf` can be used when a value can be of multiple types.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-oneof-constructor"></a>

### @fiftyone/operators.new OneOf(types)

* **Arguments:**
  * **types** (`Array`)
* **Return type:**
  `plugins.fiftyone.operators.OneOf`

Operator class for describing a oneof [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-oneofview"></a>

### OneOfView

### *class* @fiftyone/operators.OneOfView()

* **Summary:**
  Operator class for describing a oneof [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-oneofview-constructor"></a>

### @fiftyone/operators.new OneOfView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.OneOfView`

Operator class for rendering a execution button.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-operatorexecutionbuttonview"></a>

### OperatorExecutionButtonView

### *class* @fiftyone/operators.OperatorExecutionButtonView()

* **Summary:**
  Operator class for rendering a execution button.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-operatorexecutionbuttonview-constructor"></a>

### @fiftyone/operators.new OperatorExecutionButtonView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.OperatorExecutionButtonView`

Operator class for describing a PillBadgeView [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-pillbadgeview"></a>

### PillBadgeView

### *class* @fiftyone/operators.PillBadgeView()

* **Summary:**
  Operator class for describing a PillBadgeView [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-pillbadgeview-constructor"></a>

### @fiftyone/operators.new PillBadgeView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.PillBadgeView`

Operator type for defining a placement for an operator. Placement is a button
: that can be rendered at various places in the app

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-placement"></a>

### Placement

### *class* @fiftyone/operators.Placement()

* **Summary:**
  Operator type for defining a placement for an operator. Placement is a button
  that can be rendered at various places in the app

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-placement-constructor"></a>

### @fiftyone/operators.new Placement(place, view)

* **Arguments:**
  * **place** (`Places`)
  * **view** ([`View`](#fiftyone-operators.View))
* **Return type:**
  `plugins.fiftyone.operators.Placement`

Operator class for describing a plotly.js [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-plotlyview"></a>

### PlotlyView

### *class* @fiftyone/operators.PlotlyView()

* **Summary:**
  Operator class for describing a plotly.js [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-plotlyview-constructor"></a>

### @fiftyone/operators.new PlotlyView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.PlotlyView`

Operator class for describing a progress [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-progressview"></a>

### ProgressView

### *class* @fiftyone/operators.ProgressView()

* **Summary:**
  Operator class for describing a progress [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-progressview-constructor"></a>

### @fiftyone/operators.new ProgressView(options)

* **Arguments:**
  * **options** (`ProgressViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ProgressView`

Operator class for rendering a prompt.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-promptview"></a>

### PromptView

### *class* @fiftyone/operators.PromptView()

* **Summary:**
  Operator class for rendering a prompt.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-promptview-constructor"></a>

### @fiftyone/operators.new PromptView(label, submitButtonLabel, cancelButtonLabel)

* **Arguments:**
  * **label** (`string`)
  * **submitButtonLabel** (`string`)
  * **cancelButtonLabel** (`string`)
* **Return type:**
  `plugins.fiftyone.operators.PromptView`

Operator type for representing a property of operator
: `Object` type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-property"></a>

### Property

### *class* @fiftyone/operators.Property()

* **Summary:**
  Operator type for representing a property of operator
  `Object` type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-property-constructor"></a>

### @fiftyone/operators.new Property(type, options)

* **Arguments:**
  * **type** ([`ANY_TYPE`](#fiftyone-operators.ANY_TYPE))
  * **options** (`PropertyOptions`)
* **Return type:**
  `plugins.fiftyone.operators.Property`

Operator class for describing a radio-group [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-radiogroup"></a>

### RadioGroup

### *class* @fiftyone/operators.RadioGroup()

* **Summary:**
  Operator class for describing a radio-group [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-radiogroup-constructor"></a>

### @fiftyone/operators.new RadioGroup(options)

* **Arguments:**
  * **options** (`ChoicesOptions`)
* **Return type:**
  `plugins.fiftyone.operators.RadioGroup`

Operator class for describing a read-only [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-readonlyview"></a>

### ReadOnlyView

### *class* @fiftyone/operators.ReadOnlyView()

* **Summary:**
  Operator class for describing a read-only [`View`](#fiftyone-operators.View) for an operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-readonlyview-constructor"></a>

### @fiftyone/operators.new ReadOnlyView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ReadOnlyView`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-resolvableproperty"></a>

### ResolvableProperty

### *class* @fiftyone/operators.ResolvableProperty()

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-resolvableproperty-constructor"></a>

### @fiftyone/operators.new ResolvableProperty(options)

* **Arguments:**
  * **options** (`ResolvablePropertyOptions`)
* **Return type:**
  `plugins.fiftyone.operators.ResolvableProperty`

Construct operator type for resolvable property

Operator type for representing a sampled id value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-sampleid"></a>

### SampleID

### *class* @fiftyone/operators.SampleID()

* **Summary:**
  Operator type for representing a sampled id value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-sampleid-constructor"></a>

### @fiftyone/operators.new SampleID(options)

* **Arguments:**
  * **options**
  * **options.allowEmpty** – allow an empty string value

number
: * **type options:**
    Object
  * **type options.allowEmpty:**
    boolean
  * **rtype:**
    `plugins.fiftyone.operators.SampleID`

Construct operator type for string values

Operator class for rendering a status button.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-statusbuttonview"></a>

### StatusButtonView

### *class* @fiftyone/operators.StatusButtonView()

* **Summary:**
  Operator class for rendering a status button.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-statusbuttonview-constructor"></a>

### @fiftyone/operators.new StatusButtonView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.StatusButtonView`

Operator type for representing a string value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-string"></a>

### String

### *class* @fiftyone/operators.String()

* **Summary:**
  Operator type for representing a string value for operator input/output.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-string-constructor"></a>

### @fiftyone/operators.new String(options)

* **Arguments:**
  * **options**
  * **options.allowEmpty** – allow an empty string value

number
: * **type options:**
    Object
  * **type options.allowEmpty:**
    boolean
  * **rtype:**
    `plugins.fiftyone.operators.OperatorString`

Construct operator type for string values

Operator class for describing a table [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tableview"></a>

### TableView

### *class* @fiftyone/operators.TableView()

* **Summary:**
  Operator class for describing a table [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tableview-constructor"></a>

### @fiftyone/operators.new TableView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TableView`

Operator class for describing a tabs [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tabsview"></a>

### TabsView

### *class* @fiftyone/operators.TabsView()

* **Summary:**
  Operator class for describing a tabs [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tabsview-constructor"></a>

### @fiftyone/operators.new TabsView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TabsView`

Operator class for describing a TextFieldView [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-textfieldview"></a>

### TextFieldView

### *class* @fiftyone/operators.TextFieldView()

* **Summary:**
  Operator class for describing a TextFieldView [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-textfieldview-constructor"></a>

### @fiftyone/operators.new TextFieldView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TextFieldView`

Operator class for describing a TextView [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-textview"></a>

### TextView

### *class* @fiftyone/operators.TextView()

* **Summary:**
  Operator class for describing a TextView [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-textview-constructor"></a>

### @fiftyone/operators.new TextView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TextView`

Operator class for describing a ToastView [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-toastview"></a>

### ToastView

### *class* @fiftyone/operators.ToastView()

* **Summary:**
  Operator class for describing a ToastView [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-toastview-constructor"></a>

### @fiftyone/operators.new ToastView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.ToastView`

Operator class for describing a tree node selection [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-treeselectionview"></a>

### TreeSelectionView

### *class* @fiftyone/operators.TreeSelectionView()

* **Summary:**
  Operator class for describing a tree node selection [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-treeselectionview-constructor"></a>

### @fiftyone/operators.new TreeSelectionView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TreeSelectionView`

Operator type for defining a trigger for an operator.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-trigger"></a>

### Trigger

### *class* @fiftyone/operators.Trigger()

* **Summary:**
  Operator type for defining a trigger for an operator.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-trigger-constructor"></a>

### @fiftyone/operators.new Trigger(operator, params)

* **Arguments:**
  * **operator** (`string`)
  * **params** (`object`)
* **Return type:**
  `plugins.fiftyone.operators.Trigger`

Operator type for representing a tuple value for operator input/output.
: `Tuple` can be useful for defining list of values of mixed types

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tuple"></a>

### Tuple

### *class* @fiftyone/operators.Tuple()

* **Summary:**
  Operator type for representing a tuple value for operator input/output.
  `Tuple` can be useful for defining list of values of mixed types

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tuple-constructor"></a>

### @fiftyone/operators.new Tuple(items)

* **Arguments:**
  * **items** (`Array`)
* **Return type:**
  `plugins.fiftyone.operators.Tuple`

Operator class for describing a tuple [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tupleview"></a>

### TupleView

### *class* @fiftyone/operators.TupleView()

* **Summary:**
  Operator class for describing a tuple [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-tupleview-constructor"></a>

### @fiftyone/operators.new TupleView(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.TupleView`

Operator type for defining an uploaded file and its metadata.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-uploadedfile"></a>

### UploadedFile

### *class* @fiftyone/operators.UploadedFile()

* **Summary:**
  Operator type for defining an uploaded file and its metadata.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-uploadedfile-constructor"></a>

### @fiftyone/operators.new UploadedFile(properties)

* **Arguments:**
  * **properties** (`Map`)
* **Return type:**
  `plugins.fiftyone.operators.UploadedFile`

initial properties on the object

Operator class for describing a view (rendering details in the app) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-view"></a>

### View

### *class* @fiftyone/operators.View()

* **Summary:**
  Operator class for describing a view (rendering details in the app) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-view-constructor"></a>

### @fiftyone/operators.new View(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.View`

Operator type for representing void value for operator input/output. Void
: type can be useful for displaying a informational-only views.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-void"></a>

### Void

### *class* @fiftyone/operators.Void()

* **Summary:**
  Operator type for representing void value for operator input/output. Void
  type can be useful for displaying a informational-only views.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-void-constructor"></a>

### @fiftyone/operators.new Void()

* **Return type:**
  `plugins.fiftyone.operators.Void`

Operator class for describing a warning notice [`View`](#fiftyone-operators.View) for an
operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-warning"></a>

### Warning

### *class* @fiftyone/operators.Warning()

* **Summary:**
  Operator class for describing a warning notice [`View`](#fiftyone-operators.View) for an
  operator type.

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-warning-constructor"></a>

### @fiftyone/operators.new Warning(options)

* **Arguments:**
  * **options** (`ViewProps`)
* **Return type:**
  `plugins.fiftyone.operators.Warning`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-any-type"></a>

### *class* @fiftyone/operators.ANY_TYPE()

### ANY_TYPE

- `OperatorObject` is exported as `Object`
- `OperatorString` is exported as `String`
- `OperatorBoolean` is exported as `Boolean`
- `OperatorNumber` is exported as `Number`
- `OperatorMap` is exported as `Map`

Union of [`Void`](#fiftyone-operators.Void), `OperatorObject`, `OperatorString`, `OperatorBoolean`, `OperatorNumber`, [`List`](#fiftyone-operators.List), [`Enum`](#fiftyone-operators.Enum), [`OneOf`](#fiftyone-operators.OneOf), [`Tuple`](#fiftyone-operators.Tuple), `OperatorMap`, [`File`](#fiftyone-operators.File), [`UploadedFile`](#fiftyone-operators.UploadedFile), [`ResolvableProperty`](#fiftyone-operators.ResolvableProperty)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-operatorpromptpropstype"></a>

### *class* @fiftyone/operators.OperatorPromptPropsType()

### OperatorPromptPropsType

| Name                           | Type                                            | Description   |
|--------------------------------|-------------------------------------------------|---------------|
| OperatorPromptPropsType.prompt | `plugins.fiftyone.operators.OperatorPromptType` |               |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-operatorprompttype"></a>

### *class* @fiftyone/operators.OperatorPromptType()

### OperatorPromptType

| Name               | Type                                                                 | Description   |
|--------------------|----------------------------------------------------------------------|---------------|
| OperatorPromptType | `ReturnType <  >` `<` <br/><br/>```<br/>``<br/>```<br/><br/>\`\` `>` |               |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-operatorresponse"></a>

### *class* @fiftyone/operators.OperatorResponse()

### OperatorResponse

Response type returned from operator execution.

| Name                           | Type      | Description   |
|--------------------------------|-----------|---------------|
| OperatorResponse.delegated     | `boolean` |               |
| OperatorResponse.error         | `string`  |               |
| OperatorResponse.error_message | `string`  |               |
| OperatorResponse.executor      | `Object`  |               |
| OperatorResponse.result        | `Object`  |               |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-propertyjson"></a>

### *class* @fiftyone/operators.PropertyJSON()

### PropertyJSON

| Name                       | Type      | Description   |
|----------------------------|-----------|---------------|
| PropertyJSON.error_message | `string`  |               |
| PropertyJSON.type          | `unknown` |               |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-validationerrorstype"></a>

### *class* @fiftyone/operators.ValidationErrorsType()

### ValidationErrorsType

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-vieworientation"></a>

### *class* @fiftyone/operators.ViewOrientation()

### ViewOrientation

Union of `'horizontal'`, `'vertical'`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-viewpropertytypes"></a>

### *class* @fiftyone/operators.ViewPropertyTypes()

### ViewPropertyTypes

Union of `string`, `boolean`, `number`, `Array`, [`View`](#fiftyone-operators.View), `object`, [`ViewOrientation`](#fiftyone-operators.ViewOrientation)

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-typefromjson"></a>

### typeFromJSON

### @fiftyone/operators.typeFromJSON(\_\_namedParameters)

* **Arguments:**
  * **\_\_namedParameters** ([`Object`](#fiftyone-operators.Object))
* **Return type:**
  `plugins.fiftyone.operators.ANY_TYPE`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-types-viewfromjson"></a>

### viewFromJSON

### @fiftyone/operators.viewFromJSON(json)

* **Arguments:**
  * **json** (`any`)
* **Return type:**
  `any`

<a id="fos-fiftyone-fiftyone-fiftyone-operators-viewtargetmeta"></a>

### *class* @fiftyone/operators.ViewTargetMeta()

### ViewTargetMeta

| Name                             | Type                                    | Description   |
|----------------------------------|-----------------------------------------|---------------|
| ViewTargetMeta.description       | `string`                                |               |
| ViewTargetMeta.label             | `string`                                |               |
| ViewTargetMeta.target            | `plugins.fiftyone.operators.ViewTarget` |               |
| ViewTargetMeta.unavailableReason | `string`                                |               |

## Enums

<a id="fos-fiftyone-fiftyone-fiftyone-operators-operator-prompt-areas"></a>

### OPERATOR_PROMPT_AREAS

| Name         | Value   |
|--------------|---------|
| DRAWER_LEFT  |         |
| DRAWER_RIGHT |         |

<a id="fos-fiftyone-fiftyone-fiftyone-operators-risklevel"></a>

### RiskLevel

| Name      | Value   |
|-----------|---------|
| DANGEROUS |         |
| HIGH      |         |
| LOW       |         |
| MEDIUM    |         |
