6ac118ae70
Daemon, StartOS wrapper, admin SPA, public buy/thank-you pages, discount codes, free-license redemption, Apply-discount UX, self-licensing, and v0.1.0 release notes.
21 lines
702 B
TypeScript
21 lines
702 B
TypeScript
// Declare our dependency on BTCPay Server. StartOS uses this to:
|
|
// - prevent starting if BTCPay isn't installed,
|
|
// - gate our service's health status on BTCPay's,
|
|
// - provide the `btcpayserver.startos` hostname inside our container.
|
|
//
|
|
// versionRange uses ExVer (StartOS's Extended Versioning). The ':0' suffix
|
|
// is the downstream revision; ':0' is the conventional value meaning "any
|
|
// downstream revision of upstream version 1.11.0 or later".
|
|
|
|
import { sdk } from './sdk'
|
|
|
|
export const setDependencies = sdk.setupDependencies(async ({ effects: _effects }) => {
|
|
return {
|
|
btcpayserver: {
|
|
kind: 'running',
|
|
versionRange: '>=1.11.0:0',
|
|
healthChecks: [],
|
|
},
|
|
}
|
|
})
|