Retrieve tuples from read table of Change service
Retrieve tuples from read table of Change service
(counts db-opts item-ids user-id)
Inputs: [db-opts item-ids :- [lib-schema/UniqueID] user-id :- lib-schema/UniqueID] Returns: [{:item-id lib-schema/UniqueID, :count schema/Int, :last-read-at (schema/maybe lib-schema/ISO8601)}]
Inputs: [db-opts item-ids :- [lib-schema/UniqueID] user-id :- lib-schema/UniqueID] Returns: [{:item-id lib-schema/UniqueID, :count schema/Int, :last-read-at (schema/maybe lib-schema/ISO8601)}]
(delete-by-container! db-opts container-id)
Inputs: [db-opts container-id :- lib-schema/UniqueID]
Inputs: [db-opts container-id :- lib-schema/UniqueID]
(delete-by-item! db-opts item-id)
(delete-by-item! db-opts container-id item-id)
Inputs: ([db-opts container-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID] [db-opts item-id :- lib-schema/UniqueID])
Inputs: ([db-opts container-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID] [db-opts item-id :- lib-schema/UniqueID])
(delete-by-org! db-opts org-id)
Inputs: [db-opts org-id :- lib-schema/UniqueID]
Inputs: [db-opts org-id :- lib-schema/UniqueID]
(delete-user-item! db-opts user-id item-id)
Inputs: [db-opts user-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID]
Inputs: [db-opts user-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID]
(move-item! db-opts item-id old-container-id new-container-id)
Inputs: [db-opts item-id :- lib-schema/UniqueID old-container-id :- lib-schema/UniqueID new-container-id :- lib-schema/UniqueID]
Inputs: [db-opts item-id :- lib-schema/UniqueID old-container-id :- lib-schema/UniqueID new-container-id :- lib-schema/UniqueID]
(retrieve-by-container db-opts container-id)
Inputs: [db-opts container-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID}]
Inputs: [db-opts container-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID}]
(retrieve-by-item db-opts item-id)
Inputs: [db-opts item-id :- lib-schema/UniqueID] Returns: [{:user-id lib-schema/UniqueID, :name schema/Str, :avatar-url (schema/maybe schema/Str), :read-at lib-schema/ISO8601}]
Inputs: [db-opts item-id :- lib-schema/UniqueID] Returns: [{:user-id lib-schema/UniqueID, :name schema/Str, :avatar-url (schema/maybe schema/Str), :read-at lib-schema/ISO8601}]
(retrieve-by-org db-opts org-id)
Inputs: [db-opts org-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID}]
Inputs: [db-opts org-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID}]
(retrieve-by-user db-opts user-id)
Inputs: [db-opts user-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :container-id) lib-schema/UniqueID, :item-id lib-schema/UniqueID, :read-at lib-schema/ISO8601}]
Inputs: [db-opts user-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :container-id) lib-schema/UniqueID, :item-id lib-schema/UniqueID, :read-at lib-schema/ISO8601}]
(retrieve-by-user-container db-opts user-id container-id)
Inputs: [db-opts user-id :- lib-schema/UniqueID container-id :- lib-schema/UniqueID] Returns: [{:item-id lib-schema/UniqueID, :read-at lib-schema/ISO8601}]
Inputs: [db-opts user-id :- lib-schema/UniqueID container-id :- lib-schema/UniqueID] Returns: [{:item-id lib-schema/UniqueID, :read-at lib-schema/ISO8601}]
(retrieve-by-user-item db-opts user-id item-id)
Inputs: [db-opts user-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID] Returns: {(schema/optional-key :org-id) lib-schema/UniqueID, (schema/optional-key :container-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID, (schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :name) schema/Str, (schema/optional-key :avatar-url) (schema/maybe schema/Str), (schema/optional-key :read-at) lib-schema/ISO8601}
Inputs: [db-opts user-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID] Returns: {(schema/optional-key :org-id) lib-schema/UniqueID, (schema/optional-key :container-id) lib-schema/UniqueID, (schema/optional-key :item-id) lib-schema/UniqueID, (schema/optional-key :user-id) lib-schema/UniqueID, (schema/optional-key :name) schema/Str, (schema/optional-key :avatar-url) (schema/maybe schema/Str), (schema/optional-key :read-at) lib-schema/ISO8601}
(retrieve-by-user-org db-opts user-id org-id)
Inputs: [db-opts user-id :- lib-schema/UniqueID org-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :item-id) lib-schema/UniqueID, (schema/optional-key :container-id) lib-schema/UniqueID, (schema/optional-key :read-at) lib-schema/ISO8601}]
Inputs: [db-opts user-id :- lib-schema/UniqueID org-id :- lib-schema/UniqueID] Returns: [{(schema/optional-key :item-id) lib-schema/UniqueID, (schema/optional-key :container-id) lib-schema/UniqueID, (schema/optional-key :read-at) lib-schema/ISO8601}]
(store! db-opts
org-id
container-id
item-id
user-id
user-name
avatar-url
read-at)
Inputs: [db-opts org-id :- lib-schema/UniqueID container-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID user-id :- lib-schema/UniqueID user-name :- schema/Str avatar-url :- (schema/maybe schema/Str) read-at :- lib-schema/ISO8601]
Inputs: [db-opts org-id :- lib-schema/UniqueID container-id :- lib-schema/UniqueID item-id :- lib-schema/UniqueID user-id :- lib-schema/UniqueID user-name :- schema/Str avatar-url :- (schema/maybe schema/Str) read-at :- lib-schema/ISO8601]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close