@forumone/throughline-integrations 0.8.0 → 0.8.2

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 CHANGED
@@ -1,5 +1,86 @@
1
1
  # @forumone/throughline-integrations
2
2
 
3
+ ## 0.8.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 957403b: One `@types/node`, so a host does not end up with two copies of `@payloadcms/ui`
8
+
9
+ Twelve packages asked for `@types/node@^20.17.0` and `design-system-payload`
10
+ asked for `^24.13.2`. Inside this repository that is untidy. Inside a host that
11
+ consumes the suite from source — which is how `forumone/forumone-2026` uses it,
12
+ as a git submodule in one pnpm workspace — it is a runtime failure.
13
+
14
+ pnpm hashes a package's identity with its resolved peers. `publishing` and
15
+ `integrations` both take `@payloadcms/ui` as a peer _and_ as a devDependency, so
16
+ each got its own copy resolved against `@types/node@20`, while the host's copy
17
+ resolved against `@types/node@24`. Same version, 3.87.1, two directories:
18
+
19
+ apps/web → @payloadcms+ui@3.87.1_…_9ce0de5c…
20
+ packages/publishing → @payloadcms+ui@3.87.1_…_13184ec4…
21
+ packages/integrations → @payloadcms+ui@3.87.1_…_13184ec4…
22
+
23
+ Two directories are two module instances. Two instances of `@payloadcms/ui` are
24
+ two `ConfigContext` objects, and `PublishButton` read the one the admin's
25
+ provider had never populated:
26
+
27
+ TypeError: Cannot destructure property 'config' of useConfig() as it is undefined
28
+
29
+ The host saw an intermittent 500 on every admin document view — `PublishButton`
30
+ is installed on each collection with a publish policy, so lists, `/admin` and
31
+ the login screen were all fine and only editing broke. Nothing caught it:
32
+ install, `--frozen-lockfile`, typecheck, lint and every test passed, because the
33
+ two copies are byte-identical and the split exists only at module resolution.
34
+ forumone/forumone-2026#498.
35
+
36
+ Aligning on `^24.13.2` collapses them to one instance. Nothing here targets a
37
+ Node 20 API deliberately; the packages typecheck and test unchanged against the
38
+ newer types.
39
+
40
+ `create-throughline` keeps `^20.17.0` on purpose. It is the one package
41
+ declaring `engines.node: >=20.9.0`, and typechecking a CLI against types newer
42
+ than the runtime it promises to support is how a Node 24-only call ships to
43
+ somebody on Node 20.
44
+
45
+ - Updated dependencies [957403b]
46
+ - @forumone/throughline-core@0.8.1
47
+ - @forumone/throughline-plugin-contract@0.4.1
48
+
49
+ ## 0.8.1
50
+
51
+ ### Patch Changes
52
+
53
+ - 45724ee: The credentials come out of an editor's read of an integration
54
+
55
+ `integrations` grants document read to an admin _or_ an editor, and it should:
56
+ the reason an editor opens this collection is to see whether last night's sync
57
+ ran. The collection's docblock has always said so — "editors can read instance
58
+ status" — but a document read hands over the whole document, and `config` is one
59
+ JSON column holding whatever an integration needs to authenticate. A HubSpot
60
+ private app token, a webhook signing secret, a target URL. So _status_ was a
61
+ description of the intent, not of the code, and every editor could read every
62
+ credential from `GET /api/<slug>` and from the admin screen.
63
+
64
+ `config` now carries its own `read` / `create` / `update`, admin-only. An
65
+ editor's read returns the row without it: `name`, `enabled`, `lastSyncAt`,
66
+ `lastSyncStatus` and `lastError` are untouched, which is the whole of what the
67
+ status view and the `list_integrations` / `get_integration_status` tools project
68
+ anyway.
69
+
70
+ Nothing that needs the value loses it. Every reader of `config` goes through the
71
+ Local API — `loadInstances` here, and a host's sync and form endpoints — which
72
+ overrides access. The MCP tools never emitted the field.
73
+
74
+ `create` and `update` are redundant today, since the collection's own create and
75
+ update are already admin-only. They are there for the day document write is
76
+ widened so an editor can correct a status, and are the reason that day does not
77
+ also hand over the credential.
78
+
79
+ A `configFields` entry cannot do this itself: those drive the admin UI, and the
80
+ schema has one `json` column behind them, so there is no per-key field for
81
+ Payload to gate. Anything secret in `config` is protected by this rule or not at
82
+ all.
83
+
3
84
  ## 0.8.0
4
85
 
5
86
  ### Minor Changes
