@jini-ai/admin 0.3.8 → 0.3.9

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 (169) hide show
  1. package/dist/core/index.d.ts +0 -3
  2. package/dist/core/index.js +0 -1
  3. package/dist/core/ports/index.d.ts +0 -1
  4. package/dist/core/ports/menus.d.ts +0 -43
  5. package/dist/core/ports/menus.js +0 -43
  6. package/dist/react/components/ConfirmDialog/ConfirmDialog.d.ts +2 -1
  7. package/dist/react/components/ConfirmDialog/ConfirmDialog.hooks.d.ts +37 -1
  8. package/dist/react/components/ConfirmDialog/ConfirmDialog.hooks.js +42 -1
  9. package/dist/react/components/ConfirmDialog/ConfirmDialog.js +2 -3
  10. package/dist/react/components/Sidebar.js +2 -90
  11. package/dist/react/index.d.ts +3 -1
  12. package/dist/react/index.js +5 -3
  13. package/package.json +5 -4
  14. package/dist/browser/index.d.ts.map +0 -1
  15. package/dist/browser/index.js.map +0 -1
  16. package/dist/browser/navigation.d.ts.map +0 -1
  17. package/dist/browser/navigation.js.map +0 -1
  18. package/dist/core/data-table/types.d.ts.map +0 -1
  19. package/dist/core/data-table/types.js.map +0 -1
  20. package/dist/core/entities/rules.d.ts +0 -138
  21. package/dist/core/entities/rules.d.ts.map +0 -1
  22. package/dist/core/entities/rules.js +0 -344
  23. package/dist/core/entities/rules.js.map +0 -1
  24. package/dist/core/gated/types.d.ts.map +0 -1
  25. package/dist/core/gated/types.js.map +0 -1
  26. package/dist/core/index.d.ts.map +0 -1
  27. package/dist/core/index.js.map +0 -1
  28. package/dist/core/manifest/rules.d.ts.map +0 -1
  29. package/dist/core/manifest/rules.js.map +0 -1
  30. package/dist/core/manifest/types.d.ts.map +0 -1
  31. package/dist/core/manifest/types.js.map +0 -1
  32. package/dist/core/permissions/rules.d.ts.map +0 -1
  33. package/dist/core/permissions/rules.js.map +0 -1
  34. package/dist/core/ports/analytics.d.ts.map +0 -1
  35. package/dist/core/ports/analytics.js.map +0 -1
  36. package/dist/core/ports/auth.d.ts.map +0 -1
  37. package/dist/core/ports/auth.js.map +0 -1
  38. package/dist/core/ports/comments.d.ts.map +0 -1
  39. package/dist/core/ports/comments.js.map +0 -1
  40. package/dist/core/ports/database.d.ts.map +0 -1
  41. package/dist/core/ports/database.js.map +0 -1
  42. package/dist/core/ports/entities.d.ts +0 -302
  43. package/dist/core/ports/entities.d.ts.map +0 -1
  44. package/dist/core/ports/entities.js +0 -47
  45. package/dist/core/ports/entities.js.map +0 -1
  46. package/dist/core/ports/forms.d.ts.map +0 -1
  47. package/dist/core/ports/forms.js.map +0 -1
  48. package/dist/core/ports/identity.d.ts.map +0 -1
  49. package/dist/core/ports/identity.js.map +0 -1
  50. package/dist/core/ports/index.d.ts.map +0 -1
  51. package/dist/core/ports/index.js.map +0 -1
  52. package/dist/core/ports/integrations.d.ts.map +0 -1
  53. package/dist/core/ports/integrations.js.map +0 -1
  54. package/dist/core/ports/media.d.ts.map +0 -1
  55. package/dist/core/ports/media.js.map +0 -1
  56. package/dist/core/ports/members.d.ts.map +0 -1
  57. package/dist/core/ports/members.js.map +0 -1
  58. package/dist/core/ports/menus.d.ts.map +0 -1
  59. package/dist/core/ports/menus.js.map +0 -1
  60. package/dist/core/ports/plugins.d.ts.map +0 -1
  61. package/dist/core/ports/plugins.js.map +0 -1
  62. package/dist/core/ports/recovery.d.ts.map +0 -1
  63. package/dist/core/ports/recovery.js.map +0 -1
  64. package/dist/core/ports/redirects.d.ts.map +0 -1
  65. package/dist/core/ports/redirects.js.map +0 -1
  66. package/dist/core/ports/seo.d.ts.map +0 -1
  67. package/dist/core/ports/seo.js.map +0 -1
  68. package/dist/core/ports/settings.d.ts.map +0 -1
  69. package/dist/core/ports/settings.js.map +0 -1
  70. package/dist/core/ports/workspace.d.ts.map +0 -1
  71. package/dist/core/ports/workspace.js.map +0 -1
  72. package/dist/core/routing/rules.d.ts.map +0 -1
  73. package/dist/core/routing/rules.js.map +0 -1
  74. package/dist/core/routing/types.d.ts.map +0 -1
  75. package/dist/core/routing/types.js.map +0 -1
  76. package/dist/core/transport/errors.d.ts.map +0 -1
  77. package/dist/core/transport/errors.js.map +0 -1
  78. package/dist/core/transport/http.d.ts.map +0 -1
  79. package/dist/core/transport/http.js.map +0 -1
  80. package/dist/core/transport/index.d.ts.map +0 -1
  81. package/dist/core/transport/index.js.map +0 -1
  82. package/dist/core/transport/types.d.ts.map +0 -1
  83. package/dist/core/transport/types.js.map +0 -1
  84. package/dist/react/components/ConfirmButton/ConfirmButton.d.ts.map +0 -1
  85. package/dist/react/components/ConfirmButton/ConfirmButton.hooks.d.ts.map +0 -1
  86. package/dist/react/components/ConfirmButton/ConfirmButton.hooks.js.map +0 -1
  87. package/dist/react/components/ConfirmButton/ConfirmButton.js.map +0 -1
  88. package/dist/react/components/ConfirmButton.d.ts +0 -39
  89. package/dist/react/components/ConfirmButton.d.ts.map +0 -1
  90. package/dist/react/components/ConfirmButton.js +0 -79
  91. package/dist/react/components/ConfirmButton.js.map +0 -1
  92. package/dist/react/components/ConfirmDialog/ConfirmDialog.d.ts.map +0 -1
  93. package/dist/react/components/ConfirmDialog/ConfirmDialog.hooks.d.ts.map +0 -1
  94. package/dist/react/components/ConfirmDialog/ConfirmDialog.hooks.js.map +0 -1
  95. package/dist/react/components/ConfirmDialog/ConfirmDialog.js.map +0 -1
  96. package/dist/react/components/ConfirmDialog.d.ts +0 -57
  97. package/dist/react/components/ConfirmDialog.d.ts.map +0 -1
  98. package/dist/react/components/ConfirmDialog.js +0 -85
  99. package/dist/react/components/ConfirmDialog.js.map +0 -1
  100. package/dist/react/components/DataTable.d.ts.map +0 -1
  101. package/dist/react/components/DataTable.js.map +0 -1
  102. package/dist/react/components/InteractiveHtmlEditor/InteractiveHtmlEditor.d.ts.map +0 -1
  103. package/dist/react/components/InteractiveHtmlEditor/InteractiveHtmlEditor.js.map +0 -1
  104. package/dist/react/components/RowMenu/RowMenu.d.ts.map +0 -1
  105. package/dist/react/components/RowMenu/RowMenu.hooks.d.ts.map +0 -1
  106. package/dist/react/components/RowMenu/RowMenu.hooks.js.map +0 -1
  107. package/dist/react/components/RowMenu/RowMenu.js.map +0 -1
  108. package/dist/react/components/RowMenu.d.ts +0 -44
  109. package/dist/react/components/RowMenu.d.ts.map +0 -1
  110. package/dist/react/components/RowMenu.js +0 -149
  111. package/dist/react/components/RowMenu.js.map +0 -1
  112. package/dist/react/components/Sidebar.d.ts.map +0 -1
  113. package/dist/react/components/Sidebar.js.map +0 -1
  114. package/dist/react/hooks/use-nav-sections.d.ts.map +0 -1
  115. package/dist/react/hooks/use-nav-sections.js.map +0 -1
  116. package/dist/react/hooks/use-sidebar-rail.d.ts.map +0 -1
  117. package/dist/react/hooks/use-sidebar-rail.js.map +0 -1
  118. package/dist/react/index.d.ts.map +0 -1
  119. package/dist/react/index.js.map +0 -1
  120. package/dist/react/types.d.ts.map +0 -1
  121. package/dist/react/types.js.map +0 -1
  122. package/dist/server/composio/bounded-data.d.ts +0 -36
  123. package/dist/server/composio/bounded-data.d.ts.map +0 -1
  124. package/dist/server/composio/bounded-data.js +0 -181
  125. package/dist/server/composio/bounded-data.js.map +0 -1
  126. package/dist/server/composio/catalog.d.ts +0 -147
  127. package/dist/server/composio/catalog.d.ts.map +0 -1
  128. package/dist/server/composio/catalog.js +0 -126
  129. package/dist/server/composio/catalog.js.map +0 -1
  130. package/dist/server/composio/composio-config.d.ts +0 -42
  131. package/dist/server/composio/composio-config.d.ts.map +0 -1
  132. package/dist/server/composio/composio-config.js +0 -145
  133. package/dist/server/composio/composio-config.js.map +0 -1
  134. package/dist/server/composio/composio-descriptions.d.ts +0 -16
  135. package/dist/server/composio/composio-descriptions.d.ts.map +0 -1
  136. package/dist/server/composio/composio-descriptions.js +0 -766
  137. package/dist/server/composio/composio-descriptions.js.map +0 -1
  138. package/dist/server/composio/composio.d.ts +0 -364
  139. package/dist/server/composio/composio.d.ts.map +0 -1
  140. package/dist/server/composio/composio.js +0 -1902
  141. package/dist/server/composio/composio.js.map +0 -1
  142. package/dist/server/composio/errors.d.ts +0 -15
  143. package/dist/server/composio/errors.d.ts.map +0 -1
  144. package/dist/server/composio/errors.js +0 -16
  145. package/dist/server/composio/errors.js.map +0 -1
  146. package/dist/server/composio/file-lock.d.ts +0 -13
  147. package/dist/server/composio/file-lock.d.ts.map +0 -1
  148. package/dist/server/composio/file-lock.js +0 -92
  149. package/dist/server/composio/file-lock.js.map +0 -1
  150. package/dist/server/composio/index.d.ts +0 -18
  151. package/dist/server/composio/index.d.ts.map +0 -1
  152. package/dist/server/composio/index.js +0 -7
  153. package/dist/server/composio/index.js.map +0 -1
  154. package/dist/server/composio/json-schema.d.ts +0 -93
  155. package/dist/server/composio/json-schema.d.ts.map +0 -1
  156. package/dist/server/composio/json-schema.js +0 -498
  157. package/dist/server/composio/json-schema.js.map +0 -1
  158. package/dist/server/composio/output-protection.d.ts +0 -32
  159. package/dist/server/composio/output-protection.d.ts.map +0 -1
  160. package/dist/server/composio/output-protection.js +0 -105
  161. package/dist/server/composio/output-protection.js.map +0 -1
  162. package/dist/server/composio/service.d.ts +0 -181
  163. package/dist/server/composio/service.d.ts.map +0 -1
  164. package/dist/server/composio/service.js +0 -758
  165. package/dist/server/composio/service.js.map +0 -1
  166. package/dist/server/index.d.ts +0 -15
  167. package/dist/server/index.d.ts.map +0 -1
  168. package/dist/server/index.js +0 -15
  169. package/dist/server/index.js.map +0 -1
