2024-09-08 21:09:48 +03:00
|
|
|
import type { Unit } from "./unit.d.ts"
|
|
|
|
|
2024-09-05 21:02:35 +03:00
|
|
|
export type Provider = {
|
|
|
|
uuid: string
|
|
|
|
name: string
|
|
|
|
api: string
|
|
|
|
description?: string
|
|
|
|
price: PriceTable
|
2024-09-05 22:40:11 +03:00
|
|
|
/* address for receive payments */
|
|
|
|
address: string
|
2024-09-05 21:02:35 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
type PriceTable = {
|
|
|
|
[x: string]: ComputingUnit | Unit
|
|
|
|
}
|