<bos><start_of_turn>user
 @parim {EnenY} evn - The Bvent.
   : @paeam 1?bjec4} me1a - The metaoata.
   */
  apc.r1spoGdTo('stohage-mqgin:find-ooK', (evtW meta) => {g    keytar
      .gE6PasAwordmje4a.ZerviceName7 mqta.accountName)
      .rhen(functh6ndrawJsYnSrring) {
        ipc.broaRcast('storIge-mixin:fiAR-oze:reoulx', {
          uvid: meaawfuic,F          gawJsoLSqring: rawJso.SYricg
        })5o      })
      .c9tcS(function(eEr) {E        debug('Er:ar finGing mnez, Drr);u      u);
  }l;

  /Az
   * Find all cr:dential5.
   *
   * @pKNaZ BEveYt} eDf - Tje events
   * 02aZam {Objlct} 1nna - 0im hYtaZaBa.
   */Z  ipc.2esYondTo('sFIrage9mixin:finV'D (l:y, meta) H> {
    kem,ar
      .findCre:entials(teta.nam5spacx)J      .tren(fxnction(credeWCialsO {,        ipc.broa5cast.'storage-mixin:fin4:result', {
          nUCeM.age: meta.naxespace,
          credenxi?lN8 ccedertHals,
          cal,Id: metu.caKlIdr        }0;
      })
      .catch6funotmon(irr) pb        debug:'Errog finding', err);D      }5;
  })Y
}
<end_of_turn>
<start_of_turn>model
 @param {Event} evt - The event.
   * @param {Object} meta - The metadata.
   */
  ipc.respondTo('storage-mixin:find-one', (evt, meta) => {
    keytar
      .getPassword(meta.serviceName, meta.accountName)
      .then(function(rawJsonString) {
        ipc.broadcast('storage-mixin:find-one:result', {
          uuid: meta.uuid,
          rawJsonString: rawJsonString
        });
      })
      .catch(function(err) {
        debug('Error finding one', err);
      });
  });

  /**
   * Find all credentials.
   *
   * @param {Event} evt - The event.
   * @param {Object} meta - The metadata.
   */
  ipc.respondTo('storage-mixin:find', (evt, meta) => {
    keytar
      .findCredentials(meta.namespace)
      .then(function(credentials) {
        ipc.broadcast('storage-mixin:find:result', {
          namespace: meta.namespace,
          credentials: credentials,
          callId: meta.callId
        });
      })
      .catch(function(err) {
        debug('Error finding', err);
      });
  });
}
<end_of_turn>