Module: Core¶
The core components of the Pack SDK. These functions and types are used to define your Pack, it's building blocks, and their logic.
This module is imported using the following code:
import * as coda from "@codahq/packs-sdk";
Namespaces¶
Enumerations¶
- AttributionNodeType
- AuthenticationType
- ConnectionRequirement
- CurrencyFormat
- DurationUnit
- EmailDisplayType
- ImageCornerStyle
- ImageOutline
- ImageShapeStyle
- LinkDisplayType
NetworkConnection- OptionsType
- ParameterType
- PermissionSyncMode
- PostSetupType
- PrecannedDateRange
- ScaleIconSet
- TokenExchangeCredentialsLocation
- Type
- ValueHintType
- ValueType
Classes¶
Interfaces¶
- ArraySchema
- ArrayType
- AWSAccessKeyAuthentication
- AWSAssumeRoleAuthentication
- BaseAuthentication
- BaseFormulaDef
- BooleanSchema
- CodaApiBearerTokenAuthentication
- CommonPackFormulaDef
- Continuation
- CurrencySchema
- CustomAuthentication
- CustomAuthParameter
- CustomHeaderTokenAuthentication
- DurationSchema
- DynamicOptions
- DynamicSyncTableDef
- DynamicSyncTableOptions
- EmailSchema
- EmptyFormulaDef
- ExecutionContext
- Fetcher
- FetchRequest
- FetchResponse
- Format
- HeaderBearerTokenAuthentication
- Identity
- IdentityDefinition
- ImageAttributionNode
- ImageSchema
- InvalidParameterValidationResult
- InvocationLocation
- LinkAttributionNode
- LinkSchema
- MetadataFormulaObjectResultType
- MultiHeaderTokenAuthentication
- MultiQueryParamTokenAuthentication
Network- NoAuthentication
- NumericDateSchema
- NumericDateTimeSchema
- NumericDurationSchema
- NumericSchema
- NumericTimeSchema
- OAuth2Authentication
- OAuth2ClientCredentialsAuthentication
- ObjectArrayFormulaDef
- ObjectSchemaDefinition
- ObjectSchemaProperty
- OptionalParamDef
PackDefinition- PackFormulaDef
- PackVersionDefinition
- ParamDef
- ParameterValidationDetail
- ProgressBarSchema
- PropertyIdentifierDetails
- PropertyOptionsExecutionContext
- PropertyWithOptions
- QueryParamTokenAuthentication
- RequestHandlerTemplate
- RequiredParamDef
- ResponseHandlerTemplate
- ScaleSchema
- SetEndpoint
- SimpleAutocompleteOption
- SimpleStringSchema
- SliderSchema
- StatusCodeErrorResponse
- StringDateSchema
- StringDateTimeSchema
- StringEmbedSchema
- StringTimeSchema
- StringWithOptionsSchema
- SuggestedPrompt
- SyncBase
- SyncExecutionContext
- SyncFormulaDef
- SyncFormulaResult
- SyncFull
- SyncIncremental
- SyncTableDef
- SyncTableOptions
- SyncUpdate
- SyncUpdateResult
- TemporaryBlobStorage
- TextAttributionNode
- UpdateSync
- UpdateSyncExecutionContext
- ValidParameterValidationResult
- WebBasicAuthentication
Type Aliases¶
- ArrayFormulaDef
- AttributionNode
- Authentication
- AuthenticationDef
- BaseFormula
- BasicPackDefinition
- BooleanFormulaDef
- BooleanHintTypes
- BooleanPackFormula
- FetchMethodType
- Formula
- FormulaDefinitionOptions
- FormulaOptions
- GenericDynamicSyncTable
- GenericSyncFormula
- GenericSyncFormulaResult
- GenericSyncTable
- GenericSyncUpdate
- GenericSyncUpdateSingleResult
- InferrableTypes
- LegacyDefaultMetadataReturnType
- MetadataContext
- MetadataFormula
- MetadataFormulaDef
- MetadataFormulaResultType
- MetadataFunction
- NumberHintTypes
- NumberSchema
- NumericFormulaDef
- NumericPackFormula
- ObjectFormulaDef
- ObjectHintTypes
- ObjectPackFormula
- ObjectSchemaProperties
- PackFormulaResult
- PackFormulaValue
PackId- ParamDefFromOptionsUnion
- ParamDefs
- ParameterOptions
- ParameterValidationResult
- ParamValues
- PostSetup
- PostSetupDef
- PropertyIdentifier
- PropertyOptionsMetadataFunction
- PropertyOptionsMetadataResult
- PropertySchemaOptions
- Schema
- SchemaType
- SetEndpointDef
- StringFormulaDef
- StringHintTypes
- StringPackFormula
- StringSchema
- SuggestedValueType
- Sync
- SyncFormula
- SyncTable
- SyncUpdateSingleResult
- SystemAuthentication
- SystemAuthenticationDef
- TypedPackFormula
- UserAuthenticationDef
Variables¶
Functions¶
- assertCondition
- autocompleteSearchObjects
- ensureExists
- ensureNonEmptyString
- ensureUnreachable
- generateSchema
- getEffectivePropertyKeysFromSchema
- getQueryParams
- joinUrl
- makeAttributionNode
- makeDynamicSyncTable
- makeEmptyFormula
- makeFormula
- makeMetadataFormula
- makeObjectSchema
- makeParameter
- makeReferenceSchemaFromObjectSchema
- makeSchema
makeSimpleAutocompleteMetadataFormula- makeSyncTable
- makeTranslateObjectFormula
- newPack
- simpleAutocomplete
- withIdentity
- withQueryParams