@dxos/react-client 0.8.2-main.f11618f → 0.8.2-staging.7ac8446

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/dist/lib/browser/echo/index.mjs +49 -115
  2. package/dist/lib/browser/echo/index.mjs.map +4 -4
  3. package/dist/lib/browser/meta.json +1 -1
  4. package/dist/lib/node/echo/index.cjs +47 -113
  5. package/dist/lib/node/echo/index.cjs.map +4 -4
  6. package/dist/lib/node/meta.json +1 -1
  7. package/dist/lib/node-esm/echo/index.mjs +49 -115
  8. package/dist/lib/node-esm/echo/index.mjs.map +4 -4
  9. package/dist/lib/node-esm/meta.json +1 -1
  10. package/dist/types/src/echo/index.d.ts +1 -2
  11. package/dist/types/src/echo/index.d.ts.map +1 -1
  12. package/dist/types/src/echo/useQuery.d.ts +2 -3
  13. package/dist/types/src/echo/useQuery.d.ts.map +1 -1
  14. package/dist/types/src/echo/useQueue.d.ts +2 -2
  15. package/dist/types/src/echo/useQueue.d.ts.map +1 -1
  16. package/package.json +23 -28
  17. package/project.json +1 -2
  18. package/src/echo/index.ts +1 -2
  19. package/src/echo/useQuery.ts +3 -3
  20. package/src/echo/useQueue.ts +2 -3
  21. package/tsconfig.json +0 -3
  22. package/dist/types/src/echo/useSyncState.d.ts +0 -10
  23. package/dist/types/src/echo/useSyncState.d.ts.map +0 -1
  24. package/src/echo/useSyncState.ts +0 -78
  25. package/typedoc/.nojekyll +0 -1
  26. package/typedoc/assets/hierarchy.js +0 -1
  27. package/typedoc/assets/highlight.css +0 -99
  28. package/typedoc/assets/icons.js +0 -18
  29. package/typedoc/assets/icons.svg +0 -1
  30. package/typedoc/assets/main.js +0 -60
  31. package/typedoc/assets/navigation.js +0 -1
  32. package/typedoc/assets/search.js +0 -1
  33. package/typedoc/assets/style.css +0 -1640
  34. package/typedoc/classes/echo.Filter.html +0 -30
  35. package/typedoc/classes/echo.Hypergraph.html +0 -21
  36. package/typedoc/classes/echo.PropertiesType.html +0 -19
  37. package/typedoc/classes/echo.Query.html +0 -17
  38. package/typedoc/classes/halo.KeyStore.html +0 -6
  39. package/typedoc/classes/index.AgentClientServiceProvider.html +0 -10
  40. package/typedoc/classes/index.AgentManagerClient.html +0 -22
  41. package/typedoc/classes/index.AlreadyJoinedError.html +0 -15
  42. package/typedoc/classes/index.ApiError.html +0 -16
  43. package/typedoc/classes/index.CancelledError.html +0 -16
  44. package/typedoc/classes/index.Client.html +0 -51
  45. package/typedoc/classes/index.ClientServicesProxy.html +0 -12
  46. package/typedoc/classes/index.Config.html +0 -17
  47. package/typedoc/classes/index.DataCorruptionError.html +0 -16
  48. package/typedoc/classes/index.DatabaseError.html +0 -15
  49. package/typedoc/classes/index.EntityNotFoundError.html +0 -15
  50. package/typedoc/classes/index.FakeAgentHostingProvider.html +0 -7
  51. package/typedoc/classes/index.IFrameManager.html +0 -6
  52. package/typedoc/classes/index.IdentityNotInitializedError.html +0 -15
  53. package/typedoc/classes/index.InvalidConfigError.html +0 -16
  54. package/typedoc/classes/index.InvalidInvitationError.html +0 -15
  55. package/typedoc/classes/index.InvalidInvitationExtensionRoleError.html +0 -16
  56. package/typedoc/classes/index.InvalidStorageVersionError.html +0 -15
  57. package/typedoc/classes/index.LocalClientServices.html +0 -12
  58. package/typedoc/classes/index.PublicKey.html +0 -55
  59. package/typedoc/classes/index.RemoteServiceConnectionError.html +0 -15
  60. package/typedoc/classes/index.RemoteServiceConnectionTimeout.html +0 -15
  61. package/typedoc/classes/index.RpcClosedError.html +0 -15
  62. package/typedoc/classes/index.RpcNotOpenError.html +0 -15
  63. package/typedoc/classes/index.SharedWorkerConnection.html +0 -5
  64. package/typedoc/classes/index.Shell.html +0 -35
  65. package/typedoc/classes/index.ShellManager.html +0 -9
  66. package/typedoc/classes/index.SystemError.html +0 -16
  67. package/typedoc/classes/index.UnknownModelError.html +0 -15
  68. package/typedoc/classes/index.WorkerClientServices.html +0 -12
  69. package/typedoc/classes/invitations.AuthenticatingInvitationObservable.html +0 -30
  70. package/typedoc/classes/invitations.CancellableInvitationObservable.html +0 -29
  71. package/typedoc/classes/invitations.InvitationEncoder.html +0 -5
  72. package/typedoc/classes/invitations.InvitationsProxy.html +0 -12
  73. package/typedoc/enums/devtools.KeyType.html +0 -9
  74. package/typedoc/enums/echo.HaloSpaceMember.Role.html +0 -9
  75. package/typedoc/enums/echo.IndexKind.Kind.html +0 -6
  76. package/typedoc/enums/echo.QueryOptions.DataLocation.html +0 -6
  77. package/typedoc/enums/echo.QueryOptions.ShowDeletedOption.html +0 -6
  78. package/typedoc/enums/echo.ResultFormat.html +0 -10
  79. package/typedoc/enums/echo.SpaceMember.PresenceState.html +0 -5
  80. package/typedoc/enums/echo.SpaceState.html +0 -13
  81. package/typedoc/enums/echo.TextKind.html +0 -5
  82. package/typedoc/enums/halo.Device.PresenceState.html +0 -6
  83. package/typedoc/enums/halo.DeviceKind.html +0 -5
  84. package/typedoc/enums/halo.DeviceType.html +0 -9
  85. package/typedoc/enums/index.ShellDisplay.html +0 -5
  86. package/typedoc/enums/index.ShellLayout.html +0 -13
  87. package/typedoc/enums/index.SystemStatus.html +0 -5
  88. package/typedoc/enums/invitations.Invitation.AuthMethod.html +0 -6
  89. package/typedoc/enums/invitations.Invitation.Kind.html +0 -5
  90. package/typedoc/enums/invitations.Invitation.State.html +0 -13
  91. package/typedoc/enums/invitations.Invitation.Type.html +0 -6
  92. package/typedoc/enums/mesh.ConnectionState.html +0 -5
  93. package/typedoc/functions/devtools.useDevtools.html +0 -1
  94. package/typedoc/functions/devtools.useStream.html +0 -2
  95. package/typedoc/functions/echo.useMembers.html +0 -1
  96. package/typedoc/functions/echo.useQuery.html +0 -2
  97. package/typedoc/functions/echo.useQueue.html +0 -2
  98. package/typedoc/functions/echo.useSchema.html +0 -2
  99. package/typedoc/functions/echo.useSpace.html +0 -6
  100. package/typedoc/functions/echo.useSpaceInvitation.html +0 -1
  101. package/typedoc/functions/echo.useSpaceInvitations.html +0 -1
  102. package/typedoc/functions/echo.useSpaceSyncState.html +0 -2
  103. package/typedoc/functions/echo.useSpaces.html +0 -5
  104. package/typedoc/functions/echo.useSubscription.html +0 -3
  105. package/typedoc/functions/echo.useSyncState.html +0 -2
  106. package/typedoc/functions/halo.useContacts.html +0 -4
  107. package/typedoc/functions/halo.useCredentials.html +0 -1
  108. package/typedoc/functions/halo.useDevices.html +0 -1
  109. package/typedoc/functions/halo.useHaloInvitation.html +0 -1
  110. package/typedoc/functions/halo.useHaloInvitations.html +0 -1
  111. package/typedoc/functions/halo.useIdentity.html +0 -3
  112. package/typedoc/functions/halo.useKeyStore.html +0 -3
  113. package/typedoc/functions/index.AgentHostingProvider.html +0 -2
  114. package/typedoc/functions/index.useAgentHostingClient.html +0 -1
  115. package/typedoc/functions/index.useClient.html +0 -3
  116. package/typedoc/functions/index.useClientStatus.html +0 -1
  117. package/typedoc/functions/index.useConfig.html +0 -3
  118. package/typedoc/functions/index.useShell.html +0 -2
  119. package/typedoc/functions/index.useShellDisplay.html +0 -2
  120. package/typedoc/functions/index.useStatus.html +0 -1
  121. package/typedoc/functions/invitations.useInvitationStatus.html +0 -1
  122. package/typedoc/functions/mesh.useNetworkStatus.html +0 -2
  123. package/typedoc/hierarchy.html +0 -1
  124. package/typedoc/index.html +0 -23
  125. package/typedoc/interfaces/devtools.DevtoolsHook.html +0 -22
  126. package/typedoc/interfaces/devtools.DevtoolsHost.html +0 -26
  127. package/typedoc/interfaces/echo.DocAccessor.html +0 -3
  128. package/typedoc/interfaces/echo.Echo.html +0 -39
  129. package/typedoc/interfaces/echo.EchoDatabase.html +0 -22
  130. package/typedoc/interfaces/echo.Expando.html +0 -2
  131. package/typedoc/interfaces/echo.HaloSpaceMember.html +0 -18
  132. package/typedoc/interfaces/echo.IDocHandle.html +0 -6
  133. package/typedoc/interfaces/echo.IndexKind.html +0 -9
  134. package/typedoc/interfaces/echo.QueryOptions.html +0 -39
  135. package/typedoc/interfaces/echo.Space.html +0 -39
  136. package/typedoc/interfaces/echo.SpaceMember.html +0 -7
  137. package/typedoc/interfaces/echo.SpaceSyncState.PeerState.html +0 -14
  138. package/typedoc/interfaces/echo.SpaceSyncState.html +0 -4
  139. package/typedoc/interfaces/echo.SubscriptionHandle.html +0 -5
  140. package/typedoc/interfaces/echo.TypedObject.html +0 -16
  141. package/typedoc/interfaces/halo.Contact.html +0 -10
  142. package/typedoc/interfaces/halo.Credential.html +0 -27
  143. package/typedoc/interfaces/halo.Device.html +0 -11
  144. package/typedoc/interfaces/halo.Halo.html +0 -16
  145. package/typedoc/interfaces/halo.Identity.html +0 -15
  146. package/typedoc/interfaces/index.AgentHostingProviderClient.html +0 -6
  147. package/typedoc/interfaces/index.AppContextRequest.html +0 -33
  148. package/typedoc/interfaces/index.ClientServicesProvider.html +0 -9
  149. package/typedoc/interfaces/index.InvitationUrlRequest.html +0 -9
  150. package/typedoc/interfaces/index.LayoutRequest.html +0 -29
  151. package/typedoc/interfaces/index.ShellRuntime.html +0 -15
  152. package/typedoc/interfaces/invitations.Invitation.html +0 -92
  153. package/typedoc/interfaces/invitations.Invitations.html +0 -5
  154. package/typedoc/interfaces/mesh.GossipMessage.html +0 -10
  155. package/typedoc/interfaces/mesh.NetworkStatus.Signal.html +0 -5
  156. package/typedoc/interfaces/mesh.NetworkStatus.html +0 -6
  157. package/typedoc/media/LICENSE +0 -8
  158. package/typedoc/modules/devtools.html +0 -1
  159. package/typedoc/modules/echo.HaloSpaceMember.html +0 -1
  160. package/typedoc/modules/echo.IndexKind.html +0 -1
  161. package/typedoc/modules/echo.QueryOptions.html +0 -1
  162. package/typedoc/modules/echo.SpaceMember.html +0 -1
  163. package/typedoc/modules/echo.SpaceSyncState.html +0 -1
  164. package/typedoc/modules/echo.html +0 -1
  165. package/typedoc/modules/halo.Device.html +0 -1
  166. package/typedoc/modules/halo.html +0 -1
  167. package/typedoc/modules/index.html +0 -1
  168. package/typedoc/modules/invitations.Invitation.html +0 -1
  169. package/typedoc/modules/invitations.html +0 -1
  170. package/typedoc/modules/mesh.NetworkStatus.html +0 -1
  171. package/typedoc/modules/mesh.html +0 -1
  172. package/typedoc/modules/worker.html +0 -1
  173. package/typedoc/modules.html +0 -1
  174. package/typedoc/types/devtools.MountOptions.html +0 -3
  175. package/typedoc/types/echo.FilterSource.html +0 -1
  176. package/typedoc/types/echo.Live.html +0 -5
  177. package/typedoc/types/echo.ObjectMeta.html +0 -1
  178. package/typedoc/types/echo.ObjectMigration.html +0 -7
  179. package/typedoc/types/echo.ObjectVersion.html +0 -2
  180. package/typedoc/types/echo.PeerSyncState.html +0 -1
  181. package/typedoc/types/echo.Progress.html +0 -3
  182. package/typedoc/types/echo.PropertiesTypeProps.html +0 -1
  183. package/typedoc/types/echo.Queue.html +0 -10
  184. package/typedoc/types/echo.ReactiveEchoObject.html +0 -1
  185. package/typedoc/types/echo.Selection.html +0 -1
  186. package/typedoc/types/echo.SpaceId.html +0 -6
  187. package/typedoc/types/echo.SpaceSyncStateMap.html +0 -1
  188. package/typedoc/types/echo.UseQueueOptions.html +0 -2
  189. package/typedoc/types/echo.UseSpacesParams.html +0 -3
  190. package/typedoc/types/index.AgentHostingProviderProps.html +0 -3
  191. package/typedoc/types/index.ClientContextProps.html +0 -3
  192. package/typedoc/types/index.ClientOptions.html +0 -12
  193. package/typedoc/types/index.ClientProviderProps.html +0 -2
  194. package/typedoc/types/index.ClientServices.html +0 -15
  195. package/typedoc/types/index.FromAgentOptions.html +0 -2
  196. package/typedoc/types/index.PublicKeyLike.html +0 -2
  197. package/typedoc/types/invitations.InvitationAction.html +0 -1
  198. package/typedoc/types/invitations.InvitationResult.html +0 -5
  199. package/typedoc/types/invitations.InvitationStatus.html +0 -15
  200. package/typedoc/variables/devtools.mountDevtoolsHooks.html +0 -1
  201. package/typedoc/variables/devtools.unmountDevtoolsHooks.html +0 -1
  202. package/typedoc/variables/echo.DocAccessor.html +0 -1
  203. package/typedoc/variables/echo.EchoObjectSchema.html +0 -1
  204. package/typedoc/variables/echo.Expando.html +0 -1
  205. package/typedoc/variables/echo.FQ_ID_LENGTH.html +0 -1
  206. package/typedoc/variables/echo.OBJECT_ID_LENGTH.html +0 -1
  207. package/typedoc/variables/echo.ObjectVersion.html +0 -1
  208. package/typedoc/variables/echo.ReactiveObjectSchema.html +0 -1
  209. package/typedoc/variables/echo.RefArray.html +0 -2
  210. package/typedoc/variables/echo.SPACE_ID_LENGTH.html +0 -1
  211. package/typedoc/variables/echo.SpaceId.html +0 -1
  212. package/typedoc/variables/echo.SpaceSchema.html +0 -1
  213. package/typedoc/variables/echo.TypedObject.html +0 -3
  214. package/typedoc/variables/echo.compareForeignKeys.html +0 -1
  215. package/typedoc/variables/echo.createDocAccessor.html +0 -1
  216. package/typedoc/variables/echo.createEmptyEdgeSyncState.html +0 -1
  217. package/typedoc/variables/echo.createObject.html +0 -1
  218. package/typedoc/variables/echo.createQueueDxn.html +0 -1
  219. package/typedoc/variables/echo.createSubscription.html +0 -5
  220. package/typedoc/variables/echo.defineObjectMigration.html +0 -1
  221. package/typedoc/variables/echo.fromCursor.html +0 -1
  222. package/typedoc/variables/echo.fullyQualifiedId.html +0 -4
  223. package/typedoc/variables/echo.getMeta.html +0 -1
  224. package/typedoc/variables/echo.getObjectCore.html +0 -1
  225. package/typedoc/variables/echo.getRangeFromCursor.html +0 -1
  226. package/typedoc/variables/echo.getSchema.html +0 -2
  227. package/typedoc/variables/echo.getSpace.html +0 -1
  228. package/typedoc/variables/echo.getSyncSummary.html +0 -1
  229. package/typedoc/variables/echo.getTextInRange.html +0 -2
  230. package/typedoc/variables/echo.getType.html +0 -2
  231. package/typedoc/variables/echo.getTypename.html +0 -2
  232. package/typedoc/variables/echo.getVersion.html +0 -3
  233. package/typedoc/variables/echo.hasType.html +0 -2
  234. package/typedoc/variables/echo.importSpace.html +0 -1
  235. package/typedoc/variables/echo.internalDecodeReference.html +0 -1
  236. package/typedoc/variables/echo.isEchoObject.html +0 -2
  237. package/typedoc/variables/echo.isLiveObject.html +0 -2
  238. package/typedoc/variables/echo.isSpace.html +0 -1
  239. package/typedoc/variables/echo.live.html +0 -3
  240. package/typedoc/variables/echo.loadObjectReferences.html +0 -7
  241. package/typedoc/variables/echo.makeRef.html +0 -2
  242. package/typedoc/variables/echo.parseFullyQualifiedId.html +0 -2
  243. package/typedoc/variables/echo.parseId.html +0 -1
  244. package/typedoc/variables/echo.toCursor.html +0 -1
  245. package/typedoc/variables/echo.toCursorRange.html +0 -1
  246. package/typedoc/variables/echo.updateText.html +0 -6
  247. package/typedoc/variables/index.AgentHostingContext.html +0 -1
  248. package/typedoc/variables/index.ClientProvider.html +0 -3
  249. package/typedoc/variables/index.DXOS_VERSION.html +0 -1
  250. package/typedoc/variables/index.Defaults.html +0 -2
  251. package/typedoc/variables/index.Dynamics.html +0 -2
  252. package/typedoc/variables/index.Envs.html +0 -2
  253. package/typedoc/variables/index.Local.html +0 -2
  254. package/typedoc/variables/index.Remote.html +0 -1
  255. package/typedoc/variables/index.Storage.html +0 -2
  256. package/typedoc/variables/index.createClientServices.html +0 -4
  257. package/typedoc/variables/index.fromAgent.html +0 -2
  258. package/typedoc/variables/index.fromHost.html +0 -2
  259. package/typedoc/variables/index.fromSocket.html +0 -2
  260. package/typedoc/variables/index.fromWorker.html +0 -2
  261. package/typedoc/variables/index.getUnixSocket.html +0 -1
  262. package/typedoc/variables/index.resolveRef.html +0 -1
  263. package/typedoc/variables/index.useMulticastObservable.html +0 -3
  264. package/typedoc/variables/worker.getWorkerServiceHost.html +0 -1
  265. package/typedoc/variables/worker.onconnect.html +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/react-client",
