@teambit/schema 1.0.963 → 1.0.965

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": [
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": [
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": [
20
11
  {
21
- "changeKind": "parameter-added",
22
- "description": "parameter 'c: number' added (optional)",
23
- "impact": "NON_BREAKING",
24
- "to": "c?: number"
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
+ ]
25
34
  },
26
35
  {
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": [
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
+ },
44
53
  {
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": [
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
+ },
60
69
  {
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": [
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
+ },
76
84
  {
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": [
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
+ },
91
99
  {
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": [
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
+ },
106
114
  {
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": [
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
+ },
121
129
  {
122
- "changeKind": "enum-member-added",
123
- "description": "enum member 'Shawarma' added",
124
- "impact": "NON_BREAKING",
125
- "to": "(enum member) Food.Shawarma = 3"
130
+ "status": "ADDED",
131
+ "visibility": "public",
132
+ "impact": "NON_BREAKING",
133
+ "exportName": "newUtility",
134
+ "schemaType": "Function",
135
+ "compareSignature": "function newUtility(x: number): number"
126
136
  }
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
- }
137
+ ],
138
+ "internalChanges": []
139
+ }
@@ -1,41 +1,41 @@
1
1
  {
2
- "__schema": "APISchema",
3
- "location": {
4
- "file": "index.ts",
5
- "line": 13,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
2
+ "__schema": "APISchema",
10
3
  "location": {
11
- "file": "index.ts",
12
- "line": 13,
13
- "character": 1
4
+ "file": "index.ts",
5
+ "line": 13,
6
+ "character": 1
14
7
  },
15
- "exports": [
16
- {
17
- "__schema": "VariableSchema",
8
+ "module": {
9
+ "__schema": "ModuleSchema",
18
10
  "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
11
  "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
- }
12
+ "line": 13,
13
+ "character": 1
14
+ },
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
+ }
41
41
  }