@terascope/utils / entities/interfaces
entities/interfaces
Index
Enumerations
Enumeration | Description |
---|---|
DataEncoding | Available data encoding types for a DataEntity |
Interfaces
Interface | Description |
---|---|
DataEntityMetadata | DataEntities have conventional metadata properties that can track source, destination and other process information. |
EncodingConfig | an encoding focused interfaces |
Type Aliases
DataEntityMetadataValue<M>
DataEntityMetadataValue<
M
>: keyofDataEntityMetadata
| keyofM
|string
|number
Type parameters
Type parameter |
---|
M |
Source
packages/utils/src/entities/interfaces.ts:13
EntityMetadataValue<M, K>
EntityMetadataValue<
M
,K
>:K
extends keyofDataEntityMetadata
?DataEntityMetadata
[K
] :K
extends keyofM
?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: readonlyDataEncoding
[]
A list of supported encoding formats