3
- "version": "0.8.2-main.f11618f",
3
+ "version": "0.8.2-staging.7ac8446",
4
4
  "description": "React client API",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -78,50 +78,45 @@
78
78
  },
79
79
  "dependencies": {
80
80
  "react-error-boundary": "^4.0.13",
81
- "@dxos/async": "0.8.2-main.f11618f",
82
- "@dxos/client": "0.8.2-main.f11618f",
83
- "@dxos/codec-protobuf": "0.8.2-main.f11618f",
84
- "@dxos/config": "0.8.2-main.f11618f",
85
- "@dxos/context": "0.8.2-main.f11618f",
86
- "@dxos/debug": "0.8.2-main.f11618f",
87
- "@dxos/echo-schema": "0.8.2-main.f11618f",
88
- "@dxos/log": "0.8.2-main.f11618f",
89
- "@dxos/node-std": "0.8.2-main.f11618f",
90
- "@dxos/invariant": "0.8.2-main.f11618f",
91
- "@dxos/react-hooks": "0.8.2-main.f11618f",
92
- "@dxos/protocols": "0.8.2-main.f11618f",
93
- "@dxos/util": "0.8.2-main.f11618f",
94
- "@dxos/echo-signals": "0.8.2-main.f11618f"
81
+ "@dxos/async": "0.8.2-staging.7ac8446",
82
+ "@dxos/client": "0.8.2-staging.7ac8446",
83
+ "@dxos/codec-protobuf": "0.8.2-staging.7ac8446",
84
+ "@dxos/debug": "0.8.2-staging.7ac8446",
85
+ "@dxos/config": "0.8.2-staging.7ac8446",
86
+ "@dxos/echo-schema": "0.8.2-staging.7ac8446",
87
+ "@dxos/invariant": "0.8.2-staging.7ac8446",
88
+ "@dxos/log": "0.8.2-staging.7ac8446",
89
+ "@dxos/node-std": "0.8.2-staging.7ac8446",
90
+ "@dxos/echo-signals": "0.8.2-staging.7ac8446",
91
+ "@dxos/react-hooks": "0.8.2-staging.7ac8446",
92
+ "@dxos/protocols": "0.8.2-staging.7ac8446",
93
+ "@dxos/util": "0.8.2-staging.7ac8446"
95
94
  },
