mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
Complete rewrite of the account management and related systems. Makes the architecture more modular, allowing for easier extensions and configurations.
15 lines
512 B
TypeScript
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>;
|
|
}
|