22 Commits

Author SHA1 Message Date
Justin Dalrymple
c09fae4e80
Fixing protect request format (#2155) 2021-10-17 14:22:06 -04:00
Justin Dalrymple
886033b4d0
Fix the typing for the supported links functions (#2154) 2021-10-17 13:52:15 -04:00
GMZwinge
73722f97e0
Correct approvalRules returned type (#2133) 2021-10-17 11:18:11 -04:00
Ian Jenkins
8d6a454996
Add support for username lookup. (#2147)
Similar to Users.search() this looks up a username directly using
Users.username(). This is useful when you want to grab user information
for a known username without having to run a search which could be slow.

For example a common name such as `david` is slower with search than a
username lookup and also the first result is not for this username
meaning you have to parse through a large array rather than just accept
the first result.
2021-10-16 15:03:26 -04:00
Roy Jacobs
307b55861c
Users.search should return an array (#2070) 2021-09-18 11:26:27 -04:00
Justin Dalrymple
f19174c7cc
Fixing stringify of hash arguments (#2057) 2021-09-04 01:19:07 -04:00
dependabot[bot]
3880441c40
Bump eslint-plugin-prettier from 3.4.1 to 4.0.0 (#2043)
* Bump eslint-plugin-prettier from 3.4.1 to 4.0.0

Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.0.0.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Linting

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin <justin.s.dalrymple@gmail.com>
2021-09-03 23:52:44 -04:00
Paul Lemke
ac68e841fc
Update Jobs.ts (#2056)
Getting the Pipeline Jobs is an array of jobs, not a single job.
2021-09-03 21:01:51 -04:00
Justin Dalrymple
482141e271
Update MergeRequestApprovals API to match latest Gitlab API Release (#2035) 2021-08-27 18:31:02 -04:00
Justin Dalrymple
336afab7e0
Adding a core integration test, and fixing the resource imports (#2039) 2021-08-27 17:10:40 -04:00
Feng Yu
a79d0335b4
fix(core): change Commits.diff response type to CommitDiffSchema[] (#2025)
See https://docs.gitlab.com/ee/api/commits.html#get-the-diff-of-a-commit
2021-08-23 12:42:34 -04:00
Mahmoud Saada
d15dac99a2
Fix showArchive return type (#2001) 2021-08-12 15:38:38 -04:00
Justin Dalrymple
46a662a5e3
Improved mime handling (#1979) 2021-08-09 14:57:09 -04:00
Justin Dalrymple
fed2fe94b6
Revert pagination changes. Information is available, just not through gitlab.com (#1985) 2021-08-02 19:58:46 -04:00
Aliyss Snow
4f2166210b
Added Topics to ProjectSchema & Updated Commit.ts (#1932)
- Added Topics and namespace to ProjectSchema
- Made ref optional in RepositoryFiles.ts
- Updating CommitAction types

Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2021-07-27 10:07:06 -04:00
Aliyss Snow
9dde3fe96b
Added RepositorySubmodules.ts (#1931)
Co-authored-by: Justin Dalrymple <jdalrymple@users.noreply.github.com>
2021-07-27 09:44:22 -04:00
Justin Dalrymple
6a3292b033
Expose typing to consumer and remove export complexity (#1818)
- Exports all types
- Clean up type duplicates
- Remove Project,User and Group Bundles
- Fix typing on the Gitlab Export
- Clean up README.md
2021-07-05 15:34:19 -04:00
Justin Dalrymple
4d65c291cd
Updating pagination return information (#1898) 2021-06-23 23:35:06 -04:00
Justin Dalrymple
72c08454b5
Remove log artifact (#1895) 2021-06-22 10:49:31 -04:00
Justin Dalrymple
f6ed4376c0
Improve pagination logic by parsing query parameters explicitly on response (#1889) 2021-06-21 21:48:30 -04:00
Justin Dalrymple
0255a0e82f
Package Registry Support (#1822)
* Adding support for Package Registry API
2021-06-07 16:22:00 -04:00
Justin Dalrymple
639472da9b
Revert build system changes (#1851) 2021-06-07 08:43:41 -04:00