Commit e6931806 authored by Nicolas Chauvat's avatar Nicolas Chauvat
Browse files

feat: change priorityForUrl -> Number to isApplicable -> Bool

parent 40ec14e4b36f
Pipeline #45896 passed with stages
in 1 minute and 36 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "@logilab/libview", "name": "@logilab/libview",
"version": "1.0.0", "version": "1.1.0",
"description": "Library for view specification and definition for a data browser.", "description": "Library for view specification and definition for a data browser.",
"repository": { "repository": {
"type": "mercurial", "type": "mercurial",
......
...@@ -7,7 +7,7 @@ export interface SparqlView { ...@@ -7,7 +7,7 @@ export interface SparqlView {
generateUrl?: (originalUrl: string) => string; generateUrl?: (originalUrl: string) => string;
} }
) => void; ) => void;
priorityForSparql: (uri: string, endpoint: string) => Promise<number>; isApplicable: (uri: string, endpoint: string) => Promise<boolean>;
} }
export type View = SparqlView; export type View = SparqlView;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment