@bcrumbs.net/bc-api 0.0.11 → 0.0.12
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 +89 -0
- package/index.umd.js +1 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -3667,6 +3667,7 @@ let _$5 = t => t,
|
|
|
3667
3667
|
const showcaseContentsQuery = gql(_t$5 || (_t$5 = _$5`
|
|
3668
3668
|
query ($rootId: Int!, $path: String, $deep: Int!) {
|
|
3669
3669
|
contents(rootId: $rootId, deep: $deep, path: $path) {
|
|
3670
|
+
...content
|
|
3670
3671
|
id
|
|
3671
3672
|
name
|
|
3672
3673
|
title
|
|
@@ -3703,6 +3704,94 @@ const showcaseContentsQuery = gql(_t$5 || (_t$5 = _$5`
|
|
|
3703
3704
|
priority
|
|
3704
3705
|
online
|
|
3705
3706
|
modelId
|
|
3707
|
+
children {
|
|
3708
|
+
id
|
|
3709
|
+
name
|
|
3710
|
+
data
|
|
3711
|
+
priority
|
|
3712
|
+
online
|
|
3713
|
+
modelId
|
|
3714
|
+
children {
|
|
3715
|
+
id
|
|
3716
|
+
name
|
|
3717
|
+
data
|
|
3718
|
+
priority
|
|
3719
|
+
online
|
|
3720
|
+
modelId
|
|
3721
|
+
children {
|
|
3722
|
+
id
|
|
3723
|
+
name
|
|
3724
|
+
data
|
|
3725
|
+
priority
|
|
3726
|
+
online
|
|
3727
|
+
modelId
|
|
3728
|
+
children {
|
|
3729
|
+
id
|
|
3730
|
+
name
|
|
3731
|
+
data
|
|
3732
|
+
priority
|
|
3733
|
+
online
|
|
3734
|
+
modelId
|
|
3735
|
+
children {
|
|
3736
|
+
id
|
|
3737
|
+
name
|
|
3738
|
+
data
|
|
3739
|
+
priority
|
|
3740
|
+
online
|
|
3741
|
+
modelId
|
|
3742
|
+
children {
|
|
3743
|
+
id
|
|
3744
|
+
name
|
|
3745
|
+
data
|
|
3746
|
+
priority
|
|
3747
|
+
online
|
|
3748
|
+
modelId
|
|
3749
|
+
children {
|
|
3750
|
+
id
|
|
3751
|
+
name
|
|
3752
|
+
data
|
|
3753
|
+
priority
|
|
3754
|
+
online
|
|
3755
|
+
modelId
|
|
3756
|
+
children {
|
|
3757
|
+
id
|
|
3758
|
+
name
|
|
3759
|
+
data
|
|
3760
|
+
priority
|
|
3761
|
+
online
|
|
3762
|
+
modelId
|
|
3763
|
+
children {
|
|
3764
|
+
id
|
|
3765
|
+
name
|
|
3766
|
+
data
|
|
3767
|
+
priority
|
|
3768
|
+
online
|
|
3769
|
+
modelId
|
|
3770
|
+
children {
|
|
3771
|
+
id
|
|
3772
|
+
name
|
|
3773
|
+
data
|
|
3774
|
+
priority
|
|
3775
|
+
online
|
|
3776
|
+
modelId
|
|
3777
|
+
children {
|
|
3778
|
+
id
|
|
3779
|
+
name
|
|
3780
|
+
data
|
|
3781
|
+
priority
|
|
3782
|
+
online
|
|
3783
|
+
modelId
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
}
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
3791
|
+
}
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
}
|
|
3706
3795
|
}
|
|
3707
3796
|
}
|
|
3708
3797
|
}
|
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, $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"])));
|
|
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 ...content\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 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 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 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 }\n }\n }\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query ($rootId: Int!, $path: String, $deep: Int!) {\n contents(rootId: $rootId, deep: $deep, path: $path) {\n ...content\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 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 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 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 }\n }\n }\n }\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',
|