@teambit/schema 1.0.257 → 1.0.259
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/artifacts/__bit_junit.xml +2 -2
- package/artifacts/preview/teambit_semantics_schema-preview.js +1 -1
- package/artifacts/schema.json +1726 -1627
- package/dist/mock/button-schemas.json +115 -106
- package/dist/{preview-1714360874807.js → preview-1714533890836.js} +3 -3
- package/dist/schema.graphql.js +24 -7
- package/dist/schema.graphql.js.map +1 -1
- package/dist/schema.spec.js +6 -6
- package/dist/schema.spec.js.map +1 -1
- package/mock/button-schemas.json +115 -106
- package/package.json +15 -15
package/mock/button-schemas.json
CHANGED
|
@@ -714,152 +714,161 @@
|
|
|
714
714
|
"defaultValue": "['hi', 'there']"
|
|
715
715
|
},
|
|
716
716
|
{
|
|
717
|
-
"__schema": "
|
|
717
|
+
"__schema": "ExportSchema",
|
|
718
718
|
"location": {
|
|
719
719
|
"filePath": "index.ts",
|
|
720
|
-
"line":
|
|
721
|
-
"character":
|
|
720
|
+
"line": 50,
|
|
721
|
+
"character": 10
|
|
722
722
|
},
|
|
723
|
-
"signature": "class ClassSomething",
|
|
724
723
|
"name": "ClassSomething",
|
|
725
|
-
"
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
"
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
"__schema": "
|
|
724
|
+
"exportNode": {
|
|
725
|
+
"__schema": "ClassSchema",
|
|
726
|
+
"location": {
|
|
727
|
+
"filePath": "index.ts",
|
|
728
|
+
"line": 36,
|
|
729
|
+
"character": 1
|
|
730
|
+
},
|
|
731
|
+
"signature": "class ClassSomething",
|
|
732
|
+
"name": "ClassSomething",
|
|
733
|
+
"members": [
|
|
734
|
+
{
|
|
735
|
+
"__schema": "VariableLikeSchema",
|
|
737
736
|
"location": {
|
|
738
737
|
"filePath": "index.ts",
|
|
739
738
|
"line": 37,
|
|
740
739
|
"character": 3
|
|
741
740
|
},
|
|
742
|
-
"
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
"__schema": "ConstructorSchema",
|
|
749
|
-
"location": {
|
|
750
|
-
"filePath": "index.ts",
|
|
751
|
-
"line": 38,
|
|
752
|
-
"character": 3
|
|
753
|
-
},
|
|
754
|
-
"signature": "constructor ClassSomething(da: 'dsa'): ClassSomething",
|
|
755
|
-
"name": "constructor",
|
|
756
|
-
"params": [
|
|
757
|
-
{
|
|
758
|
-
"__schema": "ParameterSchema",
|
|
741
|
+
"signature": "(property) ClassSomething.app: string",
|
|
742
|
+
"name": "app",
|
|
743
|
+
"type": {
|
|
744
|
+
"__schema": "InferenceTypeSchema",
|
|
759
745
|
"location": {
|
|
760
746
|
"filePath": "index.ts",
|
|
761
|
-
"line":
|
|
762
|
-
"character":
|
|
747
|
+
"line": 37,
|
|
748
|
+
"character": 3
|
|
763
749
|
},
|
|
764
|
-
"
|
|
765
|
-
|
|
766
|
-
|
|
750
|
+
"type": "string"
|
|
751
|
+
},
|
|
752
|
+
"isOptional": true,
|
|
753
|
+
"defaultValue": "''"
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"__schema": "ConstructorSchema",
|
|
757
|
+
"location": {
|
|
758
|
+
"filePath": "index.ts",
|
|
759
|
+
"line": 38,
|
|
760
|
+
"character": 3
|
|
761
|
+
},
|
|
762
|
+
"signature": "constructor ClassSomething(da: 'dsa'): ClassSomething",
|
|
763
|
+
"name": "constructor",
|
|
764
|
+
"params": [
|
|
765
|
+
{
|
|
766
|
+
"__schema": "ParameterSchema",
|
|
767
767
|
"location": {
|
|
768
768
|
"filePath": "index.ts",
|
|
769
769
|
"line": 38,
|
|
770
|
-
"character":
|
|
770
|
+
"character": 15
|
|
771
771
|
},
|
|
772
|
-
"name": "
|
|
772
|
+
"name": "da",
|
|
773
|
+
"type": {
|
|
774
|
+
"__schema": "LiteralTypeSchema",
|
|
775
|
+
"location": {
|
|
776
|
+
"filePath": "index.ts",
|
|
777
|
+
"line": 38,
|
|
778
|
+
"character": 28
|
|
779
|
+
},
|
|
780
|
+
"name": "'dsa'"
|
|
781
|
+
},
|
|
782
|
+
"isOptional": false,
|
|
783
|
+
"isSpread": false
|
|
784
|
+
}
|
|
785
|
+
],
|
|
786
|
+
"returnType": {
|
|
787
|
+
"__schema": "ThisTypeSchema",
|
|
788
|
+
"location": {
|
|
789
|
+
"filePath": "index.ts",
|
|
790
|
+
"line": 36,
|
|
791
|
+
"character": 1
|
|
773
792
|
},
|
|
774
|
-
"
|
|
775
|
-
"isSpread": false
|
|
776
|
-
}
|
|
777
|
-
],
|
|
778
|
-
"returnType": {
|
|
779
|
-
"__schema": "ThisTypeSchema",
|
|
780
|
-
"location": {
|
|
781
|
-
"filePath": "index.ts",
|
|
782
|
-
"line": 36,
|
|
783
|
-
"character": 1
|
|
793
|
+
"name": "ClassSomething"
|
|
784
794
|
},
|
|
785
|
-
"
|
|
786
|
-
},
|
|
787
|
-
"modifiers": []
|
|
788
|
-
},
|
|
789
|
-
{
|
|
790
|
-
"__schema": "FunctionLikeSchema",
|
|
791
|
-
"location": {
|
|
792
|
-
"filePath": "index.ts",
|
|
793
|
-
"line": 40,
|
|
794
|
-
"character": 3
|
|
795
|
+
"modifiers": []
|
|
795
796
|
},
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
"params": [],
|
|
799
|
-
"returnType": {
|
|
800
|
-
"__schema": "TypeRefSchema",
|
|
797
|
+
{
|
|
798
|
+
"__schema": "FunctionLikeSchema",
|
|
801
799
|
"location": {
|
|
802
800
|
"filePath": "index.ts",
|
|
803
801
|
"line": 40,
|
|
804
802
|
"character": 3
|
|
805
803
|
},
|
|
806
|
-
"
|
|
807
|
-
"
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
804
|
+
"signature": "(method) ClassSomething.a(): Foo",
|
|
805
|
+
"name": "a",
|
|
806
|
+
"params": [],
|
|
807
|
+
"returnType": {
|
|
808
|
+
"__schema": "TypeRefSchema",
|
|
809
|
+
"location": {
|
|
810
|
+
"filePath": "index.ts",
|
|
811
|
+
"line": 40,
|
|
812
|
+
"character": 3
|
|
813
|
+
},
|
|
814
|
+
"name": "Foo",
|
|
815
|
+
"internalFilePath": "index.ts"
|
|
816
|
+
},
|
|
817
|
+
"modifiers": []
|
|
817
818
|
},
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
"type": {
|
|
821
|
-
"__schema": "InferenceTypeSchema",
|
|
819
|
+
{
|
|
820
|
+
"__schema": "GetAccessorSchema",
|
|
822
821
|
"location": {
|
|
823
822
|
"filePath": "index.ts",
|
|
824
823
|
"line": 43,
|
|
825
824
|
"character": 3
|
|
826
825
|
},
|
|
827
|
-
"
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
826
|
+
"signature": "(getter) ClassSomething.getter: string",
|
|
827
|
+
"name": "getter",
|
|
828
|
+
"type": {
|
|
829
|
+
"__schema": "InferenceTypeSchema",
|
|
830
|
+
"location": {
|
|
831
|
+
"filePath": "index.ts",
|
|
832
|
+
"line": 43,
|
|
833
|
+
"character": 3
|
|
834
|
+
},
|
|
835
|
+
"type": "string"
|
|
836
|
+
}
|
|
836
837
|
},
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
"param": {
|
|
840
|
-
"__schema": "ParameterSchema",
|
|
838
|
+
{
|
|
839
|
+
"__schema": "SetAccessorSchema",
|
|
841
840
|
"location": {
|
|
842
841
|
"filePath": "index.ts",
|
|
843
842
|
"line": 47,
|
|
844
|
-
"character":
|
|
843
|
+
"character": 3
|
|
845
844
|
},
|
|
846
|
-
"
|
|
847
|
-
"
|
|
848
|
-
|
|
845
|
+
"signature": "(setter) ClassSomething.setter: boolean",
|
|
846
|
+
"name": "setter",
|
|
847
|
+
"param": {
|
|
848
|
+
"__schema": "ParameterSchema",
|
|
849
849
|
"location": {
|
|
850
850
|
"filePath": "index.ts",
|
|
851
851
|
"line": 47,
|
|
852
|
-
"character":
|
|
852
|
+
"character": 14
|
|
853
853
|
},
|
|
854
|
-
"name": "
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
854
|
+
"name": "a",
|
|
855
|
+
"type": {
|
|
856
|
+
"__schema": "KeywordTypeSchema",
|
|
857
|
+
"location": {
|
|
858
|
+
"filePath": "index.ts",
|
|
859
|
+
"line": 47,
|
|
860
|
+
"character": 17
|
|
861
|
+
},
|
|
862
|
+
"name": "boolean"
|
|
863
|
+
},
|
|
864
|
+
"isOptional": false,
|
|
865
|
+
"isSpread": false
|
|
866
|
+
}
|
|
858
867
|
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
868
|
+
],
|
|
869
|
+
"extendsNodes": [],
|
|
870
|
+
"implementNodes": []
|
|
871
|
+
}
|
|
863
872
|
},
|
|
864
873
|
{
|
|
865
874
|
"__schema": "TypeSchema",
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/schema",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.259",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/semantics/schema",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.semantics",
|
|
8
8
|
"name": "schema",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.259"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"p-map-series": "2.1.0",
|
|
@@ -14,18 +14,18 @@
|
|
|
14
14
|
"graphql-type-json": "0.3.2",
|
|
15
15
|
"fs-extra": "10.0.0",
|
|
16
16
|
"@teambit/harmony": "0.4.6",
|
|
17
|
-
"@teambit/semantics.entities.semantic-schema": "0.0.
|
|
18
|
-
"@teambit/envs": "1.0.
|
|
19
|
-
"@teambit/component": "1.0.
|
|
20
|
-
"@teambit/formatter": "1.0.
|
|
21
|
-
"@teambit/cli": "0.0.
|
|
22
|
-
"@teambit/logger": "0.0.
|
|
23
|
-
"@teambit/graphql": "1.0.
|
|
24
|
-
"@teambit/builder": "1.0.
|
|
17
|
+
"@teambit/semantics.entities.semantic-schema": "0.0.69",
|
|
18
|
+
"@teambit/envs": "1.0.259",
|
|
19
|
+
"@teambit/component": "1.0.259",
|
|
20
|
+
"@teambit/formatter": "1.0.259",
|
|
21
|
+
"@teambit/cli": "0.0.863",
|
|
22
|
+
"@teambit/logger": "0.0.956",
|
|
23
|
+
"@teambit/graphql": "1.0.259",
|
|
24
|
+
"@teambit/builder": "1.0.259",
|
|
25
25
|
"@teambit/defender.prettier.config-mutator": "0.0.100",
|
|
26
|
-
"@teambit/scope": "1.0.
|
|
27
|
-
"@teambit/typescript": "1.0.
|
|
28
|
-
"@teambit/workspace": "1.0.
|
|
26
|
+
"@teambit/scope": "1.0.259",
|
|
27
|
+
"@teambit/typescript": "1.0.259",
|
|
28
|
+
"@teambit/workspace": "1.0.259"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@types/chai": "4.2.15",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@types/mocha": "9.1.0",
|
|
36
36
|
"@teambit/component-id": "1.2.0",
|
|
37
37
|
"@teambit/harmony.envs.core-aspect-env": "0.0.33",
|
|
38
|
-
"@teambit/harmony.testing.load-aspect": "0.0.
|
|
39
|
-
"@teambit/tracker": "1.0.
|
|
38
|
+
"@teambit/harmony.testing.load-aspect": "0.0.196",
|
|
39
|
+
"@teambit/tracker": "1.0.259",
|
|
40
40
|
"@teambit/workspace.testing.mock-workspace": "0.0.27"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|