Wiki source code of Front-End Backend API

Last modified by Manuel Leduc on 2026/02/05 17:22

Hide last authors
Manuel Leduc 5.1 1 = Storage Provider =
Manuel Leduc 2.1 2
Manuel Leduc 1.1 3 {{code language="typescript"}}
4 import type { Storage } from "@xwiki/cristal-api";
5
6 /**
7 * Resolves a {@link Storage} based on the current configuration.
8 * @since 0.13
9 */
10 export interface StorageProvider {
11 /**
12 * @returns a {@link Storage} based on the current configuration
13 */
14 get(): Storage;
15 }
16 {{/code}}

Get Connected