@forumone/throughline 1.3.0 → 1.4.0-next-a7a9a8c
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/CHANGELOG.md +16 -0
- package/dist/content/blocks.d.ts +230 -0
- package/dist/content/blocks.d.ts.map +1 -0
- package/dist/content/blocks.js +295 -0
- package/dist/content/blocks.js.map +1 -0
- package/dist/content/guards.d.ts +45 -0
- package/dist/content/guards.d.ts.map +1 -0
- package/dist/content/guards.js +176 -0
- package/dist/content/guards.js.map +1 -0
- package/dist/content/index.d.ts +8 -0
- package/dist/content/index.d.ts.map +1 -1
- package/dist/content/index.js +5 -0
- package/dist/content/index.js.map +1 -1
- package/dist/content/plugin.d.ts.map +1 -1
- package/dist/content/plugin.js +14 -3
- package/dist/content/plugin.js.map +1 -1
- package/dist/content/tools.d.ts +19 -1
- package/dist/content/tools.d.ts.map +1 -1
- package/dist/content/tools.js +9 -9
- package/dist/content/tools.js.map +1 -1
- package/dist/content/validate.d.ts +20 -0
- package/dist/content/validate.d.ts.map +1 -0
- package/dist/content/validate.js +66 -0
- package/dist/content/validate.js.map +1 -0
- package/dist/content/write.d.ts +119 -0
- package/dist/content/write.d.ts.map +1 -0
- package/dist/content/write.js +353 -0
- package/dist/content/write.js.map +1 -0
- package/dist/migrate/exports.json +28 -0
- package/package.json +3 -3
|
@@ -51,10 +51,14 @@
|
|
|
51
51
|
"CHARACTER_COUNT_TEXTAREA_PATH": ["@forumone/throughline/fields"],
|
|
52
52
|
"CHARACTER_COUNT_TEXT_PATH": ["@forumone/throughline/fields"],
|
|
53
53
|
"COMMAND_PALETTE_PATH": ["@forumone/throughline/editorial"],
|
|
54
|
+
"CONTENT_BLOCK_TOOLS": ["@forumone/throughline/content"],
|
|
55
|
+
"CONTENT_BLOCK_TOOL_DESCRIPTORS": ["@forumone/throughline/content"],
|
|
54
56
|
"CONTENT_CALENDAR_VIEW_PATH": ["@forumone/throughline/editorial"],
|
|
55
57
|
"CONTENT_HEALTH_VIEW_PATH": ["@forumone/throughline/editorial"],
|
|
56
58
|
"CONTENT_READ_TOOLS": ["@forumone/throughline/content"],
|
|
57
59
|
"CONTENT_READ_TOOL_DESCRIPTORS": ["@forumone/throughline/content"],
|
|
60
|
+
"CONTENT_WRITE_TOOLS": ["@forumone/throughline/content"],
|
|
61
|
+
"CONTENT_WRITE_TOOL_DESCRIPTORS": ["@forumone/throughline/content"],
|
|
58
62
|
"CacheTagScheme": ["@forumone/throughline/cache-tags"],
|
|
59
63
|
"CacheTags": ["@forumone/throughline/cache-tags"],
|
|
60
64
|
"CalendarClock": ["@forumone/throughline/editorial"],
|
|
@@ -73,6 +77,7 @@
|
|
|
73
77
|
"CommandPalette": ["@forumone/throughline/client"],
|
|
74
78
|
"CommandPaletteProps": ["@forumone/throughline/client"],
|
|
75
79
|
"ComponentsPluginOptions": ["@forumone/throughline/components"],
|
|
80
|
+
"CompositionIssue": ["@forumone/throughline/content"],
|
|
76
81
|
"ConfigInput": ["@forumone/throughline/testing"],
|
|
77
82
|
"ContentCalendarReport": ["@forumone/throughline/rsc"],
|
|
78
83
|
"ContentCalendarView": ["@forumone/throughline/rsc"],
|
|
@@ -81,6 +86,7 @@
|
|
|
81
86
|
"ContentHealthView": ["@forumone/throughline/rsc"],
|
|
82
87
|
"ContentPluginOptions": ["@forumone/throughline/content"],
|
|
83
88
|
"ContentToolDeps": ["@forumone/throughline/content"],
|
|
89
|
+
"ContentWriteDeps": ["@forumone/throughline/content"],
|
|
84
90
|
"CoreEvents": ["@forumone/throughline/jobs"],
|
|
85
91
|
"CorePlugin": ["@forumone/throughline"],
|
|
86
92
|
"CreateActionEndpointDeps": ["@forumone/throughline/approvals"],
|
|
@@ -122,6 +128,7 @@
|
|
|
122
128
|
"FailureHandlerOptions": ["@forumone/throughline/jobs"],
|
|
123
129
|
"FetchSyncStatusArgs": ["@forumone/throughline/client"],
|
|
124
130
|
"FieldDescription": ["@forumone/throughline/content"],
|
|
131
|
+
"FieldProblem": ["@forumone/throughline/content"],
|
|
125
132
|
"FindContentNeedingAttentionOptions": ["@forumone/throughline/editorial"],
|
|
126
133
|
"FindReferencesOptions": ["@forumone/throughline/media"],
|
|
127
134
|
"FormattedAuditEvent": ["@forumone/throughline/audit"],
|
|
@@ -180,6 +187,7 @@
|
|
|
180
187
|
"KeyParts": ["@forumone/throughline/media"],
|
|
181
188
|
"LISTED": ["@forumone/throughline/fields"],
|
|
182
189
|
"LOCKED_DOCUMENTS_SLUG": ["@forumone/throughline"],
|
|
190
|
+
"LockHolder": ["@forumone/throughline/content"],
|
|
183
191
|
"Logger": ["@forumone/throughline"],
|
|
184
192
|
"MANUAL_SYNC_EVENT": ["@forumone/throughline/integrations"],
|
|
185
193
|
"MCP_API_KEYS_SLUG": ["@forumone/throughline"],
|
|
@@ -239,6 +247,7 @@
|
|
|
239
247
|
"ReferenceToolDeps": ["@forumone/throughline/media"],
|
|
240
248
|
"ReferencesInOptions": ["@forumone/throughline/media"],
|
|
241
249
|
"ReferencesPluginOptions": ["@forumone/throughline/media"],
|
|
250
|
+
"RefusedField": ["@forumone/throughline/content"],
|
|
242
251
|
"RelatedKindOptions": ["@forumone/throughline/content"],
|
|
243
252
|
"Report": ["@forumone/throughline/editorial"],
|
|
244
253
|
"ReportDeployment": ["@forumone/throughline/observability"],
|
|
@@ -319,6 +328,7 @@
|
|
|
319
328
|
"auditEventEchoJob": ["@forumone/throughline/audit"],
|
|
320
329
|
"auditPlugin": ["@forumone/throughline/audit"],
|
|
321
330
|
"auditQueryPlugin": ["@forumone/throughline/audit"],
|
|
331
|
+
"blockFieldPaths": ["@forumone/throughline/content"],
|
|
322
332
|
"blockRegistry": ["@forumone/throughline/media"],
|
|
323
333
|
"buildActionUrl": ["@forumone/throughline/approvals"],
|
|
324
334
|
"buildHealthcheckFailureReport": ["@forumone/throughline/observability"],
|
|
@@ -334,6 +344,7 @@
|
|
|
334
344
|
"clientPrefix": ["@forumone/throughline/observability"],
|
|
335
345
|
"clockFor": ["@forumone/throughline/editorial"],
|
|
336
346
|
"componentsPlugin": ["@forumone/throughline/components"],
|
|
347
|
+
"compositionErrors": ["@forumone/throughline/content"],
|
|
337
348
|
"contentPlugin": ["@forumone/throughline/content"],
|
|
338
349
|
"contentRevisedAt": ["@forumone/throughline/fields"],
|
|
339
350
|
"couldReference": ["@forumone/throughline/media"],
|
|
@@ -346,7 +357,10 @@
|
|
|
346
357
|
"createCacheTags": ["@forumone/throughline/cache-tags"],
|
|
347
358
|
"createCanDeleteTool": ["@forumone/throughline/media"],
|
|
348
359
|
"createCheckSlugTool": ["@forumone/throughline/fields"],
|
|
360
|
+
"createContentBlockTools": ["@forumone/throughline/content"],
|
|
349
361
|
"createContentReadTools": ["@forumone/throughline/content"],
|
|
362
|
+
"createContentWriteTools": ["@forumone/throughline/content"],
|
|
363
|
+
"createCreateDraftTool": ["@forumone/throughline/content"],
|
|
350
364
|
"createDescribeContentTypeTool": ["@forumone/throughline/content"],
|
|
351
365
|
"createEmailClient": ["@forumone/throughline/email"],
|
|
352
366
|
"createErrorReporter": ["@forumone/throughline/observability"],
|
|
@@ -361,6 +375,7 @@
|
|
|
361
375
|
"createGetRecentFailuresTool": ["@forumone/throughline/audit"],
|
|
362
376
|
"createHealthcheckFailureHandler": ["@forumone/throughline/jobs"],
|
|
363
377
|
"createInngestClient": ["@forumone/throughline/jobs/inngest"],
|
|
378
|
+
"createInsertBlockTool": ["@forumone/throughline/content"],
|
|
364
379
|
"createJobFailureWriter": ["@forumone/throughline/observability"],
|
|
365
380
|
"createJobFailuresCollection": ["@forumone/throughline/observability"],
|
|
366
381
|
"createListIntegrationTypesTool": ["@forumone/throughline/integrations"],
|
|
@@ -368,15 +383,19 @@
|
|
|
368
383
|
"createListJobFailuresTool": ["@forumone/throughline/observability"],
|
|
369
384
|
"createListMyWorkTool": ["@forumone/throughline/editorial"],
|
|
370
385
|
"createManifestReachableCheck": ["@forumone/throughline/integrations"],
|
|
386
|
+
"createMoveBlockTool": ["@forumone/throughline/content"],
|
|
371
387
|
"createNamedLogger": ["@forumone/throughline"],
|
|
372
388
|
"createPayloadReachableCheck": ["@forumone/throughline/integrations"],
|
|
373
389
|
"createQueryAuditTool": ["@forumone/throughline/audit"],
|
|
390
|
+
"createRemoveBlockTool": ["@forumone/throughline/content"],
|
|
374
391
|
"createSearchContentTool": ["@forumone/throughline/editorial"],
|
|
375
392
|
"createSyncEndpoint": ["@forumone/throughline/integrations"],
|
|
376
393
|
"createTagRevalidationHooks": ["@forumone/throughline/publishing"],
|
|
377
394
|
"createTerminalFailureHandler": ["@forumone/throughline/jobs"],
|
|
378
395
|
"createTestIntegrationTool": ["@forumone/throughline/integrations"],
|
|
379
396
|
"createTriggerSyncTool": ["@forumone/throughline/integrations"],
|
|
397
|
+
"createUpdateBlockTool": ["@forumone/throughline/content"],
|
|
398
|
+
"createUpdateDraftTool": ["@forumone/throughline/content"],
|
|
380
399
|
"createWhatChangedInRangeTool": ["@forumone/throughline/audit"],
|
|
381
400
|
"createWhoChangedWhatTool": ["@forumone/throughline/audit"],
|
|
382
401
|
"currentDeployment": ["@forumone/throughline/observability"],
|
|
@@ -395,6 +414,7 @@
|
|
|
395
414
|
"describeFields": ["@forumone/throughline/content"],
|
|
396
415
|
"describeReferences": ["@forumone/throughline/media"],
|
|
397
416
|
"describeSyncOutcome": ["@forumone/throughline/client"],
|
|
417
|
+
"disallowedBlocks": ["@forumone/throughline/content"],
|
|
398
418
|
"documentContentHash": ["@forumone/throughline"],
|
|
399
419
|
"documentFromPath": ["@forumone/throughline/editorial"],
|
|
400
420
|
"editorialPlugin": ["@forumone/throughline/editorial"],
|
|
@@ -444,10 +464,13 @@
|
|
|
444
464
|
"keepOrStampPublishedAt": ["@forumone/throughline/fields"],
|
|
445
465
|
"linkLabelsCheck": ["@forumone/throughline/publishing"],
|
|
446
466
|
"listHref": ["@forumone/throughline/editorial"],
|
|
467
|
+
"lockHolder": ["@forumone/throughline/content"],
|
|
468
|
+
"lockRefusal": ["@forumone/throughline/content"],
|
|
447
469
|
"mapFields": ["@forumone/throughline/fields"],
|
|
448
470
|
"matchCommands": ["@forumone/throughline/editorial"],
|
|
449
471
|
"matchRank": ["@forumone/throughline/editorial"],
|
|
450
472
|
"mcpApiKeyAccess": ["@forumone/throughline"],
|
|
473
|
+
"mergePatch": ["@forumone/throughline/content"],
|
|
451
474
|
"mergeTokens": ["@forumone/throughline/email"],
|
|
452
475
|
"missingAltCheck": ["@forumone/throughline/editorial"],
|
|
453
476
|
"missingSeoCheck": ["@forumone/throughline/editorial"],
|
|
@@ -455,9 +478,11 @@
|
|
|
455
478
|
"monthTitle": ["@forumone/throughline/editorial"],
|
|
456
479
|
"monthsBefore": ["@forumone/throughline/editorial"],
|
|
457
480
|
"movesToTrash": ["@forumone/throughline/media"],
|
|
481
|
+
"newBlockId": ["@forumone/throughline/content"],
|
|
458
482
|
"notifyApprovalDecisionJob": ["@forumone/throughline/email"],
|
|
459
483
|
"notifyApprovalExpiredJob": ["@forumone/throughline/email"],
|
|
460
484
|
"notifyApprovalRequestJob": ["@forumone/throughline/email"],
|
|
485
|
+
"openForWrite": ["@forumone/throughline/content"],
|
|
461
486
|
"payloadIdempotencyKey": ["@forumone/throughline/jobs/payload"],
|
|
462
487
|
"payloadJobs": ["@forumone/throughline/jobs/payload"],
|
|
463
488
|
"pointsAt": ["@forumone/throughline/media"],
|
|
@@ -483,6 +508,7 @@
|
|
|
483
508
|
"refuseSlugHeldInTrash": ["@forumone/throughline/fields"],
|
|
484
509
|
"refuseStorageKeyMismatch": ["@forumone/throughline/media"],
|
|
485
510
|
"refuseTrashWhileReferenced": ["@forumone/throughline/media"],
|
|
511
|
+
"refusedFields": ["@forumone/throughline/content"],
|
|
486
512
|
"registersInngestCrons": ["@forumone/throughline/jobs/inngest"],
|
|
487
513
|
"registrableInngestFunctions": ["@forumone/throughline/jobs/inngest"],
|
|
488
514
|
"relativeTime": ["@forumone/throughline/editorial"],
|
|
@@ -493,6 +519,7 @@
|
|
|
493
519
|
"revisedAtField": ["@forumone/throughline/fields"],
|
|
494
520
|
"sanitizeStoredSvg": ["@forumone/throughline/media"],
|
|
495
521
|
"sanitizeSvg": ["@forumone/throughline/media"],
|
|
522
|
+
"saveDraft": ["@forumone/throughline/content"],
|
|
496
523
|
"scheduleDocument": ["@forumone/throughline/publishing"],
|
|
497
524
|
"scheduledPublishField": ["@forumone/throughline/fields"],
|
|
498
525
|
"searchContent": ["@forumone/throughline/editorial"],
|
|
@@ -524,6 +551,7 @@
|
|
|
524
551
|
"unwrapRelationshipId": ["@forumone/throughline"],
|
|
525
552
|
"uploadPrefixField": ["@forumone/throughline/media"],
|
|
526
553
|
"usedBy": ["@forumone/throughline/fields"],
|
|
554
|
+
"validateBlock": ["@forumone/throughline/content"],
|
|
527
555
|
"verifyActionToken": ["@forumone/throughline/approvals"],
|
|
528
556
|
"webhookIntegration": ["@forumone/throughline/integrations"],
|
|
529
557
|
"whereQuery": ["@forumone/throughline/editorial"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forumone/throughline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-next-a7a9a8c",
|
|
4
4
|
"description": "Throughline: an editorial platform for Payload CMS. Publishing, approvals, audit, integrations, email and jobs, with every feature reachable over MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"dependencies": {
|
|
167
167
|
"zod": "^3.23.0",
|
|
168
168
|
"zod-to-json-schema": "^3.25.2",
|
|
169
|
-
"@forumone/throughline-design-system": "1.
|
|
169
|
+
"@forumone/throughline-design-system": "1.4.0-next-a7a9a8c"
|
|
170
170
|
},
|
|
171
171
|
"devDependencies": {
|
|
172
172
|
"@payloadcms/db-sqlite": "^3.83.0",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"typescript": "^5.6.0",
|
|
190
190
|
"vitest": "^4.1.10",
|
|
191
191
|
"@forumone/throughline-eslint-config": "0.0.1",
|
|
192
|
-
"@forumone/throughline-reference-ds": "0.3.
|
|
192
|
+
"@forumone/throughline-reference-ds": "0.3.13-next-a7a9a8c",
|
|
193
193
|
"@forumone/throughline-tsconfig": "0.0.1"
|
|
194
194
|
},
|
|
195
195
|
"scripts": {
|