@fuzdev/fuz_app 0.166.0 → 0.167.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/dist/actions/CLAUDE.md +1 -1
- package/dist/actions/action_codegen.d.ts +10 -1
- package/dist/actions/action_codegen.d.ts.map +1 -1
- package/dist/actions/action_codegen.js +17 -8
- package/dist/auth/CLAUDE.md +10 -8
- package/dist/auth/cell_action_specs.d.ts +6092 -1092
- package/dist/auth/cell_action_specs.d.ts.map +1 -1
- package/dist/auth/cell_action_specs.js +96 -97
- package/dist/auth/cell_actions.d.ts.map +1 -1
- package/dist/auth/cell_actions.js +1 -0
- package/dist/auth/cell_audit_action_specs.d.ts +301 -69
- package/dist/auth/cell_audit_action_specs.d.ts.map +1 -1
- package/dist/auth/cell_audit_action_specs.js +21 -16
- package/dist/auth/cell_audit_actions.js +2 -2
- package/dist/auth/cell_audit_events.d.ts +2 -2
- package/dist/auth/cell_audit_events.d.ts.map +1 -1
- package/dist/auth/cell_audit_metadata.d.ts +93 -30
- package/dist/auth/cell_audit_metadata.d.ts.map +1 -1
- package/dist/auth/cell_audit_metadata.js +15 -14
- package/dist/auth/cell_authorize.d.ts +3 -3
- package/dist/auth/cell_authorize.js +3 -3
- package/dist/auth/cell_data_schema.d.ts +17 -9
- package/dist/auth/cell_data_schema.d.ts.map +1 -1
- package/dist/auth/cell_data_schema.js +9 -7
- package/dist/auth/cell_field_action_specs.d.ts +697 -130
- package/dist/auth/cell_field_action_specs.d.ts.map +1 -1
- package/dist/auth/cell_field_action_specs.js +25 -27
- package/dist/auth/cell_field_actions.d.ts.map +1 -1
- package/dist/auth/cell_field_actions.js +2 -0
- package/dist/auth/cell_field_audit_metadata.d.ts +49 -13
- package/dist/auth/cell_field_audit_metadata.d.ts.map +1 -1
- package/dist/auth/cell_field_audit_metadata.js +6 -6
- package/dist/auth/cell_grant_action_specs.d.ts +1044 -208
- package/dist/auth/cell_grant_action_specs.d.ts.map +1 -1
- package/dist/auth/cell_grant_action_specs.js +36 -33
- package/dist/auth/cell_grant_actions.js +2 -2
- package/dist/auth/cell_grant_audit_metadata.d.ts +188 -40
- package/dist/auth/cell_grant_audit_metadata.d.ts.map +1 -1
- package/dist/auth/cell_grant_audit_metadata.js +12 -11
- package/dist/auth/cell_item_action_specs.d.ts +949 -175
- package/dist/auth/cell_item_action_specs.d.ts.map +1 -1
- package/dist/auth/cell_item_action_specs.js +30 -34
- package/dist/auth/cell_item_actions.js +1 -1
- package/dist/auth/cell_item_audit_metadata.d.ts +68 -19
- package/dist/auth/cell_item_audit_metadata.d.ts.map +1 -1
- package/dist/auth/cell_item_audit_metadata.js +9 -9
- package/dist/auth/cell_relation_list_limit.d.ts +1 -2
- package/dist/auth/cell_relation_list_limit.d.ts.map +1 -1
- package/dist/auth/cell_relation_list_limit.js +3 -8
- package/dist/db/cell_moderation.d.ts +6 -7
- package/dist/db/cell_moderation.d.ts.map +1 -1
- package/dist/db/cell_moderation.js +6 -7
- package/dist/testing/cross_backend/cell_crud.js +2 -2
- package/dist/testing/cross_backend/cell_relations.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell_action_specs.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_action_specs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAEN,6BAA6B,EAC7B,6BAA6B,EAC7B,2BAA2B,EAE3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,0BAA0B,EAC1B,6BAA6B,EAC7B,2BAA2B,EAE3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAE1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEN,2BAA2B,EAC3B,MAAM,8BAA8B,CAAC;AAGtC;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaxB,CAAC"}
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
*
|
|
6
6
|
* @module
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { ActingActor } from '../
|
|
8
|
+
import { meta } from '@fuzdev/fuz_schema/meta.ts';
|
|
9
|
+
import { array, boolean, brand, integer, literal, loose_object, max_length, max_value, min_value, nullable, number, object, one_of, optional, pipe, record, safe_integer, with_default_fn } from '@fuzdev/fuz_schema/schema.ts';
|
|
10
|
+
import { ActingActor, bounded_string, FactHashSchema, Timestamp, Uuid } from '../primitive_schemas_fuz.js';
|
|
11
11
|
import { all_cell_grant_action_specs, cell_grant_create_action_spec, cell_grant_revoke_action_spec, cell_grant_list_action_spec, GrantJson } from './cell_grant_action_specs.js';
|
|
12
12
|
import { all_cell_field_action_specs, cell_field_set_action_spec, cell_field_delete_action_spec, cell_field_list_action_spec, FieldJson } from './cell_field_action_specs.js';
|
|
13
13
|
import { all_cell_item_action_specs, cell_item_insert_action_spec, cell_item_move_action_spec, cell_item_delete_action_spec, cell_item_list_action_spec, ItemJson } from './cell_item_action_specs.js';
|
|
@@ -29,7 +29,7 @@ import { CellData } from './cell_data_schema.js';
|
|
|
29
29
|
* `cell.data`, which is content metadata only. `can_view_cell` reads
|
|
30
30
|
* the column directly.
|
|
31
31
|
*/
|
|
32
|
-
export const CellVisibility =
|
|
32
|
+
export const CellVisibility = one_of(['private', 'public']);
|
|
33
33
|
// Re-exported so the codegen's `cell_specs.*` qualifier resolves them
|
|
34
34
|
// under the single cell-layer namespace. `cell_action_specs.ts` is the
|
|
35
35
|
// registry/aggregator module for the cell layer; the grant / field /
|
|
@@ -171,7 +171,7 @@ export const ERROR_CELL_LIST_SHARED_WITH_REQUIRES_AUTH = 'cell_list_shared_with_
|
|
|
171
171
|
* and interprets it (`CellCreateAuthorizeInput.root_policy`). Loose for that
|
|
172
172
|
* reason — the keys are the consumer's. Twin of the Rust `CellPolicy`.
|
|
173
173
|
*/
|
|
174
|
-
export const CellPolicy =
|
|
174
|
+
export const CellPolicy = meta(loose_object({}), {
|
|
175
175
|
description: "A root's contribution policy — a JSON object the mounted create authorizer validates and interprets; the spine stores it without reading it."
|
|
176
176
|
});
|
|
177
177
|
/**
|
|
@@ -185,13 +185,13 @@ export const CellPolicy = z.looseObject({}).meta({
|
|
|
185
185
|
export const CELL_PATH_LENGTH_MAX = 256;
|
|
186
186
|
/**
|
|
187
187
|
* Branded so the type system distinguishes a validated path from any other
|
|
188
|
-
* string. Construct
|
|
189
|
-
* RPC dispatcher does this automatically when the wire schema (`CellCreateInput`,
|
|
188
|
+
* string. Construct by parsing it (`parse(CellPath, s)`) at external
|
|
189
|
+
* boundaries; the RPC dispatcher does this automatically when the wire schema (`CellCreateInput`,
|
|
190
190
|
* `CellGetInput`, `CellUpdateInput`, `CellListInput`) is parsed at the entry
|
|
191
191
|
* point. Frontend callers handing a raw string to `api.cell_*` cast at the
|
|
192
192
|
* callsite (`as CellPath`) — the runtime check still runs server-side.
|
|
193
193
|
*/
|
|
194
|
-
export const CellPath = bounded_string({ min: 1, max: CELL_PATH_LENGTH_MAX })
|
|
194
|
+
export const CellPath = brand(bounded_string({ min: 1, max: CELL_PATH_LENGTH_MAX }), 'CellPath');
|
|
195
195
|
/**
|
|
196
196
|
* Maximum length of a cell `kind` on the wire, in UTF-16 code units (what
|
|
197
197
|
* `String.length` measures; enforced by `bounded_string`) — on `cell_create`,
|
|
@@ -216,6 +216,13 @@ export const CELL_LIST_LIMIT_DEFAULT = 50;
|
|
|
216
216
|
* `cell_field_list({source_id, name_after})`.
|
|
217
217
|
*/
|
|
218
218
|
export const CELL_RELATIONS_BUNDLE_LIMIT = 500;
|
|
219
|
+
/**
|
|
220
|
+
* A cell's `moderation` marker on the wire, when it has one: `'pending'`,
|
|
221
|
+
* `'approved'`, or `'rejected'` — the markers the create authorizer's verdict
|
|
222
|
+
* and `cell_moderate` write, and the only ones the read rules in
|
|
223
|
+
* `db/cell_moderation.ts` name.
|
|
224
|
+
*/
|
|
225
|
+
export const CellModeration = one_of(['pending', 'approved', 'rejected']);
|
|
219
226
|
/**
|
|
220
227
|
* Wire form for a cell row. `data` is the typed-but-permissive `CellData`
|
|
221
228
|
* shape (kind / label / summary typed-and-optional, additional fields
|
|
@@ -232,35 +239,35 @@ export const CELL_RELATIONS_BUNDLE_LIMIT = 500;
|
|
|
232
239
|
* live in the `cell_item` / `cell_field` sibling tables. Bundled arrays
|
|
233
240
|
* appear on `CellGetOutput`; other read verbs (`cell_list`) do not bundle.
|
|
234
241
|
*/
|
|
235
|
-
export const CellJson =
|
|
242
|
+
export const CellJson = object({
|
|
236
243
|
id: Uuid,
|
|
237
|
-
path:
|
|
244
|
+
path: nullable(CellPath),
|
|
238
245
|
data: CellData,
|
|
239
|
-
kind:
|
|
246
|
+
kind: meta(nullable(bounded_string({ max: CELL_KIND_LENGTH_MAX })), {
|
|
240
247
|
description: 'Capability / identity tag — a write-once top-level column (peer to `visibility` / `path`), not a field inside `data`. `null` for a typeless cell. The discriminator a creation authorizer gates on; fixed at birth.'
|
|
241
248
|
}),
|
|
242
|
-
visibility:
|
|
249
|
+
visibility: meta(CellVisibility, {
|
|
243
250
|
description: "Access-control tag. `'public'` admits everyone (including unauthenticated visitors); `'private'` (default) admits admin / owner / `cell_grant`-admitted callers. Past admin and owner, either admits only while `moderation` is `null` or `'approved'`. Top-level column, not inside `data`."
|
|
244
251
|
}),
|
|
245
|
-
refs:
|
|
246
|
-
parent_id:
|
|
252
|
+
refs: nullable(array(FactHashSchema)),
|
|
253
|
+
parent_id: meta(nullable(Uuid), {
|
|
247
254
|
description: 'Immediate container in the directory tree (the directory this cell lives in). `null` = a root (parentless). Set once at create, immutable in v1.'
|
|
248
255
|
}),
|
|
249
|
-
root_id:
|
|
256
|
+
root_id: meta(nullable(Uuid), {
|
|
250
257
|
description: 'Governing root of the directory subtree, denormalized for flat-subtree queries (`root_id = parent.root_id ?? parent.id`). `null` for a root. Set once at create, immutable in v1.'
|
|
251
258
|
}),
|
|
252
|
-
moderation:
|
|
259
|
+
moderation: meta(nullable(CellModeration), {
|
|
253
260
|
description: "Approval-lifecycle marker for a gated contribution (`'pending'` / `'approved'` / `'rejected'`); `null` = unmoderated. A control field with a non-author writer — peer to `visibility`, never inside `data` (set by the create authorizer's verdict, transitioned only by `cell_moderate`)."
|
|
254
261
|
}),
|
|
255
|
-
policy:
|
|
262
|
+
policy: meta(nullable(CellPolicy), {
|
|
256
263
|
description: "A root's contribution policy, read by the create authorizer for every contribution under it; `null` = the authorizer's floor governs, and always `null` on a cell with a parent. A manage-tier control field — set at the root's `cell_create`, changed only by `cell_policy_set`, never inside `data`."
|
|
257
264
|
}),
|
|
258
|
-
created_by:
|
|
259
|
-
updated_by:
|
|
260
|
-
created_at:
|
|
261
|
-
updated_at:
|
|
262
|
-
deleted_at:
|
|
263
|
-
grant_count:
|
|
265
|
+
created_by: nullable(Uuid),
|
|
266
|
+
updated_by: nullable(Uuid),
|
|
267
|
+
created_at: Timestamp,
|
|
268
|
+
updated_at: nullable(Timestamp),
|
|
269
|
+
deleted_at: nullable(Timestamp),
|
|
270
|
+
grant_count: meta(pipe(number, safe_integer, min_value(0)), {
|
|
264
271
|
description: 'Number of `cell_grant` rows naming this cell. Non-leaky scalar (no actor/role identity); surfaces "Shared with N" badges. Derived in SQL via a correlated subquery on `idx_cell_grant_cell`.'
|
|
265
272
|
})
|
|
266
273
|
});
|
|
@@ -270,30 +277,28 @@ export const CellJson = z.strictObject({
|
|
|
270
277
|
* stamps it from auth.actor.id. `path` is admin-only; non-admin callers
|
|
271
278
|
* supplying `path` get `ERROR_CELL_PATH_ADMIN_ONLY` (forbidden).
|
|
272
279
|
*/
|
|
273
|
-
export const CellCreateInput =
|
|
274
|
-
data:
|
|
280
|
+
export const CellCreateInput = object({
|
|
281
|
+
data: meta(CellData, {
|
|
275
282
|
description: 'Cell content. Base fields (label / summary) typed; extras loose. A `kind` key here is rejected (`ERROR_CELL_KIND_IN_DATA`) — kind is the top-level field. Per-kind shape is sub-API.'
|
|
276
283
|
}),
|
|
277
|
-
kind: bounded_string({ max: CELL_KIND_LENGTH_MAX })
|
|
278
|
-
.nullish()
|
|
279
|
-
.meta({
|
|
284
|
+
kind: meta(optional(nullable(bounded_string({ max: CELL_KIND_LENGTH_MAX }))), {
|
|
280
285
|
description: `Capability / identity tag, written to the top-level \`cell.kind\` column (not \`data\`). Write-once — fixed at birth, not updatable. Non-empty when present (an empty string is rejected \`ERROR_CELL_KIND_EMPTY\`) and at most ${CELL_KIND_LENGTH_MAX} characters; omit / null for a typeless cell. A creation authorizer (if mounted) gates on this.`
|
|
281
286
|
}),
|
|
282
|
-
visibility:
|
|
287
|
+
visibility: meta(optional(CellVisibility), {
|
|
283
288
|
description: "Access-control tag. Top-level column (not in `data`). Default `'private'` when omitted."
|
|
284
289
|
}),
|
|
285
|
-
path: CellPath
|
|
290
|
+
path: meta(optional(nullable(CellPath)), {
|
|
286
291
|
description: 'Admin-only named lookup alias. Globally unique on active rows.'
|
|
287
292
|
}),
|
|
288
|
-
parent_id: Uuid
|
|
293
|
+
parent_id: meta(optional(nullable(Uuid)), {
|
|
289
294
|
description: 'Immediate container — the directory this cell is created in. Omit / null = a root (parentless). The handler resolves `root_id` from it and gates the create through the parent-aware authorizer; `root_id` / `moderation` are handler-derived, never wire input.'
|
|
290
295
|
}),
|
|
291
|
-
policy: CellPolicy
|
|
296
|
+
policy: meta(optional(nullable(CellPolicy)), {
|
|
292
297
|
description: "The new root's contribution policy. Root-only (beside a `parent_id` it is refused `ERROR_CELL_POLICY_ROOT_ONLY`), and the mounted create authorizer must accept it (`ERROR_CELL_POLICY_UNSUPPORTED` when none can). Omit / null = no policy."
|
|
293
298
|
}),
|
|
294
299
|
acting: ActingActor
|
|
295
300
|
});
|
|
296
|
-
export const CellCreateOutput =
|
|
301
|
+
export const CellCreateOutput = object({ cell: CellJson });
|
|
297
302
|
// -- cell_get ---------------------------------------------------------------
|
|
298
303
|
/**
|
|
299
304
|
* Input for `cell_get`. Pass `id` OR `path` (exactly one expected; both
|
|
@@ -303,13 +308,11 @@ export const CellCreateOutput = z.strictObject({ cell: CellJson });
|
|
|
303
308
|
* row matches OR when `can_view_cell` rejects the caller — same code so
|
|
304
309
|
* private-cell existence doesn't leak.
|
|
305
310
|
*/
|
|
306
|
-
export const CellGetInput =
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
path: CellPath.optional(),
|
|
311
|
+
export const CellGetInput = meta(object({
|
|
312
|
+
id: optional(Uuid),
|
|
313
|
+
path: optional(CellPath),
|
|
310
314
|
acting: ActingActor
|
|
311
|
-
})
|
|
312
|
-
.meta({ empty_input_handler_guarded: true });
|
|
315
|
+
}), { empty_input_handler_guarded: true });
|
|
313
316
|
/**
|
|
314
317
|
* Output for `cell_get`. Bundles relation arrays (`fields` + `items`)
|
|
315
318
|
* server-side via JOINs so the common "show this cell with its
|
|
@@ -321,14 +324,14 @@ export const CellGetInput = z
|
|
|
321
324
|
* `cell_item_list({parent_id, position_after})` /
|
|
322
325
|
* `cell_field_list({source_id})` when truncated.
|
|
323
326
|
*/
|
|
324
|
-
export const CellGetOutput =
|
|
327
|
+
export const CellGetOutput = object({
|
|
325
328
|
cell: CellJson,
|
|
326
|
-
fields:
|
|
327
|
-
fields_truncated:
|
|
328
|
-
items:
|
|
329
|
-
items_truncated:
|
|
330
|
-
can_edit:
|
|
331
|
-
can_grant:
|
|
329
|
+
fields: array(FieldJson),
|
|
330
|
+
fields_truncated: boolean,
|
|
331
|
+
items: array(ItemJson),
|
|
332
|
+
items_truncated: boolean,
|
|
333
|
+
can_edit: boolean,
|
|
334
|
+
can_grant: boolean
|
|
332
335
|
});
|
|
333
336
|
// -- cell_update ------------------------------------------------------------
|
|
334
337
|
/**
|
|
@@ -339,24 +342,24 @@ export const CellGetOutput = z.strictObject({
|
|
|
339
342
|
* (`can_manage_cell` = admin / owner) — editor-grant holders editing
|
|
340
343
|
* `data` cannot flip visibility (`ERROR_CELL_VISIBILITY_MANAGE_ONLY`).
|
|
341
344
|
*/
|
|
342
|
-
export const CellUpdateInput =
|
|
343
|
-
cell_id:
|
|
344
|
-
data:
|
|
345
|
-
visibility:
|
|
345
|
+
export const CellUpdateInput = object({
|
|
346
|
+
cell_id: meta(Uuid, { description: 'Cell to update.' }),
|
|
347
|
+
data: optional(CellData),
|
|
348
|
+
visibility: meta(optional(CellVisibility), {
|
|
346
349
|
description: 'Access-control tag. Top-level column (not in `data`). Manage-tier write.'
|
|
347
350
|
}),
|
|
348
|
-
path:
|
|
351
|
+
path: meta(optional(nullable(CellPath)), { description: 'Admin-only path write.' }),
|
|
349
352
|
acting: ActingActor
|
|
350
353
|
});
|
|
351
|
-
export const CellUpdateOutput =
|
|
354
|
+
export const CellUpdateOutput = object({ cell: CellJson });
|
|
352
355
|
// -- cell_delete ------------------------------------------------------------
|
|
353
|
-
export const CellDeleteInput =
|
|
354
|
-
cell_id:
|
|
356
|
+
export const CellDeleteInput = object({
|
|
357
|
+
cell_id: meta(Uuid, { description: 'Cell to soft-delete.' }),
|
|
355
358
|
acting: ActingActor
|
|
356
359
|
});
|
|
357
|
-
export const CellDeleteOutput =
|
|
358
|
-
ok:
|
|
359
|
-
deleted:
|
|
360
|
+
export const CellDeleteOutput = object({
|
|
361
|
+
ok: literal(true),
|
|
362
|
+
deleted: boolean
|
|
360
363
|
});
|
|
361
364
|
// -- cell_list --------------------------------------------------------------
|
|
362
365
|
/**
|
|
@@ -379,43 +382,39 @@ export const CellDeleteOutput = z.strictObject({
|
|
|
379
382
|
* reject the combination at the schema layer because SQL emptiness is
|
|
380
383
|
* correct.
|
|
381
384
|
*/
|
|
382
|
-
export const CellListInput =
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
.optional()
|
|
388
|
-
.meta({ description: 'Batch-fetch by id. Visibility predicate still applies.' }),
|
|
389
|
-
kind: bounded_string({ max: CELL_KIND_LENGTH_MAX }).optional().meta({
|
|
385
|
+
export const CellListInput = with_default_fn(object({
|
|
386
|
+
ids: meta(optional(pipe(array(Uuid), max_length(CELL_LIST_LIMIT_MAX))), {
|
|
387
|
+
description: 'Batch-fetch by id. Visibility predicate still applies.'
|
|
388
|
+
}),
|
|
389
|
+
kind: meta(optional(bounded_string({ max: CELL_KIND_LENGTH_MAX })), {
|
|
390
390
|
description: 'Match `cell.kind = ?`. An empty string matches nothing — no cell carries an empty kind.'
|
|
391
391
|
}),
|
|
392
|
-
visibility:
|
|
392
|
+
visibility: meta(optional(CellVisibility), {
|
|
393
393
|
description: "Match `cell.visibility = ?`. The SQL-side auth-narrow already filters to public-or-admitted; this is an additional narrowing filter (e.g. `visibility: 'public'` on the discovery feed so authed callers don't see their own private entries mixed in)."
|
|
394
394
|
}),
|
|
395
|
-
ref:
|
|
396
|
-
created_by:
|
|
397
|
-
path_prefix:
|
|
395
|
+
ref: meta(optional(FactHashSchema), { description: 'Match cells referencing this fact hash.' }),
|
|
396
|
+
created_by: meta(optional(Uuid), { description: 'Filter to a specific creator.' }),
|
|
397
|
+
path_prefix: meta(optional(CellPath), {
|
|
398
398
|
description: 'Match cells whose path starts with this.'
|
|
399
399
|
}),
|
|
400
|
-
root_id:
|
|
400
|
+
root_id: meta(optional(Uuid), {
|
|
401
401
|
description: 'Scope to a directory subtree by governing root (`cell.root_id = ?`) — the feed + mod-queue key.'
|
|
402
402
|
}),
|
|
403
|
-
moderation:
|
|
404
|
-
description: "Filter by moderation lifecycle marker (`'pending'` drives the moderation queue)."
|
|
403
|
+
moderation: meta(optional(CellModeration), {
|
|
404
|
+
description: "Filter by moderation lifecycle marker (`'pending'` drives the moderation queue). Another value is refused."
|
|
405
405
|
}),
|
|
406
|
-
shared_with:
|
|
406
|
+
shared_with: meta(optional(literal('me')), {
|
|
407
407
|
description: 'Narrow to cells admitting the caller via `cell_grant`, excluding cells the caller owns. Self-only — a `Uuid` form would need cross-actor role_grant loading.'
|
|
408
408
|
}),
|
|
409
|
-
order_by:
|
|
410
|
-
order_direction:
|
|
411
|
-
limit:
|
|
412
|
-
offset:
|
|
409
|
+
order_by: optional(one_of(['created_at', 'updated_at'])),
|
|
410
|
+
order_direction: optional(one_of(['asc', 'desc'])),
|
|
411
|
+
limit: optional(pipe(number, integer, min_value(1), max_value(CELL_LIST_LIMIT_MAX))),
|
|
412
|
+
offset: optional(pipe(number, safe_integer, min_value(0))),
|
|
413
413
|
acting: ActingActor
|
|
414
|
-
})
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
cell_grants: z.record(z.string(), z.array(GrantJson)).optional()
|
|
414
|
+
}), () => ({}));
|
|
415
|
+
export const CellListOutput = object({
|
|
416
|
+
cells: array(CellJson),
|
|
417
|
+
cell_grants: optional(record(array(GrantJson)))
|
|
419
418
|
});
|
|
420
419
|
// -- cell_clone -------------------------------------------------------------
|
|
421
420
|
/**
|
|
@@ -425,22 +424,22 @@ export const CellListOutput = z.strictObject({
|
|
|
425
424
|
* only in the `cell_clone` audit row's `source_id` — no provenance
|
|
426
425
|
* fields are stamped into `data`.
|
|
427
426
|
*/
|
|
428
|
-
export const CellCloneInput =
|
|
429
|
-
source_id:
|
|
430
|
-
deep:
|
|
427
|
+
export const CellCloneInput = object({
|
|
428
|
+
source_id: meta(Uuid, { description: 'Cell to clone.' }),
|
|
429
|
+
deep: meta(optional(boolean), {
|
|
431
430
|
description: 'Recurse into `items[]` (depth=1 — clones direct children only). Default false.'
|
|
432
431
|
}),
|
|
433
432
|
// TODO: cap `with_data_patch` size/depth once a consumer measures the
|
|
434
433
|
// upper bound. `CellData` is a loose object, unbounded — a multi-MB patch is in scope
|
|
435
434
|
// today, gated only by the JSON-RPC body limit. Realistic patches are
|
|
436
|
-
// O(few KB); a
|
|
435
|
+
// O(few KB); a `check` on serialized size would tighten the surface
|
|
437
436
|
// without disturbing the patch-wins-last semantics.
|
|
438
|
-
with_data_patch:
|
|
437
|
+
with_data_patch: meta(optional(CellData), {
|
|
439
438
|
description: "Optional shallow patch merged into the new root cell's `data` (patch-last semantics)."
|
|
440
439
|
}),
|
|
441
440
|
acting: ActingActor
|
|
442
441
|
});
|
|
443
|
-
export const CellCloneOutput =
|
|
442
|
+
export const CellCloneOutput = object({ cell: CellJson });
|
|
444
443
|
// -- cell_moderate ----------------------------------------------------------
|
|
445
444
|
/**
|
|
446
445
|
* The terminal transition a `cell_moderate` call applies to a gated
|
|
@@ -450,7 +449,7 @@ export const CellCloneOutput = z.strictObject({ cell: CellJson });
|
|
|
450
449
|
* `visibility → 'public'`); `'rejected'` holds a pending one back or takes an
|
|
451
450
|
* approved one down, leaving visibility as it was.
|
|
452
451
|
*/
|
|
453
|
-
export const CellModerationDecision =
|
|
452
|
+
export const CellModerationDecision = one_of(['approved', 'rejected']);
|
|
454
453
|
/**
|
|
455
454
|
* Input for `cell_moderate` — the `pending → approved | rejected` decision, plus
|
|
456
455
|
* the `approved → rejected` takedown, gated on moderation authority over the
|
|
@@ -463,14 +462,14 @@ export const CellModerationDecision = z.enum(['approved', 'rejected']);
|
|
|
463
462
|
* allow — approving one that is not pending, or rejecting one already rejected
|
|
464
463
|
* or never moderated.
|
|
465
464
|
*/
|
|
466
|
-
export const CellModerateInput =
|
|
467
|
-
cell_id:
|
|
468
|
-
moderation:
|
|
465
|
+
export const CellModerateInput = object({
|
|
466
|
+
cell_id: meta(Uuid, { description: 'Contribution to moderate.' }),
|
|
467
|
+
moderation: meta(CellModerationDecision, {
|
|
469
468
|
description: 'Terminal decision: `approved` (publishes, visibility → public) or `rejected`.'
|
|
470
469
|
}),
|
|
471
470
|
acting: ActingActor
|
|
472
471
|
});
|
|
473
|
-
export const CellModerateOutput =
|
|
472
|
+
export const CellModerateOutput = object({ cell: CellJson });
|
|
474
473
|
// -- cell_policy_set --------------------------------------------------------
|
|
475
474
|
/**
|
|
476
475
|
* Input for `cell_policy_set` — replace a root's contribution policy, or clear
|
|
@@ -480,14 +479,14 @@ export const CellModerateOutput = z.strictObject({ cell: CellJson });
|
|
|
480
479
|
* parent, then the mounted authorizer's validation of a non-null policy
|
|
481
480
|
* (`ERROR_CELL_POLICY_UNSUPPORTED` when none can).
|
|
482
481
|
*/
|
|
483
|
-
export const CellPolicySetInput =
|
|
484
|
-
cell_id:
|
|
485
|
-
policy:
|
|
482
|
+
export const CellPolicySetInput = object({
|
|
483
|
+
cell_id: meta(Uuid, { description: 'Root whose policy to set.' }),
|
|
484
|
+
policy: meta(nullable(CellPolicy), {
|
|
486
485
|
description: 'The new policy (a JSON object), or `null` to clear it.'
|
|
487
486
|
}),
|
|
488
487
|
acting: ActingActor
|
|
489
488
|
});
|
|
490
|
-
export const CellPolicySetOutput =
|
|
489
|
+
export const CellPolicySetOutput = object({ cell: CellJson });
|
|
491
490
|
// -- Action specs -----------------------------------------------------------
|
|
492
491
|
export const cell_create_action_spec = {
|
|
493
492
|
method: 'cell_create',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell_actions.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,OAAO,EAGN,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAEN,KAAK,mBAAmB,EAExB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EA4BN,KAAK,UAAU,EAef,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"cell_actions.d.ts","sourceRoot":"../src/lib/","sources":["../../src/lib/auth/cell_actions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AAEH,OAAO,EAGN,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,MAAM,4BAA4B,CAAC;AAIpC,OAAO,EAEN,KAAK,mBAAmB,EAExB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EA4BN,KAAK,UAAU,EAef,KAAK,QAAQ,EAGb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAUN,KAAK,OAAO,EACZ,MAAM,uBAAuB,CAAC;AA0C/B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEtD;;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S,CAitBzE,CAAC"}
|
|
@@ -113,6 +113,7 @@ export const to_cell_json = (row) => ({
|
|
|
113
113
|
refs: row.refs,
|
|
114
114
|
parent_id: row.parent_id,
|
|
115
115
|
root_id: row.root_id,
|
|
116
|
+
// written only as the create verdict's or `cell_moderate`'s marker
|
|
116
117
|
moderation: row.moderation,
|
|
117
118
|
policy: row.policy,
|
|
118
119
|
created_by: row.created_by,
|