All files / src/UUID makeVersionNilUUIDValues.ts

66.67% Statements 2/3
100% Branches 0/0
0% Functions 0/1
100% Lines 2/2
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;