@@ -1,344 +0,0 @@
1
- /**
2
- * @file The runtime half of `AdminEntityPort`: registration, descriptor validation, and the one
3
- * erasure a screen generic over all entities needs.
4
- *
5
- * `core/ports/entities.ts` is types only, like every other port. Everything here is the code those
6
- * types cannot be: checks that a descriptor is internally consistent, and the single cast that
7
- * turns a descriptor-generic port into the shape a screen can hold.
8
- *
9
- * ## Why any of this is runtime rather than type-level
10
- *
11
- * Two of the descriptor's own promises are not expressible in the type system:
12
- *
13
- * - `titleField` names a `text` field on this same descriptor. Encoding that needs a conditional
14
- * type heavy enough to make every descriptor's error message unreadable — and a typo here is not
15
- * cosmetic: it makes every relation picker pointing at this entity render `undefined` for every
16
- * row, which looks like missing data rather than a typo.
17
- * - `relation.target` names another *registered* entity. A descriptor cannot know what it will be
18
- * registered beside, so this can only be checked once the registry is assembled.
19
- *
20
- * Both are therefore checked at composition time, where they fail once, at startup, naming the
21
- * problem — rather than at render time, silently, as blank cells.
22
- */
23
- /** Row keys are never declared as fields — every row carries one implicitly. */
24
- const IMPLICIT_ROW_KEY = 'id';
25
- /** Bounds on the `json` conformance walk. Sized like `MAX_FIELD_DEFS` in `@jini-ai/cms`: large
26
- * enough that no honest payload hits them, small enough that a cyclic or adversarial value fails
27
- * fast instead of hanging a render. */
28
- const MAX_JSON_DEPTH = 32;
29
- const MAX_JSON_NODES = 10_000;
30
- /**
31
- * Whether `value` is a JSON value: `null`, a boolean, a *finite* number, a string, an array of
32
- * them, or a plain object of them.
33
- *
34
- * Bounded by {@link MAX_JSON_DEPTH}/{@link MAX_JSON_NODES}, which also makes it terminate on a
35
- * cyclic value rather than recursing forever. "Storage-only" means not indexed — it does not mean
36
- * not checked: a validator that returns true for everything is not a validator, and the values it
37
- * would wave through (functions, `BigInt`, `undefined`, `NaN`, cycles) are exactly the ones that
38
- * throw or silently vanish at the `JSON.stringify` boundary downstream of it.
39
- *
40
- * @returns `null` when the value conforms, otherwise a one-phrase reason.
41
- * @complexity Time O(nodes) bounded by {@link MAX_JSON_NODES}; space O(depth) bounded by
42
- * {@link MAX_JSON_DEPTH}.
43
- * @overallScore 100
44
- */
45
- function describeNonJsonValue(value, depth = 0, budget = { nodes: 0 }) {
46
- if (depth > MAX_JSON_DEPTH)
47
- return `nests deeper than ${MAX_JSON_DEPTH} levels`;
48
- if (++budget.nodes > MAX_JSON_NODES)
49
- return `holds more than ${MAX_JSON_NODES} values`;
50
- if (value === null)
51
- return null;
52
- const type = typeof value;
53
- if (type === 'string' || type === 'boolean')
54
- return null;
55
- if (type === 'number')
56
- return Number.isFinite(value) ? null : 'is a non-finite number';
57
- if (type !== 'object')
58
- return `is a ${type}`;
59
- if (Array.isArray(value)) {
60
- for (const item of value) {
61
- const reason = describeNonJsonValue(item, depth + 1, budget);
62
- if (reason !== null)
63
- return reason;
64
- }
65
- return null;
66
- }
67
- // Rejects class instances, `Map`, `Date`, and anything else that survives `typeof === 'object'`
68
- // but does not round-trip through JSON as itself.
69
- const proto = Object.getPrototypeOf(value);
70
- if (proto !== Object.prototype && proto !== null)
71
- return 'is a non-plain object';
72
- for (const item of Object.values(value)) {
73
- const reason = describeNonJsonValue(item, depth + 1, budget);
74
- if (reason !== null)
75
- return reason;
76
- }
77
- return null;
78
- }
79
- /**
80
- * Whether `value` is a legal runtime value for `field`.
81
- *
82
- * Exported because an EDITOR needs exactly this judgement and must not re-derive it. A generic form
83
- * that decides for itself what an `integer` accepts will drift from what the conformance walk
84
- * below rejects, and the two disagreeing is worse than either being wrong alone: the form saves a
85
- * value the port then reports as a violation, so the write succeeds and the diagnostic blames the
86
- * adapter. `1.5` in an `integer` and `Infinity` in a `real` are both reachable from a plain
87
- * `<input type="number">` — `step` constrains the spinner, not the parsed value — so this is not a
88
- * theoretical seam. One function, both callers.
89
- *
90
- * @param field The declared field the value is destined for.
91
- * @param value The candidate value, typically a form draft entry or an adapter-returned cell.
92
- * @returns `null` when it conforms, otherwise a one-phrase reason naming what arrived instead.
93
- * Phrased to complete the sentence "declared `<kind>`; ...".
94
- * @complexity Time O(1) for every kind but `json`; see {@link describeNonJsonValue} for that one.
95
- * @overallScore 100
96
- */
97
- export function describeAdminEntityFieldMismatch(field, value) {
98
- switch (field.kind) {
99
- case 'text':
100
- case 'relation':
101
- return typeof value === 'string' ? null : `expected a string, got ${typeof value}`;
102
- case 'datetime':
103
- if (typeof value !== 'string')
104
- return `expected an ISO-8601 string, got ${typeof value}`;
105
- // A `datetime` that is not parseable renders fine and orders wrongly — the exact class of
106
- // fault this whole check exists for, so it is a mismatch rather than a pass.
107
- return Number.isNaN(Date.parse(value)) ? 'is not a parseable ISO-8601 timestamp' : null;
108
- case 'integer':
109
- if (typeof value !== 'number')
110
- return `expected a number, got ${typeof value}`;
111
- return Number.isInteger(value) ? null : 'is not an integer';
112
- case 'real':
113
- if (typeof value !== 'number')
114
- return `expected a number, got ${typeof value}`;
115
- return Number.isFinite(value) ? null : 'is not a finite number';
116
- case 'boolean':
117
- return typeof value === 'boolean' ? null : `expected a boolean, got ${typeof value}`;
118
- case 'json': {
119
- const reason = describeNonJsonValue(value);
120
- return reason === null ? null : `is not a JSON value: it ${reason}`;
121
- }
122
- }
123
- }
124
- /**
125
- * Every way `row` fails to match `descriptor`.
126
- *
127
- * Reports undeclared keys as well as missing and mistyped ones: a key the descriptor does not
128
- * mention is invisible to a generic screen, so an adapter growing a field without declaring it
129
- * shows up as data that exists and never renders — which reads as a screen bug rather than a
130
- * descriptor gap.
131
- *
132
- * @complexity Time O(fields + row keys) plus the `json` walk; space O(violations).
133
- * @overallScore 100
134
- */
135
- function findRowViolations(descriptor, operation, row) {
136
- const found = [];
137
- const rowId = typeof row.id === 'string' && row.id !== '' ? row.id : '<no id>';
138
- const push = (field, problem, detail) => {
139
- found.push({ entity: descriptor.name, operation, rowId, field, problem, detail });
140
- };
141
- if (typeof row.id !== 'string' || row.id === '') {
142
- push(IMPLICIT_ROW_KEY, 'wrong-type', 'every row must carry a non-empty string `id`');
143
- }
144
- const declared = new Set([IMPLICIT_ROW_KEY]);
145
- for (const field of descriptor.fields) {
146
- declared.add(field.name);
147
- const value = row[field.name];
148
- if (value === undefined) {
149
- if (field.required === true) {
150
- push(field.name, 'missing-required', 'declared `required: true` but absent from the row');
151
- }
152
- continue;
153
- }
154
- const mismatch = describeAdminEntityFieldMismatch(field, value);
155
- if (mismatch !== null)
156
- push(field.name, 'wrong-type', `declared \`${field.kind}\`; ${mismatch}`);
157
- }
158
- for (const key of Object.keys(row)) {
159
- if (declared.has(key))
160
- continue;
161
- push(key, 'undeclared-field', 'present on the row but not declared on the descriptor');
162
- }
163
- return found;
164
- }
165
- /**
166
- * Runs `row` past its descriptor and reports anything wrong, then returns it unchanged.
167
- *
168
- * Deliberately identity-returning: this is an observation point, never a repair point. Coercing a
169
- * bad value here would hide the adapter bug it exists to expose.
170
- *
171
- * @complexity Time O(rows × fields); no-op and O(1) when `onViolation` is absent.
172
- * @overallScore 100
173
- */
174
- function checkRow(descriptor, operation, row, onViolation) {
175
- if (onViolation === undefined)
176
- return row;
177
- for (const violation of findRowViolations(descriptor, operation, row))
178
- onViolation(violation);
179
- return row;
180
- }
181
- /**
182
- * Erases a port's descriptor generic so a screen can hold ports for different entities in one
183
- * collection.
184
- *
185
- * The `as unknown as` below is unavoidable and is the only one in this port. `create` and `update`
186
- * take the row type as a *parameter*, so `AdminEntityPort<SpecificDescriptor>` is contravariant in
187
- * it and is genuinely not assignable to any common supertype. The cast is sound in the direction
188
- * that gets exercised — a typed row is a bag of unknowns — and unsound only if the adapter's rows
189
- * do not match the descriptor it advertises, which is precisely what `options.onViolation` is here
190
- * to surface.
191
- *
192
- * @param port A port whose rows are typed by its own descriptor.
193
- * @param options Wire `onViolation` to have every row checked against the descriptor on the way
194
- * out; omit it for zero added cost.
195
- * @returns The same port, typed as {@link AdminErasedEntityPort}; a fresh wrapper object when
196
- * `onViolation` is set, and the original object when it is not.
197
- * @complexity Time O(1) to erase; O(rows × fields) per call when checking is on.
198
- * @overallScore 100
199
- */
200
- export function eraseEntityPort(port, options = {}) {
201
- const erased = port;
202
- const { onViolation } = options;
203
- if (onViolation === undefined)
204
- return erased;
205
- const { descriptor } = port;
206
- const checked = {
207
- descriptor,
208
- async list(query) {
209
- const page = await erased.list(query);
210
- for (const row of page.items)
211
- checkRow(descriptor, 'list', row, onViolation);
212
- return page;
213
- },
214
- async get(id) {
215
- const row = await erased.get(id);
216
- return row === null ? null : checkRow(descriptor, 'get', row, onViolation);
217
- },
218
- async create(input) {
219
- return checkRow(descriptor, 'create', await erased.create(input), onViolation);
220
- },
221
- async update(id, patch) {
222
- return checkRow(descriptor, 'update', await erased.update(id, patch), onViolation);
223
- },
224
- };
225
- // Preserved by presence, not by a forwarding stub: a screen decides whether to render a delete
226
- // affordance by testing `remove !== undefined`, so wrapping an absent one into an always-present
227
- // function would give every entity a delete button that throws.
228
- const { remove } = erased;
229
- if (remove === undefined)
230
- return checked;
231
- // `.call(erased, ...)` rather than a bare reference: an adapter written as an object literal with
232
- // shorthand methods may legitimately use `this` to reach its own store.
233
- return { ...checked, remove: (id) => remove.call(erased, id) };
234
- }
235
- /**
236
- * Every internal inconsistency in one descriptor, as human-readable sentences.
237
- *
238
- * @param descriptor The descriptor to check.
239
- * @param registryKey The key it is being registered under.
240
- * @param registeredNames Every name in the registry, for resolving `relation` targets.
241
- * @complexity Time O(fields); space O(problems).
242
- * @overallScore 100
243
- */
244
- function findDescriptorProblems(descriptor, registryKey, registeredNames) {
245
- const problems = [];
246
- const at = `'${registryKey}'`;
247
- if (descriptor.name !== registryKey) {
248
- // One entity, one name. Allowing these to differ would leave the URL segment, the relation
249
- // target, and the registry key as three identifiers with no stated relationship between them.
250
- problems.push(`${at}: registered under '${registryKey}' but its descriptor is named '${descriptor.name}'`);
251
- }
252
- if (descriptor.labelSingular === '' || descriptor.labelPlural === '') {
253
- problems.push(`${at}: labelSingular and labelPlural must both be non-empty`);
254
- }
255
- if (descriptor.fields.length === 0) {
256
- problems.push(`${at}: declares no fields, so nothing but its id could ever be shown or edited`);
257
- }
258
- const seen = new Set();
259
- for (const field of descriptor.fields) {
260
- if (field.name === '') {
261
- problems.push(`${at}: a field has an empty name`);
262
- continue;
263
- }
264
- if (field.name === IMPLICIT_ROW_KEY) {
265
- problems.push(`${at}: '${IMPLICIT_ROW_KEY}' is implicit on every row and must not be declared as a field`);
266
- }
267
- if (seen.has(field.name))
268
- problems.push(`${at}: field '${field.name}' is declared more than once`);
269
- seen.add(field.name);
270
- if (field.kind === 'relation' && !registeredNames.has(field.target)) {
271
- problems.push(`${at}: field '${field.name}' targets '${field.target}', which is not a registered entity`);
272
- }
273
- }
274
- const titleField = descriptor.fields.find((field) => field.name === descriptor.titleField);
275
- if (titleField === undefined) {
276
- problems.push(`${at}: titleField '${descriptor.titleField}' does not name a declared field`);
277
- }
278
- else if (titleField.kind !== 'text') {
279
- problems.push(`${at}: titleField '${descriptor.titleField}' is kind '${titleField.kind}'; a title must be 'text'`);
280
- }
281
- return problems;
282
- }
283
- /**
284
- * Assembles entity ports into a registry, validating every descriptor first.
285
- *
286
- * Same ergonomics as `createAdminClient`: one object literal, `TPorts` inferred, host-owned and
287
- * Jini-shipped entries indistinguishable. Registering an entity is one line.
288
- *
289
- * **No key is reserved.** `createAdminClient` reserves `'transport'` because it merges the
290
- * transport into the same object it returns; this returns nothing but the ports, so there is
291
- * nothing an entity named `transport` could shadow. The returned object has a `null` prototype, so
292
- * a lookup by an attacker- or URL-supplied name (`'constructor'`, `'__proto__'`) resolves to
293
- * `undefined` rather than walking to `Object.prototype` and yielding a truthy non-port.
294
- *
295
- * Deliberately takes no erasure options: a registry holds ports with their row types intact, and
296
- * checking only becomes possible once those types are erased. `onViolation` therefore belongs to
297
- * {@link getErasedEntityPort}/{@link listErasedEntityPorts}, at the point the guarantee is dropped.
298
- *
299
- * @param ports Entity name -> port. Each key must equal that port's `descriptor.name`.
300
- * @returns A frozen, null-prototype registry preserving each port's own type.
301
- * @throws {Error} listing *every* problem found, not just the first — a descriptor with three
302
- * typos should take one round trip to fix, not three.
303
- * @complexity Time O(entities × fields); space O(entities).
304
- * @overallScore 100
305
- */
306
- export function createAdminEntityRegistry(ports) {
307
- const entries = Object.entries(ports);
308
- const registeredNames = new Set(entries.map(([, port]) => port.descriptor.name));
309
- const problems = entries.flatMap(([key, port]) => findDescriptorProblems(port.descriptor, key, registeredNames));
310
- if (problems.length > 0) {
311
- throw new Error(`createAdminEntityRegistry: invalid descriptors\n- ${problems.join('\n- ')}`);
312
- }
313
- const registry = Object.create(null);
314
- for (const [key, port] of entries)
315
- registry[key] = port;
316
- return Object.freeze(registry);
317
- }
318
- /**
319
- * Every registered port, erased, in registration order — what a screen that renders any entity
320
- * iterates.
321
- *
322
- * @complexity Time O(entities); space O(entities).
323
- * @overallScore 100
324
- */
325
- export function listErasedEntityPorts(registry, options = {}) {
326
- return Object.values(registry).map((port) => eraseEntityPort(port, options));
327
- }
328
- /**
329
- * The erased port registered under `name`, or `null`.
330
- *
331
- * `name` is routinely a URL segment, so this never trusts a bare property read: the registry's null
332
- * prototype already stops `'constructor'` resolving to something truthy, and `Object.hasOwn` holds
333
- * that guarantee even for a caller that hands in a plain object literal instead.
334
- *
335
- * @complexity Time O(1) for the lookup, O(1) for the erasure.
336
- * @overallScore 100
337
- */
338
- export function getErasedEntityPort(registry, name, options = {}) {
339
- if (!Object.hasOwn(registry, name))
340
- return null;
341
- const port = registry[name];
342
- return port === undefined ? null : eraseEntityPort(port, options);
343
- }
344
- //# sourceMappingURL=rules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../src/core/entities/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAaH,gFAAgF;AAChF,MAAM,gBAAgB,GAAG,IAAI,CAAC;AAE9B;;wCAEwC;AACxC,MAAM,cAAc,GAAG,EAAE,CAAC;AAC1B,MAAM,cAAc,GAAG,MAAM,CAAC;AAoC9B;;;;;;;;;;;;;;GAcG;AACH,SAAS,oBAAoB,CAAC,KAAc,EAAE,KAAK,GAAG,CAAC,EAAE,MAAM,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE;IAC5E,IAAI,KAAK,GAAG,cAAc;QAAE,OAAO,qBAAqB,cAAc,SAAS,CAAC;IAChF,IAAI,EAAE,MAAM,CAAC,KAAK,GAAG,cAAc;QAAE,OAAO,mBAAmB,cAAc,SAAS,CAAC;IAEvF,IAAI,KAAK,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAChC,MAAM,IAAI,GAAG,OAAO,KAAK,CAAC;IAC1B,IAAI,IAAI,KAAK,QAAQ,IAAI,I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vE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,cAAc,CAC7B,UAAU,EACV,QAAQ,EACR,OAAO,EACP,aAAa,GAAG,MAAM,EACtB,aAAa,GAAG,MAAM;IAEtB,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC5D,6FAA6F;IAC7F,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC3D,4FAA4F;IAC5F,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CACjD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/core/gated/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,YAAY,EAAE,aAAa,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxF,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAG7F,YAAY,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,mBAAmB,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Aa,EACb,kBAAkB,EAClB,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,aAAa,EACb,wBAAwB,EACxB,qBAAqB,EACrB,0BAA0B,EAC1B,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAI1B,YAAY,EACV,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,yBAAyB,EACzB,gCAAgC,EAChC,eAAe,EACf,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EACL,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,kBAAkB,EAClB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EACL,kBAAkB,EAClB,SAAS,EACT,gBAAgB,EAChB,UAAU,EACV,kBAAkB,GACnB,MAAM,oBAAoB,CAAC;AAE5B,k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mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.d.ts","sourceRoot":"","sources":["../../../src/core/permissions/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,WAAW,EAAE,SAAS,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,OAAO,CAEzF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../../src/core/permissions/rules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;GAMG;AACH,MAAM,UAAU,aAAa,CAAC,WAA8B,EAAE,UAAkB;IAC9E,OAAO,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,WAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AACvE,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../src/core/ports/analytics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,sEAAsE;AACtE,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,+FAA+F;IAC/F,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,WAAW,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IAC1E;uBACmB;IACnB,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,+DAA+D;IAC/D,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,kBAAkB;IACjC;;gDAE4C;IAC5C,uBAAuB,CAAC,OAAO,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,SAAS,iBAAiB,EAAE,CAAC,CAAC;CAC9F"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/core/ports/analytics.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/core/ports/auth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;2BAC2B;AAC3B,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,aAAa;IAC5B;iDAC6C;IAC7C,KAAK,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,aAAa,CAAA;KAAE,CAAC,CAAC;IACvF,MAAM,IAAI,OAAO,CAAC;QAAE,EAAE,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IACnC;;;;;;;OAOG;IACH,EAAE,IAAI,OAAO,CAAC;QAAE,IAAI,EAAE,aAAa,CAAC;QAAC,oBAAoB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;CAClF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/core/ports/auth.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../../src/core/ports/comments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;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","sources":["../../../src/core/ports/comments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../../src/core/ports/database.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE7F;uBACuB;AACvB,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;yCAEqC;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,iEAAiE;IACjE,QAAQ,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,mFAAmF;IACnF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED;;;;GAIG;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,WAAW,GAAG,aAAa,CAAC;AAE1E,gGAAgG;AAChG,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,iGAAiG;IACjG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,yFAAyF;IACzF,QAAQ,CAAC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED;6FAC6F;AAC7F,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,SAAS,EAAE,qBAAqB,CAAC;IAC1C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;kGAC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