explorer-app/types/project.ts

150 lines
3.2 KiB
TypeScript
Raw Permalink Normal View History

2023-12-19 18:43:42 +01:00
import type { Member } from './member'
import type { Fund } from './fund'
import type { ClientDiversability } from './clientDiversability'
import type { Audit } from './audit'
export interface Project {
id: string
name: string
categories: string[]
ecosystem?: string
product_readiness?: string
security?: string
have_token?: boolean
token_link?: string
tokens?: {
name?: string
symbol: string
network?: string
contract_address?: string
link?: string
[k: string]: unknown
}[]
description?: string
project_type?: string
product_launch_day?: string
technology?: {
type: string
name?: string
features: string[]
[k: string]: unknown
}
links?: {
web?: string
twitter?: string
telegram?: string
discord?: string
blog?: string
facebook?: string
block_explorer?: string
whitepaper?: string
github?: string
docs?: string
changelog?: string
forum?: string
snapshot?: string
lens?: string
farcaster?: string
rss_feed?: string
coingecko?: string
token?: string
[k: string]: unknown
}
blockchain_features?: {
p2p?: boolean
encryption?: string
network?: string
upgradability?: {
enabled?: boolean
type?: string
admin_keys?: string
[k: string]: unknown
}
[k: string]: unknown
opensource: boolean
viewing_key: boolean
dissapearing_tx: boolean
frontend_anonymity: string
identity_integration: null
connected_tx: boolean
revealed_recipient: boolean
revealed_sender: boolean
revealed_ammount: boolean
reversability_condition: string
data_masking: string
asset_custody_type: string
}
licences?: string
privacy_policy?: {
defined?: boolean
link?: string
data_usage?: string
[k: string]: unknown
}
team?: Member[]
storage?: {
decentralized?: boolean
[k: string]: unknown
}
tracebility?: {
tracked_data?: string
kyc?: boolean
sign_in_type_requirments?: string
[k: string]: unknown
}
third_party_dependency?: string
compliance?: string
audits?: Audit[]
social_trust?: string
technical_spof?: string
history?: {
title?: string
event_type?: string
description?: string
time?: string
link?: string
[k: string]: unknown
}
client_diversability?: ClientDiversability[]
default_privacy?: boolean
funding?: Fund[]
project_status?: {
live_status?: boolean
version?: string
testnet?: boolean
mainnet?: boolean
[k: string]: unknown
}
logos?: {
file?: string
ext?: string
url?: string
[k: string]: unknown
}[]
}
export interface ProjectShallow {
id: string
image: string
title1: string
description: string
percentage: number
forum?: string | undefined
github?: string | undefined
website?: string | undefined
twitter?: string | undefined
coingecko?: string | undefined
explorer?: string | undefined
newsletter?: string | undefined
readyness?: string | undefined
team: Member[] | undefined
docs: string | undefined
audits?: Audit[] | undefined
support?: number | undefined
anonymity?: boolean | undefined
}
2024-07-22 12:17:18 +02:00
export interface ProjectIndexable extends Project {
[key: string]: unknown
2024-07-22 12:17:18 +02:00
}