Skip to content

Commit

Permalink
Revert "chore: added JSON files linting check" (#35445)
Browse files Browse the repository at this point in the history
Reverts #35395
Reverting this PR as the formatter changes the sorting order of the keys
of our JSONs which affects our UI.
Ref:
https://theappsmith.slack.com/archives/CGBPVEJ5C/p1722929754593669?thread_ts=1722916121.682699&cid=CGBPVEJ5C
  • Loading branch information
NilanshBansal authored Aug 6, 2024
1 parent 1cedfc4 commit 3b3f64f
Show file tree
Hide file tree
Showing 164 changed files with 108,182 additions and 129,774 deletions.
7,752 changes: 4,100 additions & 3,652 deletions app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,61 +1,65 @@
{
"identifier": "UPLOAD_FILE_FROM_BODY",
"controlType": "SECTION",
"children": [
"identifier": "UPLOAD_FILE_FROM_BODY",
"controlType": "SECTION",
"conditionals": {
"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_FILE_FROM_BODY'}}"
},
"children": [
{
"controlType": "SECTION",
"label": "Select bucket to query",
"children": [
{
"controlType": "SECTION",
"children": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
"label": "Bucket name",
"configProperty": "actionConfiguration.formData.bucket.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"isRequired": true,
"initialValue": ""
}
]
},
{
"controlType": "SECTION",
"label": "Query",
"description": "Optional",
"children": [
{
"label": "File path",
"configProperty": "actionConfiguration.formData.path.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": ""
},
{
"label": "File data type",
"configProperty": "actionConfiguration.formData.create.dataType.data",
"controlType": "DROP_DOWN",
"initialValue": "YES",
"options": [
{
"label": "Base64",
"value": "YES"
},
{
"label": "Text / Binary",
"value": "NO"
}
]
},
{
"label": "Expiry duration of signed URL (minutes)",
"configProperty": "actionConfiguration.formData.create.expiry.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": "5"
},
{
"controlType": "SECTION",
"children": [
{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "File path",
"initialValue": "",
"configProperty": "actionConfiguration.formData.path.data"
},
{
"controlType": "DROP_DOWN",
"options": [
{
"label": "Base64",
"value": "YES"
},
{
"label": "Text / Binary",
"value": "NO"
}
],
"label": "File data type",
"initialValue": "YES",
"configProperty": "actionConfiguration.formData.create.dataType.data"
},
{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "Expiry duration of signed URL (minutes)",
"initialValue": "5",
"configProperty": "actionConfiguration.formData.create.expiry.data"
},
{
"controlType": "QUERY_DYNAMIC_TEXT",
"label": "Content",
"placeHolderText": "{{ FilePicker1.files[0] }}",
"initialValue": "",
"configProperty": "actionConfiguration.formData.body.data"
}
],
"description": "Optional",
"label": "Query"
"label": "Content",
"configProperty": "actionConfiguration.formData.body.data",
"controlType": "QUERY_DYNAMIC_TEXT",
"initialValue": "",
"placeHolderText": "{{ FilePicker1.files[0] }}"
}
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_FILE_FROM_BODY'}}"}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,60 +1,64 @@
{
"identifier": "UPLOAD_MULTIPLE_FILES_FROM_BODY",
"controlType": "SECTION",
"children": [
"identifier": "UPLOAD_MULTIPLE_FILES_FROM_BODY",
"controlType": "SECTION",
"conditionals": {
"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_MULTIPLE_FILES_FROM_BODY'}}"
},
"children": [
{
"controlType": "SECTION",
"label": "Select bucket to query",
"children": [
{
"controlType": "SECTION",
"children": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
"label": "Bucket name",
"configProperty": "actionConfiguration.formData.bucket.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"isRequired": true,
"initialValue": ""
}
]
},
{
"controlType": "SECTION",
"label": "Query",
"description": "Optional",
"children": [
{
"label": "Common file path",
"configProperty": "actionConfiguration.formData.path.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": ""
},
{
"label": "File data type",
"configProperty": "actionConfiguration.formData.create.dataType.data",
"controlType": "DROP_DOWN",
"initialValue": "YES",
"options": [
{
"label": "Base64",
"value": "YES"
},
{
"label": "Text / Binary",
"value": "NO"
}
]
},
{
"label": "Expiry duration of signed URL (minutes)",
"configProperty": "actionConfiguration.formData.create.expiry.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": "5"
},
{
"controlType": "SECTION",
"children": [
{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "Common file path",
"initialValue": "",
"configProperty": "actionConfiguration.formData.path.data"
},
{
"controlType": "DROP_DOWN",
"options": [
{
"label": "Base64",
"value": "YES"
},
{
"label": "Text / Binary",
"value": "NO"
}
],
"label": "File data type",
"initialValue": "YES",
"configProperty": "actionConfiguration.formData.create.dataType.data"
},
{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "Expiry duration of signed URL (minutes)",
"initialValue": "5",
"configProperty": "actionConfiguration.formData.create.expiry.data"
},
{
"controlType": "QUERY_DYNAMIC_TEXT",
"label": "Content",
"initialValue": "",
"configProperty": "actionConfiguration.formData.body.data"
}
],
"description": "Optional",
"label": "Query"
"label": "Content",
"configProperty": "actionConfiguration.formData.body.data",
"controlType": "QUERY_DYNAMIC_TEXT",
"initialValue": ""
}
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_MULTIPLE_FILES_FROM_BODY'}}"}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
{
"identifier": "DELETE_FILE",
"controlType": "SECTION",
"children": [
"identifier": "DELETE_FILE",
"controlType": "SECTION",
"conditionals": {
"show": "{{actionConfiguration.formData.command.data === 'DELETE_FILE'}}"
},
"children": [
{
"controlType": "SECTION",
"label": "Select bucket to query",
"children": [
{
"controlType": "SECTION",
"children": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
},
"label": "Bucket name",
"configProperty": "actionConfiguration.formData.bucket.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"isRequired": true,
"initialValue": ""
}
]
},
{
"controlType": "SECTION",
"label": "Query",
"description": "Optional",
"children": [
{
"controlType": "SECTION",
"children": [{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "File path",
"initialValue": "",
"configProperty": "actionConfiguration.formData.path.data"
}],
"description": "Optional",
"label": "Query"
"label": "File path",
"configProperty": "actionConfiguration.formData.path.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": ""
}
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'DELETE_FILE'}}"}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
{
"identifier": "DELETE_MULTIPLE_FILES",
"controlType": "SECTION",
"children": [{
"controlType": "SECTION",
"children": [
{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
},
{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_TEXT",
"placeholderText": "[\"myDir/file1.txt\", \"myDir/file2.txt\"]",
"label": "List of Files",
"initialValue": "",
"configProperty": "actionConfiguration.formData.path.data"
}
],
"label": "Select bucket to query"
}],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'DELETE_MULTIPLE_FILES'}}"}
"identifier": "DELETE_MULTIPLE_FILES",
"controlType": "SECTION",
"conditionals": {
"show": "{{actionConfiguration.formData.command.data === 'DELETE_MULTIPLE_FILES'}}"
},
"children": [
{
"controlType": "SECTION",
"label": "Select bucket to query",
"children": [
{
"label": "Bucket name",
"configProperty": "actionConfiguration.formData.bucket.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"isRequired": true,
"initialValue": ""
},
{
"label": "List of Files",
"configProperty": "actionConfiguration.formData.path.data",
"controlType": "QUERY_DYNAMIC_TEXT",
"isRequired": true,
"initialValue": "",
"placeholderText": "[\"myDir/file1.txt\", \"myDir/file2.txt\"]"
}
]
}
]
}
Loading

0 comments on commit 3b3f64f

Please sign in to comment.