@bcrumbs.net/bc-api 0.0.9 → 0.0.11

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/index.esm.js CHANGED
@@ -3665,8 +3665,8 @@ let _$5 = t => t,
3665
3665
  _t8$2,
3666
3666
  _t9$2;
3667
3667
  const showcaseContentsQuery = gql(_t$5 || (_t$5 = _$5`
3668
- query ($rootId: Int!, $path: String) {
3669
- contents(rootId: $rootId, deep: 4, path: $path) {
3668
+ query ($rootId: Int!, $path: String, $deep: Int!) {
3669
+ contents(rootId: $rootId, deep: $deep, path: $path) {
3670
3670
  id
3671
3671
  name
3672
3672
  title
package/index.umd.js CHANGED
@@ -3656,7 +3656,7 @@
3656
3656
  }
3657
3657
  };
3658
3658
 
3659
- var showcaseContentsQuery = gql__default["default"](templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n query ($rootId: Int!, $path: String) {\n contents(rootId: $rootId, deep: 4, path: $path) {\n id\n name\n title\n metaDescription\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n }\n }\n }\n }\n }\n }\n"], ["\n query ($rootId: Int!, $path: String) {\n contents(rootId: $rootId, deep: 4, path: $path) {\n id\n name\n title\n metaDescription\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n }\n }\n }\n }\n }\n }\n"])));
3659
+ var showcaseContentsQuery = gql__default["default"](templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject(["\n query ($rootId: Int!, $path: String, $deep: Int!) {\n contents(rootId: $rootId, deep: $deep, path: $path) {\n id\n name\n title\n metaDescription\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n }\n }\n }\n }\n }\n }\n"], ["\n query ($rootId: Int!, $path: String, $deep: Int!) {\n contents(rootId: $rootId, deep: $deep, path: $path) {\n id\n name\n title\n metaDescription\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n children {\n id\n name\n data\n priority\n online\n modelId\n }\n }\n }\n }\n }\n }\n"])));
3660
3660
  var useShowcaseContentsQuery = function useShowcaseContentsQuery(rootId, deep, path) {
3661
3661
  return client.useQuery(showcaseContentsQuery, {
3662
3662
  fetchPolicy: 'cache-first',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bcrumbs.net/bc-api",
3
3
  "description": "The SDK that helps to work with Bread Crumbs APIs",
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "keyword": [
6
6
  "bcrumbs",
7
7
  "bc-api"