@edifice.io/client 2.0.0-develop-pedago.20250123120301 → 2.0.0-develop-enabling.20250612170709

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.
@@ -396,3 +396,5 @@ export interface ScrapbookResource extends IResource {
396
396
  }
397
397
  export interface TimelineGeneratorUpdate extends UpdateParameters {
398
398
  }
399
+ export interface CollaborativeEditorUpdate extends UpdateParameters {
400
+ }
@@ -0,0 +1,14 @@
1
+ import { ResourceType } from '../..';
2
+ import { CollaborativeEditorUpdate, CreateParameters, CreateResult, UpdateResult } from '../interface';
3
+ import { ResourceService } from '../ResourceService';
4
+ export declare class CollaborativeEditorResourceService extends ResourceService {
5
+ create(parameters: CreateParameters): Promise<CreateResult>;
6
+ update(parameters: CollaborativeEditorUpdate): Promise<UpdateResult>;
7
+ getResourceType(): ResourceType;
8
+ getApplication(): string;
9
+ getFormUrl(): string;
10
+ getViewUrl(resourceId: string): string;
11
+ getPrintUrl(): string;
12
+ getEditUrl(): string;
13
+ getExportUrl(): string;
14
+ }
@@ -24,11 +24,11 @@ export declare class Session implements ISession {
24
24
  getUserProfile(): Promise<UserProfile>;
25
25
  private loadUserLanguage;
26
26
  getEmailValidationInfos(): Promise<IEmailValidationInfos>;
27
- checkEmail(email: String): Promise<void>;
28
- tryEmailValidation(code: String): Promise<IEmailValidationState>;
27
+ checkEmail(email: string): Promise<void>;
28
+ tryEmailValidation(code: string): Promise<IEmailValidationState>;
29
29
  getMobileValidationInfos(): Promise<IMobileValidationInfos>;
30
- checkMobile(mobile: String): Promise<void>;
31
- tryMobileValidation(code: String): Promise<IMobileValidationState>;
30
+ checkMobile(mobile: string): Promise<void>;
31
+ tryMobileValidation(code: string): Promise<IMobileValidationState>;
32
32
  getMfaInfos(): Promise<IMfaInfos>;
33
- tryMfaCode(code: String): Promise<IMfaCodeState>;
33
+ tryMfaCode(code: string): Promise<IMfaCodeState>;
34
34
  }
@@ -53,22 +53,22 @@ export interface ISession {
53
53
  * Send a 6-digits code to an email address to validate it.
54
54
  * => when resolved successfully, the email validation infos will switch to the "pending" state.
55
55
  */
56
- checkEmail(email: String): Promise<void>;
56
+ checkEmail(email: string): Promise<void>;
57
57
  /** Send a 6-digits code to the server to try validating the pending email address. */
58
- tryEmailValidation(code: String): Promise<IEmailValidationState>;
58
+ tryEmailValidation(code: string): Promise<IEmailValidationState>;
59
59
  /** Verify if the logged-in user has a valid phone number. */
60
60
  getMobileValidationInfos(): Promise<IMobileValidationInfos>;
61
61
  /**
62
62
  * Send a 6-digits code to a phone number to validate it.
63
63
  * => when resolved successfully, the phone number infos will switch to the "pending" state.
64
64
  */
65
- checkMobile(mobile: String): Promise<void>;
65
+ checkMobile(mobile: string): Promise<void>;
66
66
  /** Send a 6-digits code to the server to try validating the pending phone number. */
67
- tryMobileValidation(code: String): Promise<IMobileValidationState>;
67
+ tryMobileValidation(code: string): Promise<IMobileValidationState>;
68
68
  /** Start an MFA for the logged-in user, unless already pending or done. */
69
69
  getMfaInfos(): Promise<IMfaInfos>;
70
70
  /** Send a 6-digits code to the server to validate a pending MFA. */
71
- tryMfaCode(code: String): Promise<IMfaCodeState>;
71
+ tryMfaCode(code: string): Promise<IMfaCodeState>;
72
72
  }
73
73
  export type Hobby = {
74
74
  visibility: 'PRIVE' | 'PUBLIC';
package/package.json CHANGED
@@ -1,7 +1,13 @@
1
1
  {
2
2
  "name": "@edifice.io/client",
3
- "version": "2.0.0-develop-pedago.20250123120301",
3
+ "version": "2.0.0-develop-enabling.20250612170709",
4
4
  "description": "Edifice TypeScript Client",
5
+ "keywords": [
6
+ "typescript",
7
+ "client",
8
+ "edifice",
9
+ "frontend"
10
+ ],
5
11
  "homepage": "https://github.com/edificeio/edifice-frontend-framework/tree/main/packages/client#readme",
6
12
  "bugs": {
7
13
  "url": "https://github.com/edificeio/edifice-frontend-framework/issues"
@@ -30,7 +36,7 @@
30
36
  "dependencies": {
31
37
  "axios": "^1.7.7",
32
38
  "core-js": "^3.35.1",
33
- "@edifice.io/utilities": "2.0.0-develop-pedago.20250123120301"
39
+ "@edifice.io/utilities": "2.0.0-develop-enabling.20250612170709"
34
40
  },
35
41
  "devDependencies": {
36
42
  "@types/jasmine": "5.1.4",
@@ -41,13 +47,17 @@
41
47
  "typedoc": "0.25.7",
42
48
  "typedoc-plugin-markdown": "3.17.1",
43
49
  "vite": "^5.4.11",
44
- "vite-plugin-dts": "^4.1.0"
50
+ "vite-plugin-dts": "^4.1.0",
51
+ "@edifice.io/config": "2.0.0-develop-enabling.20250612170709"
45
52
  },
46
53
  "scripts": {
47
54
  "build": "vite build",
48
55
  "docs": "npx rimraf ./docs/ && npx typedoc src/ts/index.ts --excludePrivate --disableSources --plugin typedoc-plugin-markdown",
56
+ "fix": "eslint --fix --report-unused-disable-directives --max-warnings 0",
49
57
  "format": "pnpm run format:write && pnpm run format:check",
50
58
  "format:check": "npx prettier --check \"src/ts/**/*.ts\"",
51
- "format:write": "npx prettier --write \"src/ts/**/*.ts\""
59
+ "format:write": "npx prettier --write \"src/ts/**/*.ts\"",
60
+ "lint": "eslint",
61
+ "test": "vitest"
52
62
  }
53
63
  }