Skip to content

Interface: PackVersionDefinition

Defined in: types.ts:1481

The definition of the contents of a Pack at a specific version. This is the heart of the implementation of a Pack.

Extended by

Properties

defaultAuthentication?

optional defaultAuthentication: Authentication

Defined in: types.ts:1490

If specified, the user must provide personal authentication credentials before using the pack.


formats?

optional formats: Format[]

Defined in: types.ts:1531

Definitions of this pack's column formats. See Format.


formulaNamespace?

optional formulaNamespace: string

Defined in: types.ts:1519

Deprecated


formulas?

optional formulas: Formula[]

Defined in: types.ts:1527

Definitions of this pack's formulas. See Formula.

Note that button actions are also defined here. Buttons are simply formulas with isAction: true.


networkDomains?

optional networkDomains: string[]

Defined in: types.ts:1512

Any domain(s) to which this pack makes fetcher requests. The domains this pack connects to must be declared up front here, both to clearly communicate to users what a pack is capable of connecting to, and for security reasons. These network domains are enforced at execution time: any fetcher request to a domain not listed here will be rejected.

Only one network domain is allowed by default. If your pack has needs to connect to multiple domains contact Coda support for approval.


syncTables?

optional syncTables: SyncTable[]

Defined in: types.ts:1535

Definitions of this pack's sync tables. See SyncTable.


systemConnectionAuthentication?

optional systemConnectionAuthentication: SystemAuthentication

Defined in: types.ts:1495

If specified, this pack requires system credentials to be set up via Coda's admin console in order to work when no explicit connection is specified by the user.


version

version: string

Defined in: types.ts:1486

The semantic version of the pack. This must be valid semantic version of the form 1, 1.2, or 1.2.3. When uploading a pack version, the semantic version must be greater than any previously uploaded version.