Files
CommunitySolidServer/src/pods/PodManager.ts
Joachim Van Herwegen a47f5236ef feat: Full rework of account management
Complete rewrite of the account management and related systems.
Makes the architecture more modular,
allowing for easier extensions and configurations.
2023-10-06 11:04:40 +02:00

15 lines
512 B
TypeScript

import type { PodSettings } from './settings/PodSettings';
/**
* Covers all functions related to pod management.
* In the future this should also include delete, and potentially recovery functions.
*/
export interface PodManager {
/**
* Creates a pod for the given settings.
* @param settings - Settings describing the pod.
* @param overwrite - If the creation should proceed if there already is a resource there.
*/
createPod: (settings: PodSettings, overwrite: boolean) => Promise<void>;
}