@dxos/plugin-space 0.7.4 → 0.7.5-main.937ce75

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 (120) hide show
  1. package/dist/lib/browser/chunk-54VE4GTA.mjs +315 -0
  2. package/dist/lib/browser/chunk-54VE4GTA.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-73BCBSLP.mjs +15 -0
  4. package/dist/lib/browser/chunk-73BCBSLP.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +928 -962
  6. package/dist/lib/browser/index.mjs.map +4 -4
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/browser/meta.mjs +1 -5
  9. package/dist/lib/browser/types/index.mjs +8 -1
  10. package/dist/lib/node/chunk-46S3JOES.cjs +39 -0
  11. package/dist/lib/node/chunk-46S3JOES.cjs.map +7 -0
  12. package/dist/lib/node/chunk-YF2AQ7KP.cjs +343 -0
  13. package/dist/lib/node/chunk-YF2AQ7KP.cjs.map +7 -0
  14. package/dist/lib/node/index.cjs +1053 -1086
  15. package/dist/lib/node/index.cjs.map +4 -4
  16. package/dist/lib/node/meta.cjs +5 -9
  17. package/dist/lib/node/meta.cjs.map +2 -2
  18. package/dist/lib/node/meta.json +1 -1
  19. package/dist/lib/node/types/index.cjs +19 -12
  20. package/dist/lib/node/types/index.cjs.map +2 -2
  21. package/dist/lib/node-esm/chunk-2MNFEB23.mjs +17 -0
  22. package/dist/lib/node-esm/chunk-2MNFEB23.mjs.map +7 -0
  23. package/dist/lib/node-esm/chunk-CDZETPO7.mjs +316 -0
  24. package/dist/lib/node-esm/chunk-CDZETPO7.mjs.map +7 -0
  25. package/dist/lib/node-esm/index.mjs +928 -962
  26. package/dist/lib/node-esm/index.mjs.map +4 -4
  27. package/dist/lib/node-esm/meta.json +1 -1
  28. package/dist/lib/node-esm/meta.mjs +1 -5
  29. package/dist/lib/node-esm/types/index.mjs +8 -1
  30. package/dist/types/src/SpacePlugin.d.ts +2 -2
  31. package/dist/types/src/SpacePlugin.d.ts.map +1 -1
  32. package/dist/types/src/components/AwaitingObject.d.ts.map +1 -1
  33. package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts +4 -2
  34. package/dist/types/src/components/CreateDialog/CreateObjectDialog.d.ts.map +1 -1
  35. package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts +3 -3
  36. package/dist/types/src/components/CreateDialog/CreateObjectPanel.d.ts.map +1 -1
  37. package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts +1 -0
  38. package/dist/types/src/components/CreateDialog/CreateSpaceDialog.d.ts.map +1 -1
  39. package/dist/types/src/components/JoinDialog.d.ts +1 -0
  40. package/dist/types/src/components/JoinDialog.d.ts.map +1 -1
  41. package/dist/types/src/components/PopoverRenameObject.d.ts +1 -0
  42. package/dist/types/src/components/PopoverRenameObject.d.ts.map +1 -1
  43. package/dist/types/src/components/PopoverRenameSpace.d.ts +1 -0
  44. package/dist/types/src/components/PopoverRenameSpace.d.ts.map +1 -1
  45. package/dist/types/src/components/ShareSpaceButton.d.ts.map +1 -1
  46. package/dist/types/src/components/SpacePluginSettings.d.ts.map +1 -1
  47. package/dist/types/src/components/SpacePresence.d.ts +9 -6
  48. package/dist/types/src/components/SpacePresence.d.ts.map +1 -1
  49. package/dist/types/src/components/SpacePresence.stories.d.ts +1 -1
  50. package/dist/types/src/components/SpacePresence.stories.d.ts.map +1 -1
  51. package/dist/types/src/components/SpaceSettings/SpaceSettingsDialog.d.ts +1 -0
  52. package/dist/types/src/components/SpaceSettings/SpaceSettingsDialog.d.ts.map +1 -1
  53. package/dist/types/src/components/SpaceSettings/SpaceSettingsDialog.stories.d.ts.map +1 -1
  54. package/dist/types/src/components/SpaceSettings/SpaceSettingsPanel.d.ts +4 -3
  55. package/dist/types/src/components/SpaceSettings/SpaceSettingsPanel.d.ts.map +1 -1
  56. package/dist/types/src/components/SpaceSettings/SpaceSettingsPanel.stories.d.ts.map +1 -1
  57. package/dist/types/src/components/SyncStatus/InlineSyncStatus.d.ts +3 -3
  58. package/dist/types/src/components/SyncStatus/InlineSyncStatus.d.ts.map +1 -1
  59. package/dist/types/src/components/SyncStatus/SyncStatusDetail.stories.d.ts +2 -2
  60. package/dist/types/src/components/SyncStatus/SyncStatusDetail.stories.d.ts.map +1 -1
  61. package/dist/types/src/hooks/index.d.ts +2 -0
  62. package/dist/types/src/hooks/index.d.ts.map +1 -0
  63. package/dist/types/src/hooks/usePath.d.ts +11 -0
  64. package/dist/types/src/hooks/usePath.d.ts.map +1 -0
  65. package/dist/types/src/meta.d.ts +0 -23
  66. package/dist/types/src/meta.d.ts.map +1 -1
  67. package/dist/types/src/translations.d.ts +6 -3
  68. package/dist/types/src/translations.d.ts.map +1 -1
  69. package/dist/types/src/types/collection.d.ts +8 -12
  70. package/dist/types/src/types/collection.d.ts.map +1 -1
  71. package/dist/types/src/types/thread.d.ts +180 -186
  72. package/dist/types/src/types/thread.d.ts.map +1 -1
  73. package/dist/types/src/types/types.d.ts +234 -4
  74. package/dist/types/src/types/types.d.ts.map +1 -1
  75. package/dist/types/src/util.d.ts +3 -3
  76. package/dist/types/src/util.d.ts.map +1 -1
  77. package/dist/types/tsconfig.tsbuildinfo +1 -0
  78. package/package.json +39 -38
  79. package/src/SpacePlugin.tsx +477 -602
  80. package/src/components/AwaitingObject.tsx +19 -17
  81. package/src/components/CreateDialog/CreateObjectDialog.tsx +33 -22
  82. package/src/components/CreateDialog/CreateObjectPanel.tsx +7 -7
  83. package/src/components/CreateDialog/CreateSpaceDialog.tsx +10 -14
  84. package/src/components/JoinDialog.tsx +18 -34
  85. package/src/components/PersistenceStatus.tsx +1 -1
  86. package/src/components/PopoverRenameObject.tsx +2 -0
  87. package/src/components/PopoverRenameSpace.tsx +2 -0
  88. package/src/components/ShareSpaceButton.tsx +5 -4
  89. package/src/components/SpacePluginSettings.tsx +5 -11
  90. package/src/components/SpacePresence.stories.tsx +25 -17
  91. package/src/components/SpacePresence.tsx +36 -16
  92. package/src/components/SpaceSettings/SpaceSettingsDialog.stories.tsx +2 -3
  93. package/src/components/SpaceSettings/SpaceSettingsDialog.tsx +3 -1
  94. package/src/components/SpaceSettings/SpaceSettingsPanel.stories.tsx +7 -5
  95. package/src/components/SpaceSettings/SpaceSettingsPanel.tsx +6 -5
  96. package/src/components/SyncStatus/InlineSyncStatus.tsx +37 -27
  97. package/src/components/SyncStatus/SyncStatusDetail.stories.tsx +55 -51
  98. package/src/hooks/index.ts +5 -0
  99. package/src/hooks/usePath.ts +44 -0
  100. package/src/meta.ts +0 -26
  101. package/src/translations.ts +3 -2
  102. package/src/types/collection.ts +3 -3
  103. package/src/types/thread.ts +6 -6
  104. package/src/types/types.ts +182 -13
  105. package/src/util.tsx +59 -52
  106. package/dist/lib/browser/chunk-FTKV32QZ.mjs +0 -43
  107. package/dist/lib/browser/chunk-FTKV32QZ.mjs.map +0 -7
  108. package/dist/lib/browser/chunk-MWKXNS5S.mjs +0 -124
  109. package/dist/lib/browser/chunk-MWKXNS5S.mjs.map +0 -7
  110. package/dist/lib/node/chunk-6SNOZF7Y.cjs +0 -152
  111. package/dist/lib/node/chunk-6SNOZF7Y.cjs.map +0 -7
  112. package/dist/lib/node/chunk-QNVEU2UD.cjs +0 -69
  113. package/dist/lib/node/chunk-QNVEU2UD.cjs.map +0 -7
  114. package/dist/lib/node-esm/chunk-OHEAWSCA.mjs +0 -126
  115. package/dist/lib/node-esm/chunk-OHEAWSCA.mjs.map +0 -7
  116. package/dist/lib/node-esm/chunk-UMV7XREB.mjs +0 -45
  117. package/dist/lib/node-esm/chunk-UMV7XREB.mjs.map +0 -7
  118. package/dist/types/src/components/SyncStatus/InlineSyncStatus.stories.d.ts +0 -6
  119. package/dist/types/src/components/SyncStatus/InlineSyncStatus.stories.d.ts.map +0 -1
  120. package/src/components/SyncStatus/InlineSyncStatus.stories.tsx +0 -57
