20 Commits

Author SHA1 Message Date
Justin Dalrymple
502d8180a7
Update service typing and peripheral endpoints (#1768)
* Dependency and Configuration updates
* CHANGELOG and README updates
* Added support for camel case and snake case response types in the request helper and base service
* Added support for the Dockerfile Templates API
* Added support for the Issue Note Award Emojis API
* Removed redundant Group Projects service
* Updated types for a variety of services
* Added type updates and removed protect and unprotect endpoints from the Branches API 
* Added type updates and signature endpoint to the Commits API
* Added type updates and edit support to the Deployments API
* Added type updates and a showRepository function to the Container Registry API
* Added type updates and updated the service support to include create, edit, show and remove for the Feature Flags API
* Added type updates and support for the removal of geonodes with the Geo Nodes API
* Renamed UserKeys to UserSSHKeys and added type updates for the User SSH Keys API
* Added type updates for the License Templates API and renamed the export to fix the spelling error
* Added type updates and support for the transfer projects endpoint for the Groups API
* Added type updates and removed removed events endpoint on the Projects API
* Added type updates and modified the create function to require a resource name in the Todos API
2021-05-14 10:07:11 -04:00
Justin
38ddb5e958 Removing debug message [skip ci] 2020-12-31 14:24:44 -05:00
Justin Dalrymple
c6432cc22d
Replacing BaseService 'url' constructor argument with 'prefixUrl' for clarity (#1412) 2020-12-28 12:46:45 -05:00
Justin Dalrymple
cb340693c2
Fixing incorrect scoping of the createRequesterFn function (#1413) 2020-12-28 12:46:25 -05:00
Justin Dalrymple
565bd15449
Removed circular references (#1387)
- Updated requester structure
- Removed duplicate pipeline jobs function
2020-12-18 14:23:49 -05:00
Justin Dalrymple
7684756a24
Export the APIMap through a compile-time replacement (#1352) 2020-12-06 18:43:28 +01:00
Justin Dalrymple
3501b0cbdc
Handling nesting of not query parameter (#1223) 2020-10-13 22:01:11 +02:00
Max Wittig
3f78cc36d4 feat: apply exponental backoff for 429 errors
This was implemented similarly to 1606310a88/gitlab/__init__.py (L549)
Gitlab sadly doesn't send out `Retry-After` headers anymore, so we need this workaround

Fixes #960
2020-09-27 23:39:06 +02:00
Justin
a02d815f95 Restructing the requester utils and update the related typings 2020-09-27 16:48:57 +02:00
Justin Dalrymple
21faf97301
Fixing support for FormData requests (#1056) 2020-08-09 16:01:33 +02:00
Justin Dalrymple
c10dba3fd0
Fixing up the Type exports for all the distributed libraries (#795) 2020-07-08 11:45:18 +02:00
Justin Dalrymple
8f6ca53318
Fixing extendClass function and adding more extensive tests (#896)
* Fixing `extendClass` function to properly handle custom configuration passed to constructor
2020-06-16 14:10:29 +02:00
Justin Dalrymple
6426ce1fb1
Removal of esinterlop to prefer namespace imports over default exports (#893) 2020-06-16 13:37:56 +02:00
Justin Dalrymple
974f773be4
Adding more tests and adjusting formdata import (#887) 2020-06-14 19:24:56 +02:00
Justin Dalrymple
8b549da700
Remove Gitlab Instance dependency for CLI tests (#883)
* Also added canary build if label is present
2020-06-12 10:11:10 +02:00
Justin
176dadf9a6 Fixing the types path in the package.json for browser and requester-utils (#742) 2020-05-02 00:12:41 +02:00
Justin Dalrymple
c4522e245a
Adding CLI Integration Tests (#711) 2020-04-23 23:34:22 +02:00
Justin Dalrymple
b89f5460db
Updating agent property based on new changes in Got (#712) 2020-04-22 21:12:27 +02:00
Justin
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +01:00
Justin Dalrymple
d9cd4c9a91 refactor: 💡 Migrated to a monorepo structure
Gitbeaker has been split up into 5 subpackages: gitbeaker-core, gitbeaker-node, gitbeaker-cli, gitbeaker-browser and gitbeaker-requester-utils.

gitbeaker-[node,cli,browser] are enviroment
specific sub packages. For example, if you want to use gitbeaker in a NodeJS environment, use gitbeaker-node. gitbeaker-core is where all the
base logic exists, and gitbeaker-requester-utils is a collection of utility functions for making custom requester libraries.

BREAKING CHANGE: 🧨 This migration requires users to import specific subpackages. For NodeJS
usage, that would be @gitbeaker/node.
2020-02-02 16:53:54 +01:00