src/app-registry.js
/**
 * Returns a list of registry entries for a profile and a given RDF Class.
 * @method appsForType
 * @param profile {SolidProfile}
 * @param type {NamedNode} RDF Class
 * @param rdf {RDF} RDF Library
 * @return {Array<AppRegistration>}
 */
Returns a list of registry entries for a profile and a given RDF Class.
Returns a list of registry entries for a profile and a given RDF Class .
function appsForType (profile, type, rdf) {
  var registrations = []
  return registrations
    .concat(
      registrationsFromGraph(profile.appRegistryListed.graph, type, rdf)
    )
    .concat(
      registrationsFromGraph(profile.appRegistryUnlisted.graph, type, rdf)
    )
}
function appsForType ( profile , type , rdf ) { var registrations = [ ] return registrations . concat ( registrationsFromGraph ( profile . appRegistryListed . graph , type , rdf ) ) . concat ( registrationsFromGraph ( profile . appRegistryUnlisted . graph , type , rdf ) ) }
Returns a list of registry entries for a profile and a given RDF Class.
Returns a list of registry entries for a profile and a given RDF Class .
// Public/listed registrations // Private/unlisted registrations