@remit/calendar-service 0.0.19 → 0.0.20
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/memory-store.d.ts +42 -42
- package/package.json +1 -1
package/dist/memory-store.d.ts
CHANGED
|
@@ -9,15 +9,13 @@ export declare class MissingRow extends NotFoundError {
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class MemoryCalendarStore implements ICalendarStore {
|
|
11
11
|
readonly collections: Map<string, {
|
|
12
|
-
displayName: string;
|
|
13
|
-
accountConfigId: string;
|
|
14
|
-
createdAt: number;
|
|
15
|
-
updatedAt: number;
|
|
16
|
-
source: "Default" | "UserCreated" | "MailDerived" | "Subscribed";
|
|
17
|
-
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
18
12
|
calendarId: string;
|
|
13
|
+
accountConfigId: string;
|
|
19
14
|
urlSegment: string;
|
|
15
|
+
displayName: string;
|
|
16
|
+
color: "Cal1" | "Cal2" | "Cal3" | "Cal4" | "Cal5" | "Cal6";
|
|
20
17
|
componentSet: "VeventOnly";
|
|
18
|
+
source: "Default" | "UserCreated" | "MailDerived" | "Subscribed";
|
|
21
19
|
timezone: string;
|
|
22
20
|
syncSequence: number;
|
|
23
21
|
subscriptionUrl: string;
|
|
@@ -25,73 +23,75 @@ export declare class MemoryCalendarStore implements ICalendarStore {
|
|
|
25
23
|
subscriptionCheckedAt: number;
|
|
26
24
|
subscriptionFetchedAt: number;
|
|
27
25
|
subscriptionError: string;
|
|
28
|
-
}>;
|
|
29
|
-
readonly objects: Map<string, {
|
|
30
|
-
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
31
26
|
createdAt: number;
|
|
32
27
|
updatedAt: number;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
syncSequence: number;
|
|
36
|
-
etag: string;
|
|
37
|
-
icalData: string;
|
|
28
|
+
}>;
|
|
29
|
+
readonly objects: Map<string, {
|
|
38
30
|
calendarObjectId: string;
|
|
39
|
-
|
|
40
|
-
allDay: boolean;
|
|
41
|
-
transparency: "Opaque" | "Transparent";
|
|
42
|
-
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
43
|
-
hasRecurrence: boolean;
|
|
31
|
+
calendarId: string;
|
|
44
32
|
resourceName: string;
|
|
33
|
+
icalUid: string;
|
|
34
|
+
icalData: string;
|
|
35
|
+
etag: string;
|
|
45
36
|
sequence: number;
|
|
37
|
+
syncSequence: number;
|
|
38
|
+
summary: string;
|
|
46
39
|
dtStart: string;
|
|
47
40
|
dtEnd: string;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
readonly occurrences: Map<string, {
|
|
41
|
+
allDay: boolean;
|
|
42
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
51
43
|
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
44
|
+
transparency: "Opaque" | "Transparent";
|
|
45
|
+
hasRecurrence: boolean;
|
|
46
|
+
expandedThrough: string;
|
|
52
47
|
createdAt: number;
|
|
53
48
|
updatedAt: number;
|
|
54
|
-
|
|
49
|
+
}>;
|
|
50
|
+
readonly occurrences: Map<string, {
|
|
55
51
|
calendarId: string;
|
|
56
52
|
calendarObjectId: string;
|
|
57
53
|
recurrenceId: string;
|
|
58
|
-
allDay: boolean;
|
|
59
|
-
transparency: "Opaque" | "Transparent";
|
|
60
54
|
startAt: string;
|
|
61
55
|
endAt: string;
|
|
56
|
+
allDay: boolean;
|
|
57
|
+
summary: string;
|
|
58
|
+
status: "Confirmed" | "Tentative" | "Cancelled";
|
|
59
|
+
transparency: "Opaque" | "Transparent";
|
|
60
|
+
createdAt: number;
|
|
61
|
+
updatedAt: number;
|
|
62
62
|
}[]>;
|
|
63
63
|
readonly suggestions: Map<string, {
|
|
64
|
+
suggestionId: string;
|
|
64
65
|
accountConfigId: string;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
updatedAt: number;
|
|
68
|
-
source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
|
|
69
|
-
summary: string;
|
|
70
|
-
icalData: string;
|
|
66
|
+
messageId: string;
|
|
67
|
+
bodyPartId: string;
|
|
71
68
|
icalUid: string;
|
|
72
|
-
allDay: boolean;
|
|
73
|
-
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
74
|
-
location: string;
|
|
75
69
|
sequence: number;
|
|
70
|
+
method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
|
|
71
|
+
source: "IcalendarPart" | "IcalendarAttachment" | "TextHeuristic";
|
|
72
|
+
state: "Pending" | "Tentative" | "Accepted" | "Declined" | "Dismissed" | "Superseded";
|
|
73
|
+
summary: string;
|
|
76
74
|
dtStart: string;
|
|
77
75
|
dtEnd: string;
|
|
78
|
-
messageId: string;
|
|
79
|
-
bodyPartId: string;
|
|
80
|
-
suggestionId: string;
|
|
81
|
-
method: "None" | "Request" | "Reply" | "Cancel" | "Counter" | "Publish";
|
|
82
76
|
endsAtUtc: string;
|
|
77
|
+
allDay: boolean;
|
|
78
|
+
location: string;
|
|
83
79
|
organizer: string;
|
|
80
|
+
zoneCertainty: "Local" | "Explicit" | "Ambiguous";
|
|
81
|
+
icalData: string;
|
|
84
82
|
acceptedCalendarObjectId: string;
|
|
85
83
|
supersededByMessageId: string;
|
|
84
|
+
createdAt: number;
|
|
85
|
+
updatedAt: number;
|
|
86
86
|
}>;
|
|
87
87
|
readonly feedTokens: Map<string, {
|
|
88
|
+
feedTokenId: string;
|
|
88
89
|
accountConfigId: string;
|
|
89
|
-
createdAt: number;
|
|
90
|
-
updatedAt: number;
|
|
91
90
|
calendarId: string;
|
|
92
|
-
rotatedAt: number;
|
|
93
|
-
feedTokenId: string;
|
|
94
91
|
tokenHash: string;
|
|
92
|
+
createdAt: number;
|
|
93
|
+
rotatedAt: number;
|
|
94
|
+
updatedAt: number;
|
|
95
95
|
}>;
|
|
96
96
|
private readonly collectionRepo;
|
|
97
97
|
private readonly objectRepo;
|
package/package.json
CHANGED