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
862 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": ">=10"
  6. },
  7. "devDependencies": {
  8. "@babel/core": "7.7.7",
  9. "@babel/plugin-transform-runtime": "7.7.6",
  10. "@babel/preset-env": "7.7.7",
  11. "@babel/runtime": "7.7.7",
  12. "autoprefixer": "9.7.3",
  13. "babel-loader": "8.0.6",
  14. "core-js": "3.6.2",
  15. "css-loader": "3.4.1",
  16. "cssnano": "4.1.10",
  17. "eslint": "6.8.0",
  18. "eslint-config-airbnb-base": "14.0.0",
  19. "eslint-plugin-import": "2.19.1",
  20. "less": "3.10.3",
  21. "postcss-cli": "7.1.0",
  22. "style-loader": "1.1.2",
  23. "stylelint": "12.0.1",
  24. "stylelint-config-standard": "19.0.0",
  25. "terser-webpack-plugin": "2.3.2",
  26. "updates": "9.3.3",
  27. "webpack": "4.41.5",
  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. }