Liking cljdoc? Tell your friends :D

domino.core


add-conflicts-rx!clj/s

(add-conflicts-rx! state)
source

add-default-idclj/s

(add-default-id m)
source

add-effect-rxns!clj/s

(add-effect-rxns! state effects)
source

add-event-rxns!clj/s

(add-event-rxns! state events)
source

add-event-to-state!clj/s

(add-event-to-state! state
                     {:keys [id inputs outputs ctx-args handler async?
                             ignore-changes should-run]
                      :as event})
source

add-fields-to-ctxclj/s

(add-fields-to-ctx {:domino.core/keys [subcontexts] :as ctx}
                   [field :as fields]
                   on-complete)
source

add-incoming-effect-to-state!clj/s

(add-incoming-effect-to-state! state {:keys [id outputs handler] :as effect})
source

add-outgoing-effect-to-state!clj/s

(add-outgoing-effect-to-state! state
                               {:keys [id inputs ctx-args handler] :as effect})
source

always-inherit-ksclj/s

source

apply-db-initializersclj/s

(apply-db-initializers db inits)
source

clean-maccclj/s

(clean-macc opts {:keys [id] :as m})
source

compute-pathclj/s

(compute-path ctx id)
source

compute-relsclj/s

(compute-rels rels)
source

constraint->reactionsclj/s

(constraint->reactions constraint)
source

constraint->relsclj/s

(constraint->rels constraint)
source

create-new-context-in-collectionclj/s

(create-new-context-in-collection ctx idx cb)
source

deep-relationshipsclj/s

(deep-relationships rel-map)
source

default-reactionsclj/s

source

event->relsclj/s

(event->rels {:keys [id inputs outputs ctx-args handler async? ignore-changes
                     should-run]
              :as event})
source

get-constraint-idsclj/s

(get-constraint-ids state)
source

get-dbclj/s

(get-db ctx)
source

get-downstreamclj/s

(get-downstream {:domino.core/keys [downstream-deep subcontexts] :as ctx} id)

Gets all ids that could be affected by a change on the passed id.

Gets all ids that could be affected by a change on the passed id.
sourceraw docstring

get-in-dbclj/s

(get-in-db ctx id)

Looks somewhat similar to select, but doesn't support arbitrary reactions

Looks somewhat similar to select, but doesn't support arbitrary reactions
sourceraw docstring

get-parentsclj/s

(get-parents {:domino.core/keys [id->parents subcontexts] :as ctx} id)

Gets all parent ids for an id (i.e. referenced IDs which wholly contain the id's data)

Gets all parent ids for an id (i.e. referenced IDs which wholly contain the id's data)
sourceraw docstring

get-pathclj/s

(get-path ctx id)

See get-path!. Returns nil on no match instead of throwing.

See get-path!. Returns nil on no match instead of throwing.
sourceraw docstring

get-path!clj/s

(get-path! {:domino.core/keys [id->path subcontexts]} id)

Given a domino context and an id, get the path to the value in the canonical DB

Given a domino context and an id, get the path to the value in the canonical DB
sourceraw docstring

get-upstreamclj/s

(get-upstream {:domino.core/keys [upstream-deep subcontexts] :as ctx} id)

Gets all ids which, if changed, may affect the passed id.

Gets all ids which, if changed, may affect the passed id.
sourceraw docstring

group-changesclj/s

(group-changes ctx changes)
source

ignore-final?clj/s

(ignore-final? {:domino.core/keys [ignore-finals? id->opts] :as ctx} id)
source

include-child-tx-reportsclj/s

(include-child-tx-reports ctx)
source

initializeclj/s

(initialize schema)
(initialize schema cb-or-db)
(initialize schema initial-db cb)
source

is-collection?clj/s

(is-collection? ctx)
source

is-final?clj/s

(is-final? ctx id)
source

model-map-mergeclj/s

(model-map-merge opts macc m)
source

normalize-schemaclj/s

(normalize-schema schema)
source

parse-changeclj/s

(parse-change ctx change)
source

parse-changesclj/s

(parse-changes ctx changes)
source

parse-reactionsclj/s

(parse-reactions schema)
source

passing-constraint-result?clj/s

(passing-constraint-result? result)
source

pre-initializeclj/s

(pre-initialize schema)
source

pre-initialize-fieldsclj/s

(pre-initialize-fields ctx fields)
source

pre-initialize-relsclj/s

(pre-initialize-rels ctx schema)
source

resolve-changesclj/s

(resolve-changes ctx changes post-cb)
source

schema-is-async?clj/s

(schema-is-async? schema)
source

selectclj/s

(select {:domino.core/keys [subcontexts rx db] :as ctx} id)

Given an id keyword or vector, select a value from a domino context.

Given an id keyword or vector, select a value from a domino context.
sourceraw docstring

transactclj/s

(transact ctx user-changes)
(transact {db-pre? :domino.core/db
           event-context :domino.core/event-context
           initialized? :domino.core/initialized?
           :as ctx-pre}
          user-changes
          cb)
source

trigger-effectsclj/s

(trigger-effects ctx triggers)
(trigger-effects ctx triggers cb)
source

trimmed-optsclj/s

(trimmed-opts ctx id)
source

walk-modelclj/s

(walk-model raw-model {:as opts})
source

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