@superdurable/connector-atlassian-confluence 0.1.0 → 0.2.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/README.md +46 -1
- package/dex-connector.json +238 -7
- package/dist/{chunk-OAQFTUZS.js → chunk-K4XYPHG4.js} +11 -4
- package/dist/{connection-Pzxytl_b.d.ts → connection-BpChC7aN.d.ts} +3 -0
- package/dist/index.d.ts +148 -11
- package/dist/index.js +790 -8
- package/dist/mock.d.ts +1 -1
- package/dist/mock.js +1 -1
- package/package.json +8 -6
package/README.md
CHANGED
|
@@ -7,7 +7,10 @@ The public models, branch definitions, Step factories, connection helpers, and
|
|
|
7
7
|
mock cases are generated from `../connector.yaml`; OAuth credential refresh
|
|
8
8
|
uses the generated manifest declaration. The provider client and operation
|
|
9
9
|
behavior follow the Go connector, including page title and version read-back
|
|
10
|
-
for writes and an at-most-once checkpoint for footer comments.
|
|
10
|
+
for writes and an at-most-once checkpoint for footer comments. From 0.2.0 the
|
|
11
|
+
package also implements the `pageChanged` poll Trigger, which starts a Flow
|
|
12
|
+
when a page is created or updated, on `@superdurable/connectors-sdk` 0.12.0's
|
|
13
|
+
poll Trigger kit.
|
|
11
14
|
|
|
12
15
|
A consuming application is checked in at
|
|
13
16
|
[examples/read-page](examples/read-page/README.md). It loads the private Dex
|
|
@@ -15,6 +18,48 @@ project connection `confluence-policy`, reads one page inside a Dex Step, and
|
|
|
15
18
|
returns only its ID, title, and version number. Run its real Dex integration
|
|
16
19
|
test with `DEX_FLOW_SERVICE_ADDRESS` set to the local `dexcli dev` gRPC address.
|
|
17
20
|
|
|
21
|
+
## pageChanged Trigger
|
|
22
|
+
|
|
23
|
+
`pageChanged` polls Confluence CQL content search, newest modification first,
|
|
24
|
+
at parity with the Go connector, on `@superdurable/connectors-sdk/pollingtrigger`;
|
|
25
|
+
the [connector README](../README.md#pagechanged-trigger) describes the query,
|
|
26
|
+
the ten-minute lookback, the keyed snapshot of seen page versions, paging,
|
|
27
|
+
change kinds, resets, and rate limits. The cursor token and snapshot entries
|
|
28
|
+
match the Go connector's byte for byte, including nanosecond times, which the
|
|
29
|
+
Go-generated fixtures in `test/fixtures/go-page-change-cases.json` check, so a
|
|
30
|
+
Go and a TypeScript replica can share one binding's cursor and inbox.
|
|
31
|
+
|
|
32
|
+
- `newProjectPageTriggerRunner(project, connectionName, routes, options)` opens
|
|
33
|
+
the connection and each route's saved binding and returns a
|
|
34
|
+
`PageTriggerRunner`. Every change is recorded in the binding's project
|
|
35
|
+
Trigger inbox before its project poll cursor commits, so a restarted Worker
|
|
36
|
+
neither misses nor repeats a change. An unsaved binding watches every space
|
|
37
|
+
the connection can view. Await `run(context)` for the life of the Worker;
|
|
38
|
+
`wakePoller(bindingName)` polls now.
|
|
39
|
+
- `newPageTriggerRunner({ connection, pageChangedRoutes })` takes targets and
|
|
40
|
+
cursor stores directly and returns the kit's `Runner`; a route without a
|
|
41
|
+
cursor store keeps it in memory and records a new baseline on every start,
|
|
42
|
+
as `newPageChangedTrigger` always does.
|
|
43
|
+
- Each `PageChangedEvent` carries the site, the derived `changeKind`
|
|
44
|
+
(`PageChangeCreated` for version 1, `PageChangeUpdated` otherwise), and the
|
|
45
|
+
page summary, whose `lastModifiedAt` keeps Confluence's time exactly as Go
|
|
46
|
+
writes it. The event ID hashes the site, page ID, and version, so
|
|
47
|
+
`newDexFlowTriggerTarget` starts one Flow per page version. The event's
|
|
48
|
+
`occurredAt` is a `Date`, at millisecond precision.
|
|
49
|
+
- The connection's `pollInterval` (at least 10 seconds; zero keeps the
|
|
50
|
+
one-minute default) sets the poll delay, and `ConfluenceClientOptions`
|
|
51
|
+
`triggerLogger` receives the runner's records.
|
|
52
|
+
- `definePageChangedTriggerBinding` declares a static binding with the
|
|
53
|
+
`spacePicker` unit from `getConnectorTriggerBindings`.
|
|
54
|
+
|
|
55
|
+
The runnable [page-changed Flow](examples/page-changed/README.md) starts one
|
|
56
|
+
Flow per page version and reads the page back as Markdown. Its integration
|
|
57
|
+
tests run a real Dex Worker and Client against a local Confluence stand-in:
|
|
58
|
+
the baseline starts no Flow, other spaces are ignored, each page version
|
|
59
|
+
starts one Flow across a Trigger restart whose first search answers 429, and a
|
|
60
|
+
changed space records a new baseline. Live Confluence search has not been
|
|
61
|
+
verified.
|
|
62
|
+
|
|
18
63
|
Run `npm ci && npm run check` to build and test the package. The conformance
|
|
19
64
|
suite replays the recorded Go provider scenarios under
|
|
20
65
|
`../../../../conformance/connectors/atlassian/confluence/scenarios.json`.
|
package/dex-connector.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "confluence",
|
|
3
|
-
"releaseTag": "connectors/atlassian/confluence/go/v0.
|
|
3
|
+
"releaseTag": "connectors/atlassian/confluence/go/v0.25.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-atlassian-confluence",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
10
|
{
|
|
11
11
|
"name": "newSearchPagesStep",
|
|
12
12
|
"kind": "query",
|
|
13
13
|
"operationId": "searchPages",
|
|
14
|
+
"inputType": "SearchPagesInput",
|
|
15
|
+
"description": "Search one bounded page of Confluence pages with a typed, connector-escaped CQL filter for space, title, label, and modification time plus an optional bounded CQL clause, continuing with the search cursor.",
|
|
14
16
|
"fields": {
|
|
15
17
|
"stepType": "stepType",
|
|
16
18
|
"annotations": "annotations",
|
|
@@ -38,12 +40,84 @@
|
|
|
38
40
|
"field": "defect",
|
|
39
41
|
"optional": true
|
|
40
42
|
}
|
|
41
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"inputSchema": {
|
|
45
|
+
"$defs": {
|
|
46
|
+
"PageSearchFilter": {
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"description": "PageSearchFilter is a typed page search that the connector turns into escaped CQL, so no caller text can change the query's structure. The query always starts with type = page, and every set field adds one clause joined with AND.",
|
|
49
|
+
"properties": {
|
|
50
|
+
"additionalCql": {
|
|
51
|
+
"description": "AdditionalCQL is one caller-built clause ANDed inside parentheses, such as ancestor = 123456 OR parent = 123456. It must balance its parentheses and quotes and cannot contain ORDER BY. Quote every value that came from outside the application with QuoteCQLString.",
|
|
52
|
+
"type": "string"
|
|
53
|
+
},
|
|
54
|
+
"labels": {
|
|
55
|
+
"description": "Labels matches pages that carry at least one of these labels, such as policy or in-force.",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"type": "array"
|
|
60
|
+
},
|
|
61
|
+
"modifiedSince": {
|
|
62
|
+
"description": "ModifiedSince keeps only pages last modified at or after this instant. CQL compares dates in the authorizing user's Confluence time zone, so the connector widens the CQL bound by half a day and removes earlier pages from each result page itself.",
|
|
63
|
+
"format": "date-time",
|
|
64
|
+
"type": [
|
|
65
|
+
"string",
|
|
66
|
+
"null"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"order": {
|
|
70
|
+
"description": "Order selects the result order; blank uses PageSearchOrderLastModifiedDescending.",
|
|
71
|
+
"enum": [
|
|
72
|
+
"createdDescending",
|
|
73
|
+
"lastModifiedDescending",
|
|
74
|
+
"titleAscending"
|
|
75
|
+
],
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"spaceKeys": {
|
|
79
|
+
"description": "SpaceKeys limits the search to these space keys, such as OPS or ~5b10ac8d82e05b22cc7d4ef5.",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"type": "array"
|
|
84
|
+
},
|
|
85
|
+
"titlePhrase": {
|
|
86
|
+
"description": "TitlePhrase matches pages whose title contains this phrase as Confluence's text search tokenizes it. Text search ignores case and punctuation, so compare the returned titles for an exact match.",
|
|
87
|
+
"type": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"type": "object"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"additionalProperties": false,
|
|
94
|
+
"description": "SearchPagesInput selects one page of search results.",
|
|
95
|
+
"properties": {
|
|
96
|
+
"cursor": {
|
|
97
|
+
"description": "Cursor continues a previous search with the same filter; blank reads the first page.",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"filter": {
|
|
101
|
+
"$ref": "#/$defs/PageSearchFilter",
|
|
102
|
+
"description": "Filter is the typed search the connector escapes into CQL."
|
|
103
|
+
},
|
|
104
|
+
"pageSize": {
|
|
105
|
+
"description": "PageSize is the number of pages to request, 1 to 100; zero requests 25. Confluence may return fewer.",
|
|
106
|
+
"type": "integer"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"filter"
|
|
111
|
+
],
|
|
112
|
+
"type": "object"
|
|
113
|
+
}
|
|
42
114
|
},
|
|
43
115
|
{
|
|
44
116
|
"name": "newGetPageStep",
|
|
45
117
|
"kind": "query",
|
|
46
118
|
"operationId": "getPage",
|
|
119
|
+
"inputType": "GetPageInput",
|
|
120
|
+
"description": "Read one page by ID with its current version number and its storage or Atlassian Document Format body converted to bounded Markdown or plain text.",
|
|
47
121
|
"fields": {
|
|
48
122
|
"stepType": "stepType",
|
|
49
123
|
"annotations": "annotations",
|
|
@@ -76,12 +150,48 @@
|
|
|
76
150
|
"field": "defect",
|
|
77
151
|
"optional": true
|
|
78
152
|
}
|
|
79
|
-
]
|
|
153
|
+
],
|
|
154
|
+
"inputSchema": {
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"description": "GetPageInput identifies one page and how to return its body.",
|
|
157
|
+
"properties": {
|
|
158
|
+
"bodyFormat": {
|
|
159
|
+
"description": "BodyFormat selects the returned text; blank returns Markdown.",
|
|
160
|
+
"enum": [
|
|
161
|
+
"markdown",
|
|
162
|
+
"plainText"
|
|
163
|
+
],
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"bodyRepresentation": {
|
|
167
|
+
"description": "BodyRepresentation selects the Confluence body to convert; blank reads storage format.",
|
|
168
|
+
"enum": [
|
|
169
|
+
"atlas_doc_format",
|
|
170
|
+
"storage"
|
|
171
|
+
],
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"maxBodyCharacters": {
|
|
175
|
+
"description": "MaxBodyCharacters cuts Body after this many characters, 1 to 131072; zero keeps 32768.",
|
|
176
|
+
"type": "integer"
|
|
177
|
+
},
|
|
178
|
+
"pageId": {
|
|
179
|
+
"description": "PageID is the numeric page ID, such as 123456.",
|
|
180
|
+
"type": "string"
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
"required": [
|
|
184
|
+
"pageId"
|
|
185
|
+
],
|
|
186
|
+
"type": "object"
|
|
187
|
+
}
|
|
80
188
|
},
|
|
81
189
|
{
|
|
82
190
|
"name": "newCreatePageStep",
|
|
83
191
|
"kind": "mutation",
|
|
84
192
|
"operationId": "createPage",
|
|
193
|
+
"inputType": "CreatePageInput",
|
|
194
|
+
"description": "Publish one page in a space, optionally below a parent page, with a Markdown or plain-text body converted to storage format; Confluence allows one page per title in a space, so a repeated create finds the page instead of adding another.",
|
|
85
195
|
"fields": {
|
|
86
196
|
"stepType": "stepType",
|
|
87
197
|
"annotations": "annotations",
|
|
@@ -114,12 +224,53 @@
|
|
|
114
224
|
"field": "defect",
|
|
115
225
|
"optional": true
|
|
116
226
|
}
|
|
117
|
-
]
|
|
227
|
+
],
|
|
228
|
+
"inputSchema": {
|
|
229
|
+
"additionalProperties": false,
|
|
230
|
+
"description": "CreatePageInput describes one published page. Set exactly one of SpaceID and SpaceKey.",
|
|
231
|
+
"properties": {
|
|
232
|
+
"body": {
|
|
233
|
+
"description": "Body is the page content of at most 262144 characters in BodyFormat.",
|
|
234
|
+
"type": "string"
|
|
235
|
+
},
|
|
236
|
+
"bodyFormat": {
|
|
237
|
+
"description": "BodyFormat is the format of Body; blank reads Markdown.",
|
|
238
|
+
"enum": [
|
|
239
|
+
"markdown",
|
|
240
|
+
"plainText"
|
|
241
|
+
],
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"parentPageId": {
|
|
245
|
+
"description": "ParentPageID places the page below this page in the same space; blank uses the space homepage.",
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"spaceId": {
|
|
249
|
+
"description": "SpaceID is the numeric space ID, as the space picker stores it.",
|
|
250
|
+
"type": "string"
|
|
251
|
+
},
|
|
252
|
+
"spaceKey": {
|
|
253
|
+
"description": "SpaceKey is the space key, such as OPS; the connector looks up its ID before creating.",
|
|
254
|
+
"type": "string"
|
|
255
|
+
},
|
|
256
|
+
"title": {
|
|
257
|
+
"description": "Title is the one-line page title, at most 255 characters. Confluence allows one page per title in a space.",
|
|
258
|
+
"type": "string"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"required": [
|
|
262
|
+
"body",
|
|
263
|
+
"title"
|
|
264
|
+
],
|
|
265
|
+
"type": "object"
|
|
266
|
+
}
|
|
118
267
|
},
|
|
119
268
|
{
|
|
120
269
|
"name": "newUpdatePageStep",
|
|
121
270
|
"kind": "mutation",
|
|
122
271
|
"operationId": "updatePage",
|
|
272
|
+
"inputType": "UpdatePageInput",
|
|
273
|
+
"description": "Replace one page's title and body as the next version, which the caller names; a repeated update finds its own version instead of failing, and a version another editor made is reported as a conflict.",
|
|
123
274
|
"fields": {
|
|
124
275
|
"stepType": "stepType",
|
|
125
276
|
"annotations": "annotations",
|
|
@@ -152,12 +303,55 @@
|
|
|
152
303
|
"field": "defect",
|
|
153
304
|
"optional": true
|
|
154
305
|
}
|
|
155
|
-
]
|
|
306
|
+
],
|
|
307
|
+
"inputSchema": {
|
|
308
|
+
"additionalProperties": false,
|
|
309
|
+
"description": "UpdatePageInput replaces one page's title and body as the next version.",
|
|
310
|
+
"properties": {
|
|
311
|
+
"body": {
|
|
312
|
+
"description": "Body is the complete new page content of at most 262144 characters in BodyFormat.",
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
"bodyFormat": {
|
|
316
|
+
"description": "BodyFormat is the format of Body; blank reads Markdown.",
|
|
317
|
+
"enum": [
|
|
318
|
+
"markdown",
|
|
319
|
+
"plainText"
|
|
320
|
+
],
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"nextVersionNumber": {
|
|
324
|
+
"description": "NextVersionNumber is the version this update creates: the version number getPage returned plus one. Confluence refuses it when another edit saved that version first.",
|
|
325
|
+
"type": "integer"
|
|
326
|
+
},
|
|
327
|
+
"pageId": {
|
|
328
|
+
"description": "PageID is the numeric page ID, such as 123456.",
|
|
329
|
+
"type": "string"
|
|
330
|
+
},
|
|
331
|
+
"title": {
|
|
332
|
+
"description": "Title is the page title after the update, one line of at most 255 characters; repeat the current title to keep it.",
|
|
333
|
+
"type": "string"
|
|
334
|
+
},
|
|
335
|
+
"versionMessage": {
|
|
336
|
+
"description": "VersionMessage is an optional one-line change summary of at most 200 characters, shown in page history. The connector appends a marker such as [dex:3f9a2c1b7e04d5a6] to recognize its own update.",
|
|
337
|
+
"type": "string"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
"required": [
|
|
341
|
+
"body",
|
|
342
|
+
"nextVersionNumber",
|
|
343
|
+
"pageId",
|
|
344
|
+
"title"
|
|
345
|
+
],
|
|
346
|
+
"type": "object"
|
|
347
|
+
}
|
|
156
348
|
},
|
|
157
349
|
{
|
|
158
350
|
"name": "newAddCommentStep",
|
|
159
351
|
"kind": "mutation",
|
|
160
352
|
"operationId": "addComment",
|
|
353
|
+
"inputType": "AddCommentInput",
|
|
354
|
+
"description": "Add one footer comment with a Markdown or plain-text body to a page, sending it at most once per Step execution and confirming an unconfirmed attempt by reading the page's comments.",
|
|
161
355
|
"fields": {
|
|
162
356
|
"stepType": "stepType",
|
|
163
357
|
"annotations": "annotations",
|
|
@@ -190,7 +384,44 @@
|
|
|
190
384
|
"field": "defect",
|
|
191
385
|
"optional": true
|
|
192
386
|
}
|
|
193
|
-
]
|
|
387
|
+
],
|
|
388
|
+
"inputSchema": {
|
|
389
|
+
"additionalProperties": false,
|
|
390
|
+
"description": "AddCommentInput describes one footer comment on one page.",
|
|
391
|
+
"properties": {
|
|
392
|
+
"body": {
|
|
393
|
+
"description": "Body is the comment of at most 262144 characters in BodyFormat.",
|
|
394
|
+
"type": "string"
|
|
395
|
+
},
|
|
396
|
+
"bodyFormat": {
|
|
397
|
+
"description": "BodyFormat is the format of Body; blank reads Markdown.",
|
|
398
|
+
"enum": [
|
|
399
|
+
"markdown",
|
|
400
|
+
"plainText"
|
|
401
|
+
],
|
|
402
|
+
"type": "string"
|
|
403
|
+
},
|
|
404
|
+
"pageId": {
|
|
405
|
+
"description": "PageID is the numeric page ID, such as 123456.",
|
|
406
|
+
"type": "string"
|
|
407
|
+
}
|
|
408
|
+
},
|
|
409
|
+
"required": [
|
|
410
|
+
"body",
|
|
411
|
+
"pageId"
|
|
412
|
+
],
|
|
413
|
+
"type": "object"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "definePageChangedTriggerBinding",
|
|
418
|
+
"kind": "trigger",
|
|
419
|
+
"triggerName": "pageChanged",
|
|
420
|
+
"fields": {
|
|
421
|
+
"connectionName": "connectionName",
|
|
422
|
+
"bindingName": "bindingName",
|
|
423
|
+
"configurationUI": "configurationUI"
|
|
424
|
+
}
|
|
194
425
|
}
|
|
195
426
|
]
|
|
196
427
|
}
|
|
@@ -27,7 +27,8 @@ var GoTimeJSONSchema = z.string().refine(isGoTimeJSON, "invalid Go time.Time JSO
|
|
|
27
27
|
var ConfigSchema = z.object({
|
|
28
28
|
"cloudId": z.string().optional(),
|
|
29
29
|
"endpoint": z.string().optional(),
|
|
30
|
-
"maxResponseBytes": z.number().int().optional()
|
|
30
|
+
"maxResponseBytes": z.number().int().optional(),
|
|
31
|
+
"pollIntervalMs": z.number().int().optional()
|
|
31
32
|
});
|
|
32
33
|
function decodeCredentials(value) {
|
|
33
34
|
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("credential fields are invalid");
|
|
@@ -235,7 +236,9 @@ var CreatePageDefinition = {
|
|
|
235
236
|
{ id: "providerRejected", description: "Confluence conclusively rejected the page, such as an invalid body or missing Add page permission; nothing was created.", optional: true },
|
|
236
237
|
{ id: "defect", description: "Local input, connection configuration, or connector definition is invalid.", optional: true }
|
|
237
238
|
],
|
|
238
|
-
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" }
|
|
239
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
240
|
+
repeatOnUnknown: "limited",
|
|
241
|
+
maxSends: 3
|
|
239
242
|
};
|
|
240
243
|
var CreatePageMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
241
244
|
var UpdatePageBranch = {
|
|
@@ -259,7 +262,9 @@ var UpdatePageDefinition = {
|
|
|
259
262
|
{ id: "providerRejected", description: "Confluence conclusively rejected the update, such as an invalid body, missing Edit permission, or a space that requires approval before publishing; nothing was changed.", optional: true },
|
|
260
263
|
{ id: "defect", description: "Local input, connection configuration, or connector definition is invalid.", optional: true }
|
|
261
264
|
],
|
|
262
|
-
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
265
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
266
|
+
repeatOnUnknown: "limited",
|
|
267
|
+
maxSends: 3
|
|
263
268
|
};
|
|
264
269
|
var UpdatePageMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
265
270
|
var AddCommentBranch = {
|
|
@@ -283,7 +288,9 @@ var AddCommentDefinition = {
|
|
|
283
288
|
{ id: "uncertain", description: "An earlier attempt sent the comment and the page's comments do not confirm it; Confluence has no idempotency key, so it is never sent again automatically.", optional: true },
|
|
284
289
|
{ id: "defect", description: "Local input, connection configuration, or connector definition is invalid.", optional: true }
|
|
285
290
|
],
|
|
286
|
-
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync", executeRetry: { initialIntervalMs: 1e3, backoffCoefficient: 2, maximumIntervalMs: 3e4, maximumAttempts: 5, totalDurationMs: 12e4 } }
|
|
291
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync", executeRetry: { initialIntervalMs: 1e3, backoffCoefficient: 2, maximumIntervalMs: 3e4, maximumAttempts: 5, totalDurationMs: 12e4 } },
|
|
292
|
+
repeatOnUnknown: "limited",
|
|
293
|
+
maxSends: 3
|
|
287
294
|
};
|
|
288
295
|
var AddCommentMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
289
296
|
|
|
@@ -9,12 +9,15 @@ interface Config {
|
|
|
9
9
|
endpoint?: string;
|
|
10
10
|
/** Maximum complete Confluence API response in bytes. Leave blank to keep the displayed safety limit; enter a positive integer only to read longer pages. An oversized read selects invalidResponse, and a write whose response is oversized is confirmed by reading the page or comment back. */
|
|
11
11
|
maxResponseBytes?: number;
|
|
12
|
+
/** Delay between pageChanged Trigger polls of Confluence CQL search, as a Go duration of at least 10s such as 30s or 5m. Leave blank to keep the displayed interval; shorter intervals deliver page changes sooner and spend more of the OAuth app's quota described at https://developer.atlassian.com/cloud/confluence/rate-limiting/. Operations ignore it, and the value is read when the application starts. Runtime value in milliseconds. */
|
|
13
|
+
pollIntervalMs?: number;
|
|
12
14
|
}
|
|
13
15
|
/** Runtime schema for manifest configuration. */
|
|
14
16
|
declare const ConfigSchema: z.ZodObject<{
|
|
15
17
|
cloudId: z.ZodOptional<z.ZodString>;
|
|
16
18
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
17
19
|
maxResponseBytes: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
pollIntervalMs: z.ZodOptional<z.ZodNumber>;
|
|
18
21
|
}, z.core.$strip>;
|
|
19
22
|
/** Private connector credentials resolved by the host. */
|
|
20
23
|
interface Credentials {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { A as AddCommentInput, a as AddCommentOutput, C as Connection, b as CreatePageInput, c as CreatePageOutput, G as GetPageInput, P as Page, S as SearchPagesInput, d as SearchPagesOutput, U as UpdatePageInput, e as UpdatePageOutput, f as CredentialSource, g as Config, O as Operations } from './connection-
|
|
2
|
-
export { h as AddCommentInputSchema, i as AddCommentOutputSchema, j as ConfigSchema, k as CreatePageInputSchema, l as CreatePageOutputSchema, m as Credentials, n as GetPageInputSchema, o as PageSchema, p as PageSearchFilter, q as PageSearchFilterSchema, r as PageSummary, s as PageSummarySchema, t as PageVersion, u as PageVersionSchema, v as SearchPagesInputSchema, w as SearchPagesOutputSchema, x as UpdatePageInputSchema, y as UpdatePageOutputSchema, z as decodeCredentials, B as decodeSharedCredentials, D as newConnection, E as newConnectionWithOperations } from './connection-
|
|
1
|
+
import { A as AddCommentInput, a as AddCommentOutput, C as Connection, b as CreatePageInput, c as CreatePageOutput, G as GetPageInput, P as Page, S as SearchPagesInput, d as SearchPagesOutput, U as UpdatePageInput, e as UpdatePageOutput, f as CredentialSource, g as Config, O as Operations } from './connection-BpChC7aN.js';
|
|
2
|
+
export { h as AddCommentInputSchema, i as AddCommentOutputSchema, j as ConfigSchema, k as CreatePageInputSchema, l as CreatePageOutputSchema, m as Credentials, n as GetPageInputSchema, o as PageSchema, p as PageSearchFilter, q as PageSearchFilterSchema, r as PageSummary, s as PageSummarySchema, t as PageVersion, u as PageVersionSchema, v as SearchPagesInputSchema, w as SearchPagesOutputSchema, x as UpdatePageInputSchema, y as UpdatePageOutputSchema, z as decodeCredentials, B as decodeSharedCredentials, D as newConnection, E as newConnectionWithOperations } from './connection-BpChC7aN.js';
|
|
3
3
|
import * as _superdurable_connectors_sdk from '@superdurable/connectors-sdk';
|
|
4
|
-
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, QueryAttempt, MutationAttempt, Failure, ReceiptDraft } from '@superdurable/connectors-sdk';
|
|
4
|
+
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, QueryAttempt, MutationAttempt, TriggerLogger, Failure, ReceiptDraft, ConnectorConfigurationUI, TriggerDefinition, TriggerBindingDefinition, TriggerTarget, TriggerContext, TriggerRunner } from '@superdurable/connectors-sdk';
|
|
5
5
|
import { StepTarget } from '@superdurable/dex';
|
|
6
6
|
import { LoadedProject } from '@superdurable/connectors-sdk/projectconfig';
|
|
7
7
|
import { ProviderRequest, ProviderResponse } from '@superdurable/connectors-sdk/providerhttp';
|
|
8
|
-
import 'zod';
|
|
8
|
+
import { z } from 'zod';
|
|
9
|
+
import { CursorStore, Runner } from '@superdurable/connectors-sdk/pollingtrigger';
|
|
9
10
|
|
|
10
11
|
/** Stable connector identity. */
|
|
11
12
|
declare const ConnectorID = "confluence";
|
|
@@ -263,7 +264,7 @@ declare class GetPageOperation implements Query<GetPageInput, Page> {
|
|
|
263
264
|
declare class CreatePageOperation implements Mutation<CreatePageInput, CreatePageOutput> {
|
|
264
265
|
private readonly client;
|
|
265
266
|
/** Bind the client. */ constructor(client: ConfluenceClient);
|
|
266
|
-
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.
|
|
267
|
+
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
267
268
|
/** Derive the stable Dex idempotency key. */ idempotencyKey(callId: string): string;
|
|
268
269
|
/** Execute one create with read-back reconciliation. */
|
|
269
270
|
invoke(call: Call, input: CreatePageInput): Promise<MutationAttempt<CreatePageOutput>>;
|
|
@@ -273,7 +274,7 @@ declare class CreatePageOperation implements Mutation<CreatePageInput, CreatePag
|
|
|
273
274
|
declare class UpdatePageOperation implements Mutation<UpdatePageInput, UpdatePageOutput> {
|
|
274
275
|
private readonly client;
|
|
275
276
|
/** Bind the client. */ constructor(client: ConfluenceClient);
|
|
276
|
-
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.
|
|
277
|
+
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
277
278
|
/** Derive the stable Dex idempotency key. */ idempotencyKey(callId: string): string;
|
|
278
279
|
/** Execute one update with version reconciliation. */
|
|
279
280
|
invoke(call: Call, input: UpdatePageInput): Promise<MutationAttempt<UpdatePageOutput>>;
|
|
@@ -283,17 +284,18 @@ declare class UpdatePageOperation implements Mutation<UpdatePageInput, UpdatePag
|
|
|
283
284
|
declare class AddCommentOperation implements Mutation<AddCommentInput, AddCommentOutput> {
|
|
284
285
|
private readonly client;
|
|
285
286
|
/** Bind the client. */ constructor(client: ConfluenceClient);
|
|
286
|
-
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.
|
|
287
|
+
/** Return the stable definition. */ definition(): _superdurable_connectors_sdk.MutationDefinition;
|
|
287
288
|
/** Derive the stable Dex idempotency key. */ idempotencyKey(callId: string): string;
|
|
288
289
|
/** Execute one comment send or read-back. */
|
|
289
290
|
invoke(call: Call, input: AddCommentInput): Promise<MutationAttempt<AddCommentOutput>>;
|
|
290
291
|
private reconcileEarlierDispatch;
|
|
291
292
|
}
|
|
292
293
|
|
|
293
|
-
/** Injectable provider transport and clock for deterministic connector tests. */
|
|
294
|
+
/** Injectable provider transport and clock for deterministic connector tests, and the Trigger's log destination. */
|
|
294
295
|
interface ConfluenceClientOptions {
|
|
295
|
-
send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
296
|
-
now?: () => Date;
|
|
296
|
+
/** Sends one provider request; omitted uses the SDK's bounded provider HTTP client. */ send?: (request: ProviderRequest) => Promise<ProviderResponse>;
|
|
297
|
+
/** Current time for receipts, Retry-After, and pageChanged scan windows; omitted uses the system clock. */ now?: () => Date;
|
|
298
|
+
/** Receives the pageChanged runner's seed, reseed, failed-poll, and rate-limit records and its durable inbox records; never payloads or credentials. Omitted uses the SDK default logger. */ triggerLogger?: TriggerLogger;
|
|
297
299
|
}
|
|
298
300
|
/** One Confluence or gateway exchange with secret-safe transport evidence. */
|
|
299
301
|
interface ConfluenceExchange {
|
|
@@ -335,6 +337,8 @@ declare class ConfluenceClient {
|
|
|
335
337
|
readonly endpoint: string;
|
|
336
338
|
readonly configuredCloudId: string;
|
|
337
339
|
readonly maxResponseBytes: number;
|
|
340
|
+
/** Delay between pageChanged polls, in milliseconds. */ readonly pollIntervalMs: number;
|
|
341
|
+
/** Receives pageChanged Trigger records; undefined uses the SDK default logger. */ readonly triggerLogger: TriggerLogger | undefined;
|
|
338
342
|
readonly now: () => Date;
|
|
339
343
|
private readonly send;
|
|
340
344
|
private readonly refreshDriver;
|
|
@@ -351,6 +355,8 @@ declare class ConfluenceClient {
|
|
|
351
355
|
updatePage(): UpdatePageOperation;
|
|
352
356
|
/** Bind the footer comment Mutation. */
|
|
353
357
|
addComment(): AddCommentOperation;
|
|
358
|
+
/** Report that the next session sends the accessible-resources request. */
|
|
359
|
+
needsSiteLookup(): boolean;
|
|
354
360
|
/** Resolve the OAuth token and the single selected Confluence Cloud site. */
|
|
355
361
|
startSession(call: Call, operation: string): Promise<ConfluenceSessionResult>;
|
|
356
362
|
/** Exchange one request and refresh a rejected credential once. */
|
|
@@ -368,4 +374,135 @@ declare class ConfluenceClient {
|
|
|
368
374
|
/** Open a named Confluence connection with generated private and shared OAuth credential decoding. */
|
|
369
375
|
declare function newProjectConnection(project: LoadedProject, connectionName: string, options?: ConfluenceClientOptions): Connection<Operations>;
|
|
370
376
|
|
|
371
|
-
|
|
377
|
+
/** A page whose delivered version is 1, its first published version. */
|
|
378
|
+
declare const PageChangeCreated = "created";
|
|
379
|
+
/** A page whose delivered version is 2 or later, including a page created and edited again before the next poll read it. */
|
|
380
|
+
declare const PageChangeUpdated = "updated";
|
|
381
|
+
/** The derived kind of one pageChanged delivery. */
|
|
382
|
+
type PageChangeKind = typeof PageChangeCreated | typeof PageChangeUpdated;
|
|
383
|
+
/** Confluence space picker UI unit, which stores the space ID, key, and name. */ declare const UIUnitSpacePicker = "spacePicker";
|
|
384
|
+
/** Space picker output port: the numeric space ID. */ declare const UISpacePickerPortSpaceID = "spaceId";
|
|
385
|
+
/** Space picker output port: the space key. */ declare const UISpacePickerPortSpaceKey = "spaceKey";
|
|
386
|
+
/** Space picker output port: the space display name. */ declare const UISpacePickerPortSpaceName = "spaceName";
|
|
387
|
+
/**
|
|
388
|
+
* The pageChanged binding configuration that the space picker saves in Dex Web; field names match the Go
|
|
389
|
+
* connector. A blank spaceKey watches every space the connection can view. Changing the space of a binding
|
|
390
|
+
* that already polled makes its next poll record a new baseline.
|
|
391
|
+
*/
|
|
392
|
+
declare const PageChangedTriggerConfigurationSchema: z.ZodObject<{
|
|
393
|
+
spaceId: z.ZodOptional<z.ZodString>;
|
|
394
|
+
spaceKey: z.ZodOptional<z.ZodString>;
|
|
395
|
+
spaceName: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strict>;
|
|
397
|
+
/** The watched space of one pageChanged binding. */
|
|
398
|
+
type PageChangedTriggerConfiguration = z.infer<typeof PageChangedTriggerConfigurationSchema>;
|
|
399
|
+
/**
|
|
400
|
+
* One page created or updated since the previous poll; field names match the Go connector, so a Go and a
|
|
401
|
+
* TypeScript replica share an inbox. A page edited several times between two polls arrives once, at the
|
|
402
|
+
* version current when the poll read it.
|
|
403
|
+
*/
|
|
404
|
+
declare const PageChangedEventSchema: z.ZodObject<{
|
|
405
|
+
cloudId: z.ZodString;
|
|
406
|
+
changeKind: z.ZodEnum<{
|
|
407
|
+
created: "created";
|
|
408
|
+
updated: "updated";
|
|
409
|
+
}>;
|
|
410
|
+
page: z.ZodObject<{
|
|
411
|
+
id: z.ZodString;
|
|
412
|
+
title: z.ZodString;
|
|
413
|
+
status: z.ZodOptional<z.ZodString>;
|
|
414
|
+
spaceId: z.ZodOptional<z.ZodString>;
|
|
415
|
+
spaceKey: z.ZodOptional<z.ZodString>;
|
|
416
|
+
versionNumber: z.ZodOptional<z.ZodNumber>;
|
|
417
|
+
lastModifiedAt: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
418
|
+
webUrl: z.ZodOptional<z.ZodString>;
|
|
419
|
+
}, z.core.$strict>;
|
|
420
|
+
}, z.core.$strict>;
|
|
421
|
+
/** One page created or updated since the previous poll. */
|
|
422
|
+
type PageChangedEvent = z.infer<typeof PageChangedEventSchema>;
|
|
423
|
+
/** Manifest definition of pageChanged. */
|
|
424
|
+
declare const PageChangedTriggerDefinition: TriggerDefinition;
|
|
425
|
+
/** One static application binding of pageChanged. */
|
|
426
|
+
interface PageChangedTriggerBindingConfig {
|
|
427
|
+
/** Static connection name. */ connectionName: string;
|
|
428
|
+
/** Static binding name. */ bindingName: string;
|
|
429
|
+
/** Connector Studio configuration units for the binding, such as the spacePicker unit. */ configurationUI: ConnectorConfigurationUI;
|
|
430
|
+
}
|
|
431
|
+
/** Declare a static pageChanged binding for Flow Definition tooling and Dex Web. */
|
|
432
|
+
declare function definePageChangedTriggerBinding(config: PageChangedTriggerBindingConfig): TriggerBindingDefinition;
|
|
433
|
+
|
|
434
|
+
/** Return the pageChanged Trigger event ID: a hash of site, page ID, and version, as the Go connector computes it. */
|
|
435
|
+
declare function pageChangeEventId(cloudId: string, pageId: string, versionNumber: number): string;
|
|
436
|
+
|
|
437
|
+
/** Binds one pageChanged configuration to its application target and cursor. */
|
|
438
|
+
interface PageChangedTriggerRoute {
|
|
439
|
+
/** Stable application binding name, unique within the runner. */ bindingName: string;
|
|
440
|
+
/** Selects the watched space; blank watches every space the connection can view. */ configuration: PageChangedTriggerConfiguration;
|
|
441
|
+
/**
|
|
442
|
+
* Routes each change into the application. A target from newDurableTriggerTarget records each change before
|
|
443
|
+
* the cursor commits past it; any other target consumes it first.
|
|
444
|
+
*/
|
|
445
|
+
target: TriggerTarget<PageChangedEvent>;
|
|
446
|
+
/**
|
|
447
|
+
* Stores the binding's position, such as LoadedProject.pollCursorStore. Omitted keeps it in memory, so every
|
|
448
|
+
* process start records a new baseline and changes made while stopped are lost.
|
|
449
|
+
*/
|
|
450
|
+
cursor?: CursorStore | undefined;
|
|
451
|
+
}
|
|
452
|
+
/** Configures every Confluence Trigger binding polled through one connection. */
|
|
453
|
+
interface PageTriggerRunnerConfig {
|
|
454
|
+
/** A connection from newProjectConnection or newConnection with a ConfluenceClient. */ connection: Connection;
|
|
455
|
+
/** The pageChanged bindings; at least one is required. */ pageChangedRoutes: readonly PageChangedTriggerRoute[];
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
* Create one poll runner for the configured pageChanged bindings. run replays each durable target, records a
|
|
459
|
+
* baseline for a binding without a cursor, then polls every binding each pollInterval with jitter. Each poll
|
|
460
|
+
* reads CQL search, newest modification first, back to ten minutes before the previous scan began, and delivers
|
|
461
|
+
* each page version not delivered before. A 429, or a 503 with Retry-After, pauses every binding of the
|
|
462
|
+
* connection for Retry-After, or backs off exponentially without it; other failures back off per binding up to
|
|
463
|
+
* 15 minutes, and none of them moves the cursor. A cursor for another site or space records a new baseline and
|
|
464
|
+
* logs a WARN record. Delivery is at least once, and each page version keeps one Trigger event ID across
|
|
465
|
+
* refetches. Records go to the client's triggerLogger. Throws for empty routes, a blank binding name
|
|
466
|
+
* or missing target, an invalid configuration, or a connection without a ConfluenceClient.
|
|
467
|
+
*/
|
|
468
|
+
declare function newPageTriggerRunner(config: PageTriggerRunnerConfig): Runner;
|
|
469
|
+
/** Configuration of one pageChanged Trigger without project storage. */
|
|
470
|
+
interface PageChangedTriggerConfig {
|
|
471
|
+
/** Confluence connection from newProjectConnection or newConnection with a ConfluenceClient. */ connection: Connection;
|
|
472
|
+
/** Static binding name. */ bindingName: string;
|
|
473
|
+
/** The watched space. */ configuration: PageChangedTriggerConfiguration;
|
|
474
|
+
/** Routes changes into the application. */ target: TriggerTarget<PageChangedEvent>;
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* Create one pageChanged binding as a TriggerRunner polling on its own schedule. It has no project storage,
|
|
478
|
+
* so it keeps the cursor in memory and records a new baseline on every start; use
|
|
479
|
+
* newProjectPageTriggerRunner for a durable cursor.
|
|
480
|
+
*/
|
|
481
|
+
declare function newPageChangedTrigger(config: PageChangedTriggerConfig): TriggerRunner;
|
|
482
|
+
/** Selects one pageChanged binding saved in the project configuration. */
|
|
483
|
+
interface ProjectPageChangedTriggerRoute {
|
|
484
|
+
/** The saved binding name. */ bindingName: string;
|
|
485
|
+
/** Routes each change into the application, usually newDexFlowTriggerTarget. */ target: TriggerTarget<PageChangedEvent>;
|
|
486
|
+
}
|
|
487
|
+
/** Polls the project's pageChanged bindings. Run it for the life of the Worker process. */
|
|
488
|
+
declare class PageTriggerRunner {
|
|
489
|
+
private readonly runner;
|
|
490
|
+
/** @internal Use newProjectPageTriggerRunner. */
|
|
491
|
+
constructor(runner: Runner);
|
|
492
|
+
/** Replay each binding's inbox, then poll until context.signal aborts; rejects with TriggerDeliveryAbortedError then. */
|
|
493
|
+
run(context: TriggerContext): Promise<void>;
|
|
494
|
+
/** Make the named binding poll now, without shortening a rate-limit pause. */
|
|
495
|
+
wakePoller(bindingName: string): void;
|
|
496
|
+
}
|
|
497
|
+
/**
|
|
498
|
+
* Open connectionName from the loaded project, load each route's saved space (an unsaved binding watches
|
|
499
|
+
* every space the connection can view), and create a durable runner: each route records changes in its
|
|
500
|
+
* binding's project Trigger inbox before its position commits in the binding's project poll cursor, so a
|
|
501
|
+
* restarted or replaced replica neither misses nor repeats a change. The options' triggerLogger also applies
|
|
502
|
+
* to the inboxes. Throws for empty routes, a blank or repeated binding name, or an invalid saved configuration.
|
|
503
|
+
*/
|
|
504
|
+
declare function newProjectPageTriggerRunner(project: LoadedProject, connectionName: string, routes: readonly ProjectPageChangedTriggerRoute[], options?: ConfluenceClientOptions): PageTriggerRunner;
|
|
505
|
+
/** Decode a replayed inbox payload written by this package or by the Go connector; throws for anything else. */
|
|
506
|
+
declare function decodePageChangedEventPayload(_payloadJSON: string, payloadBytes: Uint8Array): PageChangedEvent;
|
|
507
|
+
|
|
508
|
+
export { AddCommentBranch, AddCommentBranchAdded, AddCommentBranchDefect, AddCommentBranchNotFound, AddCommentBranchProviderRejected, AddCommentBranchUncertain, AddCommentDefinition, AddCommentInput, AddCommentMetadata, AddCommentOperation, AddCommentOutput, type AddCommentStepConfig, Config, ConfluenceClient, type ConfluenceClientOptions, Connection, ConnectorID, CreatePageBranch, CreatePageBranchCreated, CreatePageBranchDefect, CreatePageBranchNotFound, CreatePageBranchProviderRejected, CreatePageBranchTitleConflict, CreatePageDefinition, CreatePageInput, CreatePageMetadata, CreatePageOperation, CreatePageOutput, type CreatePageStepConfig, CredentialSource, GetPageBranch, GetPageBranchDefect, GetPageBranchFound, GetPageBranchInvalidResponse, GetPageBranchNotFound, GetPageBranchProviderRejected, GetPageDefinition, GetPageInput, GetPageMetadata, GetPageOperation, type GetPageStepConfig, Page, PageChangeCreated, type PageChangeKind, PageChangeUpdated, type PageChangedEvent, PageChangedEventSchema, type PageChangedTriggerBindingConfig, type PageChangedTriggerConfig, type PageChangedTriggerConfiguration, PageChangedTriggerConfigurationSchema, PageChangedTriggerDefinition, type PageChangedTriggerRoute, PageTriggerRunner, type PageTriggerRunnerConfig, type ProjectPageChangedTriggerRoute, ProviderID, SearchPagesBranch, SearchPagesBranchDefect, SearchPagesBranchInvalidResponse, SearchPagesBranchProviderRejected, SearchPagesBranchSearched, SearchPagesDefinition, SearchPagesInput, SearchPagesMetadata, SearchPagesOperation, SearchPagesOutput, type SearchPagesStepConfig, UISpacePickerPortSpaceID, UISpacePickerPortSpaceKey, UISpacePickerPortSpaceName, UIUnitSpacePicker, UpdatePageBranch, UpdatePageBranchDefect, UpdatePageBranchNotFound, UpdatePageBranchProviderRejected, UpdatePageBranchUpdated, UpdatePageBranchVersionConflict, UpdatePageDefinition, UpdatePageInput, UpdatePageMetadata, UpdatePageOperation, UpdatePageOutput, type UpdatePageStepConfig, decodePageChangedEventPayload, definePageChangedTriggerBinding, newAddCommentStep, newCreatePageStep, newGetPageStep, newPageChangedTrigger, newPageTriggerRunner, newProjectConnection, newProjectPageTriggerRunner, newSearchPagesStep, newUpdatePageStep, pageChangeEventId };
|