mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-13 12:42:47 +02:00
39 lines
978 B
TypeScript
39 lines
978 B
TypeScript
import type {ExtensionUnderTest} from './extension-helpers'
|
|
|
|
const extensionFixtureUrl =
|
|
process.env.LNBITS_E2E_EXTENSION_FIXTURE_URL ?? 'http://127.0.0.1:5010'
|
|
|
|
export const SUPPORTCHAT: ExtensionUnderTest = {
|
|
extId: 'supportchat',
|
|
name: 'Support Chat',
|
|
configUrl: `${extensionFixtureUrl}/config.json`,
|
|
permissionTexts: [
|
|
'Read public extension storage',
|
|
'Append public extension storage',
|
|
'Use extension websockets'
|
|
]
|
|
}
|
|
|
|
export const TIPS: ExtensionUnderTest = {
|
|
extId: 'tips',
|
|
name: 'Tips',
|
|
permissionTexts: ['Make background payments']
|
|
}
|
|
|
|
export const BIGPAYMENT: ExtensionUnderTest = {
|
|
extId: 'bigpayment',
|
|
name: 'BigPayment',
|
|
permissionTexts: ['Pay invoices']
|
|
}
|
|
|
|
export const PINGPONG: ExtensionUnderTest = {
|
|
extId: 'pingpong',
|
|
name: 'Ping Pong',
|
|
permissionTexts: ['Make background payments']
|
|
}
|
|
|
|
export const PAYSPLIT: ExtensionUnderTest = {
|
|
extId: 'paysplit',
|
|
name: 'PaySplit',
|
|
permissionTexts: ['Watch wallet payments']
|
|
}
|