Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7,752 changes: 3,652 additions & 4,100 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,65 +1,61 @@
{
"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": [
"identifier": "UPLOAD_FILE_FROM_BODY",
"controlType": "SECTION",
"children": [
{
"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": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
},
{
"label": "Content",
"configProperty": "actionConfiguration.formData.body.data",
"controlType": "QUERY_DYNAMIC_TEXT",
"initialValue": "",
"placeHolderText": "{{ FilePicker1.files[0] }}"
"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"
}
]
}
]
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_FILE_FROM_BODY'}}"}
}
Original file line number Diff line number Diff line change
@@ -1,64 +1,60 @@
{
"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": [
"identifier": "UPLOAD_MULTIPLE_FILES_FROM_BODY",
"controlType": "SECTION",
"children": [
{
"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": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
},
{
"label": "Content",
"configProperty": "actionConfiguration.formData.body.data",
"controlType": "QUERY_DYNAMIC_TEXT",
"initialValue": ""
"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"
}
]
}
]
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'UPLOAD_MULTIPLE_FILES_FROM_BODY'}}"}
}
Original file line number Diff line number Diff line change
@@ -1,36 +1,30 @@
{
"identifier": "DELETE_FILE",
"controlType": "SECTION",
"conditionals": {
"show": "{{actionConfiguration.formData.command.data === 'DELETE_FILE'}}"
},
"children": [
{
"controlType": "SECTION",
"label": "Select bucket to query",
"children": [
"identifier": "DELETE_FILE",
"controlType": "SECTION",
"children": [
{
"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": [{
"isRequired": true,
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"evaluationSubstitutionType": "TEMPLATE",
"label": "Bucket name",
"initialValue": "",
"configProperty": "actionConfiguration.formData.bucket.data"
}],
"label": "Select bucket to query"
},
{
"label": "File path",
"configProperty": "actionConfiguration.formData.path.data",
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"initialValue": ""
"controlType": "SECTION",
"children": [{
"controlType": "QUERY_DYNAMIC_INPUT_TEXT",
"label": "File path",
"initialValue": "",
"configProperty": "actionConfiguration.formData.path.data"
}],
"description": "Optional",
"label": "Query"
}
]
}
]
],
"conditionals": {"show": "{{actionConfiguration.formData.command.data === 'DELETE_FILE'}}"}
}
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
"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\"]"
}
]
}
]
"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'}}"}
}
Loading