@hedia/types 2.1.44-alpha.0 → 2.1.45-alpha.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/.github/workflows/on-open-pr-publish-alpha.yaml +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/services/events/logbook.d.ts +11 -0
- package/dist/types/services/events/logbook.js +3 -0
- package/dist/types/services/events/logbook.js.map +1 -0
- package/dist/types/services/rpc/logbook.d.ts +12 -11
- package/package.json +1 -1
- package/types/index.ts +1 -0
- package/types/services/events/logbook.ts +12 -0
- package/types/services/rpc/logbook.ts +14 -13
package/dist/types/index.d.ts
CHANGED
|
@@ -5,5 +5,6 @@ export * from "./services/outbound/email";
|
|
|
5
5
|
export * from "./services/outbound/notification";
|
|
6
6
|
export * from "./services/rpc/auth";
|
|
7
7
|
export * from "./services/rpc/logbook";
|
|
8
|
+
export * from "./services/events/logbook";
|
|
8
9
|
export * from "./userdetails/userdetails";
|
|
9
10
|
export * from "./usersettings/usersettings";
|
package/dist/types/index.js
CHANGED
|
@@ -17,6 +17,7 @@ __exportStar(require("./services/outbound/email"), exports);
|
|
|
17
17
|
__exportStar(require("./services/outbound/notification"), exports);
|
|
18
18
|
__exportStar(require("./services/rpc/auth"), exports);
|
|
19
19
|
__exportStar(require("./services/rpc/logbook"), exports);
|
|
20
|
+
__exportStar(require("./services/events/logbook"), exports);
|
|
20
21
|
__exportStar(require("./userdetails/userdetails"), exports);
|
|
21
22
|
__exportStar(require("./usersettings/usersettings"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,mEAAiD;AACjD,sDAAoC;AACpC,yDAAuC;AACvC,4DAA0C;AAC1C,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,mEAAiD;AACjD,sDAAoC;AACpC,yDAAuC;AACvC,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logbook.js","sourceRoot":"","sources":["../../../../types/services/events/logbook.ts"],"names":[],"mappings":""}
|
|
@@ -5,24 +5,25 @@ export declare namespace LogbookService {
|
|
|
5
5
|
oldUUID: string;
|
|
6
6
|
newUUID: string;
|
|
7
7
|
}
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
interface Cursor {
|
|
9
|
+
created?: CreatedCursor;
|
|
10
|
+
deleted?: string;
|
|
11
|
+
}
|
|
12
|
+
interface CreatedCursor {
|
|
13
|
+
cursor: string;
|
|
14
|
+
hasMore: boolean;
|
|
15
|
+
}
|
|
16
|
+
export interface ILogbookServiceRequest {
|
|
17
|
+
cursor?: Cursor;
|
|
10
18
|
created: Array<Logbook.Types.ILogbookEntry>;
|
|
11
19
|
edited: Array<IEditedUUID>;
|
|
12
20
|
deleted: Array<string>;
|
|
13
21
|
}
|
|
14
|
-
export interface
|
|
15
|
-
|
|
22
|
+
export interface ILogbookServiceResponse {
|
|
23
|
+
cursor?: Cursor;
|
|
16
24
|
created: Array<Logbook.Types.ILogbookEntry>;
|
|
17
25
|
deleted: Array<string>;
|
|
18
26
|
}
|
|
19
|
-
export interface ILogbookGetRequest {
|
|
20
|
-
cursor?: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ILogbookGetResponse {
|
|
23
|
-
cursor?: string;
|
|
24
|
-
logbooks: Array<Logbook.Types.ILogbookEntry>;
|
|
25
|
-
}
|
|
26
27
|
export {};
|
|
27
28
|
}
|
|
28
29
|
}
|
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -5,5 +5,6 @@ export * from "./services/outbound/email";
|
|
|
5
5
|
export * from "./services/outbound/notification";
|
|
6
6
|
export * from "./services/rpc/auth";
|
|
7
7
|
export * from "./services/rpc/logbook";
|
|
8
|
+
export * from "./services/events/logbook";
|
|
8
9
|
export * from "./userdetails/userdetails";
|
|
9
10
|
export * from "./usersettings/usersettings";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Logbook } from "../../logbook/logbook";
|
|
2
|
+
|
|
3
|
+
export namespace LogbookEvents {
|
|
4
|
+
export interface CreateLogbook {
|
|
5
|
+
logbook: Logbook.Types.ILogbookEntry;
|
|
6
|
+
userId: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteLogbook {
|
|
9
|
+
uuid: string;
|
|
10
|
+
userId: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -7,26 +7,27 @@ export namespace LogbookService {
|
|
|
7
7
|
newUUID: string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
interface Cursor {
|
|
11
|
+
created?: CreatedCursor;
|
|
12
|
+
deleted?: string;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface CreatedCursor {
|
|
16
|
+
cursor: string;
|
|
17
|
+
hasMore: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface ILogbookServiceRequest {
|
|
21
|
+
cursor?: Cursor;
|
|
12
22
|
created: Array<Logbook.Types.ILogbookEntry>;
|
|
13
23
|
edited: Array<IEditedUUID>;
|
|
14
24
|
deleted: Array<string>;
|
|
15
25
|
}
|
|
16
26
|
|
|
17
|
-
export interface
|
|
18
|
-
|
|
27
|
+
export interface ILogbookServiceResponse {
|
|
28
|
+
cursor?: Cursor;
|
|
19
29
|
created: Array<Logbook.Types.ILogbookEntry>;
|
|
20
30
|
deleted: Array<string>;
|
|
21
31
|
}
|
|
22
|
-
|
|
23
|
-
export interface ILogbookGetRequest {
|
|
24
|
-
cursor?: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ILogbookGetResponse {
|
|
28
|
-
cursor?: string;
|
|
29
|
-
logbooks: Array<Logbook.Types.ILogbookEntry>;
|
|
30
|
-
}
|
|
31
32
|
}
|
|
32
33
|
}
|