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