/**
 * Copyright 2019 Twitter, Inc.
 * Licensed under the Apache License, Version 2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 */ export class EntityId { constructor ( public type , public key ) { } getIdString ( ) { return `${ this . type }/${ this . key }` ; } } export abstract class UniqueId { abstract getTimeMs ( ) ; abstract getRemainder ( ) ; abstract getBuffer ( ) ; abstract getNumberString ( ) ; getHexString ( ) { return this . getBuffer ( ) . toString ( "hex" ) ; } }