Skip to main content

@terascope/utils / entities/interfaces

entities/interfaces

Index

Enumerations

EnumerationDescription
DataEncodingAvailable data encoding types for a DataEntity

Interfaces

InterfaceDescription
DataEntityMetadataDataEntities have conventional metadata properties that can track source, destination and other process information.
EncodingConfigan encoding focused interfaces

Type Aliases

DataEntityMetadataValue<M>

DataEntityMetadataValue<M>: keyof DataEntityMetadata | keyof M | string | number

Type parameters

Type parameter
M

Source

packages/utils/src/entities/interfaces.ts:13


EntityMetadataValue<M, K>

EntityMetadataValue<M, K>: K extends keyof DataEntityMetadata ? DataEntityMetadata[K] : K extends keyof M ? M[K] : any

Type parameters

Type parameter
M
K

Source

packages/utils/src/entities/interfaces.ts:19


TYPE_ENTITY_METADATA_KEY

TYPE_ENTITY_METADATA_KEY: "___EntityMetadata"

Source

packages/utils/src/entities/interfaces.ts:4


TYPE_IS_DATAENTITY_KEY

TYPE_IS_DATAENTITY_KEY: "__isDataEntity"

Source

packages/utils/src/entities/interfaces.ts:3


_DataEntityMetadata<M>

_DataEntityMetadata<M>: M & DataEntityMetadata & AnyObject

Type parameters

Type parameter
M

Source

packages/utils/src/entities/interfaces.ts:11


_DataEntityMetadataType

_DataEntityMetadataType: DataEntityMetadata | AnyObject

Source

packages/utils/src/entities/interfaces.ts:10

Variables

__ENTITY_METADATA_KEY

const __ENTITY_METADATA_KEY: TYPE_ENTITY_METADATA_KEY = '___EntityMetadata'

Source

packages/utils/src/entities/interfaces.ts:8


__IS_DATAENTITY_KEY

const __IS_DATAENTITY_KEY: TYPE_IS_DATAENTITY_KEY = '__isDataEntity'

Source

packages/utils/src/entities/interfaces.ts:6


dataEncodings

const dataEncodings: readonly DataEncoding[]

A list of supported encoding formats

Source

packages/utils/src/entities/interfaces.ts:75