Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HCK-5118, HCK-5119, HCK-8874: ERD and types configurations #9

Merged
merged 9 commits into from
Dec 4, 2024
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@
"media": true
}
},
"disableChildren": {
"entityLevel": true
},
"disableDefinitions": {
"internal": true
},
Expand All @@ -81,6 +78,9 @@
"propertyNames": [
"schemas"
]
},
"definitionSources": {
"multipleSources": true
}
}
},
Expand Down
6 changes: 4 additions & 2 deletions properties_pane/defaultData.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@
"collectionName": "newOperation",
"entityType": "request",
"operationType": "Query",
"isActivated": true
"isActivated": true,
"childType": "input"
},
"nestedCollection": {
"collectionName": "Response",
"entityType": "response",
"snippet": "responseStructure",
"subtype": "response",
"isActivated": true
"isActivated": true,
"childType": "type"
},
"field": {
"hackoladeMeta": {
Expand Down
1 change: 1 addition & 0 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ making sure that you maintain a proper JSON format.
"additionalItems",
"comments"
],
"___1": [],
"choice": [
{
"fieldName": "choice",
Expand Down
10 changes: 10 additions & 0 deletions types/directive.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,15 @@
"Boolean"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"exist": true
}
]
}
}
20 changes: 11 additions & 9 deletions types/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,17 @@
},
"subtypes": {
"snippetChildrenOnly": {
"childValueType": [
"String",
"ID",
"Int",
"Float",
"Boolean",
"input",
"enum"
]
"childValueType": ["String", "ID", "Int", "Float", "Boolean", "List", "input", "enum", "scalar"]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "response"
}
]
}
}
14 changes: 13 additions & 1 deletion types/interface.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,23 @@
"Int",
"Float",
"Boolean",
"List",
"object",
"interface",
"union",
"enum"
"enum",
"scalar"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}
4 changes: 3 additions & 1 deletion types/object.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
"Int",
"Float",
"Boolean",
"List",
"object",
"interface",
"union",
"enum"
"enum",
"scalar"
]
}
}
Expand Down
10 changes: 10 additions & 0 deletions types/type.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,15 @@
"parameter (cookie)"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}
10 changes: 10 additions & 0 deletions types/union.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,15 @@
"object"
]
}
},
"dependency": {
"type": "not",
"values": [
{
"level": "root",
"key": "entityType",
"value": "request"
}
]
}
}