@teambit/schema 1.0.965 → 1.0.966

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.
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "jsx": "react",
4
- "experimentalDecorators": true,
5
- "emitDecoratorMetadata": true,
6
- "strict": true,
7
- "moduleResolution": "node",
8
- "module": "commonjs",
9
- "target": "es2015",
10
- "skipLibCheck": true,
11
- "noImplicitAny": false,
12
- "preserveConstEnums": true,
13
- "strictPropertyInitialization": false,
14
- "esModuleInterop": true,
15
- "resolveJsonModule": true,
16
- "sourceMap": true,
17
- "outDir": "./dist"
18
- }
19
- }
3
+ "jsx": "react",
4
+ "experimentalDecorators": true,
5
+ "emitDecoratorMetadata": true,
6
+ "strict": true,
7
+ "moduleResolution": "node",
8
+ "module": "commonjs",
9
+ "target": "es2015",
10
+ "skipLibCheck": true,
11
+ "noImplicitAny": false,
12
+ "preserveConstEnums": true,
13
+ "strictPropertyInitialization": false,
14
+ "esModuleInterop": true,
15
+ "resolveJsonModule": true,
16
+ "sourceMap": true,
17
+ "outDir": "./dist"
18
+ },
19
+ }
@@ -1,139 +1,139 @@
1
1
  {
2
- "hasChanges": true,
3
- "impact": "NON_BREAKING",
4
- "added": 1,
5
- "removed": 0,
6
- "modified": 7,
7
- "breaking": 0,
8
- "nonBreaking": 6,
9
- "patch": 2,
10
- "publicChanges": [
2
+ "hasChanges": true,
3
+ "impact": "NON_BREAKING",
4
+ "added": 1,
5
+ "removed": 0,
6
+ "modified": 7,
7
+ "breaking": 0,
8
+ "nonBreaking": 6,
9
+ "patch": 2,
10
+ "publicChanges": [
11
+ {
12
+ "status": "MODIFIED",
13
+ "visibility": "public",
14
+ "impact": "NON_BREAKING",
15
+ "exportName": "myFunc",
16
+ "schemaType": "Function",
17
+ "baseSignature": "function myFunc(a?: number, b?: number): number",
18
+ "compareSignature": "function myFunc(a?: number, b?: number, c?: number): number",
19
+ "details": [
11
20
  {
12
- "status": "MODIFIED",
13
- "visibility": "public",
14
- "impact": "NON_BREAKING",
15
- "exportName": "myFunc",
16
- "schemaType": "Function",
17
- "baseSignature": "function myFunc(a?: number, b?: number): number",
18
- "compareSignature": "function myFunc(a?: number, b?: number, c?: number): number",
19
- "details": [
20
- {
21
- "changeKind": "parameter-added",
22
- "description": "parameter 'c: number' added (optional)",
23
- "impact": "NON_BREAKING",
24
- "to": "c?: number"
25
- },
26
- {
27
- "changeKind": "documentation-changed",
28
- "description": "documentation description and tags changed",
29
- "impact": "PATCH",
30
- "from": "General comment of the myFunc",
31
- "to": "Updated comment for myFunc"
32
- }
33
- ]
21
+ "changeKind": "parameter-added",
22
+ "description": "parameter 'c: number' added (optional)",
23
+ "impact": "NON_BREAKING",
24
+ "to": "c?: number"
34
25
  },
35
26
  {
36
- "status": "MODIFIED",
37
- "visibility": "public",
38
- "impact": "PATCH",
39
- "exportName": "ButtonElementType",
40
- "schemaType": "Type Alias",
41
- "baseSignature": "type ButtonElementType = \"a\" | \"button\"",
42
- "compareSignature": "type ButtonElementType = \"a\" | \"button\" | \"div\"",
43
- "details": [
44
- {
45
- "changeKind": "type-definition-changed",
46
- "description": "type definition changed",
47
- "impact": "PATCH",
48
- "from": "type ButtonElementType = \"a\" | \"button\"",
49
- "to": "type ButtonElementType = \"a\" | \"button\" | \"div\""
50
- }
51
- ]
52
- },
27
+ "changeKind": "documentation-changed",
28
+ "description": "documentation description and tags changed",
29
+ "impact": "PATCH",
30
+ "from": "General comment of the myFunc",
31
+ "to": "Updated comment for myFunc"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "status": "MODIFIED",
37
+ "visibility": "public",
38
+ "impact": "PATCH",
39
+ "exportName": "ButtonElementType",
40
+ "schemaType": "Type Alias",
41
+ "baseSignature": "type ButtonElementType = \"a\" | \"button\"",
42
+ "compareSignature": "type ButtonElementType = \"a\" | \"button\" | \"div\"",
43
+ "details": [
53
44
  {
54
- "status": "MODIFIED",
55
- "visibility": "public",
56
- "impact": "PATCH",
57
- "exportName": "ButtonProps",
58
- "schemaType": "Type Alias",
59
- "details": [
60
- {
61
- "changeKind": "type-definition-changed",
62
- "description": "type definition changed",
63
- "impact": "PATCH",
64
- "from": "type ButtonProps = any",
65
- "to": "type ButtonProps = any"
66
- }
67
- ]
68
- },
45
+ "changeKind": "type-definition-changed",
46
+ "description": "type definition changed",
47
+ "impact": "PATCH",
48
+ "from": "type ButtonElementType = \"a\" | \"button\"",
49
+ "to": "type ButtonElementType = \"a\" | \"button\" | \"div\""
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "status": "MODIFIED",
55
+ "visibility": "public",
56
+ "impact": "PATCH",
57
+ "exportName": "ButtonProps",
58
+ "schemaType": "Type Alias",
59
+ "details": [
69
60
  {
70
- "status": "MODIFIED",
71
- "visibility": "public",
72
- "impact": "NON_BREAKING",
73
- "exportName": "Bar",
74
- "schemaType": "Class",
75
- "details": [
76
- {
77
- "changeKind": "member-added",
78
- "description": "Function 'bar' added: (method) Bar.bar(): void",
79
- "impact": "NON_BREAKING",
80
- "to": "(method) Bar.bar(): void"
81
- }
82
- ]
83
- },
61
+ "changeKind": "type-definition-changed",
62
+ "description": "type definition changed",
63
+ "impact": "PATCH",
64
+ "from": "type ButtonProps = any",
65
+ "to": "type ButtonProps = any"
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "status": "MODIFIED",
71
+ "visibility": "public",
72
+ "impact": "NON_BREAKING",
73
+ "exportName": "Bar",
74
+ "schemaType": "Class",
75
+ "details": [
84
76
  {
85
- "status": "MODIFIED",
86
- "visibility": "public",
87
- "impact": "NON_BREAKING",
88
- "exportName": "ClassSomething",
89
- "schemaType": "Class",
90
- "details": [
91
- {
92
- "changeKind": "member-added",
93
- "description": "Function 'newMethod' added: (method) ClassSomething.newMethod(): string",
94
- "impact": "NON_BREAKING",
95
- "to": "(method) ClassSomething.newMethod(): string"
96
- }
97
- ]
98
- },
77
+ "changeKind": "member-added",
78
+ "description": "Function 'bar' added: (method) Bar.bar(): void",
79
+ "impact": "NON_BREAKING",
80
+ "to": "(method) Bar.bar(): void"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "status": "MODIFIED",
86
+ "visibility": "public",
87
+ "impact": "NON_BREAKING",
88
+ "exportName": "ClassSomething",
89
+ "schemaType": "Class",
90
+ "details": [
99
91
  {
100
- "status": "MODIFIED",
101
- "visibility": "public",
102
- "impact": "NON_BREAKING",
103
- "exportName": "Hello",
104
- "schemaType": "Interface",
105
- "details": [
106
- {
107
- "changeKind": "member-added",
108
- "description": "Variable 'newProp' added (optional): (property) Hello.newProp?: number | undefined",
109
- "impact": "NON_BREAKING",
110
- "to": "(property) Hello.newProp?: number | undefined"
111
- }
112
- ]
113
- },
92
+ "changeKind": "member-added",
93
+ "description": "Function 'newMethod' added: (method) ClassSomething.newMethod(): string",
94
+ "impact": "NON_BREAKING",
95
+ "to": "(method) ClassSomething.newMethod(): string"
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "status": "MODIFIED",
101
+ "visibility": "public",
102
+ "impact": "NON_BREAKING",
103
+ "exportName": "Hello",
104
+ "schemaType": "Interface",
105
+ "details": [
114
106
  {
115
- "status": "MODIFIED",
116
- "visibility": "public",
117
- "impact": "NON_BREAKING",
118
- "exportName": "Food",
119
- "schemaType": "Enum",
120
- "details": [
121
- {
122
- "changeKind": "enum-member-added",
123
- "description": "enum member 'Shawarma' added",
124
- "impact": "NON_BREAKING",
125
- "to": "(enum member) Food.Shawarma = 3"
126
- }
127
- ]
128
- },
107
+ "changeKind": "member-added",
108
+ "description": "Variable 'newProp' added (optional): (property) Hello.newProp?: number | undefined",
109
+ "impact": "NON_BREAKING",
110
+ "to": "(property) Hello.newProp?: number | undefined"
111
+ }
112
+ ]
113
+ },
114
+ {
115
+ "status": "MODIFIED",
116
+ "visibility": "public",
117
+ "impact": "NON_BREAKING",
118
+ "exportName": "Food",
119
+ "schemaType": "Enum",
120
+ "details": [
129
121
  {
130
- "status": "ADDED",
131
- "visibility": "public",
132
- "impact": "NON_BREAKING",
133
- "exportName": "newUtility",
134
- "schemaType": "Function",
135
- "compareSignature": "function newUtility(x: number): number"
122
+ "changeKind": "enum-member-added",
123
+ "description": "enum member 'Shawarma' added",
124
+ "impact": "NON_BREAKING",
125
+ "to": "(enum member) Food.Shawarma = 3"
136
126
  }
137
- ],
138
- "internalChanges": []
139
- }
127
+ ]
128
+ },
129
+ {
130
+ "status": "ADDED",
131
+ "visibility": "public",
132
+ "impact": "NON_BREAKING",
133
+ "exportName": "newUtility",
134
+ "schemaType": "Function",
135
+ "compareSignature": "function newUtility(x: number): number"
136
+ }
137
+ ],
138
+ "internalChanges": []
139
+ }
@@ -1,41 +1,41 @@
1
1
  {
2
- "__schema": "APISchema",
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "file": "index.ts",
5
+ "line": 13,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
3
10
  "location": {
4
- "file": "index.ts",
5
- "line": 13,
6
- "character": 1
11
+ "file": "index.ts",
12
+ "line": 13,
13
+ "character": 1
7
14
  },
8
- "module": {
9
- "__schema": "ModuleSchema",
15
+ "exports": [
16
+ {
17
+ "__schema": "VariableSchema",
10
18
  "location": {
11
- "file": "index.ts",
12
- "line": 13,
13
- "character": 1
19
+ "file": "index.ts",
20
+ "line": 21,
21
+ "character": 14
14
22
  },
15
- "exports": [
16
- {
17
- "__schema": "VariableSchema",
18
- "location": {
19
- "file": "index.ts",
20
- "line": 21,
21
- "character": 14
22
- },
23
- "name": "a",
24
- "signature": "const a: 4",
25
- "type": {
26
- "__schema": "InferenceTypeSchema",
27
- "location": {
28
- "file": "index.ts",
29
- "line": 21,
30
- "character": 14
31
- },
32
- "type": "4"
33
- }
34
- }
35
- ]
36
- },
37
- "componentId": {
38
- "name": "button",
39
- "scope": "org.scope"
40
- }
23
+ "name": "a",
24
+ "signature": "const a: 4",
25
+ "type": {
26
+ "__schema": "InferenceTypeSchema",
27
+ "location": {
28
+ "file": "index.ts",
29
+ "line": 21,
30
+ "character": 14
31
+ },
32
+ "type": "4"
33
+ }
34
+ }
35
+ ]
36
+ },
37
+ "componentId": {
38
+ "name": "button",
39
+ "scope": "org.scope"
40
+ }
41
41
  }