@@ -12,7 +12,9 @@ export interface CreateIntegrationsCollectionOptions {
12
12
  * would let an attacker re-target webhook URLs or rotate signing secrets.
13
13
  *
14
14
  * Editors can read instance status (used by the listing/status MCP tools);
15
- * write operations are reserved for admins editing in the Payload UI.
15
+ * write operations are reserved for admins editing in the Payload UI. *Status*
16
+ * is the operative word: `config` carries its own admin-only field access, so
17
+ * an editor's read returns the row without the credentials in it.
16
18
  *
17
19
  * The one control on the document that is not a field is the sidebar's Sync
18
20
  * now button, which POSTs to the `:id/sync` endpoint passed in `endpoints`.
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../src/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AASxD,MAAM,WAAW,mCAAmC;IAClD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,mEAAmE;IACnE,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;CACvB;AAYD;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,mCAAmC,GAC3C,gBAAgB,CAqIlB"}
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../src/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,gBAAgB,EAAE,QAAQ,EAAe,MAAM,SAAS,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AASxD,MAAM,WAAW,mCAAmC;IAClD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,mBAAmB,CAAA;IAC7B,mEAAmE;IACnE,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;CACvB;AAsBD;;;;;;;;;;;;GAYG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,mCAAmC,GAC3C,gBAAgB,CAiKlB"}
@@ -12,13 +12,24 @@ const adminOnly = ({ req }) => {
12
12
  const roles = req.user?.['roles'] ?? [];
13
13
  return roles.includes('admin');
14
14
  };
15
+ /**
16
+ * The same rule, at the field. `FieldAccess` is a different signature from
17
+ * `Access` — it may only answer a boolean, never a `where` query — so it cannot
18
+ * be the same function.
19
+ */
20
+ const adminOnlyField = ({ req }) => {
21
+ const roles = req.user?.['roles'] ?? [];
22
+ return roles.includes('admin');
23
+ };
15
24
  /**
16
25
  * Collection that persists per-instance integration configuration. Configuration
17
26
  * is admin-only by design: prompt injection that gave Claude write access here
18
27
  * would let an attacker re-target webhook URLs or rotate signing secrets.
19
28
  *
20
29
  * Editors can read instance status (used by the listing/status MCP tools);
21
- * write operations are reserved for admins editing in the Payload UI.
30
+ * write operations are reserved for admins editing in the Payload UI. *Status*
31
+ * is the operative word: `config` carries its own admin-only field access, so
32
+ * an editor's read returns the row without the credentials in it.
22
33
  *
23
34
  * The one control on the document that is not a field is the sidebar's Sync
24
35
  * now button, which POSTs to the `:id/sync` endpoint passed in `endpoints`.
@@ -66,8 +77,36 @@ export function createIntegrationsCollection(options) {
66
77
  {
67
78
  name: 'config',
68
79
  type: 'json',
80
+ /*
81
+ Admin-only at the field, because this is where the credentials are.
82
+
83
+ Document read is admin *or* editor, and deliberately so — the reason an
84
+ editor opens this collection is to see whether last night's sync ran.
85
+ But a document read hands over the whole document, and `config` is one
86
+ JSON column holding whatever an integration needs to authenticate: a
87
+ HubSpot private app token, a signing secret, a webhook URL. The
88
+ docblock above has always said editors read instance *status*; without
89
+ this, that was a description of the intent rather than of the code.
90
+
91
+ Nothing that needs the value loses it. Every reader of `config` goes
92
+ through the Local API — `loadInstances` here, and the host's sync and
93
+ form endpoints — which overrides access. The MCP tools project a fixed
94
+ field list that never included `config`. What changes is `GET /api/<slug>`
95
+ and the admin screen for a non-admin, which now show status and no
96
+ secrets.
97
+
98
+ `create` and `update` as well, so the credential cannot be replaced by
99
+ somebody who could not read it. Redundant today, since the collection's
100
+ own create and update are already admin-only, and cheap insurance
101
+ against the day document write is widened for status edits.
102
+ */
103
+ access: {
104
+ read: adminOnlyField,
105
+ create: adminOnlyField,
106
+ update: adminOnlyField,
107
+ },
69
108
  admin: {
70
- description: 'Integration-specific configuration. The integration\'s configFields drive the admin UI; this JSON store carries the validated payload.',
109
+ description: 'Integration-specific configuration. The integration\'s configFields drive the admin UI; this JSON store carries the validated payload. Admin-only: it holds the credentials.',
71
110
  },
72
111
  },
73
112
  {
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../src/collection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAA;AAExD;;;GAGG;AACH,MAAM,YAAY,GAAG,2CAA2C,CAAA;AAShE,MAAM,aAAa,GAAW,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;IACxC,MAAM,KAAK,GAAI,GAAG,CAAC,IAAI,EAAE,CAAC,OAAO,CAA0B,IAAI,EAAE,CAAA;IACjE,OAAO,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;AAC5D,CAAC,CAAA;AAED,MAAM,SAAS,GAAW,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE;IACpC,MAAM,KAAK,GAAI,GAAG,CAAC,IAAI,EAAE,CAAC,OAAO,CAA0B,IAAI,EAAE,CAAA;IACjE,OAAO,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAA;AAChC,CAAC,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,4BAA4B,CAC1C,OAA4C;IAE5C,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,IAAI,yBAAyB,CAAA;IACtD,MAAM,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAA;IAE5B,OAAO;QACL,IAAI;QACJ,KAAK,EAAE;YACL,UAAU,EAAE,MAAM;YAClB,cAAc,EAAE,CAAC,MAAM,EAAE,iBAAiB,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,CAAC;YACtF,WAAW,EACT,4GAA4G;SAC/G;QACD,MAAM,EAAE;YACN,IAAI,EAAE,a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KAAK,CACb,sBAAsB,WAAW,CAAC,IAAI,KAAK,UAAU,CAAC,MAAM,IAAI,iBAAiB,EAAE,CACpF,CAAA;oBACH,CAAC;oBACD,OAAO,IAAI,CAAA;gBACb,CAAC;aACF;SACF;KACF,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forumone/throughline-integrations",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Plugin architecture for connecting Throughline-powered Payload sites to external systems. Ships the Integration contract, registry, collection, MCP tools, and a generic outbound-webhook integration as the first concrete example.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -56,12 +56,12 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "zod": "^3.23.0",
59
- "@forumone/throughline-plugin-contract": "0.4.0",
60
- "@forumone/throughline-core": "0.8.0"
59
+ "@forumone/throughline-core": "0.8.1",
60
+ "@forumone/throughline-plugin-contract": "0.4.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@payloadcms/ui": "^3.83.0",
64
- "@types/node": "^20.17.0",
64
+ "@types/node": "^24.13.2",
65
65
  "@types/react": "^19.2.0",
66
66
  "eslint": "^9.15.0",
67
67
  "inngest": "^4.2.0",