Skip to content

Commit

Permalink
Use the new syntax for properties and parameters in reviewed extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed Oct 8, 2024
1 parent 53bdac0 commit 7e0db03
Show file tree
Hide file tree
Showing 70 changed files with 1,687 additions and 1,690 deletions.
68 changes: 34 additions & 34 deletions extensions/reviewed/AdvancedHTTP.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "AdvancedHTTP",
"previewIconUrl": "https://asset-resources.gdevelop.io/public-resources/Icons/Line Hero Pack/Master/SVG/Email/04e28ac117741933d15ac1cadb34e0d799c7a561352b1525a1b75c5bd1dbeabc_Email_email_envelope_letter_message_fast.svg",
"shortDescription": "An extension to create HTTP requests with more advanced settings than the built-in \"Network request\" action, like specifying headers or bypassing CORS.",
"version": "1.0.0",
"version": "1.0.1",
"description": "An extension to create HTTP requests with more advanced settings than the built-in \"Network request\" action, like specifying headers or bypassing CORS.",
"tags": [
"header",
Expand Down Expand Up @@ -50,17 +50,17 @@
"value": "GlobalVariableClearChildren"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")]"
"__AdvancedHTTP.Requests[Request]"
]
},
{
"type": {
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL",
"__AdvancedHTTP.Requests[Request].URL",
"=",
"GetArgumentAsString(\"URL\")"
"URL"
]
}
]
Expand Down Expand Up @@ -99,8 +99,8 @@
"value": "JSONToGlobalVariableStructure"
},
"parameters": [
"GlobalVarToJSON(__AdvancedHTTP.Requests[GetArgumentAsString(\"OriginRequest\")])",
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")]"
"GlobalVarToJSON(__AdvancedHTTP.Requests[OriginRequest])",
"__AdvancedHTTP.Requests[Request]"
]
}
]
Expand Down Expand Up @@ -139,9 +139,9 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.method",
"__AdvancedHTTP.Requests[Request].Options.method",
"=",
"GetArgumentAsString(\"Method\")"
"Method"
]
}
]
Expand Down Expand Up @@ -179,7 +179,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"method\""
]
}
Expand All @@ -190,7 +190,7 @@
"value": "SetReturnString"
},
"parameters": [
"GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.method)"
"GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.method)"
]
}
]
Expand All @@ -204,7 +204,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"method\""
]
}
Expand Down Expand Up @@ -252,9 +252,9 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.cache",
"__AdvancedHTTP.Requests[Request].Options.cache",
"=",
"GetArgumentAsString(\"Cache\")"
"Cache"
]
}
]
Expand Down Expand Up @@ -293,7 +293,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"cache\""
]
}
Expand All @@ -304,7 +304,7 @@
"value": "SetReturnString"
},
"parameters": [
"GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.cache)"
"GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.cache)"
]
}
]
Expand All @@ -318,7 +318,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"cache\""
]
}
Expand Down Expand Up @@ -367,9 +367,9 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body",
"__AdvancedHTTP.Requests[Request].Options.body",
"=",
"GetArgumentAsString(\"Value\")"
"Value"
]
}
]
Expand Down Expand Up @@ -418,7 +418,7 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body",
"__AdvancedHTTP.Requests[Request].Options.body",
"=",
"ToJSON(__AdvancedHTTP.Body)"
]
Expand Down Expand Up @@ -513,7 +513,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"body\""
]
}
Expand All @@ -524,7 +524,7 @@
"value": "SetReturnString"
},
"parameters": [
"GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.body)"
"GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.body)"
]
}
]
Expand Down Expand Up @@ -562,9 +562,9 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers[GetArgumentAsString(\"Header\")]",
"__AdvancedHTTP.Requests[Request].Options.headers[Header]",
"=",
"GetArgumentAsString(\"Value\")"
"Value"
]
}
]
Expand Down Expand Up @@ -602,7 +602,7 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options",
"__AdvancedHTTP.Requests[Request].Options",
"\"headers\""
]
},
Expand All @@ -611,8 +611,8 @@
"value": "GlobalVariableChildExists"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers",
"GetArgumentAsString(\"Header\")"
"__AdvancedHTTP.Requests[Request].Options.headers",
"Header"
]
}
],
Expand All @@ -622,7 +622,7 @@
"value": "SetReturnString"
},
"parameters": [
"GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].Options.headers[GetArgumentAsString(\"Header\")])"
"GlobalVariableString(__AdvancedHTTP.Requests[Request].Options.headers[Header])"
]
}
]
Expand Down Expand Up @@ -666,9 +666,9 @@
"value": "ModVarGlobalTxt"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL",
"__AdvancedHTTP.Requests[Request].URL",
"=",
"GetArgumentAsString(\"Value\")"
"Value"
]
}
]
Expand Down Expand Up @@ -701,7 +701,7 @@
"value": "SetReturnString"
},
"parameters": [
"GlobalVariableString(__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].URL)"
"GlobalVariableString(__AdvancedHTTP.Requests[Request].URL)"
]
}
]
Expand Down Expand Up @@ -747,7 +747,7 @@
"value": "SetGlobalVariableAsBoolean"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS",
"__AdvancedHTTP.Requests[Request].CORS",
"True"
]
}
Expand All @@ -772,7 +772,7 @@
"value": "SetGlobalVariableAsBoolean"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS",
"__AdvancedHTTP.Requests[Request].CORS",
"False"
]
}
Expand Down Expand Up @@ -813,7 +813,7 @@
"value": "GlobalVariableAsBoolean"
},
"parameters": [
"__AdvancedHTTP.Requests[GetArgumentAsString(\"Request\")].CORS",
"__AdvancedHTTP.Requests[Request].CORS",
"True"
]
}
Expand Down Expand Up @@ -1158,7 +1158,7 @@
"value": "SetReturnString"
},
"parameters": [
"VariableString(__AdvancedHTTP.Response.headers[GetArgumentAsString(\"Header\")])"
"VariableString(__AdvancedHTTP.Response.headers[Header])"
]
}
]
Expand Down
Loading

0 comments on commit 7e0db03

Please sign in to comment.