michielbdejong/solid-ui

View on GitHub
src/acl/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { NamedNode } from 'rdflib'

export type AgentMapMap = {
  agent: AgentMap,
  agentClass: AgentMap,
  agentGroup: AgentMap,
  origin: AgentMap,
  originClass: AgentMap
}

export type AgentMap = {
  [agentUri: string]: {
    [modeUri: string]: NamedNode
  }
}

export type ComboList = { [key: string]: Array<string[]> }

export type PartialAgentTriple = {
  pred: string,
  obj: NamedNode
}