@edifice.io/client 1.7.4-develop-pedago.20241211160712
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/LICENSE +661 -0
- package/README.md +90 -0
- package/dist/analytics/Service.d.ts +17 -0
- package/dist/apps/timeline/Framework.d.ts +25 -0
- package/dist/apps/timeline/Notification.model.d.ts +10 -0
- package/dist/apps/timeline/interfaces.d.ts +69 -0
- package/dist/audience/ReactionsService.d.ts +22 -0
- package/dist/audience/Service.d.ts +13 -0
- package/dist/audience/ViewsService.d.ts +12 -0
- package/dist/audience/interface.d.ts +108 -0
- package/dist/cache/Service.d.ts +14 -0
- package/dist/configure/Analytics.d.ts +40 -0
- package/dist/configure/AppConf.d.ts +17 -0
- package/dist/configure/Framework.d.ts +22 -0
- package/dist/configure/Service.d.ts +21 -0
- package/dist/configure/Theme.d.ts +34 -0
- package/dist/configure/User.d.ts +21 -0
- package/dist/configure/interfaces.d.ts +218 -0
- package/dist/data/Service.d.ts +25 -0
- package/dist/data/WebBroker.d.ts +12 -0
- package/dist/data/interface.d.ts +50 -0
- package/dist/directory/Service.d.ts +17 -0
- package/dist/directory/interface.d.ts +53 -0
- package/dist/embedder/Service.d.ts +39 -0
- package/dist/embedder/interface.d.ts +14 -0
- package/dist/globals.d.ts +52 -0
- package/dist/idiom/Idiom.d.ts +18 -0
- package/dist/idiom/Service.d.ts +24 -0
- package/dist/idiom/interfaces.d.ts +22 -0
- package/dist/index.cjs +6 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +6192 -0
- package/dist/notify/Framework.d.ts +29 -0
- package/dist/notify/Subject.d.ts +9 -0
- package/dist/notify/interfaces.d.ts +113 -0
- package/dist/resources/ResourceService.d.ts +52 -0
- package/dist/resources/ServiceRegistry.d.ts +25 -0
- package/dist/resources/SnipletsService.d.ts +18 -0
- package/dist/resources/behaviours/AbstractBehaviourService.d.ts +34 -0
- package/dist/resources/behaviours/ActualitesBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/BlogBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/CollaborativewallBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/CommunityBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/ExercizerBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/FormulaireBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/ForumBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/HomeworksBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/MagnetoBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/MindmapBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/PagesBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/PollBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/ScrapbookBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/TimelinegeneratorBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/WikiBehaviour.d.ts +6 -0
- package/dist/resources/behaviours/WorkspaceBehaviour.d.ts +7 -0
- package/dist/resources/interface.d.ts +390 -0
- package/dist/resources/services/ScrapbookResourceService.d.ts +14 -0
- package/dist/rights/Service.d.ts +77 -0
- package/dist/rights/interface.d.ts +18 -0
- package/dist/services/OdeServices.d.ts +72 -0
- package/dist/services/index.d.ts +10 -0
- package/dist/session/Framework.d.ts +10 -0
- package/dist/session/Service.d.ts +39 -0
- package/dist/session/Session.d.ts +34 -0
- package/dist/session/interfaces.d.ts +268 -0
- package/dist/share/Service.d.ts +18 -0
- package/dist/share/interface.d.ts +104 -0
- package/dist/transport/Framework.d.ts +9 -0
- package/dist/transport/Http.d.ts +26 -0
- package/dist/transport/Service.d.ts +31 -0
- package/dist/transport/interfaces.d.ts +70 -0
- package/dist/utilities/DocumentHelper.d.ts +27 -0
- package/dist/utilities/StringUtils.d.ts +3 -0
- package/dist/utilities/index.d.ts +3 -0
- package/dist/utilities/isActionAvailable.d.ts +2 -0
- package/dist/video/Service.d.ts +21 -0
- package/dist/video/interface.d.ts +42 -0
- package/dist/widget/Framework.d.ts +31 -0
- package/dist/widget/LastInfos.widget.d.ts +15 -0
- package/dist/widget/interfaces.d.ts +53 -0
- package/dist/workspace/Service.d.ts +75 -0
- package/dist/workspace/interface.d.ts +67 -0
- package/package.json +53 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IGetConf, ITheme, IThemeOverrides } from '../configure/interfaces';
|
|
2
|
+
import { IUserInfo } from '../session/interfaces';
|
|
3
|
+
import { Subject } from './Subject';
|
|
4
|
+
import { IPromisified, INotifyFramework } from './interfaces';
|
|
5
|
+
/** Utility class */
|
|
6
|
+
export declare class Promisified<T> implements IPromisified<T> {
|
|
7
|
+
private _resolution?;
|
|
8
|
+
private _rejection?;
|
|
9
|
+
private _promise;
|
|
10
|
+
get promise(): Promise<T>;
|
|
11
|
+
resolve(value: T | PromiseLike<T>): void;
|
|
12
|
+
reject(reason?: any): void;
|
|
13
|
+
}
|
|
14
|
+
/** The notify framework implementation. */
|
|
15
|
+
declare class NotifyFramework implements INotifyFramework {
|
|
16
|
+
private promises;
|
|
17
|
+
private subject;
|
|
18
|
+
private asyncData;
|
|
19
|
+
onSessionReady(): IPromisified<IUserInfo>;
|
|
20
|
+
onLangReady(): IPromisified<string>;
|
|
21
|
+
onSkinReady(): Promisified<ITheme>;
|
|
22
|
+
onOverridesReady(): Promisified<IThemeOverrides>;
|
|
23
|
+
onAppConfReady(): Promisified<IGetConf>;
|
|
24
|
+
promisify<T>(): IPromisified<T>;
|
|
25
|
+
events(): Subject;
|
|
26
|
+
}
|
|
27
|
+
/** The whole framework is a singleton. */
|
|
28
|
+
export declare const notify: NotifyFramework;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IHttpErrorEvent, ISubject, ISubjectMessage, ISubscription, LayerName } from './interfaces';
|
|
2
|
+
export declare class Subject implements ISubject {
|
|
3
|
+
private publishChannels;
|
|
4
|
+
private getChannelName;
|
|
5
|
+
private getPublishChannel;
|
|
6
|
+
newChannel(layer: string): BroadcastChannel;
|
|
7
|
+
publish(layer: LayerName, message: ISubjectMessage | IHttpErrorEvent): void;
|
|
8
|
+
subscribe<T extends ISubjectMessage>(layer: LayerName, handler: (message: T) => void): ISubscription;
|
|
9
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { IGetConf, ITheme, IThemeOverrides } from '../configure/interfaces';
|
|
2
|
+
import { IUserInfo } from '../session/interfaces';
|
|
3
|
+
import { IHttpParams, IHttpResponse } from '../transport/interfaces';
|
|
4
|
+
export declare abstract class NotifyFrameworkFactory {
|
|
5
|
+
static instance(): INotifyFramework;
|
|
6
|
+
}
|
|
7
|
+
export interface INotifyFramework {
|
|
8
|
+
/**
|
|
9
|
+
* Notify that a process is done and data ready or rejected.
|
|
10
|
+
* Utility method : wrap your own Promise.
|
|
11
|
+
* Or use one of the predefined promises.
|
|
12
|
+
*/
|
|
13
|
+
promisify<T>(): IPromisified<T>;
|
|
14
|
+
/**
|
|
15
|
+
* Notify that a process is done and data ready or rejected.
|
|
16
|
+
* Promise / resolve / reject of current user's language.
|
|
17
|
+
*/
|
|
18
|
+
onLangReady(): IPromisified<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Notify that a process is done and data ready or rejected.
|
|
21
|
+
* Promise / resolve / reject of current user's session.
|
|
22
|
+
*/
|
|
23
|
+
onSessionReady(): IPromisified<IUserInfo>;
|
|
24
|
+
/**
|
|
25
|
+
* Notify that a process is done and data ready or rejected.
|
|
26
|
+
* This data is not intended to change after being resolved.
|
|
27
|
+
* Promise / resolve / reject of asynchronous skin.
|
|
28
|
+
*/
|
|
29
|
+
onSkinReady(): IPromisified<ITheme>;
|
|
30
|
+
/**
|
|
31
|
+
* Notify that a process is done and data ready or rejected.
|
|
32
|
+
* This data is not intended to change after being resolved.
|
|
33
|
+
* Promise / resolve / reject of asynchronous skin overrides.
|
|
34
|
+
*/
|
|
35
|
+
onOverridesReady(): IPromisified<IThemeOverrides>;
|
|
36
|
+
/**
|
|
37
|
+
* Notify that the application configuration has been loaded.
|
|
38
|
+
* This data is not intended to change after being resolved.
|
|
39
|
+
* Promise / resolve / reject of application configuration.
|
|
40
|
+
*/
|
|
41
|
+
onAppConfReady(): IPromisified<IGetConf>;
|
|
42
|
+
/**
|
|
43
|
+
* Notify that an event occured.
|
|
44
|
+
* By definition, an event can occur multiple times (otherwise it is a one-time "process", see above) and be watched by many targets.
|
|
45
|
+
* => We model it as a subject with many potential subscribers.
|
|
46
|
+
*/
|
|
47
|
+
events(): ISubject;
|
|
48
|
+
}
|
|
49
|
+
export interface IPromisified<T> {
|
|
50
|
+
readonly promise: Promise<T>;
|
|
51
|
+
resolve: (value: T | PromiseLike<T>) => void;
|
|
52
|
+
reject: (reason?: any) => void;
|
|
53
|
+
}
|
|
54
|
+
export declare const LAYER_NAME: {
|
|
55
|
+
readonly WIDGETS: "widgets";
|
|
56
|
+
readonly EXPLORER: "explorer";
|
|
57
|
+
readonly TRANSPORT: "transport";
|
|
58
|
+
readonly WEB_DATA: "webDataPipeline";
|
|
59
|
+
};
|
|
60
|
+
export type LayerName = (typeof LAYER_NAME)[keyof typeof LAYER_NAME];
|
|
61
|
+
export type TransportLayer = typeof LAYER_NAME.TRANSPORT;
|
|
62
|
+
export type WebDataLayer = typeof LAYER_NAME.WEB_DATA;
|
|
63
|
+
export declare const EVENT_NAME: {
|
|
64
|
+
readonly USERPREF_CHANGED: "userprefChanged";
|
|
65
|
+
readonly SEARCH_RESULTED: "searchResulted";
|
|
66
|
+
readonly ERROR_OCCURED: "error";
|
|
67
|
+
readonly DATA_TRACKED: "track";
|
|
68
|
+
};
|
|
69
|
+
export type EventName = (typeof EVENT_NAME)[keyof typeof EVENT_NAME];
|
|
70
|
+
/** Generic typing of an event message. */
|
|
71
|
+
export interface ISubjectMessage {
|
|
72
|
+
name: EventName;
|
|
73
|
+
data?: any;
|
|
74
|
+
}
|
|
75
|
+
/** A subscription to receive ISubjectMessage */
|
|
76
|
+
export interface ISubscription {
|
|
77
|
+
/** Close the subscription */
|
|
78
|
+
revoke: () => void;
|
|
79
|
+
}
|
|
80
|
+
/** Generic typing of a subject. */
|
|
81
|
+
export interface ISubject {
|
|
82
|
+
subscribe(layer: Omit<LayerName, TransportLayer | WebDataLayer>, handler: <T extends ISubjectMessage>(message: T) => void): ISubscription;
|
|
83
|
+
publish(layer: Omit<LayerName, TransportLayer | WebDataLayer>, message: ISubjectMessage): void;
|
|
84
|
+
}
|
|
85
|
+
/** Typing of error messages on the TRANSPORT layer. */
|
|
86
|
+
export interface IHttpErrorEvent extends ISubjectMessage {
|
|
87
|
+
name: typeof EVENT_NAME.ERROR_OCCURED;
|
|
88
|
+
data: {
|
|
89
|
+
params?: IHttpParams;
|
|
90
|
+
response: IHttpResponse;
|
|
91
|
+
payload?: any;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
/** Overloaded typing of a subject, dedicated to transport errors. */
|
|
95
|
+
export declare interface ISubject {
|
|
96
|
+
publish(layer: TransportLayer, message: IHttpErrorEvent): void;
|
|
97
|
+
subscribe(layer: TransportLayer, handler: (message: IHttpErrorEvent) => void): ISubscription;
|
|
98
|
+
}
|
|
99
|
+
/** Typing of tracked events on a DATA layer. */
|
|
100
|
+
export interface IDataTrackEvent extends ISubjectMessage {
|
|
101
|
+
name: typeof EVENT_NAME.DATA_TRACKED;
|
|
102
|
+
data: {
|
|
103
|
+
'event-type': string;
|
|
104
|
+
'module'?: string;
|
|
105
|
+
'userId'?: string;
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
/** Overloaded typing of a subject, dedicated to tracking web data events. */
|
|
110
|
+
export declare interface ISubject {
|
|
111
|
+
publish(layer: WebDataLayer, message: IDataTrackEvent): void;
|
|
112
|
+
subscribe(layer: WebDataLayer, handler: (message: IDataTrackEvent) => void): ISubscription;
|
|
113
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { App, CreateFolderParameters, CreateFolderResult, DeleteParameters, GetContextParameters, GetContextResult, GetSubFoldersResult, IActionResult, ID, ISearchResults, MoveParameters, PublishParameters, PublishResult, ResourceType, UpdateFolderParameters } from '..';
|
|
2
|
+
import { IOdeServices } from '../services/OdeServices';
|
|
3
|
+
import { CopyParameters, CopyResult, CreateParameters, CreateResult, GetResourceParameters, IResource, IResourceService, IWebResourceService, UpdateParameters, UpdateResult } from './interface';
|
|
4
|
+
export declare abstract class ResourceService implements IResourceService, IWebResourceService {
|
|
5
|
+
protected context: IOdeServices;
|
|
6
|
+
private static registry;
|
|
7
|
+
static register: ({ application, resourceType, }: {
|
|
8
|
+
application: App | string;
|
|
9
|
+
resourceType: ResourceType;
|
|
10
|
+
}, service: (context: IOdeServices) => IResourceService & IWebResourceService) => void;
|
|
11
|
+
static findService: (lookFor: {
|
|
12
|
+
application: App | string;
|
|
13
|
+
resourceType: ResourceType;
|
|
14
|
+
}, context: IOdeServices) => IResourceService & IWebResourceService;
|
|
15
|
+
static findMainService: ({ application }: {
|
|
16
|
+
application: App | string;
|
|
17
|
+
}, context: IOdeServices) => IResourceService & IWebResourceService;
|
|
18
|
+
static isRegistered: ({ application, resourceType, }: {
|
|
19
|
+
application: App | string;
|
|
20
|
+
resourceType: ResourceType | "main";
|
|
21
|
+
}) => boolean;
|
|
22
|
+
constructor(context: IOdeServices);
|
|
23
|
+
protected get http(): import('../transport/Service').HttpService;
|
|
24
|
+
abstract getApplication(): App | string;
|
|
25
|
+
abstract getPrintUrl(resourceId: string): string;
|
|
26
|
+
abstract getViewUrl(resourceId: string): string;
|
|
27
|
+
abstract getFormUrl(folderId?: string): string;
|
|
28
|
+
abstract getEditUrl(resourceId?: string): string;
|
|
29
|
+
abstract create<T extends CreateParameters>(parameters: T): Promise<CreateResult>;
|
|
30
|
+
abstract update<T extends UpdateParameters>(parameters: T): Promise<UpdateResult>;
|
|
31
|
+
abstract getResourceType(): ResourceType;
|
|
32
|
+
copy(parameters: CopyParameters): Promise<CopyResult>;
|
|
33
|
+
publish(parameters: PublishParameters): Promise<PublishResult>;
|
|
34
|
+
createContext(parameters: GetContextParameters): Promise<GetContextResult>;
|
|
35
|
+
searchContext(parameters: GetContextParameters): Promise<ISearchResults>;
|
|
36
|
+
searchResource(parameters: GetResourceParameters): Promise<IResource>;
|
|
37
|
+
createFolder(parameters: CreateFolderParameters): Promise<CreateFolderResult>;
|
|
38
|
+
updateFolder(parameters: UpdateFolderParameters): Promise<CreateFolderResult>;
|
|
39
|
+
moveToFolder(parameters: MoveParameters, useAssetId?: boolean): Promise<IActionResult>;
|
|
40
|
+
listSubfolders(folderId: ID): Promise<GetSubFoldersResult>;
|
|
41
|
+
deleteAll(parameters: DeleteParameters, useAssetId?: boolean): Promise<IActionResult>;
|
|
42
|
+
trashAll({ resourceType, ...parameters }: DeleteParameters, useAssetId?: boolean): Promise<IActionResult>;
|
|
43
|
+
/** Trash folders and/or resources. */
|
|
44
|
+
restoreAll({ resourceType, ...parameters }: DeleteParameters, useAssetId?: boolean): Promise<IActionResult>;
|
|
45
|
+
protected checkHttpResponse: <R>(result: R) => R;
|
|
46
|
+
private mapAssetIdToIds;
|
|
47
|
+
protected getThumbnailPath(file: string | Blob | File | undefined): Promise<string | undefined>;
|
|
48
|
+
private toQueryParams;
|
|
49
|
+
private getResourceParams;
|
|
50
|
+
private createFolderToBodyParams;
|
|
51
|
+
private moveToBodyParams;
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ResourceType, App } from '..';
|
|
2
|
+
import { IOdeServices } from '../services/OdeServices';
|
|
3
|
+
export declare class ServiceRegistry<T> extends Map<string, (context: IOdeServices) => T> {
|
|
4
|
+
/** Register a service */
|
|
5
|
+
register({ application, resourceType, }: {
|
|
6
|
+
application: App | string;
|
|
7
|
+
resourceType: ResourceType;
|
|
8
|
+
}, service: (context: IOdeServices) => T): void;
|
|
9
|
+
/** Lookup for a service */
|
|
10
|
+
findService(lookFor: {
|
|
11
|
+
application: App | string;
|
|
12
|
+
resourceType: ResourceType;
|
|
13
|
+
}, context: IOdeServices): T;
|
|
14
|
+
/** Lookup for a main service */
|
|
15
|
+
findMainService({ application }: {
|
|
16
|
+
application: App | string;
|
|
17
|
+
}, context: IOdeServices): T;
|
|
18
|
+
/** Check if a service is registered. */
|
|
19
|
+
isRegistered({ application, resourceType, }: {
|
|
20
|
+
application: App | string;
|
|
21
|
+
resourceType: ResourceType | 'main';
|
|
22
|
+
}): boolean;
|
|
23
|
+
/** Private lookup for a service */
|
|
24
|
+
private lookupService;
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { App, ResourceType } from '../globals';
|
|
2
|
+
import { IOdeServices } from '../services/OdeServices';
|
|
3
|
+
import { IBehaviourService } from './interface';
|
|
4
|
+
export declare class SnipletsService {
|
|
5
|
+
private static registry;
|
|
6
|
+
static findBehaviour: (lookFor: {
|
|
7
|
+
application: App | string;
|
|
8
|
+
resourceType: ResourceType;
|
|
9
|
+
}, context: IOdeServices) => IBehaviourService;
|
|
10
|
+
static hasBehaviour: ({ application, resourceType, }: {
|
|
11
|
+
application: App | string;
|
|
12
|
+
resourceType: ResourceType | "main";
|
|
13
|
+
}) => boolean;
|
|
14
|
+
static resourceProducingApps: App[];
|
|
15
|
+
static initialize(context: IOdeServices, currentApp: App): Promise<App[]>;
|
|
16
|
+
static registerBehaviours(currentApp: App): Promise<void>;
|
|
17
|
+
private static serviceFor;
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ID, IHttpParams, ResourceType } from '../..';
|
|
2
|
+
import { IOdeServices } from '../../services/OdeServices';
|
|
3
|
+
import { GetContextParameters, IBehaviourService, IResource } from '../interface';
|
|
4
|
+
export interface LinkerModel {
|
|
5
|
+
_id: ID;
|
|
6
|
+
title: string;
|
|
7
|
+
ownerName: string;
|
|
8
|
+
owner: string;
|
|
9
|
+
icon: string;
|
|
10
|
+
shared: boolean;
|
|
11
|
+
path?: string;
|
|
12
|
+
modified: string | {
|
|
13
|
+
$date: number | string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface ILinkedResource extends IResource {
|
|
17
|
+
path: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* TO BE DEPRECATED. DO NOT USE UNLESS YOU KNOW WHAT YOU ARE DOING.
|
|
21
|
+
*/
|
|
22
|
+
export declare abstract class AbstractBehaviourService implements IBehaviourService {
|
|
23
|
+
protected context: IOdeServices;
|
|
24
|
+
abstract APP: string;
|
|
25
|
+
abstract RESOURCE: ResourceType;
|
|
26
|
+
/** Adapter function to be implemented by subclasses. */
|
|
27
|
+
abstract loadResources(parameters?: GetContextParameters): Promise<ILinkedResource[]>;
|
|
28
|
+
constructor(context: IOdeServices);
|
|
29
|
+
getApplication(): string;
|
|
30
|
+
getResourceType(): ResourceType;
|
|
31
|
+
private _cache;
|
|
32
|
+
protected httpGet<R>(url: string, params?: IHttpParams | undefined): Promise<R>;
|
|
33
|
+
protected dataToResource({ modified, ...resource }: LinkerModel): ILinkedResource;
|
|
34
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class ActualitesBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class CollaborativewallBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class CommunityBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class ExercizerBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class FormulaireBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class HomeworksBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AbstractBehaviourService } from './AbstractBehaviourService';
|
|
2
|
+
export declare class ScrapbookBehaviour extends AbstractBehaviourService {
|
|
3
|
+
APP: string;
|
|
4
|
+
RESOURCE: string;
|
|
5
|
+
loadResources(): Promise<import('./AbstractBehaviourService').ILinkedResource[]>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GetContextParameters } from '../interface';
|
|
2
|
+
import { AbstractBehaviourService, ILinkedResource } from './AbstractBehaviourService';
|
|
3
|
+
export declare class WorkspaceBehaviour extends AbstractBehaviourService {
|
|
4
|
+
APP: string;
|
|
5
|
+
RESOURCE: string;
|
|
6
|
+
loadResources({ search, asset_id }: GetContextParameters): Promise<ILinkedResource[]>;
|
|
7
|
+
}
|