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.

32 lines
739 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/preset-env": "7.7.1",
  10. "autoprefixer": "9.7.1",
  11. "babel-loader": "8.0.6",
  12. "core-js": "3.4.1",
  13. "eslint": "6.6.0",
  14. "eslint-config-airbnb-base": "14.0.0",
  15. "eslint-plugin-import": "2.18.2",
  16. "less": "3.10.3",
  17. "less-plugin-clean-css": "1.5.1",
  18. "postcss-cli": "6.1.3",
  19. "stylelint": "11.1.1",
  20. "stylelint-config-standard": "19.0.0",
  21. "terser-webpack-plugin": "2.2.1",
  22. "updates": "9.0.1",
  23. "webpack": "4.41.2",
  24. "webpack-cli": "3.3.10"
  25. },
  26. "browserslist": [
  27. "> 1%",
  28. "last 2 firefox versions",
  29. "last 2 safari versions",
  30. "ie 11"
  31. ]
  32. }