Skip to content

Commit

Permalink
added "wikidataId" filter type (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
theorm authored Aug 16, 2024
1 parent 2ba75b3 commit 6a20027
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dist/impresso-jscommons.js
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,8 @@ var query_pb = createCommonjsModule(function (module, exports) {
TYPE_TEXT_REUSE_CLUSTER_DAY_DELTA: 28,
TYPE_TEXT_REUSE_CLUSTER: 29,
TYPE_MENTION_FUNCTION: 30,
TYPE_NAG: 31
TYPE_NAG: 31,
TYPE_WIKIDATA_ID: 32
};

/**
Expand Down
2 changes: 1 addition & 1 deletion dist/impresso-jscommons.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "impresso-jscommons",
"version": "1.4.2",
"version": "1.4.3",
"description": "Code shared between the middle layer and frontend",
"private": true,
"main": "dist/impresso-jscommons.js",
Expand Down
1 change: 1 addition & 0 deletions proto/query.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum FilterType {
// mentions and entities
TYPE_MENTION_FUNCTION = 30;
TYPE_NAG = 31;
TYPE_WIKIDATA_ID = 32;
}

enum FilterPrecision {
Expand Down
1 change: 1 addition & 0 deletions src/generated/query_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export interface FilterTypeMap {
TYPE_TEXT_REUSE_CLUSTER: 29;
TYPE_MENTION_FUNCTION: 30;
TYPE_NAG: 31;
TYPE_WIKIDATA_ID: 32;
}

export const FilterType: FilterTypeMap;
Expand Down
3 changes: 2 additions & 1 deletion src/generated/query_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,8 @@ proto.impresso.query.FilterType = {
TYPE_TEXT_REUSE_CLUSTER_DAY_DELTA: 28,
TYPE_TEXT_REUSE_CLUSTER: 29,
TYPE_MENTION_FUNCTION: 30,
TYPE_NAG: 31
TYPE_NAG: 31,
TYPE_WIKIDATA_ID: 32
};

/**
Expand Down

0 comments on commit 6a20027

Please sign in to comment.