@plotday/twister 0.34.0 → 0.35.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/common/calendar.d.ts +20 -90
- package/dist/common/calendar.d.ts.map +1 -1
- package/dist/common/documents.d.ts +26 -39
- package/dist/common/documents.d.ts.map +1 -1
- package/dist/common/messaging.d.ts +21 -40
- package/dist/common/messaging.d.ts.map +1 -1
- package/dist/common/projects.d.ts +27 -51
- package/dist/common/projects.d.ts.map +1 -1
- package/dist/docs/assets/hierarchy.js +1 -1
- package/dist/docs/assets/navigation.js +1 -1
- package/dist/docs/assets/search.js +1 -1
- package/dist/docs/classes/tool.ITool.html +1 -1
- package/dist/docs/classes/tool.Tool.html +24 -20
- package/dist/docs/classes/tools_ai.AI.html +1 -1
- package/dist/docs/classes/tools_callbacks.Callbacks.html +1 -1
- package/dist/docs/classes/tools_integrations.Integrations.html +33 -26
- package/dist/docs/classes/tools_network.Network.html +1 -1
- package/dist/docs/classes/tools_plot.Plot.html +3 -3
- package/dist/docs/classes/tools_store.Store.html +10 -4
- package/dist/docs/classes/tools_tasks.Tasks.html +1 -1
- package/dist/docs/classes/tools_twists.Twists.html +1 -1
- package/dist/docs/enums/plot.ActorType.html +4 -4
- package/dist/docs/enums/tools_integrations.AuthProvider.html +11 -11
- package/dist/docs/hierarchy.html +1 -1
- package/dist/docs/modules/common_calendar.html +1 -1
- package/dist/docs/modules/index.html +1 -1
- package/dist/docs/modules/plot.html +1 -1
- package/dist/docs/modules/tool.html +1 -1
- package/dist/docs/modules/tools_integrations.html +1 -1
- package/dist/docs/types/common_calendar.Calendar.html +5 -5
- package/dist/docs/types/common_calendar.CalendarTool.html +17 -43
- package/dist/docs/types/common_calendar.SyncOptions.html +3 -3
- package/dist/docs/types/plot.Activity.html +1 -1
- package/dist/docs/types/plot.ActivityFilter.html +3 -0
- package/dist/docs/types/plot.ActivityOccurrence.html +7 -7
- package/dist/docs/types/plot.ActivityOccurrenceUpdate.html +1 -1
- package/dist/docs/types/plot.ActivityUpdate.html +3 -31
- package/dist/docs/types/plot.ActivityWithNotes.html +1 -1
- package/dist/docs/types/plot.Actor.html +5 -5
- package/dist/docs/types/plot.ContentType.html +1 -1
- package/dist/docs/types/plot.NewActivity.html +1 -1
- package/dist/docs/types/plot.NewActivityOccurrence.html +1 -1
- package/dist/docs/types/plot.NewActivityWithNotes.html +1 -1
- package/dist/docs/types/plot.NewActor.html +1 -1
- package/dist/docs/types/plot.NewContact.html +5 -5
- package/dist/docs/types/plot.NewNote.html +1 -1
- package/dist/docs/types/plot.Note.html +1 -1
- package/dist/docs/types/plot.NoteUpdate.html +1 -1
- package/dist/docs/types/plot.PickPriorityConfig.html +2 -2
- package/dist/docs/types/tool.SyncToolOptions.html +9 -0
- package/dist/docs/types/tools_integrations.AuthToken.html +4 -4
- package/dist/docs/types/tools_integrations.Authorization.html +4 -4
- package/dist/docs/types/tools_integrations.IntegrationOptions.html +4 -0
- package/dist/docs/types/tools_integrations.IntegrationProviderConfig.html +13 -0
- package/dist/docs/types/tools_integrations.Syncable.html +7 -0
- package/dist/llm-docs/common/calendar.d.ts +1 -1
- package/dist/llm-docs/common/calendar.d.ts.map +1 -1
- package/dist/llm-docs/common/calendar.js +1 -1
- package/dist/llm-docs/common/calendar.js.map +1 -1
- package/dist/llm-docs/common/documents.d.ts +1 -1
- package/dist/llm-docs/common/documents.d.ts.map +1 -1
- package/dist/llm-docs/common/documents.js +1 -1
- package/dist/llm-docs/common/documents.js.map +1 -1
- package/dist/llm-docs/common/messaging.d.ts +1 -1
- package/dist/llm-docs/common/messaging.d.ts.map +1 -1
- package/dist/llm-docs/common/messaging.js +1 -1
- package/dist/llm-docs/common/messaging.js.map +1 -1
- package/dist/llm-docs/common/projects.d.ts +1 -1
- package/dist/llm-docs/common/projects.d.ts.map +1 -1
- package/dist/llm-docs/common/projects.js +1 -1
- package/dist/llm-docs/common/projects.js.map +1 -1
- package/dist/llm-docs/plot.d.ts +1 -1
- package/dist/llm-docs/plot.d.ts.map +1 -1
- package/dist/llm-docs/plot.js +1 -1
- package/dist/llm-docs/plot.js.map +1 -1
- package/dist/llm-docs/tool.d.ts +1 -1
- package/dist/llm-docs/tool.d.ts.map +1 -1
- package/dist/llm-docs/tool.js +1 -1
- package/dist/llm-docs/tool.js.map +1 -1
- package/dist/llm-docs/tools/integrations.d.ts +1 -1
- package/dist/llm-docs/tools/integrations.d.ts.map +1 -1
- package/dist/llm-docs/tools/integrations.js +1 -1
- package/dist/llm-docs/tools/integrations.js.map +1 -1
- package/dist/llm-docs/tools/plot.d.ts +1 -1
- package/dist/llm-docs/tools/plot.d.ts.map +1 -1
- package/dist/llm-docs/tools/plot.js +1 -1
- package/dist/llm-docs/tools/plot.js.map +1 -1
- package/dist/llm-docs/tools/store.d.ts +1 -1
- package/dist/llm-docs/tools/store.d.ts.map +1 -1
- package/dist/llm-docs/tools/store.js +1 -1
- package/dist/llm-docs/tools/store.js.map +1 -1
- package/dist/plot.d.ts +32 -13
- package/dist/plot.d.ts.map +1 -1
- package/dist/plot.js.map +1 -1
- package/dist/tool.d.ts +22 -1
- package/dist/tool.d.ts.map +1 -1
- package/dist/tool.js +9 -0
- package/dist/tool.js.map +1 -1
- package/dist/tools/integrations.d.ts +86 -46
- package/dist/tools/integrations.d.ts.map +1 -1
- package/dist/tools/integrations.js +36 -21
- package/dist/tools/integrations.js.map +1 -1
- package/dist/tools/plot.d.ts +3 -1
- package/dist/tools/plot.d.ts.map +1 -1
- package/dist/tools/store.d.ts +10 -0
- package/dist/tools/store.d.ts.map +1 -1
- package/dist/tools/store.js.map +1 -1
- package/package.json +1 -1
- package/dist/docs/types/common_calendar.CalendarAuth.html +0 -7
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
/**
|
|
3
|
-
* Represents successful calendar authorization.
|
|
4
|
-
*
|
|
5
|
-
* Returned by calendar tools when authorization completes successfully.
|
|
6
|
-
* The auth token is an opaque identifier that can be used for subsequent
|
|
7
|
-
* calendar operations.
|
|
8
|
-
*/
|
|
9
|
-
export type CalendarAuth = {
|
|
10
|
-
/** Opaque token for calendar operations */
|
|
11
|
-
authToken: string;
|
|
12
|
-
};
|
|
1
|
+
import type { NewActivityWithNotes, Serializable } from "../index";
|
|
13
2
|
/**
|
|
14
3
|
* Represents a calendar from an external calendar service.
|
|
15
4
|
*
|
|
@@ -73,13 +62,12 @@ export type SyncOptions = {
|
|
|
73
62
|
* - Easier testing of tools in isolation
|
|
74
63
|
*
|
|
75
64
|
* **Implementation Pattern:**
|
|
76
|
-
* 1.
|
|
77
|
-
* 2.
|
|
78
|
-
* 3.
|
|
79
|
-
* 4.
|
|
80
|
-
* 5.
|
|
81
|
-
* 6. **
|
|
82
|
-
* 7. **Twist decides** whether to save using createActivity/updateActivity
|
|
65
|
+
* 1. Authorization is handled via the twist edit modal (Integrations provider config)
|
|
66
|
+
* 2. Tool declares providers and lifecycle callbacks in build()
|
|
67
|
+
* 3. onAuthorized lists available calendars and calls setSyncables()
|
|
68
|
+
* 4. User enables calendars in the modal → onSyncEnabled fires
|
|
69
|
+
* 5. **Tool builds NewActivity objects** and passes them to the twist via callback
|
|
70
|
+
* 6. **Twist decides** whether to save using createActivity/updateActivity
|
|
83
71
|
*
|
|
84
72
|
* **Tool Implementation Rules:**
|
|
85
73
|
* - **DO** build Activity/Note objects from external data
|
|
@@ -93,70 +81,28 @@ export type SyncOptions = {
|
|
|
93
81
|
*
|
|
94
82
|
* @example
|
|
95
83
|
* ```typescript
|
|
96
|
-
* // Typical calendar integration flow using source/key upserts
|
|
97
84
|
* class MyCalendarTwist extends Twist {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* await this.plot.createActivity({
|
|
104
|
-
* type: ActivityType.Action,
|
|
105
|
-
* title: "Connect Google Calendar",
|
|
106
|
-
* links: [authLink],
|
|
107
|
-
* });
|
|
108
|
-
* }
|
|
109
|
-
*
|
|
110
|
-
* async onAuthComplete(auth: CalendarAuth) {
|
|
111
|
-
* // Step 2: Get available calendars
|
|
112
|
-
* const calendars = await this.googleCalendar.getCalendars(auth.authToken);
|
|
113
|
-
*
|
|
114
|
-
* // Step 3: Start sync for primary calendar
|
|
115
|
-
* const primaryCalendar = calendars.find(c => c.primary);
|
|
116
|
-
* if (primaryCalendar) {
|
|
117
|
-
* await this.googleCalendar.startSync(
|
|
118
|
-
* {
|
|
119
|
-
* authToken: auth.authToken,
|
|
120
|
-
* calendarId: primaryCalendar.id
|
|
121
|
-
* },
|
|
122
|
-
* this.onCalendarEvent, // Callback receives data from tool
|
|
123
|
-
* { initialSync: true }
|
|
124
|
-
* );
|
|
125
|
-
* }
|
|
85
|
+
* build(build: ToolBuilder) {
|
|
86
|
+
* return {
|
|
87
|
+
* googleCalendar: build(GoogleCalendar),
|
|
88
|
+
* plot: build(Plot, { activity: { access: ActivityAccess.Create } }),
|
|
89
|
+
* };
|
|
126
90
|
* }
|
|
127
91
|
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
* syncMeta: { initialSync: boolean }
|
|
131
|
-
* ) {
|
|
132
|
-
* // Step 4: Twist decides what to do with the data
|
|
133
|
-
* // Tool built the NewActivity, twist saves it
|
|
134
|
-
* await this.plot.createActivity(activity);
|
|
135
|
-
* }
|
|
92
|
+
* // Auth and calendar selection handled in the twist edit modal.
|
|
93
|
+
* // Events are delivered via the startSync callback.
|
|
136
94
|
* }
|
|
137
95
|
* ```
|
|
138
96
|
*/
|
|
139
97
|
export type CalendarTool = {
|
|
140
|
-
/**
|
|
141
|
-
* Initiates the authorization flow for the calendar service.
|
|
142
|
-
*
|
|
143
|
-
* @param callback - Function receiving (auth, ...extraArgs) when auth completes
|
|
144
|
-
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
145
|
-
* @returns Promise resolving to an ActivityLink to initiate the auth flow
|
|
146
|
-
*/
|
|
147
|
-
requestAuth<TArgs extends Serializable[], TCallback extends (auth: CalendarAuth, ...args: TArgs) => any>(callback: TCallback, ...extraArgs: TArgs): Promise<ActivityLink>;
|
|
148
98
|
/**
|
|
149
99
|
* Retrieves the list of calendars accessible to the authenticated user.
|
|
150
100
|
*
|
|
151
|
-
*
|
|
152
|
-
* their primary calendar and any shared calendars. This list can be
|
|
153
|
-
* presented to users for calendar selection.
|
|
154
|
-
*
|
|
155
|
-
* @param authToken - Authorization token from successful auth flow
|
|
101
|
+
* @param calendarId - A calendar ID to use for auth lookup
|
|
156
102
|
* @returns Promise resolving to array of available calendars
|
|
157
|
-
* @throws When
|
|
103
|
+
* @throws When no valid authorization is available
|
|
158
104
|
*/
|
|
159
|
-
getCalendars(
|
|
105
|
+
getCalendars(calendarId: string): Promise<Calendar[]>;
|
|
160
106
|
/**
|
|
161
107
|
* Begins synchronizing events from a specific calendar.
|
|
162
108
|
*
|
|
@@ -164,42 +110,26 @@ export type CalendarTool = {
|
|
|
164
110
|
* event import and ongoing change notifications. The callback function
|
|
165
111
|
* will be invoked for each synced event.
|
|
166
112
|
*
|
|
167
|
-
*
|
|
168
|
-
* - Set Activity.source to the event's canonical URL (e.g., event.htmlLink)
|
|
169
|
-
* - Use Note.key for event details (description, attendees, etc.) to enable upserts
|
|
170
|
-
* - No manual ID tracking needed - Plot handles deduplication automatically
|
|
171
|
-
* - Send NewActivityWithNotes for all events (creates new or updates existing)
|
|
172
|
-
* - Set activity.unread = false for initial sync, omit for incremental updates
|
|
173
|
-
*
|
|
174
|
-
* **Alternative** (Strategy 3 - Advanced cases):
|
|
175
|
-
* - Use Uuid.Generate() and store ID mappings when creating multiple activities per event
|
|
176
|
-
* - See SYNC_STRATEGIES.md for when this is appropriate
|
|
113
|
+
* Auth is obtained automatically via integrations.get(provider, calendarId).
|
|
177
114
|
*
|
|
178
115
|
* @param options - Sync configuration options
|
|
179
|
-
* @param options.authToken - Authorization token for calendar access
|
|
180
116
|
* @param options.calendarId - ID of the calendar to sync
|
|
181
117
|
* @param options.timeMin - Earliest date to sync events from (inclusive)
|
|
182
118
|
* @param options.timeMax - Latest date to sync events to (exclusive)
|
|
183
119
|
* @param callback - Function receiving (activity, ...extraArgs) for each synced event
|
|
184
120
|
* @param extraArgs - Additional arguments to pass to the callback (type-checked, no functions allowed)
|
|
185
121
|
* @returns Promise that resolves when sync setup is complete
|
|
186
|
-
* @throws When
|
|
122
|
+
* @throws When no valid authorization or calendar doesn't exist
|
|
187
123
|
*/
|
|
188
124
|
startSync<TArgs extends Serializable[], TCallback extends (activity: NewActivityWithNotes, ...args: TArgs) => any>(options: {
|
|
189
|
-
authToken: string;
|
|
190
125
|
calendarId: string;
|
|
191
126
|
} & SyncOptions, callback: TCallback, ...extraArgs: TArgs): Promise<void>;
|
|
192
127
|
/**
|
|
193
128
|
* Stops synchronizing events from a specific calendar.
|
|
194
129
|
*
|
|
195
|
-
* Disables real-time sync and cleans up any webhooks or polling
|
|
196
|
-
* mechanisms for the specified calendar. No further events will
|
|
197
|
-
* be synced after this call.
|
|
198
|
-
*
|
|
199
|
-
* @param authToken - Authorization token for calendar access
|
|
200
130
|
* @param calendarId - ID of the calendar to stop syncing
|
|
201
131
|
* @returns Promise that resolves when sync is stopped
|
|
202
132
|
*/
|
|
203
|
-
stopSync(
|
|
133
|
+
stopSync(calendarId: string): Promise<void>;
|
|
204
134
|
};
|
|
205
135
|
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/common/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/common/calendar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,MAAM,QAAQ,GAAG;IACrB,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,0DAA0D;IAC1D,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;OAMG;IACH,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEtD;;;;;;;;;;;;;;;;;OAiBG;IACH,SAAS,CACP,KAAK,SAAS,YAAY,EAAE,EAC5B,SAAS,SAAS,CAAC,QAAQ,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,KAAK,KAAK,GAAG,EAEzE,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;KACpB,GAAG,WAAW,EACf,QAAQ,EAAE,SAAS,EACnB,GAAG,SAAS,EAAE,KAAK,GAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7C,CAAC"}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
/**
|
|
3
|
-
* Represents a successful document service authorization.
|
|
4
|
-
*
|
|
5
|
-
* Returned by document tools when authorization completes successfully.
|
|
6
|
-
* The auth token is an opaque identifier that can be used for subsequent
|
|
7
|
-
* document operations.
|
|
8
|
-
*/
|
|
9
|
-
export type DocumentAuth = {
|
|
10
|
-
/** Opaque token for document operations */
|
|
11
|
-
authToken: string;
|
|
12
|
-
};
|
|
1
|
+
import type { ActivityMeta, NewActivityWithNotes, Serializable } from "../index";
|
|
13
2
|
/**
|
|
14
3
|
* Represents a folder from an external document service.
|
|
15
4
|
*
|
|
@@ -43,6 +32,20 @@ export type DocumentSyncOptions = {
|
|
|
43
32
|
* All synced documents are converted to ActivityWithNotes objects.
|
|
44
33
|
* Each document becomes an Activity with Notes for the description and comments.
|
|
45
34
|
*
|
|
35
|
+
* **Architecture: Tools Build, Twists Save**
|
|
36
|
+
*
|
|
37
|
+
* Document tools follow Plot's core architectural principle:
|
|
38
|
+
* - **Tools**: Fetch external data and transform it into Plot format (NewActivity objects)
|
|
39
|
+
* - **Twists**: Receive the data and decide what to do with it (create, update, filter, etc.)
|
|
40
|
+
*
|
|
41
|
+
* **Implementation Pattern:**
|
|
42
|
+
* 1. Authorization is handled via the twist edit modal (Integrations provider config)
|
|
43
|
+
* 2. Tool declares providers and lifecycle callbacks in build()
|
|
44
|
+
* 3. onAuthorized lists available folders and calls setSyncables()
|
|
45
|
+
* 4. User enables folders in the modal → onSyncEnabled fires
|
|
46
|
+
* 5. **Tool builds NewActivity objects** and passes them to the twist via callback
|
|
47
|
+
* 6. **Twist decides** whether to save using createActivity/updateActivity
|
|
48
|
+
*
|
|
46
49
|
* **Recommended Data Sync Strategy:**
|
|
47
50
|
* Use Activity.source and Note.key for automatic upserts.
|
|
48
51
|
*
|
|
@@ -56,37 +59,21 @@ export type DocumentSyncOptions = {
|
|
|
56
59
|
* - Set `activity.unread = false` for initial sync, omit for incremental updates
|
|
57
60
|
*/
|
|
58
61
|
export type DocumentTool = {
|
|
59
|
-
/**
|
|
60
|
-
* Initiates the authorization flow for the document service.
|
|
61
|
-
*
|
|
62
|
-
* @param callback - Function receiving (auth, ...extraArgs) when auth completes
|
|
63
|
-
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
64
|
-
* @returns Promise resolving to an ActivityLink to initiate the auth flow
|
|
65
|
-
*/
|
|
66
|
-
requestAuth<TArgs extends Serializable[], TCallback extends (auth: DocumentAuth, ...args: TArgs) => any>(callback: TCallback, ...extraArgs: TArgs): Promise<ActivityLink>;
|
|
67
62
|
/**
|
|
68
63
|
* Retrieves the list of folders accessible to the user.
|
|
69
64
|
*
|
|
70
|
-
* @param
|
|
65
|
+
* @param folderId - A folder ID to use for auth lookup
|
|
71
66
|
* @returns Promise resolving to array of available folders
|
|
72
67
|
*/
|
|
73
|
-
getFolders(
|
|
68
|
+
getFolders(folderId: string): Promise<DocumentFolder[]>;
|
|
74
69
|
/**
|
|
75
70
|
* Begins synchronizing documents from a specific folder.
|
|
76
71
|
*
|
|
77
72
|
* Documents are converted to NewActivityWithNotes objects.
|
|
78
73
|
*
|
|
79
|
-
*
|
|
80
|
-
* - Set Activity.source to `"{provider}:file:{fileId}"`
|
|
81
|
-
* - Use Note.key for document details:
|
|
82
|
-
* - key: "summary" for description (upserts on changes)
|
|
83
|
-
* - key: "comment-{commentId}" for individual comments (unique per comment)
|
|
84
|
-
* - key: "reply-{commentId}-{replyId}" for comment replies
|
|
85
|
-
* - Send NewActivityWithNotes for all documents (creates new or updates existing)
|
|
86
|
-
* - Set activity.unread = false for initial sync, omit for incremental updates
|
|
74
|
+
* Auth is obtained automatically via integrations.get(provider, folderId).
|
|
87
75
|
*
|
|
88
76
|
* @param options - Sync configuration options
|
|
89
|
-
* @param options.authToken - Authorization token for access
|
|
90
77
|
* @param options.folderId - ID of the folder to sync
|
|
91
78
|
* @param options.timeMin - Earliest date to sync documents from (inclusive)
|
|
92
79
|
* @param callback - Function receiving (activity, ...extraArgs) for each synced document
|
|
@@ -94,42 +81,42 @@ export type DocumentTool = {
|
|
|
94
81
|
* @returns Promise that resolves when sync setup is complete
|
|
95
82
|
*/
|
|
96
83
|
startSync<TArgs extends Serializable[], TCallback extends (activity: NewActivityWithNotes, ...args: TArgs) => any>(options: {
|
|
97
|
-
authToken: string;
|
|
98
84
|
folderId: string;
|
|
99
85
|
} & DocumentSyncOptions, callback: TCallback, ...extraArgs: TArgs): Promise<void>;
|
|
100
86
|
/**
|
|
101
87
|
* Stops synchronizing documents from a specific folder.
|
|
102
88
|
*
|
|
103
|
-
* @param authToken - Authorization token for access
|
|
104
89
|
* @param folderId - ID of the folder to stop syncing
|
|
105
90
|
* @returns Promise that resolves when sync is stopped
|
|
106
91
|
*/
|
|
107
|
-
stopSync(
|
|
92
|
+
stopSync(folderId: string): Promise<void>;
|
|
108
93
|
/**
|
|
109
94
|
* Adds a comment to a document.
|
|
110
95
|
*
|
|
111
96
|
* Optional method for bidirectional sync. When implemented, allows Plot to
|
|
112
97
|
* sync notes added to activities back as comments on the external document.
|
|
113
98
|
*
|
|
114
|
-
* The tool should extract its own ID
|
|
99
|
+
* Auth is obtained automatically. The tool should extract its own ID
|
|
100
|
+
* from meta (e.g., fileId).
|
|
115
101
|
*
|
|
116
|
-
* @param authToken - Authorization token for access
|
|
117
102
|
* @param meta - Activity metadata containing the tool's document identifier
|
|
118
103
|
* @param body - The comment text content
|
|
119
104
|
* @param noteId - Optional Plot note ID for deduplication
|
|
120
105
|
* @returns The external comment key (e.g. "comment-123") for dedup, or void
|
|
121
106
|
*/
|
|
122
|
-
addDocumentComment?(
|
|
107
|
+
addDocumentComment?(meta: ActivityMeta, body: string, noteId?: string): Promise<string | void>;
|
|
123
108
|
/**
|
|
124
109
|
* Adds a reply to an existing comment thread on a document.
|
|
125
110
|
*
|
|
126
|
-
*
|
|
111
|
+
* Auth is obtained automatically. The tool should extract its own ID
|
|
112
|
+
* from meta (e.g., fileId).
|
|
113
|
+
*
|
|
127
114
|
* @param meta - Activity metadata containing the tool's document identifier
|
|
128
115
|
* @param commentId - The external comment ID to reply to
|
|
129
116
|
* @param body - The reply text content
|
|
130
117
|
* @param noteId - Optional Plot note ID for deduplication
|
|
131
118
|
* @returns The external reply key (e.g. "reply-123-456") for dedup, or void
|
|
132
119
|
*/
|
|
133
|
-
addDocumentReply?(
|
|
120
|
+
addDocumentReply?(meta: ActivityMeta, commentId: string, body: string, noteId?: string): Promise<string | void>;
|
|
134
121
|
};
|
|
135
122
|
//# sourceMappingURL=documents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/common/documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/common/documents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACb,MAAM,UAAU,CAAC;AAElB;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,2DAA2D;IAC3D,EAAE,EAAE,MAAM,CAAC;IACX,wCAAwC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,kEAAkE;IAClE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,6EAA6E;IAC7E,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,uDAAuD;IACvD,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;OAKG;IACH,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAExD;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,KAAK,SAAS,YAAY,EAAE,EAC5B,SAAS,SAAS,CAAC,QAAQ,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,KAAK,KAAK,GAAG,EAEzE,OAAO,EAAE;QACP,QAAQ,EAAE,MAAM,CAAC;KAClB,GAAG,mBAAmB,EACvB,QAAQ,EAAE,SAAS,EACnB,GAAG,SAAS,EAAE,KAAK,GAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1C;;;;;;;;;;;;;OAaG;IACH,kBAAkB,CAAC,CACjB,IAAI,EAAE,YAAY,EAClB,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAE1B;;;;;;;;;;;OAWG;IACH,gBAAgB,CAAC,CACf,IAAI,EAAE,YAAY,EAClB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC3B,CAAC"}
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
/**
|
|
3
|
-
* Represents a successful messaging service authorization.
|
|
4
|
-
*
|
|
5
|
-
* Returned by messaging tools when authorization completes successfully.
|
|
6
|
-
* The auth token is an opaque identifier that can be used for subsequent
|
|
7
|
-
* messaging operations.
|
|
8
|
-
*/
|
|
9
|
-
export type MessagingAuth = {
|
|
10
|
-
/** Opaque token for messaging operations */
|
|
11
|
-
authToken: string;
|
|
12
|
-
};
|
|
1
|
+
import type { NewActivityWithNotes, Serializable } from "../index";
|
|
13
2
|
/**
|
|
14
3
|
* Represents a channel from an external messaging service.
|
|
15
4
|
*
|
|
16
5
|
* Contains metadata about a specific channel that can be synced
|
|
17
|
-
* with Plot.
|
|
6
|
+
* with Plot. Different messaging providers may have additional
|
|
7
|
+
* provider-specific properties.
|
|
18
8
|
*/
|
|
19
9
|
export type MessageChannel = {
|
|
20
10
|
/** Unique identifier for the channel within the provider */
|
|
@@ -42,45 +32,38 @@ export type MessageSyncOptions = {
|
|
|
42
32
|
* All synced messages/emails are converted to ActivityWithNotes objects.
|
|
43
33
|
* Each email thread or chat conversation becomes an Activity with Notes for each message.
|
|
44
34
|
*
|
|
35
|
+
* **Architecture: Tools Build, Twists Save**
|
|
36
|
+
*
|
|
37
|
+
* Messaging tools follow Plot's core architectural principle:
|
|
38
|
+
* - **Tools**: Fetch external data and transform it into Plot format (NewActivity objects)
|
|
39
|
+
* - **Twists**: Receive the data and decide what to do with it (create, update, filter, etc.)
|
|
40
|
+
*
|
|
41
|
+
* **Implementation Pattern:**
|
|
42
|
+
* 1. Authorization is handled via the twist edit modal (Integrations provider config)
|
|
43
|
+
* 2. Tool declares providers and lifecycle callbacks in build()
|
|
44
|
+
* 3. onAuthorized lists available channels and calls setSyncables()
|
|
45
|
+
* 4. User enables channels in the modal → onSyncEnabled fires
|
|
46
|
+
* 5. **Tool builds NewActivity objects** and passes them to the twist via callback
|
|
47
|
+
* 6. **Twist decides** whether to save using createActivity/updateActivity
|
|
48
|
+
*
|
|
45
49
|
* **Recommended Data Sync Strategy:**
|
|
46
50
|
* Use Activity.source (thread URL or ID) and Note.key (message ID) for automatic upserts.
|
|
47
51
|
* See SYNC_STRATEGIES.md for detailed patterns.
|
|
48
52
|
*/
|
|
49
53
|
export type MessagingTool = {
|
|
50
|
-
/**
|
|
51
|
-
* Initiates the authorization flow for the service.
|
|
52
|
-
*
|
|
53
|
-
* @param callback - Function receiving (auth, ...extraArgs) when auth completes
|
|
54
|
-
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
55
|
-
* @returns Promise resolving to an ActivityLink to initiate the auth flow
|
|
56
|
-
*/
|
|
57
|
-
requestAuth<TArgs extends Serializable[], TCallback extends (auth: MessagingAuth, ...args: TArgs) => any>(callback: TCallback, ...extraArgs: TArgs): Promise<ActivityLink>;
|
|
58
54
|
/**
|
|
59
55
|
* Retrieves the list of conversation channels (inboxes, channels) accessible to the user.
|
|
60
56
|
*
|
|
61
|
-
* @param
|
|
57
|
+
* @param channelId - A channel ID to use for auth lookup
|
|
62
58
|
* @returns Promise resolving to array of available conversation channels
|
|
63
59
|
*/
|
|
64
|
-
getChannels(
|
|
60
|
+
getChannels(channelId: string): Promise<MessageChannel[]>;
|
|
65
61
|
/**
|
|
66
62
|
* Begins synchronizing messages from a specific channel.
|
|
67
63
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* **Recommended Implementation** (Strategy 2 - Upsert via Source/Key):
|
|
71
|
-
* - Set Activity.source to the thread/conversation URL or stable ID (e.g., "slack:{channelId}:{threadTs}")
|
|
72
|
-
* - Use Note.key for individual messages (e.g., "message-{messageId}")
|
|
73
|
-
* - Each message becomes a separate note with unique key for upserts
|
|
74
|
-
* - No manual ID tracking needed - Plot handles deduplication automatically
|
|
75
|
-
* - Send NewActivityWithNotes for all threads (creates new or updates existing)
|
|
76
|
-
* - Set activity.unread = false for initial sync, omit for incremental updates
|
|
77
|
-
*
|
|
78
|
-
* **Alternative** (Strategy 3 - Advanced cases):
|
|
79
|
-
* - Use Uuid.Generate() and store ID mappings when creating multiple activities per thread
|
|
80
|
-
* - See SYNC_STRATEGIES.md for when this is appropriate
|
|
64
|
+
* Auth is obtained automatically via integrations.get(provider, channelId).
|
|
81
65
|
*
|
|
82
66
|
* @param options - Sync configuration options
|
|
83
|
-
* @param options.authToken - Authorization token for access
|
|
84
67
|
* @param options.channelId - ID of the channel (e.g., channel, inbox) to sync
|
|
85
68
|
* @param options.timeMin - Earliest date to sync events from (inclusive)
|
|
86
69
|
* @param callback - Function receiving (thread, ...extraArgs) for each synced conversation
|
|
@@ -88,16 +71,14 @@ export type MessagingTool = {
|
|
|
88
71
|
* @returns Promise that resolves when sync setup is complete
|
|
89
72
|
*/
|
|
90
73
|
startSync<TArgs extends Serializable[], TCallback extends (thread: NewActivityWithNotes, ...args: TArgs) => any>(options: {
|
|
91
|
-
authToken: string;
|
|
92
74
|
channelId: string;
|
|
93
75
|
} & MessageSyncOptions, callback: TCallback, ...extraArgs: TArgs): Promise<void>;
|
|
94
76
|
/**
|
|
95
77
|
* Stops synchronizing messages from a specific channel.
|
|
96
78
|
*
|
|
97
|
-
* @param authToken - Authorization token for access
|
|
98
79
|
* @param channelId - ID of the channel to stop syncing
|
|
99
80
|
* @returns Promise that resolves when sync is stopped
|
|
100
81
|
*/
|
|
101
|
-
stopSync(
|
|
82
|
+
stopSync(channelId: string): Promise<void>;
|
|
102
83
|
};
|
|
103
84
|
//# sourceMappingURL=messaging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/common/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"messaging.d.ts","sourceRoot":"","sources":["../../src/common/messaging.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAEnE;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,4DAA4D;IAC5D,EAAE,EAAE,MAAM,CAAC;IACX,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;IACb,mEAAmE;IACnE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,4EAA4E;IAC5E,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,oDAAoD;IACpD,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;OAKG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAE1D;;;;;;;;;;;OAWG;IACH,SAAS,CACP,KAAK,SAAS,YAAY,EAAE,EAC5B,SAAS,SAAS,CAAC,MAAM,EAAE,oBAAoB,EAAE,GAAG,IAAI,EAAE,KAAK,KAAK,GAAG,EAEvE,OAAO,EAAE;QACP,SAAS,EAAE,MAAM,CAAC;KACnB,GAAG,kBAAkB,EACtB,QAAQ,EAAE,SAAS,EACnB,GAAG,SAAS,EAAE,KAAK,GAClB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5C,CAAC"}
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import type { Activity,
|
|
2
|
-
/**
|
|
3
|
-
* Represents a successful project management service authorization.
|
|
4
|
-
*
|
|
5
|
-
* Returned by project management tools when authorization completes successfully.
|
|
6
|
-
* The auth token is an opaque identifier that can be used for subsequent
|
|
7
|
-
* project operations.
|
|
8
|
-
*/
|
|
9
|
-
export type ProjectAuth = {
|
|
10
|
-
/** Opaque token for project management operations */
|
|
11
|
-
authToken: string;
|
|
12
|
-
};
|
|
1
|
+
import type { Activity, ActivityMeta, NewActivityWithNotes, Serializable } from "../index";
|
|
13
2
|
/**
|
|
14
3
|
* Represents a project from an external project management service.
|
|
15
4
|
*
|
|
16
5
|
* Contains metadata about a specific project/board/workspace that can be synced
|
|
17
|
-
* with Plot.
|
|
6
|
+
* with Plot. Different project providers may have additional
|
|
7
|
+
* provider-specific properties.
|
|
18
8
|
*/
|
|
19
9
|
export type Project = {
|
|
20
10
|
/** Unique identifier for the project within the provider */
|
|
@@ -42,47 +32,38 @@ export type ProjectSyncOptions = {
|
|
|
42
32
|
* All synced issues/tasks are converted to ActivityWithNotes objects.
|
|
43
33
|
* Each issue becomes an Activity with Notes for the description and comments.
|
|
44
34
|
*
|
|
35
|
+
* **Architecture: Tools Build, Twists Save**
|
|
36
|
+
*
|
|
37
|
+
* Project tools follow Plot's core architectural principle:
|
|
38
|
+
* - **Tools**: Fetch external data and transform it into Plot format (NewActivity objects)
|
|
39
|
+
* - **Twists**: Receive the data and decide what to do with it (create, update, filter, etc.)
|
|
40
|
+
*
|
|
41
|
+
* **Implementation Pattern:**
|
|
42
|
+
* 1. Authorization is handled via the twist edit modal (Integrations provider config)
|
|
43
|
+
* 2. Tool declares providers and lifecycle callbacks in build()
|
|
44
|
+
* 3. onAuthorized lists available projects and calls setSyncables()
|
|
45
|
+
* 4. User enables projects in the modal → onSyncEnabled fires
|
|
46
|
+
* 5. **Tool builds NewActivity objects** and passes them to the twist via callback
|
|
47
|
+
* 6. **Twist decides** whether to save using createActivity/updateActivity
|
|
48
|
+
*
|
|
45
49
|
* **Recommended Data Sync Strategy:**
|
|
46
50
|
* Use Activity.source (issue URL) and Note.key for automatic upserts.
|
|
47
51
|
* See SYNC_STRATEGIES.md for detailed patterns.
|
|
48
52
|
*/
|
|
49
53
|
export type ProjectTool = {
|
|
50
|
-
/**
|
|
51
|
-
* Initiates the authorization flow for the service.
|
|
52
|
-
*
|
|
53
|
-
* @param callback - Function receiving (auth, ...extraArgs) when auth completes
|
|
54
|
-
* @param extraArgs - Additional arguments to pass to the callback (type-checked)
|
|
55
|
-
* @returns Promise resolving to an ActivityLink to initiate the auth flow
|
|
56
|
-
*/
|
|
57
|
-
requestAuth<TArgs extends Serializable[], TCallback extends (auth: ProjectAuth, ...args: TArgs) => any>(callback: TCallback, ...extraArgs: TArgs): Promise<ActivityLink>;
|
|
58
54
|
/**
|
|
59
55
|
* Retrieves the list of projects accessible to the user.
|
|
60
56
|
*
|
|
61
|
-
* @param
|
|
57
|
+
* @param projectId - A project ID to use for auth lookup
|
|
62
58
|
* @returns Promise resolving to array of available projects
|
|
63
59
|
*/
|
|
64
|
-
getProjects(
|
|
60
|
+
getProjects(projectId: string): Promise<Project[]>;
|
|
65
61
|
/**
|
|
66
62
|
* Begins synchronizing issues from a specific project.
|
|
67
63
|
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
* **Recommended Implementation** (Strategy 2 - Upsert via Source/Key):
|
|
71
|
-
* - Set Activity.source to the issue's canonical URL (e.g., Linear issue URL, Jira issue URL)
|
|
72
|
-
* - Use Note.key for issue details:
|
|
73
|
-
* - key: "description" for issue description (upserts on changes)
|
|
74
|
-
* - key: "metadata" for status, priority, assignee, etc.
|
|
75
|
-
* - key: "comment-{commentId}" for individual comments (unique per comment)
|
|
76
|
-
* - No manual ID tracking needed - Plot handles deduplication automatically
|
|
77
|
-
* - Send NewActivityWithNotes for all issues (creates new or updates existing)
|
|
78
|
-
* - Set activity.unread = false for initial sync, omit for incremental updates
|
|
79
|
-
*
|
|
80
|
-
* **Alternative** (Strategy 3 - Advanced cases):
|
|
81
|
-
* - Use Uuid.Generate() and store ID mappings when creating multiple activities per issue
|
|
82
|
-
* - See SYNC_STRATEGIES.md for when this is appropriate
|
|
64
|
+
* Auth is obtained automatically via integrations.get(provider, projectId).
|
|
83
65
|
*
|
|
84
66
|
* @param options - Sync configuration options
|
|
85
|
-
* @param options.authToken - Authorization token for access
|
|
86
67
|
* @param options.projectId - ID of the project to sync
|
|
87
68
|
* @param options.timeMin - Earliest date to sync issues from (inclusive)
|
|
88
69
|
* @param callback - Function receiving (activity, ...extraArgs) for each synced issue
|
|
@@ -90,47 +71,42 @@ export type ProjectTool = {
|
|
|
90
71
|
* @returns Promise that resolves when sync setup is complete
|
|
91
72
|
*/
|
|
92
73
|
startSync<TArgs extends Serializable[], TCallback extends (activity: NewActivityWithNotes, ...args: TArgs) => any>(options: {
|
|
93
|
-
authToken: string;
|
|
94
74
|
projectId: string;
|
|
95
75
|
} & ProjectSyncOptions, callback: TCallback, ...extraArgs: TArgs): Promise<void>;
|
|
96
76
|
/**
|
|
97
77
|
* Stops synchronizing issues from a specific project.
|
|
98
78
|
*
|
|
99
|
-
* @param authToken - Authorization token for access
|
|
100
79
|
* @param projectId - ID of the project to stop syncing
|
|
101
80
|
* @returns Promise that resolves when sync is stopped
|
|
102
81
|
*/
|
|
103
|
-
stopSync(
|
|
82
|
+
stopSync(projectId: string): Promise<void>;
|
|
104
83
|
/**
|
|
105
84
|
* Updates an issue/task with new values.
|
|
106
85
|
*
|
|
107
86
|
* Optional method for bidirectional sync. When implemented, allows Plot to
|
|
108
87
|
* sync activity updates back to the external service.
|
|
109
88
|
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
* - done null + start set → In Progress/Active state
|
|
113
|
-
* - done null + start null → Backlog/Todo state
|
|
89
|
+
* Auth is obtained automatically via integrations.get(provider, projectId)
|
|
90
|
+
* using the projectId from activity.meta.
|
|
114
91
|
*
|
|
115
|
-
* @param authToken - Authorization token for access
|
|
116
92
|
* @param activity - The updated activity
|
|
117
93
|
* @returns Promise that resolves when the update is synced
|
|
118
94
|
*/
|
|
119
|
-
updateIssue?(
|
|
95
|
+
updateIssue?(activity: Activity): Promise<void>;
|
|
120
96
|
/**
|
|
121
97
|
* Adds a comment to an issue/task.
|
|
122
98
|
*
|
|
123
99
|
* Optional method for bidirectional sync. When implemented, allows Plot to
|
|
124
100
|
* sync notes added to activities back as comments on the external service.
|
|
125
101
|
*
|
|
126
|
-
* The tool should extract its own ID
|
|
102
|
+
* Auth is obtained automatically. The tool should extract its own ID
|
|
103
|
+
* from meta (e.g., linearId, taskGid, issueKey).
|
|
127
104
|
*
|
|
128
|
-
* @param authToken - Authorization token for access
|
|
129
105
|
* @param meta - Activity metadata containing the tool's issue/task identifier
|
|
130
106
|
* @param body - The comment text content
|
|
131
107
|
* @param noteId - Optional Plot note ID, used by tools that support comment metadata (e.g. Jira)
|
|
132
108
|
* @returns The external comment key (e.g. "comment-123") for dedup, or void
|
|
133
109
|
*/
|
|
134
|
-
addIssueComment?(
|
|
110
|
+
addIssueComment?(meta: ActivityMeta, body: string, noteId?: string): Promise<string | void>;
|
|
135
111
|
};
|
|
136
112
|
//# sourceMappingURL=projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/common/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../src/common/projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,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,MAAM,GACd,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.hierarchyData = "
|
|
1
|
+
window.hierarchyData = "eJyNkk1PxCAQhv/LnGex9GNLuW089WJM9GY2BrvoNmWLgTF72PS/G1o1eIITCTzzPgPMDZy15EG+8EIcEZx+N3qg0c4e5A14IcIyq4sGCf2ztQYQpnE+geSlQPhyBiQMRnmv/R1Za9hKsTNdArqegATyp10o220bCMN5NCen52DmHOuuwaZssC0EtqJEUdUo2ga7fYmdqI4LAuc86iWrlYxOFoS6a+Lg6+jJp6L9K60c2/C0pCljyaFPC9TIDn06uP33RffKmDc1TBkXGH5R9leUYRNlPBAz6Q+ntnFJCseIZnFpWiuqOtI+aLpaN6WN8wayn4IMTxv/0qOxlJZ8GkssoOn4bh+/3hNZp9P5PmBshTMMoopnWfmcSaCAsRVOGZblG4H2XUc="
|
|
@@ -1 +1 @@
|
|
|
1
|
-
window.navigationData = "
|
|
1
|
+
window.navigationData = "eJytnNtyG7kRhl9Fxb11ItvrdbS+Uxg7y0SWVaKcvdhyqeAhJCKaAbgDjChtat89BWAOwKCBbtq8Ff75uqdxGADd1G//Wxj+ZBbvFv/sxIbrxYtFtRX1puVy8e63qZEbI+T9ydqw1vDN4sVix8x28W6xUVXXcGn0aS+57SV/3ZqmXrxYPAi5Wbw7+/Hs7O3Lsz9fjMSlavnJUsmK74yGeFZwOwgw2t87UZu/CHlyo1QN4gbFrVNQeBv7wstOG9WUsVZ464U0+vJidXLN73jLZcXBd79Y3Y4CjHbdSSMafvJePopWSUuAmL3sNpDB5C8B+6PadHV2VFSqaZQ8rVjN5Ya1k9XGP3bqBbeDILb3GobePO/4yXktmM7aXSYGzfMOMLeE7b78+W+vfnodvOX6WVafdkYoqTFkIMWog3U7JKieWi3M/RL1i5Ab/pTG2/35WFFe81awWvzBvtZ87r83FCqwaHzuxAam2JbcO0/PX7KG6x2rsu7GBuKIpCb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