sea-platform-helpers 1.2.0 → 1.3.0
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/constants/event/index.d.ts +6 -0
- package/dist/constants/event/index.d.ts.map +1 -0
- package/dist/constants/event/index.js +9 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/constants/index.d.ts.map +1 -1
- package/dist/constants/index.js +2 -1
- package/dist/dto/calendar/index.d.ts +1 -0
- package/dist/dto/calendar/index.d.ts.map +1 -1
- package/dist/dto/event/index.d.ts +5 -13
- package/dist/dto/event/index.d.ts.map +1 -1
- package/dist/dto/event/index.js +0 -8
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/constants/event/index.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShownStatuses = void 0;
|
|
4
|
+
var ShownStatuses;
|
|
5
|
+
(function (ShownStatuses) {
|
|
6
|
+
ShownStatuses["Pending"] = "Pending";
|
|
7
|
+
ShownStatuses["Shown"] = "Shown";
|
|
8
|
+
ShownStatuses["Hidden"] = "Hidden";
|
|
9
|
+
})(ShownStatuses || (exports.ShownStatuses = ShownStatuses = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,KAAK,cAAc,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|
package/dist/constants/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.StrategySocket = exports.Task = exports.Project = exports.KPI = exports.OTP = exports.Application = exports.Account = exports.Server = exports.Permission = void 0;
|
|
36
|
+
exports.Event = exports.StrategySocket = exports.Task = exports.Project = exports.KPI = exports.OTP = exports.Application = exports.Account = exports.Server = exports.Permission = void 0;
|
|
37
37
|
exports.Permission = __importStar(require("./permission"));
|
|
38
38
|
exports.Server = __importStar(require("./server"));
|
|
39
39
|
exports.Account = __importStar(require("./account"));
|
|
@@ -43,3 +43,4 @@ exports.KPI = __importStar(require("./kpi"));
|
|
|
43
43
|
exports.Project = __importStar(require("./project"));
|
|
44
44
|
exports.Task = __importStar(require("./task"));
|
|
45
45
|
exports.StrategySocket = __importStar(require("./strategy-socket"));
|
|
46
|
+
exports.Event = __importStar(require("./event"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,0BACf,SAAQ,kBAAkB,CAAC,SAAS,CAAC;IACrC,IAAI,EAAE,SAAS,EAAE,CAAC;CACnB"}
|
|
@@ -1,17 +1,7 @@
|
|
|
1
|
+
import { CONSTANTS } from "../..";
|
|
1
2
|
import { IEventCategory } from "../event-category";
|
|
2
3
|
import { IFile } from "../file";
|
|
3
4
|
import { IArrayDataResponse } from "../global";
|
|
4
|
-
export declare enum ShownStatuses {
|
|
5
|
-
All = "All",
|
|
6
|
-
Pending = "Pending",
|
|
7
|
-
Shown = "Shown",
|
|
8
|
-
Hidden = "Hidden"
|
|
9
|
-
}
|
|
10
|
-
export interface IEventBody {
|
|
11
|
-
contentType: string;
|
|
12
|
-
content: string;
|
|
13
|
-
bodyPreview: string;
|
|
14
|
-
}
|
|
15
5
|
export interface IEventLocation {
|
|
16
6
|
displayName: string;
|
|
17
7
|
locationType: string;
|
|
@@ -20,6 +10,7 @@ export interface IEventAttendee {
|
|
|
20
10
|
name: string;
|
|
21
11
|
email: string;
|
|
22
12
|
responseStatus: string;
|
|
13
|
+
type: string;
|
|
23
14
|
responseAt: string;
|
|
24
15
|
}
|
|
25
16
|
export interface IEventOrganizer {
|
|
@@ -27,9 +18,10 @@ export interface IEventOrganizer {
|
|
|
27
18
|
email: string;
|
|
28
19
|
}
|
|
29
20
|
export interface IEvent {
|
|
21
|
+
id: string;
|
|
30
22
|
azureEventId: string;
|
|
31
23
|
subject: string;
|
|
32
|
-
body?:
|
|
24
|
+
body?: string;
|
|
33
25
|
location: IEventLocation;
|
|
34
26
|
start: string;
|
|
35
27
|
end: string;
|
|
@@ -42,7 +34,7 @@ export interface IEvent {
|
|
|
42
34
|
attendees: IEventAttendee[];
|
|
43
35
|
organizer: IEventOrganizer;
|
|
44
36
|
category?: IEventCategory;
|
|
45
|
-
|
|
37
|
+
shownStatus?: CONSTANTS.Event.ShownStatuses;
|
|
46
38
|
color: string;
|
|
47
39
|
description?: string;
|
|
48
40
|
attachmentFiles: IFile[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dto/event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,MAAM,WAAW,cAAc;IAC7B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: true });
|
|
3
|
-
exports.ShownStatuses = void 0;
|
|
4
|
-
var ShownStatuses;
|
|
5
|
-
(function (ShownStatuses) {
|
|
6
|
-
ShownStatuses["All"] = "All";
|
|
7
|
-
ShownStatuses["Pending"] = "Pending";
|
|
8
|
-
ShownStatuses["Shown"] = "Shown";
|
|
9
|
-
ShownStatuses["Hidden"] = "Hidden";
|
|
10
|
-
})(ShownStatuses || (exports.ShownStatuses = ShownStatuses = {}));
|