@drodil/backstage-plugin-qeta-common 3.8.0 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +13 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,15 +25,15 @@ interface PaginatedQuery {
|
|
|
25
25
|
limit?: number;
|
|
26
26
|
offset?: number;
|
|
27
27
|
orderBy?: string;
|
|
28
|
-
order?:
|
|
28
|
+
order?: string;
|
|
29
29
|
searchQuery?: string;
|
|
30
30
|
}
|
|
31
31
|
interface PostsQuery extends PaginatedQuery {
|
|
32
32
|
tags?: string[];
|
|
33
|
-
|
|
33
|
+
tagsRelation?: 'and' | 'or';
|
|
34
|
+
entities?: string[];
|
|
35
|
+
entitiesRelation?: 'and' | 'or';
|
|
34
36
|
author?: string;
|
|
35
|
-
orderBy?: 'rank' | 'views' | 'title' | 'score' | 'trend' | 'answersCount' | 'created' | 'updated';
|
|
36
|
-
order?: 'desc' | 'asc';
|
|
37
37
|
noCorrectAnswer?: boolean;
|
|
38
38
|
noAnswers?: boolean;
|
|
39
39
|
favorite?: boolean;
|
|
@@ -51,11 +51,18 @@ interface PostsQuery extends PaginatedQuery {
|
|
|
51
51
|
}
|
|
52
52
|
interface CollectionsQuery extends PaginatedQuery {
|
|
53
53
|
owner?: string;
|
|
54
|
-
|
|
54
|
+
entities?: string[];
|
|
55
|
+
entitiesRelation?: 'and' | 'or';
|
|
56
|
+
tags?: string[];
|
|
57
|
+
tagsRelation?: 'and' | 'or';
|
|
58
|
+
fromDate?: string;
|
|
59
|
+
toDate?: string;
|
|
55
60
|
}
|
|
56
61
|
interface AnswersQuery extends PaginatedQuery {
|
|
57
62
|
tags?: string[];
|
|
58
|
-
|
|
63
|
+
tagsRelation?: 'and' | 'or';
|
|
64
|
+
entities?: string[];
|
|
65
|
+
entitiesRelation?: 'and' | 'or';
|
|
59
66
|
author?: string;
|
|
60
67
|
orderBy?: 'score' | 'created' | 'updated';
|
|
61
68
|
noCorrectAnswer?: boolean;
|