# Interface: PropertyOptionsExecutionContext

Defined in: [api_types.ts:1307](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1307)

Sub-class of [SyncExecutionContext](../SyncExecutionContext/) that is passed to the `options` function of mutable sync tables for properties with `options` enabled.

## Extends

- [`SyncExecutionContext`](../SyncExecutionContext/)

## Properties

### endpoint?

> `readonly` `optional` **endpoint**: `string`

Defined in: [api_types.ts:1230](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1230)

The base endpoint URL for the user's account, only if applicable. See [core.BaseAuthentication.requiresEndpointUrl](../BaseAuthentication/#requiresendpointurl).

If the API URLs are variable based on the user account, you will need this endpoint to construct URLs to use with the fetcher. Alternatively, you can use relative URLs (e.g. "/api/entity") and the platform will include the endpoint for you automatically.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`endpoint`](../SyncExecutionContext/#endpoint)

______________________________________________________________________

### fetcher

> `readonly` **fetcher**: [`Fetcher`](../Fetcher/)

Defined in: [api_types.ts:1216](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1216)

The [core.Fetcher](../Fetcher/) used for making HTTP requests.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`fetcher`](../SyncExecutionContext/#fetcher)

______________________________________________________________________

### invocationLocation

> `readonly` **invocationLocation**: [`InvocationLocation`](../InvocationLocation/)

Defined in: [api_types.ts:1235](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1235)

Information about the environment and doc this formula was invoked from. This is mostly for internal use and we do not recommend relying on it.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`invocationLocation`](../SyncExecutionContext/#invocationlocation)

______________________________________________________________________

### invocationToken

> `readonly` **invocationToken**: `string`

Defined in: [api_types.ts:1246](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1246)

A random token scoped to only this request invocation. This is a unique identifier for the invocation, and in particular used with [core.AuthenticationType.Custom](../../enumerations/AuthenticationType/#custom) for naming template parameters that will be replaced by the fetcher in secure way.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`invocationToken`](../SyncExecutionContext/#invocationtoken)

______________________________________________________________________

### previousAttemptError?

> `readonly` `optional` **previousAttemptError**: [`InvocationError`](../../type-aliases/InvocationError/)

Defined in: [api_types.ts:1270](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1270)

If this invocation is a retry, this will be populated with information about what went wrong during the previous attempt. If an error occurs while indexing a sync table, it will retried again later. This field is only applicable for sync tables used within Superhuman Go agents.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`previousAttemptError`](../SyncExecutionContext/#previousattempterror)

______________________________________________________________________

### propertyName

> `readonly` **propertyName**: `string`

Defined in: [api_types.ts:1311](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1311)

Which property is being edited.

______________________________________________________________________

### propertySchema

> `readonly` **propertySchema**: [`Schema`](../../type-aliases/Schema/) & [`ObjectSchemaProperty`](../ObjectSchemaProperty/)

Defined in: [api_types.ts:1316](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1316)

Schema of the property being edited. See [Schema](../../type-aliases/Schema/).

______________________________________________________________________

### propertyValues

> `readonly` **propertyValues**: `object`

Defined in: [api_types.ts:1325](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1325)

Current values of other properties from the same row. Non-required properties may be missing if the doc owner elected not to sync them, or if they have a type that's not yet supported for options context. Properties referencing other sync tables may be missing some or all of their sub-properties if the reference is broken because the other table is not added to the doc or hasn't synced the referenced row.

#### Index Signature

______________________________________________________________________

### search

> `readonly` **search**: `string`

Defined in: [api_types.ts:1331](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1331)

What the user typed. For example, they may have type "Ja" while searching for a user named "Jane".

______________________________________________________________________

### sync

> `readonly` **sync**: [`Sync`](../../type-aliases/Sync/)\<[`Continuation`](../Continuation/), [`Continuation`](../Continuation/), [`Continuation`](../Continuation/)>

Defined in: [api_types.ts:1285](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1285)

Information about state of the current sync.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`sync`](../SyncExecutionContext/#sync)

______________________________________________________________________

### temporaryBlobStorage

> `readonly` **temporaryBlobStorage**: [`TemporaryBlobStorage`](../TemporaryBlobStorage/)

Defined in: [api_types.ts:1221](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1221)

A utility to fetch and store files and images that either require the pack user's authentication or are too large to return inline. See [core.TemporaryBlobStorage](../TemporaryBlobStorage/).

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`temporaryBlobStorage`](../SyncExecutionContext/#temporaryblobstorage)

______________________________________________________________________

### timezone

> `readonly` **timezone**: `string`

Defined in: [api_types.ts:1239](https://github.com/coda/packs-sdk/blob/b2b4c9dba5ca748bdbb94481cc13b5ca3c328ef6/api_types.ts#L1239)

The timezone of the doc from which this formula was invoked.

#### Inherited from

[`SyncExecutionContext`](../SyncExecutionContext/).[`timezone`](../SyncExecutionContext/#timezone)
