create
create: ((webId: string, accountId: string) => Promise<string>)
Type declaration
- (webId, accountId): Promise<string>
Parameters
- webId: string
- accountId: string
Returns Promise<string>
ID of the link.
delete
delete: ((linkId: string) => Promise<void>)
Type declaration
- (linkId): Promise<void>
Returns Promise<void>
findLinks
findLinks: ((accountId: string) => Promise<{
id: string;
webId: string;
}[]>)
Type declaration
- (accountId): Promise<{
id: string;
webId: string;
}[]> Returns Promise<{
id: string;
webId: string;
}[]>
get
get: ((linkId: string) => Promise<undefined | {
accountId: string;
webId: string;
}>)
isLinked
isLinked: ((webId: string, accountId: string) => Promise<boolean>)
Type declaration
- (webId, accountId): Promise<boolean>
Parameters
- webId: string
- accountId: string
Returns Promise<boolean>
Stores and updates WebID to Account links.