@droz-js/sdk 0.8.3-alpha.2 → 0.8.3-alpha.3
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/package.json +1 -1
- package/src/drozbase-ws.d.ts +1 -0
- package/src/drozbase.d.ts +1 -0
- package/src/sdks/drozbase.d.ts +2 -1
- package/src/sdks/drozbase.js +2 -1
package/package.json
CHANGED
package/src/drozbase-ws.d.ts
CHANGED
|
@@ -665,6 +665,7 @@ declare const DrozBaseWs_base: new () => {
|
|
|
665
665
|
search(variables?: import("./sdks/drozbase").Exact<{
|
|
666
666
|
query?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
667
667
|
typename?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
668
|
+
parent?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
668
669
|
filters?: import("./sdks/drozbase").InputMaybe<Array<import("./sdks/drozbase").ContentSearchFilterInput> | import("./sdks/drozbase").ContentSearchFilterInput>;
|
|
669
670
|
after?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
670
671
|
highlight?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["Boolean"]["input"]>;
|
package/src/drozbase.d.ts
CHANGED
|
@@ -668,6 +668,7 @@ declare const DrozBase_base: new (options?: import("./client/http").HttpClientOp
|
|
|
668
668
|
search(variables?: import("./sdks/drozbase").Exact<{
|
|
669
669
|
query?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
670
670
|
typename?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
671
|
+
parent?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
671
672
|
filters?: import("./sdks/drozbase").InputMaybe<Array<import("./sdks/drozbase").ContentSearchFilterInput> | import("./sdks/drozbase").ContentSearchFilterInput>;
|
|
672
673
|
after?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["String"]["input"]>;
|
|
673
674
|
highlight?: import("./sdks/drozbase").InputMaybe<import("./sdks/drozbase").Scalars["Boolean"]["input"]>;
|
package/src/sdks/drozbase.d.ts
CHANGED
|
@@ -4685,6 +4685,7 @@ export type FacetsFragment = Facets_AuthorSearchResultsFacet_Fragment | Facets_R
|
|
|
4685
4685
|
export type SearchQueryVariables = Exact<{
|
|
4686
4686
|
query?: InputMaybe<Scalars['String']['input']>;
|
|
4687
4687
|
typename?: InputMaybe<Scalars['String']['input']>;
|
|
4688
|
+
parent?: InputMaybe<Scalars['String']['input']>;
|
|
4688
4689
|
filters?: InputMaybe<Array<ContentSearchFilterInput> | ContentSearchFilterInput>;
|
|
4689
4690
|
after?: InputMaybe<Scalars['String']['input']>;
|
|
4690
4691
|
highlight?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -5374,7 +5375,7 @@ export declare const SetPermissionDocument = "\n mutation setPermission($inpu
|
|
|
5374
5375
|
export declare const RemovePermissionDocument = "\n mutation removePermission($input: RemovePermissionInput!) {\n removePermission(input: $input) {\n ...permission\n }\n}\n \n fragment permission on Permission {\n resource\n subject\n policies\n}\n ";
|
|
5375
5376
|
export declare const GetReactionsDocument = "\n query getReactions($resource: ID!, $withUsers: Boolean = false) {\n reactions(resource: $resource) {\n ...reactions\n subjects @include(if: $withUsers) {\n reaction\n user {\n ...userInfo\n }\n }\n }\n}\n \n fragment reactions on ReactionsSummary {\n counts {\n positive1\n positive2\n positive3\n positive4\n positive5\n negative1\n negative2\n negative3\n negative4\n negative5\n total\n }\n mine\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n ";
|
|
5376
5377
|
export declare const ToggleReactionDocument = "\n mutation toggleReaction($input: ToggleReactionInput!) {\n toggleReaction(input: $input) {\n ...reactions\n }\n}\n \n fragment reactions on ReactionsSummary {\n counts {\n positive1\n positive2\n positive3\n positive4\n positive5\n negative1\n negative2\n negative3\n negative4\n negative5\n total\n }\n mine\n}\n ";
|
|
5377
|
-
export declare const SearchDocument = "\n query search($query: String, $typename: String, $filters: [ContentSearchFilterInput!], $after: String, $highlight: Boolean, $sorting: SearchSorting) {\n systemTime\n search(\n query: $query\n typename: $typename\n filters: $filters\n after: $after\n highlight: $highlight\n sorting: $sorting\n ) {\n nodes {\n ...searchHit\n }\n pageInfo {\n ...pageInfo\n }\n facets {\n ...facets\n }\n stats {\n searchTime\n found\n outOf\n page\n perPage\n totalPages\n }\n }\n}\n \n fragment searchHit on ContentSearchHit {\n ...space\n ...storage\n ...doc\n ...course\n ...form\n}\n \n\n fragment space on Space {\n ...spaceWithoutContent\n content\n tags\n parent {\n ...record\n }\n}\n \n\n fragment spaceWithoutContent on Space {\n id\n typename\n title\n slug\n thumbnailUrl\n color\n createdAt\n updatedAt\n ttl\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment storage on Storage {\n typename\n id\n version\n createdAt\n updatedAt\n title\n content\n slug\n downloadUrl\n thumbnailUrl\n contentType\n size\n downloads\n views\n imageProcessed\n imageOptimized\n imageAnalyzed\n videoStatus\n videoTranscodeError\n videoTranscodeProgress\n videoM3u8Url\n videoMpdUrl\n isPdfCompatible\n}\n \n\n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment course on Course {\n ...courseWithoutContent\n content\n}\n \n\n fragment courseWithoutContent on Course {\n id\n version\n typename\n title\n slug\n tags\n duration\n progress\n points\n enrollmentDate\n createdAt\n updatedAt\n ttl\n versionId\n thumbnailUrl\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n chapters {\n ...courseChapterWithoutContent\n }\n}\n \n\n fragment courseChapterWithoutContent on CourseChapter {\n typename\n id\n version\n title\n slug\n duration\n progress\n entries {\n ...courseLessonWithoutContent\n ...courseQuizWithoutContent\n }\n}\n \n\n fragment courseLessonWithoutContent on CourseLesson {\n typename\n id\n version\n title\n slug\n duration\n completedDate\n}\n \n\n fragment courseQuizWithoutContent on Quiz {\n ...quizWithoutContent\n completedDate\n}\n \n\n fragment quizWithoutContent on Quiz {\n id\n version\n typename\n slug\n title\n createdAt\n updatedAt\n duration\n points\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment form on Form {\n ...formWithoutContent\n content\n}\n \n\n fragment formWithoutContent on Form {\n id\n version\n typename\n slug\n title\n tags\n titleTemplate\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n sectionIds\n}\n \n\n fragment pageInfo on PageInfo {\n next\n hasNext\n}\n \n\n fragment facets on ContentSearchFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AuthorSearchResultsFacet {\n name\n values {\n agent {\n username\n name\n picture\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on RecordSearchResultsFacet {\n name\n values {\n record {\n id\n title\n slug\n typename\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
|
|
5378
|
+
export declare const SearchDocument = "\n query search($query: String, $typename: String, $parent: String, $filters: [ContentSearchFilterInput!], $after: String, $highlight: Boolean, $sorting: SearchSorting) {\n systemTime\n search(\n query: $query\n typename: $typename\n parent: $parent\n filters: $filters\n after: $after\n highlight: $highlight\n sorting: $sorting\n ) {\n nodes {\n ...searchHit\n }\n pageInfo {\n ...pageInfo\n }\n facets {\n ...facets\n }\n stats {\n searchTime\n found\n outOf\n page\n perPage\n totalPages\n }\n }\n}\n \n fragment searchHit on ContentSearchHit {\n ...space\n ...storage\n ...doc\n ...course\n ...form\n}\n \n\n fragment space on Space {\n ...spaceWithoutContent\n content\n tags\n parent {\n ...record\n }\n}\n \n\n fragment spaceWithoutContent on Space {\n id\n typename\n title\n slug\n thumbnailUrl\n color\n createdAt\n updatedAt\n ttl\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment storage on Storage {\n typename\n id\n version\n createdAt\n updatedAt\n title\n content\n slug\n downloadUrl\n thumbnailUrl\n contentType\n size\n downloads\n views\n imageProcessed\n imageOptimized\n imageAnalyzed\n videoStatus\n videoTranscodeError\n videoTranscodeProgress\n videoM3u8Url\n videoMpdUrl\n isPdfCompatible\n}\n \n\n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment course on Course {\n ...courseWithoutContent\n content\n}\n \n\n fragment courseWithoutContent on Course {\n id\n version\n typename\n title\n slug\n tags\n duration\n progress\n points\n enrollmentDate\n createdAt\n updatedAt\n ttl\n versionId\n thumbnailUrl\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n chapters {\n ...courseChapterWithoutContent\n }\n}\n \n\n fragment courseChapterWithoutContent on CourseChapter {\n typename\n id\n version\n title\n slug\n duration\n progress\n entries {\n ...courseLessonWithoutContent\n ...courseQuizWithoutContent\n }\n}\n \n\n fragment courseLessonWithoutContent on CourseLesson {\n typename\n id\n version\n title\n slug\n duration\n completedDate\n}\n \n\n fragment courseQuizWithoutContent on Quiz {\n ...quizWithoutContent\n completedDate\n}\n \n\n fragment quizWithoutContent on Quiz {\n id\n version\n typename\n slug\n title\n createdAt\n updatedAt\n duration\n points\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment form on Form {\n ...formWithoutContent\n content\n}\n \n\n fragment formWithoutContent on Form {\n id\n version\n typename\n slug\n title\n tags\n titleTemplate\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n sectionIds\n}\n \n\n fragment pageInfo on PageInfo {\n next\n hasNext\n}\n \n\n fragment facets on ContentSearchFacet {\n ... on SearchResultsFacet {\n name\n values {\n value\n count\n }\n stats {\n min\n max\n }\n }\n ... on AuthorSearchResultsFacet {\n name\n values {\n agent {\n username\n name\n picture\n }\n count\n }\n stats {\n min\n max\n }\n }\n ... on RecordSearchResultsFacet {\n name\n values {\n record {\n id\n title\n slug\n typename\n }\n count\n }\n stats {\n min\n max\n }\n }\n}\n ";
|
|
5378
5379
|
export declare const SearchForFacetValuesDocument = "\n query searchForFacetValues($name: String!, $query: String, $filters: [String!]) {\n searchForFacetValues(name: $name, query: $query, filters: $filters) {\n name\n values {\n count\n value\n }\n }\n}\n ";
|
|
5379
5380
|
export declare const SearchForRelatedDocument = "\n query searchForRelated($resourceId: ID!) {\n searchForRelated(resourceId: $resourceId) {\n ...searchHit\n }\n}\n \n fragment searchHit on ContentSearchHit {\n ...space\n ...storage\n ...doc\n ...course\n ...form\n}\n \n\n fragment space on Space {\n ...spaceWithoutContent\n content\n tags\n parent {\n ...record\n }\n}\n \n\n fragment spaceWithoutContent on Space {\n id\n typename\n title\n slug\n thumbnailUrl\n color\n createdAt\n updatedAt\n ttl\n}\n \n\n fragment record on Record {\n id\n slug\n title\n trail\n typename\n color\n thumbnailUrl\n downloadUrl\n origin\n identifier\n createdAt\n updatedAt\n status\n}\n \n\n fragment storage on Storage {\n typename\n id\n version\n createdAt\n updatedAt\n title\n content\n slug\n downloadUrl\n thumbnailUrl\n contentType\n size\n downloads\n views\n imageProcessed\n imageOptimized\n imageAnalyzed\n videoStatus\n videoTranscodeError\n videoTranscodeProgress\n videoM3u8Url\n videoMpdUrl\n isPdfCompatible\n}\n \n\n fragment doc on Doc {\n ...docWithoutContent\n content\n}\n \n\n fragment docWithoutContent on Doc {\n id\n version\n typename\n origin\n identifier\n prefixCode\n title\n slug\n tags\n entities\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n toc\n showToc\n features\n references\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment userInfo on UserInfo {\n username\n name\n picture\n enabled\n bio\n department\n}\n \n\n fragment course on Course {\n ...courseWithoutContent\n content\n}\n \n\n fragment courseWithoutContent on Course {\n id\n version\n typename\n title\n slug\n tags\n duration\n progress\n points\n enrollmentDate\n createdAt\n updatedAt\n ttl\n versionId\n thumbnailUrl\n views\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n chapters {\n ...courseChapterWithoutContent\n }\n}\n \n\n fragment courseChapterWithoutContent on CourseChapter {\n typename\n id\n version\n title\n slug\n duration\n progress\n entries {\n ...courseLessonWithoutContent\n ...courseQuizWithoutContent\n }\n}\n \n\n fragment courseLessonWithoutContent on CourseLesson {\n typename\n id\n version\n title\n slug\n duration\n completedDate\n}\n \n\n fragment courseQuizWithoutContent on Quiz {\n ...quizWithoutContent\n completedDate\n}\n \n\n fragment quizWithoutContent on Quiz {\n id\n version\n typename\n slug\n title\n createdAt\n updatedAt\n duration\n points\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n}\n \n\n fragment form on Form {\n ...formWithoutContent\n content\n}\n \n\n fragment formWithoutContent on Form {\n id\n version\n typename\n slug\n title\n tags\n titleTemplate\n createdAt\n updatedAt\n ttl\n thumbnailUrl\n parent {\n ...record\n }\n authors {\n ...userInfo\n }\n sectionIds\n}\n ";
|
|
5380
5381
|
export declare const SearchTagsForResourceDocument = "\n query searchTagsForResource($resource: String!, $query: String) {\n searchTagsForResource(resource: $resource, query: $query) {\n disableNewTags\n tags {\n name\n stats {\n min\n max\n }\n values {\n value\n count\n }\n }\n }\n}\n ";
|
package/src/sdks/drozbase.js
CHANGED
|
@@ -3603,11 +3603,12 @@ exports.ToggleReactionDocument = `
|
|
|
3603
3603
|
}
|
|
3604
3604
|
${exports.ReactionsFragmentDoc}`;
|
|
3605
3605
|
exports.SearchDocument = `
|
|
3606
|
-
query search($query: String, $typename: String, $filters: [ContentSearchFilterInput!], $after: String, $highlight: Boolean, $sorting: SearchSorting) {
|
|
3606
|
+
query search($query: String, $typename: String, $parent: String, $filters: [ContentSearchFilterInput!], $after: String, $highlight: Boolean, $sorting: SearchSorting) {
|
|
3607
3607
|
systemTime
|
|
3608
3608
|
search(
|
|
3609
3609
|
query: $query
|
|
3610
3610
|
typename: $typename
|
|
3611
|
+
parent: $parent
|
|
3611
3612
|
filters: $filters
|
|
3612
3613
|
after: $after
|
|
3613
3614
|
highlight: $highlight
|