neighbour-hoods / nh-launcher

Creating a group coherence with holochain apps
Other
4 stars 3 forks source link

Create resource renderer delegation creation code #110

Closed adaburrows closed 8 months ago

adaburrows commented 1 year ago

Create a helper to create the ResourceBlockDelegates for each applet's resource renderers:

/**
 * The only interface needed for a resource renderer.
 * Technically, if we knew what zome call correpsonded to which reading of a
 * resource, we could create a delegate that only allowed minimal access.
 */
export interface ResourceBlockDelegate {
  appAgentWebsocket: AppAgentClient
}