You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* or ALL to search all available text content fields.
465
+
* If missing, defaults to 'ALL_CONTENTFUL'
466
+
*/
467
+
field?: InputMaybe<CorpusSearchFields>;
468
+
/** The query string to search. */
469
+
query: Scalars['String'];
470
+
};
471
+
472
+
/** Sort scheme for Corpus Search. Defaults to showing most relevant results first. */
473
+
exporttypeCorpusSearchSort={
474
+
sortBy: CorpusSearchSortBy;
475
+
sortOrder?: InputMaybe<SearchItemsSortOrder>;
476
+
};
477
+
478
+
/** Sortable properties for Corpus Search */
479
+
exportenumCorpusSearchSortBy{
480
+
/** When the content was added to the corpus */
481
+
DateAddedToCorpus='DATE_ADDED_TO_CORPUS',
482
+
/**
483
+
* When the content was originally published
484
+
* (Note: this data is sparse/nullable)
485
+
*/
486
+
DatePublished='DATE_PUBLISHED',
487
+
/** Relevance score computed by search algorithm */
488
+
Relevance='RELEVANCE'
489
+
}
490
+
355
491
/** This is the same as Slate but in this type all recommendations are backed by CorpusItems. This means that the editorial team has editorial control over the items served by this endpoint. */
356
492
exporttypeCorpusSlate={
357
493
__typename?: 'CorpusSlate';
@@ -513,6 +649,18 @@ export type CurationCategory = {
513
649
slug: Scalars['String'];
514
650
};
515
651
652
+
/**
653
+
* Filter to get documents added/published before or after a date,
654
+
* or provide both for a range of [after, before)
655
+
* Before is exclusive, after is inclusive.
656
+
*/
657
+
exporttypeDateFilter={
658
+
/** Inclusive date -- results must be at or after than this time. */
659
+
after?: InputMaybe<Scalars['ISOString']>;
660
+
/** Exclusive date -- results must be exclusively before this time. */
661
+
before?: InputMaybe<Scalars['ISOString']>;
662
+
};
663
+
516
664
exporttypeDeleteSavedItemTagsInput={
517
665
/** The id of the SavedItem from which to delete a Tag association */
518
666
savedItemId: Scalars['ID'];
@@ -2017,6 +2165,8 @@ export type Query = {
2017
2165
/** List all topics that the user can express a preference for. */
2018
2166
recommendationPreferenceTopics: Array<Topic>;
2019
2167
scheduledSurface: ScheduledSurface;
2168
+
/** Search Pocket's corpus of recommendations and collections. */
2169
+
searchCorpus?: Maybe<CorpusSearchConnection>;
2020
2170
/**
2021
2171
* Resolve data for a Shared link, or return a Not Found
2022
2172
* message if the share does not exist.
@@ -2180,6 +2330,18 @@ export type QueryScheduledSurfaceArgs = {
2180
2330
};
2181
2331
2182
2332
2333
+
/**
2334
+
* Default root level query type. All authorization checks are done in these queries.
2335
+
* TODO: These belong in a seperate User Service that provides a User object (the user settings will probably exist there too)
2336
+
*/
2337
+
exporttypeQuerySearchCorpusArgs={
2338
+
filter: CorpusSearchFilters;
2339
+
pagination?: InputMaybe<PaginationInput>;
2340
+
search: CorpusSearchQueryString;
2341
+
sort?: InputMaybe<CorpusSearchSort>;
2342
+
};
2343
+
2344
+
2183
2345
/**
2184
2346
* Default root level query type. All authorization checks are done in these queries.
2185
2347
* TODO: These belong in a seperate User Service that provides a User object (the user settings will probably exist there too)
0 commit comments