mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 12:42:34 +00:00
14 lines
412 B
Dart
14 lines
412 B
Dart
import 'package:lunasea/core.dart';
|
|
|
|
abstract class LunaWebhooks {
|
|
Future<void> handle(Map<dynamic, dynamic> data);
|
|
|
|
static String buildUserTokenURL(String token, LunaModule module) {
|
|
return 'https://notify.lunasea.app/v1/${module.key}/user/$token';
|
|
}
|
|
|
|
static String buildDeviceTokenURL(String token, LunaModule module) {
|
|
return 'https://notify.lunasea.app/v1/${module.key}/device/$token';
|
|
}
|
|
}
|