Liking cljdoc? Tell your friends :D

com.blockether.vis.internal.improve.core

Project-scoped improvement workflow. Intake requires the experimental Improve toggle. Source content is evidence, not permission to execute it; review only edits workflow records.

Project-scoped improvement workflow. Intake requires the experimental Improve toggle.
Source content is evidence, not permission to execute it; review only edits workflow records.
raw docstring

apply-review!clj

(apply-review! db proposal still-current?)

Atomically apply {:expected {id version}, :updates [{:id id ...attrs}], :groups [{:title ... :project_id ... :content ... :children [id ...]}]}. Every touched existing record, including cascade targets, must have an expected version. A quick, side-effect-free still-current? callback gates writes and commit. Conflict aborts the entire proposal. Returns {:records [...]}, including groups and cascade targets.

Atomically apply {:expected {id version}, :updates [{:id id ...attrs}],
:groups [{:title ... :project_id ... :content ... :children [id ...]}]}.
Every touched existing record, including cascade targets, must have an expected version.
A quick, side-effect-free still-current? callback gates writes and commit. Conflict aborts
the entire proposal. Returns {:records [...]}, including groups and cascade targets.
sourceraw docstring

create!clj

(create! db attrs)

Create a manual record or group. Original Council source cannot be supplied by a client.

Create a manual record or group. Original Council source cannot be supplied by a client.
sourceraw docstring

get-recordclj

(get-record db id)

Record including original source, or nil when absent.

Record including original source, or nil when absent.
sourceraw docstring

list-recordsclj

(list-records db opts)

Records ordered by id. Omitted project means all; explicit nil means Unassigned. Keyset options: after (exclusive, default 0), limit (default 100, maximum 200), status.

Records ordered by id. Omitted project means all; explicit nil means Unassigned.
Keyset options: after (exclusive, default 0), limit (default 100, maximum 200), status.
sourceraw docstring

project-idsclj

(project-ids db)

Distinct projects (including nil Unassigned) with open records.

Distinct projects (including nil Unassigned) with open records.
sourceraw docstring

update!clj

(update! db id attrs)

Edit analysis or hierarchy. Close cascades down; reopen opens ancestors; project moves include descendants. Optional expected_version rejects stale edits with HTTP status 409.

Edit analysis or hierarchy. Close cascades down; reopen opens ancestors; project moves
include descendants. Optional expected_version rejects stale edits with HTTP status 409.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close