smartnpm/ts/smartnpm.interfaces.ts

26 lines
401 B
TypeScript
Raw Permalink Normal View History

2017-08-15 15:03:21 +00:00
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
}