mirror of
https://github.com/web3privacy/explorer-app.git
synced 2024-10-15 16:46:26 +02:00
23 lines
357 B
TypeScript
23 lines
357 B
TypeScript
|
import type { Project } from './project'
|
||
|
|
||
|
export interface Rank {
|
||
|
id: string
|
||
|
name: string
|
||
|
references: Reference[]
|
||
|
}
|
||
|
|
||
|
interface Reference {
|
||
|
field: keyof Project
|
||
|
label: string
|
||
|
positive: string
|
||
|
negative: string
|
||
|
condition: Condition
|
||
|
points: number
|
||
|
}
|
||
|
|
||
|
interface Condition {
|
||
|
minLength?: number
|
||
|
exists?: boolean
|
||
|
equals?: boolean | string
|
||
|
}
|