plan sdk stubs

This commit is contained in:
2024-09-19 14:37:08 +02:00
parent c77bfc8336
commit da01326777
4 changed files with 107 additions and 63 deletions

View File

@@ -0,0 +1,11 @@
import express from 'express';
// TODO: Use also express-session to make it work with getSessionID and session referencing
const checkAuth = ( request: express.Request ) => {
return true;
}
export default {
checkAuth
}

View File

@@ -0,0 +1,11 @@
const getSubscriptions = ( uid: string ) => {
return [ {
'id': 'com.janishutz.MusicPlayer.subscription',
'expires': new Date().getTime() + 200000,
'status': true
} ]
}
export default {
getSubscriptions
}