This repository has been archived by the owner on Dec 9, 2023. It is now read-only.
Releases: neighbour-hoods/sensemaker-lite
Releases · neighbour-hoods/sensemaker-lite
v0.0.13-alpha
v0.0.13-alpha - 2023-11-29
ResourceDef
fields have been updated:name
is nowresource_name
, and the following three fields have been added to store where the resource entry is stored:installed_app_id
,role_name
andzome_name
.- Because of this change to
ResourceDef
, theresource_defs
field ofAppletConfig
no longer needs to be of typeHappZomeMap<BTreeMap<String, EntryHash>>
and is now justBTreeMap<String, ResourceDef>
. In fact,HappZomeMap
has been removed from the codebase. Additionally, theresource_defs
field inAppletConfigInput
has been reverted toVec<ConfigResourceDef>
. - all
create_
zome functions that create an entry now returnRecord
rather thanEntryHash
. set_assessment_widget_tray_config
andget_assessment_widget_tray_config
zome function for configuring the assessment widget tray defined in the new entry typeAssessmentWidgetBlockConfig
. These are used for binding a widget to a dimension so we know which widget to display when creating an assessment.
v0.0.12-alpha
v0.0.12-alpha - 2023-10-31
Method
andConfigMethod
no longer contains thetarget_resource_def_eh
field.RunMethodInput
now contains aresource_def_eh
field.
v0.0.11-alpha
v0.0.11-alpha - 2023-08-30
get_assessments_for_resources
input typeGetAssessmentsForResourcesInput
now optionally takes a vector of resource hashes. If no resource hashes are provided, all assessments are fetched.get_all_assessments
returnsExternResult<Vec<Assessment>>
instead ofExternResult<Vec<AssessmentWithDimensionAndResource>>
.
v0.0.10-alpha
v0.0.10-alpha - 2023-08-29
AppletConfig
type has been updated. Now theresource_defs
field is of typeHappZomeMap<BTreeMap<String, EntryHash>>
instead ofBTreeMap<String, EntryHash>
so that the resource defs are mapped by the happ role name and zome name. Therole_name
field as removed as this information is now contained in theresource_defs
field.- new type
HappZomeMap<T>
created to represent the dnas (keyed by role name) and their zomes. registerApplet
function takes anAppletConfigInput
as a parameter instead of aCreateAppletConfigInput
.
v0.0.9-alpha
v0.0.9-alpha - 2023-06-15
- context computations now support
Float
when checking against the threshold
v0.0.8-alpha
dimension_ehs
property ofGetAssessmentsForResourceInput
changed fromDimensionEh[]
toOption<DimensionEh[]>
. If nothing is provided, then all dimensions are used when callingget_assessments_for_resources()
.- Both
Sum
andAverage
method types now supportFloat
.
use with @neighbourhoods/client v0.0.3
v0.0.7-alpha
v0.0.7-alpha - 2023-05-09
- whenever an assessment is generated, the agent sends a remote signal to all other peers with a payload containing the newly generated assessment, which is then emitted to the client.
- new zome function
get_all_agents(_: ()) -> ExternResult<Vec<AgentPubKey>>
which returns a list of all other agents in the network.
use with @neighbourhoods/client v0.0.2
v0.0.6-alpha
v0.0.6-alpha - 2023-04-18
@neighbourhoods/sensemaker-lite-types
renamed to@neighbourhoods/client
and now includes theSensemakerStore
class.- renamed
get_assessments_for_resource
toget_assessments_for_resources
, which now takes an array of resource hashes as well as dimension hashes and returns all the assessments along each dimension for all resources - add
timestamp
property toAssessment
struct run_method
now returns theAssessment
that was created from the method rather than the entry hashrun_method
can now compute averages forInteger
using theProgram::Average
variant
v0.0.4-alpha
build on holochain-0.1.0
use with:
v0.0.3-alpha
built on holochain v0.1.0-beta-rc.2