@@ -1,7 +1,8 @@
1
1
  import React from 'react';
2
2
  import { type Space } from '@dxos/react-client/echo';
3
- export type SpaceSettingsPanelProps = {
3
+ import { type ThemedClassName } from '@dxos/react-ui';
4
+ export type SpaceSettingsPanelProps = ThemedClassName<{
4
5
  space: Space;
5
- };
6
- export declare const SpaceSettingsPanel: ({ space }: SpaceSettingsPanelProps) => React.JSX.Element;
6
+ }>;
7
+ export declare const SpaceSettingsPanel: ({ classNames, space }: SpaceSettingsPanelProps) => React.JSX.Element;
7
8
  //# sourceMappingURL=SpaceSettingsPanel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceSettingsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceSettings/SpaceSettingsPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAKrD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAMrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,cAAe,uBAAuB,sBAwCpE,CAAC"}
1
+ {"version":3,"file":"SpaceSettingsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceSettings/SpaceSettingsPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAKrD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,KAAK,eAAe,EAAyB,MAAM,gBAAgB,CAAC;AAM7E,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC;IACpD,KAAK,EAAE,KAAK,CAAC;CACd,CAAC,CAAC;AAEH,eAAO,MAAM,kBAAkB,0BAA2B,uBAAuB,sBAwChF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SpaceSettingsPanel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceSettings/SpaceSettingsPanel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAM5D,OAAO,EAAE,kBAAkB,EAAgC,MAAM,sBAAsB,CAAC;AASxF,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,kBAAkB,CAAM,CAAC"}
1
+ {"version":3,"file":"SpaceSettingsPanel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceSettings/SpaceSettingsPanel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAM5D,OAAO,EAAE,kBAAkB,EAAgC,MAAM,sBAAsB,CAAC;AAQxF,QAAA,MAAM,IAAI,EAAE,IASX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,kBAAkB,CAAM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type Space } from '@dxos/react-client/echo';
3
- export declare const InlineSyncStatus: ({ space }: {
3
+ export declare const InlineSyncStatus: ({ space, open }: {
4
4
  space: Space;
5
- }) => React.JSX.Element | null;
6
- export declare const InlineSyncStatusIndicator: () => React.JSX.Element;
5
+ open?: boolean;
6
+ }) => React.JSX.Element;
7
7
  //# sourceMappingURL=InlineSyncStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineSyncStatus.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/InlineSyncStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAKhF,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAmBrD,eAAO,MAAM,gBAAgB,cAAe;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,6BAU3D,CAAC;AAEF,eAAO,MAAM,yBAAyB,yBAoBrC,CAAC"}
1
+ {"version":3,"file":"InlineSyncStatus.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/InlineSyncStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAMnD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAqBrD,eAAO,MAAM,gBAAgB,oBAAqB;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,sBAuCjF,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import '@dxos-theme';
2
2
  import { type Meta, type StoryObj } from '@storybook/react';
3
3
  import { SyncStatusDetail } from './SyncStatus';
4
- declare const meta: Meta;
4
+ declare const meta: Meta<typeof SyncStatusDetail>;
5
5
  export default meta;
6
6
  type Story = StoryObj<typeof SyncStatusDetail>;
7
7
  export declare const Default: Story;
8
- export declare const Empty: Story;
8
+ export declare const Sync: Story;
9
9
  //# sourceMappingURL=SyncStatusDetail.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SyncStatusDetail.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/SyncStatusDetail.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAO5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAMhD,QAAA,MAAM,IAAI,EAAE,IAqDX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC"}
1
+ {"version":3,"file":"SyncStatusDetail.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/SyncStatusDetail.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAU5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAuChD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAWvC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAUlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './usePath';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAIA,cAAc,WAAW,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { type Graph } from '@dxos/plugin-graph';
2
+ /**
3
+ * React hook to get a path from the graph.
4
+ *
5
+ * @param graph Graph to find the node in.
6
+ * @param id Id of the node to find a path to.
7
+ * @param timeout Optional timeout in milliseconds to wait for the node to be found.
8
+ * @returns Path if found, undefined otherwise.
9
+ */
10
+ export declare const usePath: (graph: Graph, id?: string, timeout?: number) => string[] | undefined;
11
+ //# sourceMappingURL=usePath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usePath.d.ts","sourceRoot":"","sources":["../../../../src/hooks/usePath.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;GAOG;AAEH,eAAO,MAAM,OAAO,UAAW,KAAK,OAAO,MAAM,YAAY,MAAM,KAAG,MAAM,EAAE,GAAG,SA0BhF,CAAC"}
@@ -6,27 +6,4 @@ declare const _default: {
6
6
  name: string;
7
7
  };
8
8
  export default _default;
9
- export declare enum SpaceAction {
10
- OPEN_CREATE_SPACE = "dxos.org/plugin/space/action/open-create-space",
11
- CREATE = "dxos.org/plugin/space/action/create",
12
- JOIN = "dxos.org/plugin/space/action/join",
13
- SHARE = "dxos.org/plugin/space/action/share",
14
- LOCK = "dxos.org/plugin/space/action/lock",
15
- UNLOCK = "dxos.org/plugin/space/action/unlock",
16
- RENAME = "dxos.org/plugin/space/action/rename",
17
- OPEN = "dxos.org/plugin/space/action/open",
18
- CLOSE = "dxos.org/plugin/space/action/close",
19
- MIGRATE = "dxos.org/plugin/space/action/migrate",
20
- OPEN_CREATE_OBJECT = "dxos.org/plugin/space/action/open-create-object",
21
- ADD_OBJECT = "dxos.org/plugin/space/action/add-object",
22
- REMOVE_OBJECTS = "dxos.org/plugin/space/action/remove-objects",
23
- RENAME_OBJECT = "dxos.org/plugin/space/action/rename-object",
24
- DUPLICATE_OBJECT = "dxos.org/plugin/space/action/duplicate-object",
25
- WAIT_FOR_OBJECT = "dxos.org/plugin/space/action/wait-for-object",
26
- TOGGLE_HIDDEN = "dxos.org/plugin/space/action/toggle-hidden",
27
- OPEN_SETTINGS = "dxos.org/plugin/space/action/open-settings"
28
- }
29
- export declare enum CollectionAction {
30
- CREATE = "dxos.org/plugin/collection/action/create"
31
- }
32
9
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,qBAAqB,UAAU,CAAC;;;;;;AAE7C,wBAIuB;AAGvB,oBAAY,WAAW;IACrB,iBAAiB,mDAAsC;IACvD,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,IAAI,sCAAyB;IAC7B,MAAM,wCAA2B;IACjC,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,OAAO,yCAA4B;IACnC,kBAAkB,oDAAuC;IACzD,UAAU,4CAA+B;IACzC,cAAc,gDAAmC;IACjD,aAAa,+CAAkC;IAC/C,gBAAgB,kDAAqC;IACrD,eAAe,iDAAoC;IACnD,aAAa,+CAAkC;IAC/C,aAAa,+CAAkC;CAChD;AAED,oBAAY,gBAAgB;IAC1B,MAAM,6CAA6C;CACpD"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,qBAAqB,UAAU,CAAC;;;;;;AAE7C,wBAIuB"}
@@ -95,7 +95,7 @@ declare const _default: {
95
95
  'open space settings label'?: undefined;
96
96
  'members tab label'?: undefined;
97
97
  'settings tab label'?: undefined;
98
- 'syncing message'?: undefined;
98
+ 'syncing label'?: undefined;
99
99
  'show all label'?: undefined;
100
100
  'no sync status label'?: undefined;
101
101
  'create space dialog title'?: undefined;
@@ -106,6 +106,7 @@ declare const _default: {
106
106
  'creating in space label'?: undefined;
107
107
  'creating in collection label'?: undefined;
108
108
  'clear input label'?: undefined;
109
+ 'expose object label'?: undefined;
109
110
  } | {
110
111
  'plugin name': string;
111
112
  'first run message': string;
@@ -200,7 +201,7 @@ declare const _default: {
200
201
  'open space settings label': string;
201
202
  'members tab label': string;
202
203
  'settings tab label': string;
203
- 'syncing message': string;
204
+ 'syncing label': string;
204
205
  'show all label': string;
205
206
  'no sync status label': string;
206
207
  'create space dialog title': string;
@@ -211,6 +212,7 @@ declare const _default: {
211
212
  'creating in space label': string;
212
213
  'creating in collection label': string;
213
214
  'clear input label': string;
215
+ 'expose object label': string;
214
216
  'typename label'?: undefined;
215
217
  };
216
218
  "dxos.org/plugin/space": {
@@ -307,7 +309,7 @@ declare const _default: {
307
309
  'open space settings label': string;
308
310
  'members tab label': string;
309
311
  'settings tab label': string;
310
- 'syncing message': string;
312
+ 'syncing label': string;
311
313
  'show all label': string;
312
314
  'no sync status label': string;
313
315
  'create space dialog title': string;
@@ -318,6 +320,7 @@ declare const _default: {
318
320
  'creating in space label': string;
319
321
  'creating in collection label': string;
320
322
  'clear input label': string;
323
+ 'expose object label': string;
321
324
  };
322
325
  };
323
326
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAqHE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAsHE"}
@@ -1,16 +1,12 @@
1
- import { Expando, ref, S } from '@dxos/echo-schema';
2
- declare const CollectionType_base: import("@dxos/echo-schema").AbstractTypedObject<{
3
- name?: string | undefined;
4
- objects: import("@dxos/echo-schema").Ref<Expando>[];
5
- views: {
6
- [x: string]: import("@dxos/echo-schema").Ref<Expando>;
7
- };
8
- } & {
9
- id: string;
10
- }, S.Struct.Encoded<{
1
+ import { Expando, S } from '@dxos/echo-schema';
2
+ declare const CollectionType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
11
3
  name: S.optional<typeof S.String>;
12
- objects: S.mutable<S.Array$<ref<Expando>>>;
13
- views: S.mutable<S.Record$<typeof S.String, ref<Expando>>>;
4
+ objects: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>;
5
+ views: S.mutable<S.Record$<typeof S.String, import("@dxos/echo-schema").Ref$<Expando>>>;
6
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
7
+ name: S.optional<typeof S.String>;
8
+ objects: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>;
9
+ views: S.mutable<S.Record$<typeof S.String, import("@dxos/echo-schema").Ref$<Expando>>>;
14
10
  }>>;
15
11
  export declare class CollectionType extends CollectionType_base {
16
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/types/collection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,EAAe,MAAM,mBAAmB,CAAC;;;;;;;;;;;;;;AAEjE,qBAAa,cAAe,SAAQ,mBASlC;CAAG"}
1
+ {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../src/types/collection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAO,CAAC,EAAe,MAAM,mBAAmB,CAAC;;;;;;;;;;AAEjE,qBAAa,cAAe,SAAQ,mBASlC;CAAG"}
@@ -1,13 +1,11 @@
1
- import { Expando, ref, S } from '@dxos/echo-schema';
2
- declare const ContactType_base: import("@dxos/echo-schema").AbstractTypedObject<{
3
- name?: string | undefined;
4
- identifiers: {
5
- readonly value: string;
6
- readonly type: string;
7
- }[];
8
- } & {
9
- id: string;
10
- }, S.Struct.Encoded<{
1
+ import { Expando, S } from '@dxos/echo-schema';
2
+ declare const ContactType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
3
+ name: S.optional<typeof S.String>;
4
+ identifiers: S.mutable<S.Array$<S.Struct<{
5
+ type: typeof S.String;
6
+ value: typeof S.String;
7
+ }>>>;
8
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
11
9
  name: S.optional<typeof S.String>;
12
10
  identifiers: S.mutable<S.Array$<S.Struct<{
13
11
  type: typeof S.String;
@@ -17,15 +15,13 @@ declare const ContactType_base: import("@dxos/echo-schema").AbstractTypedObject<
17
15
  export declare class ContactType extends ContactType_base {
18
16
  }
19
17
  export declare const ActorSchema: S.mutable<S.Struct<{
20
- contact: S.optional<ref<{
21
- name?: string | undefined;
22
- identifiers: {
23
- readonly value: string;
24
- readonly type: string;
25
- }[];
26
- } & {
27
- id: string;
28
- }>>;
18
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
19
+ name: S.optional<typeof S.String>;
20
+ identifiers: S.mutable<S.Array$<S.Struct<{
21
+ type: typeof S.String;
22
+ value: typeof S.String;
23
+ }>>>;
24
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
29
25
  identityKey: S.optional<typeof S.String>;
30
26
  email: S.optional<typeof S.String>;
31
27
  name: S.optional<typeof S.String>;
@@ -37,47 +33,20 @@ export declare enum MessageState {
37
33
  DELETED = 2,
38
34
  SPAM = 3
39
35
  }
40
- declare const MessageType_base: import("@dxos/echo-schema").AbstractTypedObject<{
41
- text: string;
42
- timestamp: string;
43
- state?: MessageState | undefined;
44
- sender: {
45
- name?: string | undefined;
46
- contact?: import("@dxos/echo-schema").Ref<{
47
- name?: string | undefined;
48
- identifiers: {
49
- readonly value: string;
50
- readonly type: string;
51
- }[];
52
- } & {
53
- id: string;
54
- }>;
55
- identityKey?: string | undefined;
56
- email?: string | undefined;
57
- };
58
- parts?: import("@dxos/echo-schema").Ref<Expando>[] | undefined;
59
- properties?: {
60
- [x: string]: any;
61
- } | undefined;
62
- context?: import("@dxos/echo-schema").Ref<Expando>;
63
- } & {
64
- id: string;
65
- }, S.Struct.Encoded<{
36
+ declare const MessageType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
66
37
  /** ISO date string when the message was sent. */
67
38
  timestamp: typeof S.String;
68
39
  /** Message state. */
69
40
  state: S.optional<S.Enums<typeof MessageState>>;
70
41
  /** Identity of the message sender. */
71
42
  sender: S.mutable<S.Struct<{
72
- contact: S.optional<ref<{
73
- name?: string | undefined;
74
- identifiers: {
75
- readonly value: string;
76
- readonly type: string;
77
- }[];
78
- } & {
79
- id: string;
80
- }>>;
43
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
44
+ name: S.optional<typeof S.String>;
45
+ identifiers: S.mutable<S.Array$<S.Struct<{
46
+ type: typeof S.String;
47
+ value: typeof S.String;
48
+ }>>>;
49
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
81
50
  identityKey: S.optional<typeof S.String>;
82
51
  email: S.optional<typeof S.String>;
83
52
  name: S.optional<typeof S.String>;
@@ -85,153 +54,178 @@ declare const MessageType_base: import("@dxos/echo-schema").AbstractTypedObject<
85
54
  /** Text content of the message. */
86
55
  text: typeof S.String;
87
56
  /** Non-text content sent with a message (e.g., files, polls, etc.) */
88
- parts: S.optional<S.mutable<S.Array$<ref<Expando>>>>;
57
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
89
58
  /** Custom properties for specific message types (e.g. email subject or cc fields). */
90
59
  properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
91
60
  /** Context of the application when message was created. */
92
- context: S.optional<ref<Expando>>;
61
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
62
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
63
+ /** ISO date string when the message was sent. */
64
+ timestamp: typeof S.String;
65
+ /** Message state. */
66
+ state: S.optional<S.Enums<typeof MessageState>>;
67
+ /** Identity of the message sender. */
68
+ sender: S.mutable<S.Struct<{
69
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
70
+ name: S.optional<typeof S.String>;
71
+ identifiers: S.mutable<S.Array$<S.Struct<{
72
+ type: typeof S.String;
73
+ value: typeof S.String;
74
+ }>>>;
75
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
76
+ identityKey: S.optional<typeof S.String>;
77
+ email: S.optional<typeof S.String>;
78
+ name: S.optional<typeof S.String>;
79
+ }>>;
80
+ /** Text content of the message. */
81
+ text: typeof S.String;
82
+ /** Non-text content sent with a message (e.g., files, polls, etc.) */
83
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
84
+ /** Custom properties for specific message types (e.g. email subject or cc fields). */
85
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
86
+ /** Context of the application when message was created. */
87
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
93
88
  }>>;
94
89
  export declare class MessageType extends MessageType_base {
95
90
  }
96
91
  export declare const ThreadStatus: S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>;
97
- declare const ThreadType_base: import("@dxos/echo-schema").AbstractTypedObject<{
98
- name?: string | undefined;
99
- anchor?: string | undefined;
100
- status?: "active" | "staged" | "resolved" | undefined;
101
- messages: import("@dxos/echo-schema").Ref<{
102
- text: string;
103
- timestamp: string;
104
- state?: MessageState | undefined;
105
- sender: {
106
- name?: string | undefined;
107
- contact?: import("@dxos/echo-schema").Ref<{
108
- name?: string | undefined;
109
- identifiers: {
110
- readonly value: string;
111
- readonly type: string;
112
- }[];
113
- } & {
114
- id: string;
115
- }>;
116
- identityKey?: string | undefined;
117
- email?: string | undefined;
118
- };
119
- parts?: import("@dxos/echo-schema").Ref<Expando>[] | undefined;
120
- properties?: {
121
- [x: string]: any;
122
- } | undefined;
123
- context?: import("@dxos/echo-schema").Ref<Expando>;
124
- } & {
125
- id: string;
126
- }>[];
127
- } & {
128
- id: string;
129
- }, S.Struct.Encoded<{
92
+ declare const ThreadType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
130
93
  name: S.optional<typeof S.String>;
131
94
  /** AM cursor-range: 'from:to'. */
132
95
  anchor: S.optional<typeof S.String>;
133
96
  status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
134
- messages: S.mutable<S.Array$<ref<{
135
- text: string;
136
- timestamp: string;
137
- state?: MessageState | undefined;
138
- sender: {
139
- name?: string | undefined;
140
- contact?: import("@dxos/echo-schema").Ref<{
141
- name?: string | undefined;
142
- identifiers: {
143
- readonly value: string;
144
- readonly type: string;
145
- }[];
146
- } & {
147
- id: string;
148
- }>;
149
- identityKey?: string | undefined;
150
- email?: string | undefined;
151
- };
152
- parts?: import("@dxos/echo-schema").Ref<Expando>[] | undefined;
153
- properties?: {
154
- [x: string]: any;
155
- } | undefined;
156
- context?: import("@dxos/echo-schema").Ref<Expando>;
157
- } & {
158
- id: string;
159
- }>>>;
97
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
98
+ /** ISO date string when the message was sent. */
99
+ timestamp: typeof S.String;
100
+ /** Message state. */
101
+ state: S.optional<S.Enums<typeof MessageState>>;
102
+ /** Identity of the message sender. */
103
+ sender: S.mutable<S.Struct<{
104
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
105
+ name: S.optional<typeof S.String>;
106
+ identifiers: S.mutable<S.Array$<S.Struct<{
107
+ type: typeof S.String;
108
+ value: typeof S.String;
109
+ }>>>;
110
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
111
+ identityKey: S.optional<typeof S.String>;
112
+ email: S.optional<typeof S.String>;
113
+ name: S.optional<typeof S.String>;
114
+ }>>;
115
+ /** Text content of the message. */
116
+ text: typeof S.String;
117
+ /** Non-text content sent with a message (e.g., files, polls, etc.) */
118
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
119
+ /** Custom properties for specific message types (e.g. email subject or cc fields). */
120
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
121
+ /** Context of the application when message was created. */
122
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
123
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
124
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
125
+ name: S.optional<typeof S.String>;
126
+ /** AM cursor-range: 'from:to'. */
127
+ anchor: S.optional<typeof S.String>;
128
+ status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
129
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
130
+ /** ISO date string when the message was sent. */
131
+ timestamp: typeof S.String;
132
+ /** Message state. */
133
+ state: S.optional<S.Enums<typeof MessageState>>;
134
+ /** Identity of the message sender. */
135
+ sender: S.mutable<S.Struct<{
136
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
137
+ name: S.optional<typeof S.String>;
138
+ identifiers: S.mutable<S.Array$<S.Struct<{
139
+ type: typeof S.String;
140
+ value: typeof S.String;
141
+ }>>>;
142
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
143
+ identityKey: S.optional<typeof S.String>;
144
+ email: S.optional<typeof S.String>;
145
+ name: S.optional<typeof S.String>;
146
+ }>>;
147
+ /** Text content of the message. */
148
+ text: typeof S.String;
149
+ /** Non-text content sent with a message (e.g., files, polls, etc.) */
150
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
151
+ /** Custom properties for specific message types (e.g. email subject or cc fields). */
152
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
153
+ /** Context of the application when message was created. */
154
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
155
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
160
156
  }>>;
161
157
  export declare class ThreadType extends ThreadType_base {
162
158
  }
163
- declare const ChannelType_base: import("@dxos/echo-schema").AbstractTypedObject<{
164
- name?: string | undefined;
165
- threads: import("@dxos/echo-schema").Ref<{
166
- name?: string | undefined;
167
- anchor?: string | undefined;
168
- status?: "active" | "staged" | "resolved" | undefined;
169
- messages: import("@dxos/echo-schema").Ref<{
170
- text: string;
171
- timestamp: string;
172
- state?: MessageState | undefined;
173
- sender: {
174
- name?: string | undefined;
175
- contact?: import("@dxos/echo-schema").Ref<{
176
- name?: string | undefined;
177
- identifiers: {
178
- readonly value: string;
179
- readonly type: string;
180
- }[];
181
- } & {
182
- id: string;
183
- }>;
184
- identityKey?: string | undefined;
185
- email?: string | undefined;
186
- };
187
- parts?: import("@dxos/echo-schema").Ref<Expando>[] | undefined;
188
- properties?: {
189
- [x: string]: any;
190
- } | undefined;
191
- context?: import("@dxos/echo-schema").Ref<Expando>;
192
- } & {
193
- id: string;
194
- }>[];
195
- } & {
196
- id: string;
197
- }>[];
198
- } & {
199
- id: string;
200
- }, S.Struct.Encoded<{
159
+ declare const ChannelType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
201
160
  name: S.optional<typeof S.String>;
202
- threads: S.mutable<S.Array$<ref<{
203
- name?: string | undefined;
204
- anchor?: string | undefined;
205
- status?: "active" | "staged" | "resolved" | undefined;
206
- messages: import("@dxos/echo-schema").Ref<{
207
- text: string;
208
- timestamp: string;
209
- state?: MessageState | undefined;
210
- sender: {
211
- name?: string | undefined;
212
- contact?: import("@dxos/echo-schema").Ref<{
213
- name?: string | undefined;
214
- identifiers: {
215
- readonly value: string;
216
- readonly type: string;
217
- }[];
218
- } & {
219
- id: string;
220
- }>;
221
- identityKey?: string | undefined;
222
- email?: string | undefined;
223
- };
224
- parts?: import("@dxos/echo-schema").Ref<Expando>[] | undefined;
225
- properties?: {
226
- [x: string]: any;
227
- } | undefined;
228
- context?: import("@dxos/echo-schema").Ref<Expando>;
229
- } & {
230
- id: string;
231
- }>[];
232
- } & {
233
- id: string;
234
- }>>>;
161
+ threads: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
162
+ name: S.optional<typeof S.String>;
163
+ /** AM cursor-range: 'from:to'. */
164
+ anchor: S.optional<typeof S.String>;
165
+ status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
166
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
167
+ /** ISO date string when the message was sent. */
168
+ timestamp: typeof S.String;
169
+ /** Message state. */
170
+ state: S.optional<S.Enums<typeof MessageState>>;
171
+ /** Identity of the message sender. */
172
+ sender: S.mutable<S.Struct<{
173
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
174
+ name: S.optional<typeof S.String>;
175
+ identifiers: S.mutable<S.Array$<S.Struct<{
176
+ type: typeof S.String;
177
+ value: typeof S.String;
178
+ }>>>;
179
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
180
+ identityKey: S.optional<typeof S.String>;
181
+ email: S.optional<typeof S.String>;
182
+ name: S.optional<typeof S.String>;
183
+ }>>;
184
+ /** Text content of the message. */
185
+ text: typeof S.String;
186
+ /** Non-text content sent with a message (e.g., files, polls, etc.) */
187
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
188
+ /** Custom properties for specific message types (e.g. email subject or cc fields). */
189
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
190
+ /** Context of the application when message was created. */
191
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
192
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
193
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
194
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>, S.Struct.Encoded<{
195
+ name: S.optional<typeof S.String>;
196
+ threads: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
197
+ name: S.optional<typeof S.String>;
198
+ /** AM cursor-range: 'from:to'. */
199
+ anchor: S.optional<typeof S.String>;
200
+ status: S.optional<S.Union<[S.Literal<["staged"]>, S.Literal<["active"]>, S.Literal<["resolved"]>]>>;
201
+ messages: S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
202
+ /** ISO date string when the message was sent. */
203
+ timestamp: typeof S.String;
204
+ /** Message state. */
205
+ state: S.optional<S.Enums<typeof MessageState>>;
206
+ /** Identity of the message sender. */
207
+ sender: S.mutable<S.Struct<{
208
+ contact: S.optional<import("@dxos/echo-schema").Ref$<import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectFields<{
209
+ name: S.optional<typeof S.String>;
210
+ identifiers: S.mutable<S.Array$<S.Struct<{
211
+ type: typeof S.String;
212
+ value: typeof S.String;
213
+ }>>>;
214
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>;
215
+ identityKey: S.optional<typeof S.String>;
216
+ email: S.optional<typeof S.String>;
217
+ name: S.optional<typeof S.String>;
218
+ }>>;
219
+ /** Text content of the message. */
220
+ text: typeof S.String;
221
+ /** Non-text content sent with a message (e.g., files, polls, etc.) */
222
+ parts: S.optional<S.mutable<S.Array$<import("@dxos/echo-schema").Ref$<Expando>>>>;
223
+ /** Custom properties for specific message types (e.g. email subject or cc fields). */
224
+ properties: S.optional<S.mutable<S.Record$<typeof S.String, typeof S.Any>>>;
225
+ /** Context of the application when message was created. */
226
+ context: S.optional<import("@dxos/echo-schema").Ref$<Expando>>;
227
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
228
+ }, import("packages/core/echo/echo-schema/dist/types/src/object/common").TypedObjectOptions>>>>;
235
229
  }>>;
236
230
  export declare class ChannelType extends ChannelType_base {
237
231
  }