2 * A unique node identifier pair.
4 export type NodeMeta = {
10 * A unique node identifier pair, for a public shared node.
12 export type PublicNodeMeta = {
18 * A PublicNodeMeta with an additional resolved volumeId.
20 export type PublicNodeMetaWithResolvedVolumeID = PublicNodeMeta & {
24 export function isPublicNodeMeta(meta: NodeMeta | PublicNodeMeta): meta is PublicNodeMeta {
25 return 'token' in meta;
28 export type LegacyNodeMeta = {
34 export function areNodeMetasEqual(a: NodeMeta, b: NodeMeta): boolean {
35 return a.volumeId === b.volumeId && a.linkId === b.linkId;