feat(billmanager): профиль FirstByte — ДЦ, оплата и specs VPS
Docker / build (push) Failing after 19s
Docker / build (push) Failing after 19s
Парсинг страны/города и paidUntil из list vds; CPU/RAM/диск из vds.order по pricelist_id, иначе vds.edit. Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -44,3 +44,10 @@ export const myHosterOverrides: BillmanagerProfileOverrides = {
|
||||
`resolveBillmanagerProfile(apiBaseUrl)` → `merge(DEFAULT, override)` или `DEFAULT`.
|
||||
|
||||
Sync и operations **не** содержат `if (hoster)` — только профиль.
|
||||
|
||||
## Готовые профили
|
||||
|
||||
| id | Match | Что переопределяет |
|
||||
|----|-------|-------------------|
|
||||
| `waicore` | `waicore.com` / keyword | `funcs.listVds = vds.vps` |
|
||||
| `firstbyte` | `firstbyte.ru`, `firstbyte.club`, `1byte.ru` | `enrichVds`: страна/город, `paidUntil` ISO, `billdaily`→daily, diskType/KVM из имени; `options.fetchVdsEditForSpecs`; sync: specs из `vds.order` по `pricelist_id`, иначе `vds.edit` |
|
||||
|
||||
Reference in New Issue
Block a user