Developer Docs
API Reference
Services
Id Generation
Classes
Class: IdGenerationService

web


web / lib/services/id-generation / IdGenerationService

Class: IdGenerationService

Constructors

Constructor

new IdGenerationService(): IdGenerationService

Returns

IdGenerationService

Methods

generateEventId()

static generateEventId(data, dataset, importId): object

Parameters

data

unknown

dataset

Dataset

importId

string

Returns

object

uniqueId

uniqueId: string

sourceId?

optional sourceId: string

contentHash?

optional contentHash: string

strategy

strategy: string

error?

optional error: string