update to working search
This commit is contained in:
25
ts/smartnpm.interfaces.ts
Normal file
25
ts/smartnpm.interfaces.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user