Skip to content

Commit 53069b5

Browse files
octokitbotgr2m
authored andcommittedSep 17, 2019
feat: Repository#registryPackagesForQuery (#210)
1 parent c2c9bed commit 53069b5

File tree

2 files changed

+718
-596
lines changed

2 files changed

+718
-596
lines changed
 

Diff for: ‎schema.graphql

+36-1
Original file line numberDiff line numberDiff line change
@@ -22377,7 +22377,7 @@ enum ReportedContentClassifiers {
2237722377
"""
2237822378
A repository contains the content for a project.
2237922379
"""
22380-
type Repository implements Node & ProjectOwner & RegistryPackageOwner & RepositoryInfo & Starrable & Subscribable & UniformResourceLocatable {
22380+
type Repository implements Node & ProjectOwner & RegistryPackageOwner & RegistryPackageSearch & RepositoryInfo & Starrable & Subscribable & UniformResourceLocatable {
2238122381
"""
2238222382
A list of users that can be assigned to issues in this repository.
2238322383
"""
@@ -23204,6 +23204,41 @@ type Repository implements Node & ProjectOwner & RegistryPackageOwner & Reposito
2320423204
repositoryId: ID
2320523205
): RegistryPackageConnection!
2320623206

23207+
"""
23208+
A list of registry packages for a particular search query.
23209+
"""
23210+
registryPackagesForQuery(
23211+
"""
23212+
Returns the elements in the list that come after the specified cursor.
23213+
"""
23214+
after: String
23215+
23216+
"""
23217+
Returns the elements in the list that come before the specified cursor.
23218+
"""
23219+
before: String
23220+
23221+
"""
23222+
Returns the first _n_ elements from the list.
23223+
"""
23224+
first: Int
23225+
23226+
"""
23227+
Returns the last _n_ elements from the list.
23228+
"""
23229+
last: Int
23230+
23231+
"""
23232+
Filter registry package by type.
23233+
"""
23234+
packageType: RegistryPackageType
23235+
23236+
"""
23237+
Find registry package by search query.
23238+
"""
23239+
query: String
23240+
): RegistryPackageConnection!
23241+
2320723242
"""
2320823243
Lookup a single release given various criteria.
2320923244
"""

0 commit comments

Comments
 (0)
Please sign in to comment.