@coffer-org/plugin-documents 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/dist/schema.js +21 -1
  2. package/package.json +2 -1
package/dist/schema.js CHANGED
@@ -4609,6 +4609,25 @@ function internalApiToken(o) {
4609
4609
  ]
4610
4610
  });
4611
4611
  }
4612
+ /**
4613
+ * Internal "connected apps" list — the OAuth clients (claude.ai & co) the user
4614
+ * has authorized for MCP access. Same "internal" caveat and custom-renderer
4615
+ * trick as internalApiToken(): read-only rows + a revoke action, never part of
4616
+ * the parent form's save.
4617
+ */
4618
+ function internalOauthGrants(o) {
4619
+ return group({
4620
+ key: o.key,
4621
+ label: o.label ?? o.key,
4622
+ multiple: true,
4623
+ view: { kind: "internalOauthGrants" },
4624
+ fields: [
4625
+ string({ key: "clientName" }),
4626
+ string({ key: "createdAt" }),
4627
+ string({ key: "lastUsedAt" })
4628
+ ]
4629
+ });
4630
+ }
4612
4631
  var SLUG_RE = /^[a-z0-9-]+$/;
4613
4632
  function slug(raw) {
4614
4633
  const o = normalizeOpts(raw);
@@ -5038,7 +5057,8 @@ var presets = {
5038
5057
  weight,
5039
5058
  dimensions,
5040
5059
  country,
5041
- internalApiToken
5060
+ internalApiToken,
5061
+ internalOauthGrants
5042
5062
  };
5043
5063
  //#endregion
5044
5064
  //#region ../../node_modules/iso-639-1/src/data.js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffer-org/plugin-documents",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24"
@@ -25,6 +25,7 @@
25
25
  "postpack": "node ../../scripts/swap-exports.mjs src"
26
26
  },
27
27
  "dependencies": {
28
+ "@coffer-org/plugin-people": "^1.4.0",
28
29
  "@coffer-org/sdk": "^1.5.0",
29
30
  "@coffer-org/server": "^1.8.0"
30
31
  },