mirror of
https://github.com/standardnotes/server
synced 2026-07-30 20:16:37 -04:00
12 lines
342 B
TypeScript
12 lines
342 B
TypeScript
import { Result, ServiceInterface } from '@standardnotes/domain-core'
|
|
|
|
export interface AuthServiceInterface extends ServiceInterface {
|
|
activatePremiumFeatures(dto: {
|
|
username: string
|
|
subscriptionId: number
|
|
subscriptionPlanName?: string
|
|
endsAt?: Date
|
|
cancelPreviousSubscription?: boolean
|
|
}): Promise<Result<string>>
|
|
}
|