Skip to content

Commit

Permalink
Modify JS file to comply with the new data structure (#24)
Browse files Browse the repository at this point in the history
* modify js to support new API output

* fix pipeline

* change request type to POST

* modify according to new output structure

---------

Co-authored-by: Shashank Atreya <[email protected]>
  • Loading branch information
godarkrai and Shashank Atreya authored Aug 20, 2024
1 parent 25d35f3 commit f0b396d
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 202 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/node_modules/
composer.lock
package-lock.json
.idea/
31 changes: 28 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,39 @@
{
"require-dev": {
"mediawiki/mediawiki-codesniffer": "*",
"mediawiki/minus-x": "*",
"php-parallel-lint/php-parallel-lint": "*",
"php-parallel-lint/php-console-highlighter": "*"
},
"scripts": {
"test": [
"parallel-lint --colors --exclude vendor .",
"lint": [
"parallel-lint --colors --exclude vendor ."
],
"phpcs": [
"phpcs -p -s"
],
"fix": "phpcbf"
"minus-x": [
"minus-x check ."
],
"test": [
"composer minus-x",
"composer lint",
"composer phpcs"
],
"fix": [
"minus-x fix .",
"phpcbf"
],
"phpcs-junit": [
"phpcs --report=junit > report-phpcs.xml"
],
"reports-junit": [
"composer phpcs-junit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit f0b396d

Please sign in to comment.