import { LedgerHandle } from './ledger-handle'; import { LedgerLuid } from './ledger-luid'; /** * Ledger identifier. * * Records stored in the ledger can be referenced * either by their handle or luid. * * The handle of records are defined by the clients * and the luid by the server when the record * is stored in the database. * * @example for wallets * - luid: '$wlt.asd123afg123ukwq1' * - handle: 'bank-wallet' */ export type LedgerIdentifier = LedgerHandle | LedgerLuid;