@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.
@@ -714,152 +714,161 @@
714
714
  "defaultValue": "['hi', 'there']"
715
715
  },
716
716
  {
717
- "__schema": "ClassSchema",
717
+ "__schema": "ExportSchema",
718
718
  "location": {
719
719
  "filePath": "index.ts",
720
- "line": 36,
721
- "character": 1
720
+ "line": 50,
721
+ "character": 10
722
722
  },
723
- "signature": "class ClassSomething",
724
723
  "name": "ClassSomething",
725
- "members": [
726
- {
727
- "__schema": "VariableLikeSchema",
728
- "location": {
729
- "filePath": "index.ts",
730
- "line": 37,
731
- "character": 3
732
- },
733
- "signature": "(property) ClassSomething.app: string",
734
- "name": "app",
735
- "type": {
736
- "__schema": "InferenceTypeSchema",
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
- "type": "string"
743
- },
744
- "isOptional": true,
745
- "defaultValue": "''"
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": 38,
762
- "character": 15
747
+ "line": 37,
748
+ "character": 3
763
749
  },
764
- "name": "da",
765
- "type": {
766
- "__schema": "LiteralTypeSchema",
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": 28
770
+ "character": 15
771
771
  },
772
- "name": "'dsa'"
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
- "isOptional": false,
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
- "name": "ClassSomething"
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
- "signature": "(method) ClassSomething.a(): Foo",
797
- "name": "a",
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
- "name": "Foo",
807
- "internalFilePath": "index.ts"
808
- },
809
- "modifiers": []
810
- },
811
- {
812
- "__schema": "GetAccessorSchema",
813
- "location": {
814
- "filePath": "index.ts",
815
- "line": 43,
816
- "character": 3
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
- "signature": "(getter) ClassSomething.getter: string",
819
- "name": "getter",
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
- "type": "string"
828
- }
829
- },
830
- {
831
- "__schema": "SetAccessorSchema",
832
- "location": {
833
- "filePath": "index.ts",
834
- "line": 47,
835
- "character": 3
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
- "signature": "(setter) ClassSomething.setter: boolean",
838
- "name": "setter",
839
- "param": {
840
- "__schema": "ParameterSchema",
838
+ {
839
+ "__schema": "SetAccessorSchema",
841
840
  "location": {
842
841
  "filePath": "index.ts",
843
842
  "line": 47,
844
- "character": 14
843
+ "character": 3
845
844
  },
846
- "name": "a",
847
- "type": {
848
- "__schema": "KeywordTypeSchema",
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": 17
852
+ "character": 14
853
853
  },
854
- "name": "boolean"
855
- },
856
- "isOptional": false,
857
- "isSpread": false
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
- "extendsNodes": [],
862
- "implementNodes": []
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.257",
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.257"
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.68",
18
- "@teambit/envs": "1.0.257",
19
- "@teambit/component": "1.0.257",
20
- "@teambit/formatter": "1.0.257",
21
- "@teambit/cli": "0.0.862",
22
- "@teambit/logger": "0.0.955",
23
- "@teambit/graphql": "1.0.257",
24
- "@teambit/builder": "1.0.257",
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.257",
27
- "@teambit/typescript": "1.0.257",
28
- "@teambit/workspace": "1.0.257"
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.195",
39
- "@teambit/tracker": "1.0.257",
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": {