You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
874 B

Add Attachment API (#3478) * Add Attachment API * repos/:owner/:repo/releases (add attachments) * repos/:owner/:repo/releases/:id (add attachments) * repos/:owner/:repo/releases/:id/attachments * repos/:owner/:repo/releases/:id/attachments/:attachment_id Signed-off-by: Jonas Franz <info@jonasfranz.de> * Add unit tests for new attachment functions Fix comments Signed-off-by: Jonas Franz <info@jonasfranz.software> * fix lint * Update vendor.json Signed-off-by: Jonas Franz <info@jonasfranz.software> * remove version of sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix unit tests Add missing license header Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add CreateReleaseAttachment Add EditReleaseAttachment Add DeleteReleaseAttachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add filename query parameter for choosing another name for an attachment Signed-off-by: Jonas Franz <info@jonasfranz.software> * Fix order of imports Signed-off-by: Jonas Franz <info@jonasfranz.software> * Restricting updatable attachment columns Signed-off-by: Jonas Franz <info@jonasfranz.software> * gofmt Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update go-sdk Replace Attachments with Assets Signed-off-by: Jonas Franz <info@jonasfranz.de> * Update go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.de> * Updating go-sdk and regenerating swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Add missing file of go-sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Change origin of code.gitea.io/sdk to code.gitea.io/sdk Update code.gitea.io/sdk Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update swagger Signed-off-by: Jonas Franz <info@jonasfranz.software> * Update updateAttachment
6 years ago
  1. {
  2. "license": "MIT",
  3. "private": true,
  4. "engines": {
  5. "node": ">=8"
  6. },
  7. "devDependencies": {
  8. "@babel/core": "7.7.2",
  9. "@babel/plugin-transform-runtime": "7.6.2",
  10. "@babel/preset-env": "7.7.1",
  11. "@babel/runtime": "7.7.2",
  12. "autoprefixer": "9.7.1",
  13. "babel-loader": "8.0.6",
  14. "core-js": "3.4.1",
  15. "css-loader": "3.2.0",
  16. "eslint": "6.6.0",
  17. "eslint-config-airbnb-base": "14.0.0",
  18. "eslint-plugin-import": "2.18.2",
  19. "less": "3.10.3",
  20. "less-plugin-clean-css": "1.5.1",
  21. "postcss-cli": "6.1.3",
  22. "style-loader": "1.0.0",
  23. "stylelint": "11.1.1",
  24. "stylelint-config-standard": "19.0.0",
  25. "terser-webpack-plugin": "2.2.1",
  26. "updates": "9.0.1",
  27. "webpack": "4.41.2",
  28. "webpack-cli": "3.3.10"
  29. },
  30. "browserslist": [
  31. "> 1%",
  32. "last 2 firefox versions",
  33. "last 2 safari versions",
  34. "ie 11"
  35. ]
  36. }