-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: added JSON files linting check" (#35445)
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
1 parent
1cedfc4
commit 3b3f64f
Showing
164 changed files
with
108,182 additions
and
129,774 deletions.
There are no files selected for viewing
7,752 changes: 4,100 additions & 3,652 deletions
7,752
app/server/appsmith-git/src/test/resources/DSLWidget/AllWidgetsDSL.json
Large diffs are not rendered by default.
Oops, something went wrong.
548 changes: 287 additions & 261 deletions
548
app/server/appsmith-git/src/test/resources/DSLWidget/TabWidgetNestedChildren.json
Large diffs are not rendered by default.
Oops, something went wrong.
114 changes: 59 additions & 55 deletions
114
app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'}}"} | ||
] | ||
} | ||
] | ||
} |
112 changes: 58 additions & 54 deletions
112
app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/create_many.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'}}"} | ||
] | ||
} | ||
] | ||
} |
56 changes: 31 additions & 25 deletions
56
app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'}}"} | ||
] | ||
} | ||
] | ||
} |
54 changes: 29 additions & 25 deletions
54
app/server/appsmith-plugins/amazons3Plugin/src/main/resources/editor/delete_many.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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\"]" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.