23 lines
878 B
C#
23 lines
878 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using isnd.Controllers;
|
||
|
|
using isnd.Data.Catalog;
|
||
|
|
using isnd.Services;
|
||
|
|
using isnd.ViewModels;
|
||
|
|
using NuGet.Versioning;
|
||
|
|
using Unleash;
|
||
|
|
|
||
|
|
namespace isnd.Interfaces
|
||
|
|
{
|
||
|
|
public interface IPackageManager
|
||
|
|
{
|
||
|
|
AutoCompleteResult AutoComplete(string id, int skip, int take, bool prerelease = false, string packageType = null);
|
||
|
|
Page CatalogPage();
|
||
|
|
CatalogIndex GenerateCatalogIndex(string commitId);
|
||
|
|
CatalogIndex GetCatalogIndex();
|
||
|
|
string[] GetVersions(string id, NuGetVersion parsedVersion, bool prerelease = false, string packageType = null, int skip = 0, int take = 25);
|
||
|
|
void PublishCatalog();
|
||
|
|
PackageIndexViewModel SearchByName(string query, int skip, int take, bool prerelease = false, string packageType = null);
|
||
|
|
IEnumerable<Resource> GetResources(IUnleash unleashĈlient);
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|