interface DevtoolsHook { client ?: Client ; debugPort : DebugPortController ; downloadDiagnostics ?: () => Promise < void > ; DXN : __module ; exportProfile ?: () => Promise < void > ; Feed : __module ; feeds ?: Accessor < unknown > ; fetchDiagnostics : ( id : string , instanceTag ?: string ) => Promise < void > ; Filter : __module ; getMeta : { ( entity : { "~@dxos/echo/Kind" : Object ; id : string } , ) : { annotations : { [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : { id : string ; source : string } [] ; tags : Ref < Tag > [] ; updatedAt ?: number ; version ?: string ; } ; ( entity : Unknown | Snapshot < Unknown > , ) : { annotations : { readonly [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : readonly { id : string ; source : string } [] ; tags : readonly { "[RefTypeId]" : { _T : { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; } ; atom : { "[NodeInspectSymbol]" : {} ; "~effect/reactivity/Atom" : "~effect/reactivity/Atom" ; equals : {} ; idleTTL ?: number ; initialValueTarget ?: { readonly keepAlive: boolean; readonly lazy: boolean; readonly read: {}; readonly equals: {}; readonly refresh?: {} | undefined; readonly label?: readonly [name: string, stack: string] | undefined; readonly idleTTL?: number | undefined; ... 5 more ...; readonly [NodeInspectSymbol]: {}; }
; keepAlive : boolean ; label ?: readonly [ string , string ] ; lazy : boolean ; pipe : {} ; read : {} ; refresh ?: {} ; toJSON : {} ; toString : {} ; } ; encode : {} ; isAvailable : boolean ; load : {} ; noInline : {} ; onResolved : {} ; pipe : {} ; target : | undefined | { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; tryLoad : {} ; uri : URI ; } [] ; updatedAt ?: number ; version ?: string ; } ; } ; halo ?: Halo ; host ?: ClientServicesHost ; importModule : ( module : string ) => unknown ; importProfile ?: () => Promise < void > ; joinTables : any ; listDiagnostics : () => Promise < void > ; Obj : __module ; openClientRpcServer : () => Promise < boolean > ; openDevtoolsApp ?: () => void ; Query : __module ; Ref : __module ; Relation : __module ; reset : () => void ; Schema : __module ; spaces ?: Accessor < Space | DataSpace > ; tracing : TraceProcessor ; Type : __module ; get ( id : string ) : Promise < any > ; } Properties Optionaldownload Diagnostics downloadDiagnostics ?: () => Promise < void >
Optionalexport Profile exportProfile ?: () => Promise < void >
Optionalfeeds feeds ?: Accessor < unknown >
fetch Diagnostics fetchDiagnostics : ( id : string , instanceTag ?: string ) => Promise < void >
getMeta : { ( entity : { "~@dxos/echo/Kind" : Object ; id : string } , ) : { annotations : { [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : { id : string ; source : string } [] ; tags : Ref < Tag > [] ; updatedAt ?: number ; version ?: string ; } ; ( entity : Unknown | Snapshot < Unknown > , ) : { annotations : { readonly [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : readonly { id : string ; source : string } [] ; tags : readonly { "[RefTypeId]" : { _T : { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; } ; atom : { "[NodeInspectSymbol]" : {} ; "~effect/reactivity/Atom" : "~effect/reactivity/Atom" ; equals : {} ; idleTTL ?: number ; initialValueTarget ?: { readonly keepAlive: boolean; readonly lazy: boolean; readonly read: {}; readonly equals: {}; readonly refresh?: {} | undefined; readonly label?: readonly [name: string, stack: string] | undefined; readonly idleTTL?: number | undefined; ... 5 more ...; readonly [NodeInspectSymbol]: {}; }; keepAlive : boolean ; label ?: readonly [ string , string ] ; lazy : boolean ; pipe : {} ; read : {} ; refresh ?: {} ; toJSON : {} ; toString : {} ; } ; encode : {} ; isAvailable : boolean ; load : {} ; noInline : {} ; onResolved : {} ; pipe : {} ; target : | undefined | { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string } ; tryLoad : {} ; uri : URI ; } [] ; updatedAt ?: number ; version ?: string ; } ; }
Type declaration ( entity : { "~@dxos/echo/Kind" : Object ; id : string } , ) : { annotations : { [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : { id : string ; source : string } [] ; tags : Ref < Tag > [] ; updatedAt ?: number ; version ?: string ; } Parameters entity : { "~@dxos/echo/Kind" : Object ; id : string } Returns { annotations : { [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : { id : string ; source : string } [] ; tags : Ref < Tag > [] ; updatedAt ?: number ; version ?: string ; } Readonlyannotations : { [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown } Optional ReadonlycreatedAt ?: number Optional Readonlykey ?: string Readonlykeys : { id : string ; source : string } [] Readonlytags : Ref < Tag > [] Optional ReadonlyupdatedAt ?: number Optional Readonlyversion ?: string ( entity : Unknown | Snapshot < Unknown > , ) : { annotations : { readonly [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : readonly { id : string ; source : string } [] ; tags : readonly { "[RefTypeId]" : { _T : { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; } ; atom : { "[NodeInspectSymbol]" : {} ; "~effect/reactivity/Atom" : "~effect/reactivity/Atom" ; equals : {} ; idleTTL ?: number ; initialValueTarget ?: { readonly keepAlive: boolean; readonly lazy: boolean; readonly read: {}; readonly equals: {}; readonly refresh?: {} | undefined; readonly label?: readonly [name: string, stack: string] | undefined; readonly idleTTL?: number | undefined; ... 5 more ...; readonly [NodeInspectSymbol]: {}; }; keepAlive : boolean ; label ?: readonly [ string , string ] ; lazy : boolean ; pipe : {} ; read : {} ; refresh ?: {} ; toJSON : {} ; toString : {} ; } ; encode : {} ; isAvailable : boolean ; load : {} ; noInline : {} ; onResolved : {} ; pipe : {} ; target : | undefined | { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string } ; tryLoad : {} ; uri : URI ; } [] ; updatedAt ?: number ; version ?: string ; } Parameters entity : Unknown | Snapshot < Unknown > Returns { annotations : { readonly [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown ; } ; createdAt ?: number ; key ?: string ; keys : readonly { id : string ; source : string } [] ; tags : readonly { "[RefTypeId]" : { _T : { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; } ; atom : { "[NodeInspectSymbol]" : {} ; "~effect/reactivity/Atom" : "~effect/reactivity/Atom" ; equals : {} ; idleTTL ?: number ; initialValueTarget ?: { readonly keepAlive: boolean; readonly lazy: boolean; readonly read: {}; readonly equals: {}; readonly refresh?: {} | undefined; readonly label?: readonly [name: string, stack: string] | undefined; readonly idleTTL?: number | undefined; ... 5 more ...; readonly [NodeInspectSymbol]: {}; }; keepAlive : boolean ; label ?: readonly [ string , string ] ; lazy : boolean ; pipe : {} ; read : {} ; refresh ?: {} ; toJSON : {} ; toString : {} ; } ; encode : {} ; isAvailable : boolean ; load : {} ; noInline : {} ; onResolved : {} ; pipe : {} ; target : | undefined | { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string } ; tryLoad : {} ; uri : URI ; } [] ; updatedAt ?: number ; version ?: string ; } Readonlyannotations : { readonly [ key : string & Brand < "~@dxos/echo/AnnotationKey" > ]: unknown } Optional ReadonlycreatedAt ?: number Optional Readonlykey ?: string Readonlykeys : readonly { id : string ; source : string } [] Readonlytags : readonly { "[RefTypeId]" : { _T : { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string ; } ; } ; atom : { "[NodeInspectSymbol]" : {} ; "~effect/reactivity/Atom" : "~effect/reactivity/Atom" ; equals : {} ; idleTTL ?: number ; initialValueTarget ?: { readonly keepAlive: boolean; readonly lazy: boolean; readonly read: {}; readonly equals: {}; readonly refresh?: {} | undefined; readonly label?: readonly [name: string, stack: string] | undefined; readonly idleTTL?: number | undefined; ... 5 more ...; readonly [NodeInspectSymbol]: {}; }; keepAlive : boolean ; label ?: readonly [ string , string ] ; lazy : boolean ; pipe : {} ; read : {} ; refresh ?: {} ; toJSON : {} ; toString : {} ; } ; encode : {} ; isAvailable : boolean ; load : {} ; noInline : {} ; onResolved : {} ; pipe : {} ; target : | undefined | { "~@dxos/echo/Kind" : Object ; hue ?: string ; id : string ; label : string } ; tryLoad : {} ; uri : URI ; } [] Optional ReadonlyupdatedAt ?: number Optional Readonlyversion ?: string Optionalhost host ?: ClientServicesHost
import Module importModule : ( module : string ) => unknown
Optionalimport Profile importProfile ?: () => Promise < void >
join Tables joinTables : any
list Diagnostics listDiagnostics : () => Promise < void >
open Client Rpc Server openClientRpcServer : () => Promise < boolean >
openDevtoolsApp ?: () => void
Relation Relation : __module
Optionalspaces spaces ?: Accessor < Space | DataSpace > tracing tracing : TraceProcessor
Methods Optionalget get ( id : string ) : Promise < any >
A hook bound to window.DXOS.