Skip to content

Commit 64e0480

Browse files
authored
Merge pull request #1395 from assemblee-virtuelle/handle-selected-from-registry-data-grants
Handle `interop:SelectedFromRegistry` data grants
2 parents c31af44 + 04382e9 commit 64e0480

14 files changed

Lines changed: 372 additions & 229 deletions

src/frontend/packages/semantic-data-provider/dist/index.cjs.js

Lines changed: 81 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/frontend/packages/semantic-data-provider/dist/index.cjs.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/frontend/packages/semantic-data-provider/dist/index.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,15 @@ export function buildSparqlQuery({
162162
export const dataProvider: (originalConfig: Configuration) => SemanticDataProvider;
163163
export const getPrefixFromUri: (uri: string, ontologies: Record<string, string>) => string;
164164
export const configureUserStorage: () => Plugin;
165+
type PluginConfiguration = {
166+
includeSelectedResources: boolean;
167+
};
165168
/**
166169
* Return a function that look if an app (clientId) is registered with an user (webId)
167170
* If not, it redirects to the endpoint provided by the user's authorization agent
168171
* See https://solid.github.io/data-interoperability-panel/specification/#authorization-agent
169172
*/
170-
export const fetchAppRegistration: () => Plugin;
173+
export const fetchAppRegistration: (pluginConfig?: PluginConfiguration) => Plugin;
171174
export const fetchDataRegistry: () => Plugin;
172175
export const fetchTypeIndexes: () => Plugin;
173176
export const fetchVoidEndpoints: () => Plugin;

0 commit comments

Comments
 (0)