Wiki source code of Front-End Backend API

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

Show last authors
1 = Storage Provider =
2
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