Skip to content

Commit c75bb03

Browse files
committed
[INTERNAL] Remove component type
Might not be part of specVersion 3.1
1 parent 983237f commit c75bb03

File tree

59 files changed

+52
-2498
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+52
-2498
lines changed

lib/specifications/Specification.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ class Specification {
3939
case "application": {
4040
return createAndInitializeSpec("types/Application.js", parameters);
4141
}
42-
case "component": {
43-
return createAndInitializeSpec("types/Component.js", parameters);
44-
}
4542
case "library": {
4643
return createAndInitializeSpec("types/Library.js", parameters);
4744
}

lib/specifications/types/Component.js

Lines changed: 0 additions & 259 deletions
This file was deleted.

lib/validation/schema/specVersion/kind/project.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"type": {
1414
"enum": [
1515
"application",
16-
"component",
1716
"library",
1817
"theme-library",
1918
"module"
@@ -63,16 +62,6 @@
6362
},
6463
"then": {
6564
"$ref": "project/module.json"
66-
},
67-
"else": {
68-
"if": {
69-
"properties": {
70-
"type": {"const": "component"}
71-
}
72-
},
73-
"then": {
74-
"$ref": "project/component.json"
75-
}
7665
}
7766
}
7867
}

0 commit comments

Comments
 (0)