@edifice.io/client 2.6.7-develop-integration.20261001195124 → 2.6.7-develop-b2school.20261002153216
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configure/Service.d.ts +10 -1
- package/dist/directory/interface.d.ts +10 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +0 -3
- package/dist/index.js +341 -508
- package/dist/services/OdeServices.d.ts +0 -8
- package/package.json +3 -3
- package/dist/googledrive/Service.d.ts +0 -52
- package/dist/googledrive/interface.d.ts +0 -41
- package/dist/nextcloud/Service.d.ts +0 -42
- package/dist/nextcloud/interface.d.ts +0 -27
|
@@ -11,8 +11,17 @@ export declare class ConfService {
|
|
|
11
11
|
getConf(app: App): Promise<IGetConf>;
|
|
12
12
|
getPublicConf<T>(app: App): Promise<T>;
|
|
13
13
|
getCdnUrl(): string | undefined;
|
|
14
|
-
|
|
14
|
+
/** New-gen API to get all of the user's preferences at once. */
|
|
15
|
+
getUserPreferences<T extends Record<string, any> = Record<string, any>>(): Promise<T>;
|
|
16
|
+
/**
|
|
17
|
+
* New-gen API to set all of the user's preferences at once.
|
|
18
|
+
* @return the latest exhaustive preferences, updated.
|
|
19
|
+
*/
|
|
20
|
+
saveUserPreferences<T extends Record<string, any>>(preferences: T): Promise<T>;
|
|
21
|
+
/** Legacy API to get the user's preferences for a given key. */
|
|
15
22
|
getPreference<T>(key: string): Promise<T>;
|
|
23
|
+
/** Legacy API to set the user's preferences for a given key. */
|
|
24
|
+
savePreference<T>(key: string, value: T): Promise<void>;
|
|
16
25
|
private getThemeConf;
|
|
17
26
|
private getApplicationsList;
|
|
18
27
|
private getWebAppConf;
|
|
@@ -56,6 +56,16 @@ export interface BookmarkGetResponse {
|
|
|
56
56
|
activationCode: boolean;
|
|
57
57
|
}>;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* A user's personal "useful link" (external bookmark), managed from the
|
|
61
|
+
* homepage "Liens utiles" widget.
|
|
62
|
+
*/
|
|
63
|
+
export interface UsefulLink {
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
url: string;
|
|
67
|
+
}
|
|
68
|
+
export type UsefulLinkPayload = Pick<UsefulLink, 'name' | 'url'>;
|
|
59
69
|
/**
|
|
60
70
|
* Class a child belongs to, as returned by the /children endpoint.
|
|
61
71
|
*/
|