@geekron/strapi 0.2.3 → 0.2.4

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.
@@ -710,90 +710,9 @@ var destroy = ({ strapi: strapi2 }) => {
710
710
  strapi2.log.info("dashboard server plugin: bootstrap");
711
711
  };
712
712
  var destroy_default = destroy;
713
- // server/src/components/schema/banner.json
714
- var banner_default = {
715
- collectionName: "components_website_banners",
716
- info: {
717
- displayName: "Banner",
718
- icon: "landscape"
719
- },
720
- options: {},
721
- attributes: {
722
- title: {
723
- type: "string"
724
- },
725
- subtitle: {
726
- type: "string"
727
- },
728
- description: {
729
- type: "string"
730
- },
731
- image: {
732
- type: "component",
733
- component: "base.image",
734
- repeatable: false
735
- }
736
- }
737
- };
738
- // server/src/components/schema/social.json
739
- var social_default = {
740
- collectionName: "components_website_socials",
741
- info: {
742
- displayName: "Social",
743
- icon: "paperPlane"
744
- },
745
- options: {},
746
- attributes: {
747
- type: {
748
- type: "enumeration",
749
- enum: [
750
- "url",
751
- "qrcode"
752
- ]
753
- },
754
- url: {
755
- type: "string",
756
- conditions: {
757
- visible: {
758
- "==": [
759
- {
760
- var: "type"
761
- },
762
- "url"
763
- ]
764
- }
765
- }
766
- },
767
- icon: {
768
- type: "customField",
769
- customField: "plugin::website.iconPicker"
770
- },
771
- color: {
772
- type: "customField",
773
- customField: "plugin::website.colorPicker"
774
- },
775
- qrcode: {
776
- type: "media",
777
- conditions: {
778
- visible: {
779
- "==": [
780
- {
781
- var: "type"
782
- },
783
- "qrcode"
784
- ]
785
- }
786
- },
787
- multiple: false,
788
- allowedTypes: [
789
- "images"
790
- ]
791
- }
792
- }
793
- };
794
713
 
795
714
  // server/src/components/index.ts
796
- var schemas = { banner: banner_default, social: social_default };
715
+ var schemas = {};
797
716
  var createComponent = (strapi2, { name, displayName, icon, attributes }) => {
798
717
  const category = "website";
799
718
  if (strapi2.components[`${category}.${name}`])
@@ -675,90 +675,9 @@ var destroy = ({ strapi: strapi2 }) => {
675
675
  strapi2.log.info("dashboard server plugin: bootstrap");
676
676
  };
677
677
  var destroy_default = destroy;
678
- // server/src/components/schema/banner.json
679
- var banner_default = {
680
- collectionName: "components_website_banners",
681
- info: {
682
- displayName: "Banner",
683
- icon: "landscape"
684
- },
685
- options: {},
686
- attributes: {
687
- title: {
688
- type: "string"
689
- },
690
- subtitle: {
691
- type: "string"
692
- },
693
- description: {
694
- type: "string"
695
- },
696
- image: {
697
- type: "component",
698
- component: "base.image",
699
- repeatable: false
700
- }
701
- }
702
- };
703
- // server/src/components/schema/social.json
704
- var social_default = {
705
- collectionName: "components_website_socials",
706
- info: {
707
- displayName: "Social",
708
- icon: "paperPlane"
709
- },
710
- options: {},
711
- attributes: {
712
- type: {
713
- type: "enumeration",
714
- enum: [
715
- "url",
716
- "qrcode"
717
- ]
718
- },
719
- url: {
720
- type: "string",
721
- conditions: {
722
- visible: {
723
- "==": [
724
- {
725
- var: "type"
726
- },
727
- "url"
728
- ]
729
- }
730
- }
731
- },
732
- icon: {
733
- type: "customField",
734
- customField: "plugin::website.iconPicker"
735
- },
736
- color: {
737
- type: "customField",
738
- customField: "plugin::website.colorPicker"
739
- },
740
- qrcode: {
741
- type: "media",
742
- conditions: {
743
- visible: {
744
- "==": [
745
- {
746
- var: "type"
747
- },
748
- "qrcode"
749
- ]
750
- }
751
- },
752
- multiple: false,
753
- allowedTypes: [
754
- "images"
755
- ]
756
- }
757
- }
758
- };
759
678
 
760
679
  // server/src/components/index.ts
761
- var schemas = { banner: banner_default, social: social_default };
680
+ var schemas = {};
762
681
  var createComponent = (strapi2, { name, displayName, icon, attributes }) => {
763
682
  const category = "website";
764
683
  if (strapi2.components[`${category}.${name}`])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekron/strapi",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "极客领航网站管理插件",
5
5
  "type": "commonjs",
6
6
  "author": "Geekron",