@suluk/keys - v0.1.0
    Preparing search index...

    Function insertLineage

    • Record a freshly-minted child (or root, when parentKeyId is null) in the lineage tree. Idempotent on the keyId PK.

      Parameters

      • db: KeysDB
      • opts: {
            keyId: string;
            parentKeyId: string | null;
            userId: string;
            parentPath: string | null;
        }

      Returns Promise<void>