25 lines
413 B
TypeScript
25 lines
413 B
TypeScript
export interface ISearchObject {
|
|
// name
|
|
name?: string;
|
|
|
|
// metadata
|
|
author?: string;
|
|
maintainer?: string;
|
|
scope?: string;
|
|
keywords?: string[];
|
|
|
|
// status
|
|
deprecated?: boolean;
|
|
unstable?: boolean;
|
|
insecure?: boolean;
|
|
|
|
// search behaviour
|
|
boostExact?: boolean;
|
|
scoreEffect?: number;
|
|
|
|
// Analytics
|
|
qualityWeight?: number;
|
|
popularityWeight?: number;
|
|
maintenanceWeight?: number;
|
|
}
|