@edifice.io/client 2.6.11-develop-b2school.20261102105137 → 2.6.11-develop-integration.20261102231940
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/googledrive/Service.d.ts +63 -0
- package/dist/googledrive/interface.d.ts +58 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +458 -333
- package/dist/services/OdeServices.d.ts +4 -0
- package/dist/utilities/DocumentHelper.d.ts +3 -3
- package/package.json +3 -3
- package/dist/calendar/interface.d.ts +0 -22
|
@@ -7,6 +7,7 @@ import { IDataService } from '../data/interface';
|
|
|
7
7
|
import { DirectoryService } from '../directory/Service';
|
|
8
8
|
import { EmbedderService } from '../embedder/Service';
|
|
9
9
|
import { App, ResourceType } from '../globals';
|
|
10
|
+
import { GoogleDriveService } from '../googledrive/Service';
|
|
10
11
|
import { IdiomService } from '../idiom/Service';
|
|
11
12
|
import { INotifyFramework } from '../notify/interfaces';
|
|
12
13
|
import { NextcloudService } from '../nextcloud/Service';
|
|
@@ -25,6 +26,7 @@ export interface IOdeServices {
|
|
|
25
26
|
conf(): ConfService;
|
|
26
27
|
data(): IDataService;
|
|
27
28
|
directory(): DirectoryService;
|
|
29
|
+
googledrive(): GoogleDriveService;
|
|
28
30
|
http(): HttpService;
|
|
29
31
|
idiom(): IdiomService;
|
|
30
32
|
nextcloud(): NextcloudService;
|
|
@@ -45,6 +47,7 @@ export declare class OdeServices implements IOdeServices {
|
|
|
45
47
|
private _conf;
|
|
46
48
|
private _data;
|
|
47
49
|
private _directory;
|
|
50
|
+
private _googledrive;
|
|
48
51
|
private _http;
|
|
49
52
|
private _idiom;
|
|
50
53
|
private _nextcloud;
|
|
@@ -64,6 +67,7 @@ export declare class OdeServices implements IOdeServices {
|
|
|
64
67
|
conf(): ConfService;
|
|
65
68
|
data(): DataService;
|
|
66
69
|
directory(): DirectoryService;
|
|
70
|
+
googledrive(): GoogleDriveService;
|
|
67
71
|
http(): HttpService;
|
|
68
72
|
idiom(): IdiomService;
|
|
69
73
|
nextcloud(): NextcloudService;
|
|
@@ -5,14 +5,14 @@ export type RoleMapperParams = {
|
|
|
5
5
|
extension?: string;
|
|
6
6
|
};
|
|
7
7
|
declare const defaultMappers: {
|
|
8
|
-
readonly csv: ({ type, extension }: RoleMapperParams) =>
|
|
8
|
+
readonly csv: ({ type, extension }: RoleMapperParams) => any;
|
|
9
9
|
readonly doc: ({ type, extension }: RoleMapperParams) => boolean;
|
|
10
10
|
readonly xls: ({ type, extension }: RoleMapperParams) => boolean;
|
|
11
11
|
readonly img: ({ type }: RoleMapperParams) => boolean;
|
|
12
12
|
readonly pdf: ({ type }: RoleMapperParams) => boolean;
|
|
13
13
|
readonly ppt: ({ type, extension }: RoleMapperParams) => boolean;
|
|
14
|
-
readonly txt: ({ type, extension }: RoleMapperParams) =>
|
|
15
|
-
readonly md: ({ type, extension }: RoleMapperParams) =>
|
|
14
|
+
readonly txt: ({ type, extension }: RoleMapperParams) => any;
|
|
15
|
+
readonly md: ({ type, extension }: RoleMapperParams) => any;
|
|
16
16
|
readonly video: ({ type }: RoleMapperParams) => boolean;
|
|
17
17
|
readonly audio: ({ type }: RoleMapperParams) => boolean;
|
|
18
18
|
readonly zip: ({ type }: RoleMapperParams) => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/client",
|
|
3
|
-
"version": "2.6.11-develop-
|
|
3
|
+
"version": "2.6.11-develop-integration.20261102231940",
|
|
4
4
|
"description": "Edifice TypeScript Client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"axios": "1.13.4",
|
|
38
38
|
"core-js": "3.48.0",
|
|
39
39
|
"ua-parser-js": "2.0.9",
|
|
40
|
-
"@edifice.io/utilities": "2.6.11-develop-
|
|
40
|
+
"@edifice.io/utilities": "2.6.11-develop-integration.20261102231940"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/jasmine": "5.1.4",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"typescript": "5.9.3",
|
|
51
51
|
"vite": "5.4.14",
|
|
52
52
|
"vite-plugin-dts": "4.5.4",
|
|
53
|
-
"@edifice.io/config": "2.6.11-develop-
|
|
53
|
+
"@edifice.io/config": "2.6.11-develop-integration.20261102231940"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "vite build",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A calendar owned by, or shared with, the current user.
|
|
3
|
-
*/
|
|
4
|
-
export interface Calendar {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
color: string;
|
|
8
|
-
isExternal: boolean;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* An event of the Agenda module, as surfaced by the homepage "Agenda" widget.
|
|
12
|
-
*/
|
|
13
|
-
export interface CalendarEvent {
|
|
14
|
-
id: string;
|
|
15
|
-
calendarId: string;
|
|
16
|
-
title: string;
|
|
17
|
-
/** ISO 8601 date-time. */
|
|
18
|
-
startMoment: string;
|
|
19
|
-
/** ISO 8601 date-time. */
|
|
20
|
-
endMoment: string;
|
|
21
|
-
allDay: boolean;
|
|
22
|
-
}
|