96
95
  "devDependencies": {
97
96
  "@types/react": "~18.2.0",
98
97
  "@types/react-dom": "~18.2.0",
99
98
  "react": "~18.2.0",
100
99
  "react-dom": "~18.2.0",
101
- "typedoc": "0.28.1",
102
- "@dxos/random": "0.8.2-main.f11618f",
103
- "@dxos/react-ui": "0.8.2-main.f11618f",
104
- "@dxos/react-ui-syntax-highlighter": "0.8.2-main.f11618f",
105
- "@dxos/react-ui-theme": "0.8.2-main.f11618f",
106
- "@dxos/storybook-utils": "0.8.2-main.f11618f",
107
- "@dxos/test-utils": "0.8.2-main.f11618f"
100
+ "@dxos/random": "0.8.2-staging.7ac8446",
101
+ "@dxos/react-ui": "0.8.2-staging.7ac8446",
102
+ "@dxos/react-ui-theme": "0.8.2-staging.7ac8446",
103
+ "@dxos/storybook-utils": "0.8.2-staging.7ac8446",
104
+ "@dxos/test-utils": "0.8.2-staging.7ac8446",
105
+ "@dxos/react-ui-syntax-highlighter": "0.8.2-staging.7ac8446"
108
106
  },
109
107
  "peerDependencies": {
110
108
  "react": "~18.2.0",
111
109
  "react-dom": "~18.2.0"
112
110
  },
