src/type-registry.js
/**
 * Returns a blank private type index registry option.
 * For use with `initTypeRegistry()`.
 * @method blankPrivateTypeIndex
 * @private
 * @return {Object} Blank type index registry object
 */
Returns a blank private type index registry option.
For use with `initTypeRegistry()`.
@method blankPrivateTypeIndex
@private
@return {Object} Blank type index registry object
Returns a blank private type index registry option . For use with ` initTypeRegistry () ` . @method blankPrivateTypeIndex @private @return { Object } Blank type index registry object
function blankPrivateTypeIndex (rdf) {
  var thisDoc = rdf.namedNode('')
  var ns = vocab(rdf)
  var indexStatements = [
    rdf.triple(thisDoc, ns.rdf('type'), ns.solid('TypeIndex')),
    rdf.triple(thisDoc, ns.rdf('type'), ns.solid('UnlistedDocument'))
  ]
  var privateIndex = {
    data: graphUtil.serializeStatements(indexStatements),
    graph: graphUtil.graphFromStatements(indexStatements, rdf),
    slug: 'privateTypeIndex.ttl',
    uri: null  
  }
  return privateIndex
}
function blankPrivateTypeIndex ( rdf ) { var thisDoc = rdf . namedNode ( '' ) var ns = vocab ( rdf ) var indexStatements = [ rdf . triple ( thisDoc , ns . rdf ( 'type' ) , ns . solid ( 'TypeIndex' ) ) , rdf . triple ( thisDoc , ns . rdf ( 'type' ) , ns . solid ( 'UnlistedDocument' ) ) ] var privateIndex = { data : graphUtil . serializeStatements ( indexStatements ) , graph : graphUtil . graphFromStatements ( indexStatements , rdf ) , slug : 'privateTypeIndex.ttl' , uri : null } return privateIndex }
Returns a blank private type index registry option.
Returns a blank private type index registry option .
// actual url not yet known