1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 1x 1x | import { IUUIDComponentValues, } from './IUUIDComponentValues'; import { IUUIDOptions, } from './UUIDOptions/IUUIDOptions'; export const makeVersionNilUUIDValues = (options: IUUIDOptions): IUUIDComponentValues => ({ clockSequence: options.clockSequenceGetter(options.version), nodeIdentifier: options.nodeIdentifierGetter(options.version), timestamp: options.timestampGetter(options.version), }); export default makeVersionNilUUIDValues; |