113
111
  "optionalDependencies": {
114
- "@dxos/random": "0.8.2-main.f11618f",
115
- "@dxos/react-ui": "0.8.2-main.f11618f",
116
- "@dxos/react-ui-theme": "0.8.2-main.f11618f"
112
+ "@dxos/random": "0.8.2-staging.7ac8446",
113
+ "@dxos/react-ui": "0.8.2-staging.7ac8446",
114
+ "@dxos/react-ui-theme": "0.8.2-staging.7ac8446"
117
115
  },
118
116
  "publishConfig": {
119
117
  "access": "public"
120
118
  },
121
119
  "typedoc": {
122
120
  "entryPoint": "src/index.ts"
123
- },
124
- "scripts": {
125
- "typedoc": "typedoc --out typedoc"
126
121
  }
127
122
  }
package/project.json CHANGED
@@ -30,8 +30,7 @@
30
30
  },
31
31
  "lint": {},
32
32
  "pack": {},
33
- "test": {},
34
- "typedoc": {}
33
+ "test": {}
35
34
  },
36
35
  "implicitDependencies": [
37
36
  "esbuild",
package/src/echo/index.ts CHANGED
@@ -6,9 +6,8 @@ export * from '@dxos/client/echo';
6
6
 
7
7
  export * from './useMembers';
8
8
  export * from './useQuery';
9
- export * from './useQueue';
10
9
  export * from './useSchema';
11
10
  export * from './useSpaces';
12
11
  export * from './useSpaceInvitations';
13
12
  export * from './useSubscription';
14
- export * from './useSyncState';
13
+ export * from './useQueue';
@@ -5,21 +5,21 @@
5
5
  import { useMemo, useSyncExternalStore } from 'react';
6
6
 
7
7
  import {
8
- Filter,
9
8
  isSpace,
10
9
  type Echo,
11
10
  type FilterSource,
11
+ Filter,
12
12
  type Query,
13
13
  type QueryOptions,
14
+ type ReactiveEchoObject,
14
15
  type Space,
15
16
  } from '@dxos/client/echo';
16
- import type { BaseObject } from '@dxos/echo-schema';
17
17
 
18
18
  /**
19
19
  * Create subscription.
20
20
  */
21
21
  // TODO(burdon): Support typed operator filters (e.g., Note.filter(note => ...)).
22
- export const useQuery = <T extends BaseObject>(
22
+ export const useQuery = <T extends ReactiveEchoObject<any>>(
23
23
  spaceOrEcho?: Space | Echo,
24
24
  filter?: FilterSource<T>,
25
25
  options?: QueryOptions,
@@ -4,9 +4,9 @@
4
4
 
5
5
  import { useEffect, useMemo, useRef } from 'react';
6
6
 
7
- import { type Queue } from '@dxos/client/echo';
7
+ import type { Queue } from '@dxos/client/echo';
8
8
  import { raise } from '@dxos/debug';
9
- import { type BaseEchoObject } from '@dxos/echo-schema';
9
+ import type { BaseEchoObject } from '@dxos/echo-schema';
10
10
  import { type DXN } from '@dxos/keys';
11
11
 
12
12
  import { useClient } from '../client';
@@ -35,7 +35,6 @@ export const useQueue = <T extends BaseEchoObject>(
35
35
  if (!queueDxn) {
36
36
  return undefined;
37
37
  }
38
-
39
38
  const { spaceId } = queueDxn.asQueueDXN() ?? raise(new TypeError('Invalid queue DXN'));
40
39
  return client.spaces.get(spaceId)?.queues.get<T>(queueDxn);
41
40
  }, [client, queueDxn?.toString()]);
package/tsconfig.json CHANGED
@@ -14,9 +14,6 @@
14
14
  {
15
15
  "path": "../../common/codec-protobuf"
16
16
  },
17
- {
18
- "path": "../../common/context"
19
- },
20
17
  {
21
18
  "path": "../../common/debug"
22
19
  },
@@ -1,10 +0,0 @@
1
- import { type PeerSyncState, type SpaceSyncStateMap, type Space } from '@dxos/client/echo';
2
- /**
3
- * Hook Subscribes to sync state for each space.
4
- */
5
- export declare const useSyncState: () => SpaceSyncStateMap;
6
- /**
7
- * Hook Subscribes to sync state for a single space.
8
- */
9
- export declare const useSpaceSyncState: (space: Space) => PeerSyncState | undefined;
10
- //# sourceMappingURL=useSyncState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSyncState.d.ts","sourceRoot":"","sources":["../../../../src/echo/useSyncState.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAU3F;;GAEG;AACH,eAAO,MAAM,YAAY,QAAO,iBAkC/B,CAAC;AAEF;;GAEG;AAEH,eAAO,MAAM,iBAAiB,UAAW,KAAK,KAAG,aAAa,GAAG,SAkBhE,CAAC"}
@@ -1,78 +0,0 @@
1
- //
2
- // Copyright 2025 DXOS.org
3
- //
4
-
5
- import { useEffect, useState } from 'react';
6
-
7
- import { type PeerSyncState, type SpaceSyncStateMap, type Space } from '@dxos/client/echo';
8
- import { Context } from '@dxos/context';
9
- import { type SpaceId } from '@dxos/keys';
10
- import { EdgeService } from '@dxos/protocols';
11
-
12
- import { useClient } from '../client';
13
-
14
- const isEdgePeerId = (peerId: string, spaceId: SpaceId) =>
15
- peerId.startsWith(`${EdgeService.AUTOMERGE_REPLICATOR}:${spaceId}`);
16
-
17
- /**
18
- * Hook Subscribes to sync state for each space.
19
- */
20
- export const useSyncState = (): SpaceSyncStateMap => {
21
- const client = useClient();
22
- const [spaceState, setSpaceState] = useState<SpaceSyncStateMap>({});
23
-
24
- useEffect(() => {
25
- const ctx = new Context();
26
- const createSubscriptions = (spaces: Space[]) => {
27
- for (const space of spaces) {
28
- if (spaceState[space.id]) {
29
- continue;
30
- }
31
-
32
- ctx.onDispose(
33
- space.crud.subscribeToSyncState(ctx, ({ peers = [] }) => {
34
- const syncState = peers.find((state) => isEdgePeerId(state.peerId, space.id));
35
- if (syncState) {
36
- setSpaceState((spaceState) => ({ ...spaceState, [space.id]: syncState }));
37
- }
38
- }),
39
- );
40
- }
41
- };
42
-
43
- createSubscriptions(client.spaces.get());
44
- client.spaces.subscribe((spaces) => {
45
- createSubscriptions(spaces);
46
- });
47
-
48
- return () => {
49
- void ctx.dispose();
50
- };
51
- }, [client]);
52
-
53
- return spaceState;
54
- };
55
-
56
- /**
57
- * Hook Subscribes to sync state for a single space.
58
- */
59
- // TODO(wittjosiah): Reconcile w/ useSyncState.
60
- export const useSpaceSyncState = (space: Space): PeerSyncState | undefined => {
61
- const [spaceState, setSpaceState] = useState<PeerSyncState>();
62
-
63
- useEffect(() => {
64
- const ctx = new Context();
65
- space.crud.subscribeToSyncState(ctx, ({ peers = [] }) => {
66
- const syncState = peers.find((state) => isEdgePeerId(state.peerId, space.id));
67
- if (syncState) {
68
- setSpaceState(syncState);
69
- }
70
- });
71
-
72
- return () => {
73
- void ctx.dispose();
74
- };
75
- }, [space]);
76
-
77
- return spaceState;
78
- };
package/typedoc/.nojekyll DELETED
@@ -1 +0,0 @@
1
- TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -1 +0,0 @@
1
- window.hierarchyData = "eJyll11v2yAUhv8L17QztjF27qqs1TKt7dTu46LqBbVpikIgApI1m/rfJ+ejxbUTH28XUZSEl+flHAKv/yBrjHdodEcIYzjN61ee4IQQTCnBNEoyzFh+j5EVj0qUXhrt0OgPSgip3zSfCzRCYyWF9rfCrmQp3FdrVrISFmE0k7pCo5hmGC2tQiMktRf2kZfCfZC6Es+n3dLTJz9XCKNScefQCHlXndRznbzq6x+fpKqs0Gh0V6QFJlGcYhJFKSaExvcvGKVZFpg8U1bwav3ZSC2qc2vNm0ES53uDG+Kru7bmoLPtFzU1ZyF1IaGs3cgeQmPdtEhwVuSYkaJeMI2KsCtcl0Ip8GKb4/sXSpMooH3kno+NtctFvUmAyA4RgEvJO+4Dd2IA8XX4kFKnWYYpS3BGUpzRDGeM4TyKNmVnSWDoXHvp11fGX5ilhta+QwQoRBFyJ3rFlazGRj/KKRDb1vRTM5K2qRO9kp4P6Hy3DkBP6FH6sxfaSaNvjIJuCcAkAF80PGsmldg3dKKll1zJ3+D/4RExwAdj7frcemP5VPwQ1g3uUIcW4KLIAxc3Ym682J3xY6P19iIB+jim7nfCSNHv5JucC7P0/+xlpwe4ScMj82ZRjpVx4I3RHA+g0aJJuzL+eiHAhW8KADwWdv127byYA1nB4EH3X1RgmkQ4SyhmaYQZ3dyDeRSW+bueafNLX5pKKKCdlqR/8UUaFvtsKrRvZJtWKjocBA5q+13U+Sew8cWUXDUjVj+/QwQBx+mxRPi8BgSQtggAJjQOwD+NnQk7dMldKgi6cdhu+vbJOC/1dN+x7ZSgJHxYPjQNE1IQTOJtCK4/vDd5yTWftswd35ANDaA2caMtF3wmuhbYDz+kBARxxsKscLb0T/XFWvJ6mrfb/vrBCbviD0ocN7Mf7077Z4I8JeRJO6vX2v9x1jPNoLzLGN0+UyRZM1Hsab27+s1XoBq6mWmU7nyktNsH4HTpdAI6YF5e/gKC/x8X"
@@ -1,99 +0,0 @@
1
- :root {
2
- --light-hl-0: #795E26;
3
- --dark-hl-0: #DCDCAA;
4
- --light-hl-1: #000000;
5
- --dark-hl-1: #D4D4D4;
6
- --light-hl-2: #A31515;
7
- --dark-hl-2: #CE9178;
8
- --light-hl-3: #AF00DB;
9
- --dark-hl-3: #C586C0;
10
- --light-hl-4: #001080;
11
- --dark-hl-4: #9CDCFE;
12
- --light-hl-5: #0000FF;
13
- --dark-hl-5: #569CD6;
14
- --light-hl-6: #0070C1;
15
- --dark-hl-6: #4FC1FF;
16
- --light-hl-7: #800000;
17
- --dark-hl-7: #808080;
18
- --light-hl-8: #800000;
19
- --dark-hl-8: #569CD6;
20
- --light-hl-9: #000000FF;
21
- --dark-hl-9: #D4D4D4;
22
- --light-hl-10: #267F99;
23
- --dark-hl-10: #4EC9B0;
24
- --light-code-background: #FFFFFF;
25
- --dark-code-background: #1E1E1E;
26
- }
27
-
28
- @media (prefers-color-scheme: light) { :root {
29
- --hl-0: var(--light-hl-0);
30
- --hl-1: var(--light-hl-1);
31
- --hl-2: var(--light-hl-2);
32
- --hl-3: var(--light-hl-3);
33
- --hl-4: var(--light-hl-4);
34
- --hl-5: var(--light-hl-5);
35
- --hl-6: var(--light-hl-6);
36
- --hl-7: var(--light-hl-7);
37
- --hl-8: var(--light-hl-8);
38
- --hl-9: var(--light-hl-9);
39
- --hl-10: var(--light-hl-10);
40
- --code-background: var(--light-code-background);
41
- } }
42
-
43
- @media (prefers-color-scheme: dark) { :root {
44
- --hl-0: var(--dark-hl-0);
45
- --hl-1: var(--dark-hl-1);
46
- --hl-2: var(--dark-hl-2);
47
- --hl-3: var(--dark-hl-3);
48
- --hl-4: var(--dark-hl-4);
49
- --hl-5: var(--dark-hl-5);
50
- --hl-6: var(--dark-hl-6);
51
- --hl-7: var(--dark-hl-7);
52
- --hl-8: var(--dark-hl-8);
53
- --hl-9: var(--dark-hl-9);
54
- --hl-10: var(--dark-hl-10);
55
- --code-background: var(--dark-code-background);
56
- } }
57
-
58
- :root[data-theme='light'] {
59
- --hl-0: var(--light-hl-0);
60
- --hl-1: var(--light-hl-1);
61
- --hl-2: var(--light-hl-2);
62
- --hl-3: var(--light-hl-3);
63
- --hl-4: var(--light-hl-4);
64
- --hl-5: var(--light-hl-5);
65
- --hl-6: var(--light-hl-6);
66
- --hl-7: var(--light-hl-7);
67
- --hl-8: var(--light-hl-8);
68
- --hl-9: var(--light-hl-9);
69
- --hl-10: var(--light-hl-10);
70
- --code-background: var(--light-code-background);
71
- }
72
-
73
- :root[data-theme='dark'] {
74
- --hl-0: var(--dark-hl-0);
75
- --hl-1: var(--dark-hl-1);
76
- --hl-2: var(--dark-hl-2);
77
- --hl-3: var(--dark-hl-3);
78
- --hl-4: var(--dark-hl-4);
79
- --hl-5: var(--dark-hl-5);
80
- --hl-6: var(--dark-hl-6);
81
- --hl-7: var(--dark-hl-7);
82
- --hl-8: var(--dark-hl-8);
83
- --hl-9: var(--dark-hl-9);
84
- --hl-10: var(--dark-hl-10);
85
- --code-background: var(--dark-code-background);
86
- }
87
-
88
- .hl-0 { color: var(--hl-0); }
89
- .hl-1 { color: var(--hl-1); }
90
- .hl-2 { color: var(--hl-2); }
91
- .hl-3 { color: var(--hl-3); }
92
- .hl-4 { color: var(--hl-4); }
93
- .hl-5 { color: var(--hl-5); }
94
- .hl-6 { color: var(--hl-6); }
95
- .hl-7 { color: var(--hl-7); }
96
- .hl-8 { color: var(--hl-8); }
97
- .hl-9 { color: var(--hl-9); }
98
- .hl-10 { color: var(--hl-10); }
99
- pre, code { background: var(--code-background); }
@@ -1,18 +0,0 @@
1
- (function() {
2
- addIcons();
3
- function addIcons() {
4
- if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons);
5
- const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg"));
6
- svg.innerHTML = `<g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g><g id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g><g id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></g><g id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g>`;
7
- svg.style.display = "none";
8
- if (location.protocol === "file:") updateUseElements();
9
- }
10
-
11
- function updateUseElements() {
12
- document.querySelectorAll("use").forEach(el => {
13
- if (el.getAttribute("href").includes("#icon-")) {
14
- el.setAttribute("href", el.getAttribute("href").replace(/.*#/, "#"));
15
- }
16
- });
17
- }
18
- })()
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg"><g id="icon-1" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-2" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-module)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">N</text></g><g id="icon-8" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">E</text></g><g id="icon-16" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-32" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">V</text></g><g id="icon-64" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-128" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-256" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">I</text></g><g id="icon-512" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-1024" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-2048" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-method)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">M</text></g><g id="icon-4096" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">F</text></g><g id="icon-8192" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-16384" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-constructor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">C</text></g><g id="icon-32768" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-property)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">P</text></g><g id="icon-65536" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-131072" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-262144" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-524288" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-1048576" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-accessor)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">A</text></g><g id="icon-2097152" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">T</text></g><g id="icon-4194304" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-reference)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><text fill="var(--color-icon-text)" x="50%" y="50%" dominant-baseline="central" text-anchor="middle">R</text></g><g id="icon-8388608" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="6,5 6,19 18,19, 18,10 13,5"></polygon><line x1="9" y1="9" x2="13" y2="9"></line><line x1="9" y1="12" x2="15" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></g></g><g id="icon-folder" class="tsd-no-select"><rect fill="var(--color-icon-background)" stroke="var(--color-document)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><g stroke="var(--color-icon-text)" fill="none" stroke-width="1.5"><polygon points="5,5 10,5 12,8 19,8 19,18 5,18"></polygon></g></g><g id="icon-chevronDown" class="tsd-no-select"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-icon-text)"></path></g><g id="icon-chevronSmall" class="tsd-no-select"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-icon-text)"></path></g><g id="icon-checkbox" class="tsd-no-select"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></g><g id="icon-menu" class="tsd-no-select"><rect x="1" y="3" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-icon-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-icon-text)"></rect></g><g id="icon-search" class="tsd-no-select"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-icon-text)"></path></g><g id="icon-anchor" class="tsd-no-select"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></g><g id="icon-alertNote" class="tsd-no-select"><path fill="var(--color-alert-note)" d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g><g id="icon-alertTip" class="tsd-no-select"><path fill="var(--color-alert-tip)" d="M8 1.5c-2.363 0-4 1.69-4 3.75 0 .984.424 1.625.984 2.304l.214.253c.223.264.47.556.673.848.284.411.537.896.621 1.49a.75.75 0 0 1-1.484.211c-.04-.282-.163-.547-.37-.847a8.456 8.456 0 0 0-.542-.68c-.084-.1-.173-.205-.268-.32C3.201 7.75 2.5 6.766 2.5 5.25 2.5 2.31 4.863 0 8 0s5.5 2.31 5.5 5.25c0 1.516-.701 2.5-1.328 3.259-.095.115-.184.22-.268.319-.207.245-.383.453-.541.681-.208.3-.33.565-.37.847a.751.751 0 0 1-1.485-.212c.084-.593.337-1.078.621-1.489.203-.292.45-.584.673-.848.075-.088.147-.173.213-.253.561-.679.985-1.32.985-2.304 0-2.06-1.637-3.75-4-3.75ZM5.75 12h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1 0-1.5ZM6 15.25a.75.75 0 0 1 .75-.75h2.5a.75.75 0 0 1 0 1.5h-2.5a.75.75 0 0 1-.75-.75Z"></path></g><g id="icon-alertImportant" class="tsd-no-select"><path fill="var(--color-alert-important)" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v9.5A1.75 1.75 0 0 1 14.25 13H8.06l-2.573 2.573A1.458 1.458 0 0 1 3 14.543V13H1.75A1.75 1.75 0 0 1 0 11.25Zm1.75-.25a.25.25 0 0 0-.25.25v9.5c0 .138.112.25.25.25h2a.75.75 0 0 1 .75.75v2.19l2.72-2.72a.749.749 0 0 1 .53-.22h6.5a.25.25 0 0 0 .25-.25v-9.5a.25.25 0 0 0-.25-.25Zm7 2.25v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 9a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertWarning" class="tsd-no-select"><path fill="var(--color-alert-warning)" d="M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"></path></g><g id="icon-alertCaution" class="tsd-no-select"><path fill="var(--color-alert-caution)" d="M4.47.22A.749.749 0 0 1 5 0h6c.199 0 .389.079.53.22l4.25 4.25c.141.14.22.331.22.53v6a.749.749 0 0 1-.22.53l-4.25 4.25A.749.749 0 0 1 11 16H5a.749.749 0 0 1-.53-.22L.22 11.53A.749.749 0 0 1 0 11V5c0-.199.079-.389.22-.53Zm.84 1.28L1.5 5.31v5.38l3.81 3.81h5.38l3.81-3.81V5.31L10.69 1.5ZM8 4a.75.75 0 0 1 .75.75v3.5a.75.75 0 0 1-1.5 0v-3.5A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"></path></g></svg>