@dxos/plugin-thread 0.8.4-main.f9ba587 → 0.8.4-main.fd6878d
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.
- package/dist/lib/browser/ChannelContainer-O2SFQJU7.mjs +16 -0
- package/dist/lib/browser/{ChatContainer-2UYQ23KO.mjs → ChatContainer-PVT3DUZJ.mjs} +4 -4
- package/dist/lib/browser/{app-graph-builder-Q5V3KXE3.mjs → app-graph-builder-AF3M7UWN.mjs} +5 -5
- package/dist/lib/browser/app-graph-builder-AF3M7UWN.mjs.map +7 -0
- package/dist/lib/browser/{call-manager-NIPDYUVD.mjs → call-manager-XRRCAVLI.mjs} +4 -4
- package/dist/lib/browser/call-manager-XRRCAVLI.mjs.map +7 -0
- package/dist/lib/browser/chunk-2CWJBXBH.mjs +21 -0
- package/dist/lib/browser/{chunk-LGSDKXPF.mjs → chunk-4APCDRSH.mjs} +1 -1
- package/dist/lib/browser/{chunk-LGSDKXPF.mjs.map → chunk-4APCDRSH.mjs.map} +1 -1
- package/dist/lib/browser/{chunk-JVIKVYTI.mjs → chunk-DW7JD64V.mjs} +11 -2
- package/dist/lib/browser/chunk-DW7JD64V.mjs.map +7 -0
- package/dist/lib/browser/{chunk-YD57K2SL.mjs → chunk-FY4ZRD5X.mjs} +8 -8
- package/dist/lib/{node-esm/chunk-RGTWAVEE.mjs.map → browser/chunk-FY4ZRD5X.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-NCSFNWBZ.mjs → chunk-J3JO5NWO.mjs} +30 -32
- package/dist/lib/browser/chunk-J3JO5NWO.mjs.map +7 -0
- package/dist/lib/browser/{chunk-6NSMBO3B.mjs → chunk-JGKMMI65.mjs} +2 -2
- package/dist/lib/browser/{chunk-6NSMBO3B.mjs.map → chunk-JGKMMI65.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-ZE7KWN36.mjs → chunk-TUFWPOVS.mjs} +92 -63
- package/dist/lib/browser/chunk-TUFWPOVS.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ERWASUQK.mjs → chunk-X5PIP5YR.mjs} +3 -3
- package/dist/lib/browser/{chunk-ERWASUQK.mjs.map → chunk-X5PIP5YR.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-LCJD3NOB.mjs → chunk-ZJ7QBXK6.mjs} +225 -225
- package/dist/lib/browser/chunk-ZJ7QBXK6.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +16 -28
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-MWE6XLPY.mjs → intent-resolver-DCY4P4OX.mjs} +28 -12
- package/dist/lib/browser/intent-resolver-DCY4P4OX.mjs.map +7 -0
- package/dist/lib/browser/{markdown-ZO34G7RM.mjs → markdown-WZSXCEZJ.mjs} +4 -4
- package/dist/lib/browser/markdown-WZSXCEZJ.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-YNDNPODD.mjs → react-root-QXPALOUQ.mjs} +9 -9
- package/dist/lib/browser/{react-surface-2AXRNTCA.mjs → react-surface-PYAMIADB.mjs} +9 -9
- package/dist/lib/browser/react-surface-PYAMIADB.mjs.map +7 -0
- package/dist/lib/browser/{settings-XZGPZNAU.mjs → settings-AC6YSASL.mjs} +2 -2
- package/dist/lib/browser/{state-H6CYONWE.mjs → state-2T4KDWBX.mjs} +2 -2
- package/dist/lib/browser/{state-H6CYONWE.mjs.map → state-2T4KDWBX.mjs.map} +2 -2
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{ChannelContainer-O2LZKMRM.mjs → ChannelContainer-B2ZGAE4P.mjs} +7 -7
- package/dist/lib/node-esm/{ChatContainer-6N35MP5J.mjs → ChatContainer-2CT4PJ7I.mjs} +4 -4
- package/dist/lib/node-esm/{app-graph-builder-GAKBZNU3.mjs → app-graph-builder-OLSJVCWY.mjs} +5 -5
- package/dist/lib/node-esm/app-graph-builder-OLSJVCWY.mjs.map +7 -0
- package/dist/lib/node-esm/{call-manager-D6O5ZJJ4.mjs → call-manager-EI7FXRAU.mjs} +4 -4
- package/dist/lib/node-esm/call-manager-EI7FXRAU.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-IHDNQLLR.mjs → chunk-4TME3BR4.mjs} +92 -63
- package/dist/lib/node-esm/chunk-4TME3BR4.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-6CRHHOST.mjs +23 -0
- package/dist/lib/node-esm/{chunk-RGTWAVEE.mjs → chunk-BF4UKS55.mjs} +8 -8
- package/dist/lib/node-esm/chunk-BF4UKS55.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-75RJ5DJI.mjs → chunk-PYTVBN5J.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-75RJ5DJI.mjs.map → chunk-PYTVBN5J.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-OU5BYIDO.mjs → chunk-QBHKLWGR.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-OU5BYIDO.mjs.map → chunk-QBHKLWGR.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-25ABSYP2.mjs → chunk-SED3O2XO.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-25ABSYP2.mjs.map → chunk-SED3O2XO.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-A6QLTZCY.mjs → chunk-VNG6M2IY.mjs} +30 -32
- package/dist/lib/node-esm/chunk-VNG6M2IY.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-3X3YKRM2.mjs → chunk-XVKWHTH4.mjs} +11 -2
- package/dist/lib/node-esm/chunk-XVKWHTH4.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-5UQ4KKDE.mjs → chunk-YIDU3DXK.mjs} +225 -225
- package/dist/lib/node-esm/chunk-YIDU3DXK.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +16 -28
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-B6PNTMPY.mjs → intent-resolver-QGTPU6QB.mjs} +28 -12
- package/dist/lib/node-esm/intent-resolver-QGTPU6QB.mjs.map +7 -0
- package/dist/lib/node-esm/{markdown-ZJUFV2TA.mjs → markdown-3MZXUGUA.mjs} +4 -4
- package/dist/lib/node-esm/markdown-3MZXUGUA.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-root-ZUVVTKWG.mjs → react-root-7ZFJYVUZ.mjs} +9 -9
- package/dist/lib/node-esm/{react-surface-OMEZTOU6.mjs → react-surface-UJFCSFNO.mjs} +9 -9
- package/dist/lib/node-esm/react-surface-UJFCSFNO.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-XECBSD6Q.mjs → settings-N52O7MLS.mjs} +2 -2
- package/dist/lib/node-esm/{state-D7WNDT3N.mjs → state-62TQKQVB.mjs} +2 -2
- package/dist/lib/node-esm/{state-D7WNDT3N.mjs.map → state-62TQKQVB.mjs.map} +2 -2
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/calls/call-manager.d.ts.map +1 -1
- package/dist/types/src/calls/call-swarm-synchronizer.d.ts.map +1 -1
- package/dist/types/src/calls/media-manager.d.ts.map +1 -1
- package/dist/types/src/calls/types.d.ts +1 -1
- package/dist/types/src/calls/types.d.ts.map +1 -1
- package/dist/types/src/calls/util/calls-service.d.ts +1 -1
- package/dist/types/src/calls/util/calls-service.d.ts.map +1 -1
- package/dist/types/src/calls/util/stub-media-streams.d.ts.map +1 -1
- package/dist/types/src/calls-service.stories.d.ts +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/call-manager.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +2 -2
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +1 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +1 -1
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/Call/Call.d.ts.map +1 -1
- package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
- package/dist/types/src/components/CallDebugPanel.d.ts.map +1 -1
- package/dist/types/src/components/CallSidebar.d.ts.map +1 -1
- package/dist/types/src/components/ChannelContainer.d.ts.map +1 -1
- package/dist/types/src/components/ChannelContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/Chat.stories.d.ts.map +1 -1
- package/dist/types/src/components/ChatContainer.d.ts.map +1 -1
- package/dist/types/src/components/Comments.stories.d.ts.map +1 -1
- package/dist/types/src/components/CommentsContainer.d.ts.map +1 -1
- package/dist/types/src/components/CommentsThreadContainer.d.ts.map +1 -1
- package/dist/types/src/components/Lobby/Lobby.d.ts.map +1 -1
- package/dist/types/src/components/Media/VideoObject.d.ts +1 -1
- package/dist/types/src/components/Media/VideoObject.stories.d.ts +1 -1
- package/dist/types/src/components/Media/VideoObject.stories.d.ts.map +1 -1
- package/dist/types/src/components/MessageContainer.d.ts.map +1 -1
- package/dist/types/src/components/Participant/ParticipantGrid.d.ts.map +1 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts +1 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts.map +1 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +1 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +1 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGridItem.d.ts.map +1 -1
- package/dist/types/src/extensions/threads.d.ts +2 -2
- package/dist/types/src/extensions/threads.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +2 -0
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +53 -22
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +72 -24
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +17 -2
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +47 -45
- package/src/ThreadPlugin.tsx +8 -23
- package/src/calls/call-manager.ts +1 -1
- package/src/calls/call-swarm-synchronizer.ts +1 -1
- package/src/calls/media-manager.ts +2 -2
- package/src/calls/types.ts +1 -1
- package/src/calls/util/calls-service.ts +4 -3
- package/src/calls/util/stub-media-streams.ts +2 -2
- package/src/calls-service.stories.tsx +3 -3
- package/src/capabilities/app-graph-builder.ts +6 -5
- package/src/capabilities/call-manager.ts +3 -2
- package/src/capabilities/capabilities.ts +2 -2
- package/src/capabilities/intent-resolver.ts +26 -7
- package/src/capabilities/markdown.ts +4 -3
- package/src/capabilities/react-surface.tsx +5 -4
- package/src/capabilities/state.ts +2 -1
- package/src/components/Call/Call.tsx +3 -2
- package/src/components/Call/Toolbar.tsx +3 -3
- package/src/components/CallDebugPanel.tsx +1 -1
- package/src/components/CallSidebar.tsx +2 -1
- package/src/components/ChannelContainer.stories.tsx +3 -2
- package/src/components/ChannelContainer.tsx +7 -6
- package/src/components/Chat.stories.tsx +3 -2
- package/src/components/ChatContainer.tsx +6 -5
- package/src/components/Comments.stories.tsx +4 -3
- package/src/components/CommentsContainer.tsx +2 -1
- package/src/components/CommentsThreadContainer.tsx +3 -2
- package/src/components/Lobby/Lobby.tsx +1 -1
- package/src/components/Media/VideoObject.stories.tsx +4 -3
- package/src/components/MessageContainer.tsx +6 -5
- package/src/components/Participant/ParticipantGrid.tsx +2 -1
- package/src/components/ResponsiveGrid/ResponsiveContainer.stories.tsx +4 -3
- package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +5 -4
- package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +1 -1
- package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +2 -2
- package/src/components/ThreadComplementary.tsx +1 -1
- package/src/components/command-extension.ts +1 -1
- package/src/components/testing.ts +2 -2
- package/src/extensions/threads.ts +6 -6
- package/src/hooks/useDebugMode.ts +1 -1
- package/src/testing/stories.ts +2 -2
- package/src/translations.ts +2 -0
- package/src/types/types.ts +11 -2
- package/src/typings.d.ts +8 -0
- package/dist/lib/browser/ChannelContainer-5YH4FTBL.mjs +0 -16
- package/dist/lib/browser/app-graph-builder-Q5V3KXE3.mjs.map +0 -7
- package/dist/lib/browser/call-manager-NIPDYUVD.mjs.map +0 -7
- package/dist/lib/browser/chunk-5ZVJ4GAS.mjs +0 -21
- package/dist/lib/browser/chunk-JVIKVYTI.mjs.map +0 -7
- package/dist/lib/browser/chunk-LCJD3NOB.mjs.map +0 -7
- package/dist/lib/browser/chunk-NCSFNWBZ.mjs.map +0 -7
- package/dist/lib/browser/chunk-YD57K2SL.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZE7KWN36.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-MWE6XLPY.mjs.map +0 -7
- package/dist/lib/browser/markdown-ZO34G7RM.mjs.map +0 -7
- package/dist/lib/browser/react-surface-2AXRNTCA.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-GAKBZNU3.mjs.map +0 -7
- package/dist/lib/node-esm/call-manager-D6O5ZJJ4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-3X3YKRM2.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5UQ4KKDE.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-A6QLTZCY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-IHDNQLLR.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-X62X3VOK.mjs +0 -23
- package/dist/lib/node-esm/intent-resolver-B6PNTMPY.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-ZJUFV2TA.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-OMEZTOU6.mjs.map +0 -7
- /package/dist/lib/browser/{ChannelContainer-5YH4FTBL.mjs.map → ChannelContainer-O2SFQJU7.mjs.map} +0 -0
- /package/dist/lib/browser/{ChatContainer-2UYQ23KO.mjs.map → ChatContainer-PVT3DUZJ.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-5ZVJ4GAS.mjs.map → chunk-2CWJBXBH.mjs.map} +0 -0
- /package/dist/lib/browser/{react-root-YNDNPODD.mjs.map → react-root-QXPALOUQ.mjs.map} +0 -0
- /package/dist/lib/browser/{settings-XZGPZNAU.mjs.map → settings-AC6YSASL.mjs.map} +0 -0
- /package/dist/lib/node-esm/{ChannelContainer-O2LZKMRM.mjs.map → ChannelContainer-B2ZGAE4P.mjs.map} +0 -0
- /package/dist/lib/node-esm/{ChatContainer-6N35MP5J.mjs.map → ChatContainer-2CT4PJ7I.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-X62X3VOK.mjs.map → chunk-6CRHHOST.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-root-ZUVVTKWG.mjs.map → react-root-7ZFJYVUZ.mjs.map} +0 -0
- /package/dist/lib/node-esm/{settings-XECBSD6Q.mjs.map → settings-N52O7MLS.mjs.map} +0 -0
|
@@ -6,6 +6,7 @@ declare const _ThreadType: Type.obj<Schema.Struct<{
|
|
|
6
6
|
status: Schema.optional<Schema.Union<[Schema.Literal<["staged"]>, Schema.Literal<["active"]>, Schema.Literal<["resolved"]>]>>;
|
|
7
7
|
messages: Schema.mutable<Schema.Array$<Type.ref<Type.obj<Schema.Struct<{
|
|
8
8
|
id: import("@dxos/keys").ObjectIdClass;
|
|
9
|
+
parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
|
|
9
10
|
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
10
11
|
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
11
12
|
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
@@ -14,9 +15,9 @@ declare const _ThreadType: Type.obj<Schema.Struct<{
|
|
|
14
15
|
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
15
16
|
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
16
17
|
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
17
|
-
description?: string | undefined;
|
|
18
18
|
id: string;
|
|
19
19
|
name?: string | undefined;
|
|
20
|
+
description?: string | undefined;
|
|
20
21
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
21
22
|
image?: string | undefined;
|
|
22
23
|
website?: string | undefined;
|
|
@@ -52,7 +53,7 @@ declare const _ThreadType: Type.obj<Schema.Struct<{
|
|
|
52
53
|
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
53
54
|
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
54
55
|
}>>>>;
|
|
55
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").
|
|
56
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
56
57
|
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
57
58
|
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
58
59
|
label: typeof import("effect/Schema").String;
|
|
@@ -65,22 +66,17 @@ declare const _ThreadType: Type.obj<Schema.Struct<{
|
|
|
65
66
|
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
66
67
|
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
|
|
67
68
|
}>>;
|
|
68
|
-
blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").
|
|
69
|
+
blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
|
|
69
70
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
text: typeof import("effect/Schema").String;
|
|
74
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
71
|
+
objectId: import("@dxos/keys").ObjectIdClass;
|
|
72
|
+
version: typeof import("effect/Schema").Unknown;
|
|
73
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
|
|
75
74
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
75
|
+
url: typeof import("effect/Schema").String;
|
|
76
|
+
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
77
|
+
mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
78
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
|
|
81
79
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
82
|
-
}>, import("effect/Schema").Struct<{
|
|
83
|
-
type: import("effect/Schema").Literal<["image"]>;
|
|
84
80
|
id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
85
81
|
source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
86
82
|
type: import("effect/Schema").Literal<["base64"]>;
|
|
@@ -90,21 +86,56 @@ declare const _ThreadType: Type.obj<Schema.Struct<{
|
|
|
90
86
|
type: import("effect/Schema").Literal<["http"]>;
|
|
91
87
|
url: typeof import("effect/Schema").String;
|
|
92
88
|
}>>]>>;
|
|
93
|
-
}
|
|
89
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
|
|
90
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
91
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
92
|
+
data: typeof import("effect/Schema").String;
|
|
93
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
|
|
94
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
95
|
+
text: typeof import("effect/Schema").String;
|
|
96
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
|
|
97
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
98
|
+
reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
99
|
+
redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
100
|
+
signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
101
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
|
|
94
102
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
95
|
-
}>, import("effect/Schema").Struct<{
|
|
96
|
-
type: import("effect/Schema").Literal<["reference"]>;
|
|
97
103
|
reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
98
104
|
[x: string]: any;
|
|
99
105
|
id: string;
|
|
100
106
|
}, never>>;
|
|
101
|
-
}
|
|
107
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
|
|
108
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
109
|
+
options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
110
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
|
|
111
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
112
|
+
statusText: typeof import("effect/Schema").String;
|
|
113
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
|
|
114
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
115
|
+
text: typeof import("effect/Schema").String;
|
|
116
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
|
|
117
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
118
|
+
mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
119
|
+
text: typeof import("effect/Schema").String;
|
|
120
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
121
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
|
|
122
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
123
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
|
|
124
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
125
|
+
toolCallId: typeof import("effect/Schema").String;
|
|
126
|
+
name: typeof import("effect/Schema").String;
|
|
127
|
+
input: typeof import("effect/Schema").Unknown;
|
|
128
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
|
|
129
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
130
|
+
toolCallId: typeof import("effect/Schema").String;
|
|
131
|
+
name: typeof import("effect/Schema").String;
|
|
132
|
+
result: typeof import("effect/Schema").Unknown;
|
|
133
|
+
error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
134
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
|
|
102
135
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
103
|
-
}>, import("effect/Schema").Struct<{
|
|
104
|
-
type: import("effect/Schema").Literal<["transcription"]>;
|
|
105
136
|
started: typeof import("effect/Schema").String;
|
|
106
137
|
text: typeof import("effect/Schema").String;
|
|
107
|
-
}
|
|
138
|
+
}>>]>>>;
|
|
108
139
|
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
109
140
|
}>>>>>;
|
|
110
141
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,eAAO,MAAM,YAAY,sGAIxB,CAAC;AAEF,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,eAAO,MAAM,YAAY,sGAIxB,CAAC;AAEF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;wBAkB+ykB,CAAC;+BAAqD,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAdp/kB,CAAC;AAC1E,MAAM,WAAW,UAAW,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG;AAC7E,eAAO,MAAM,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,EAAE,KAAK,CAAC,CAChG,CAAC;AAEd,QAAA,MAAM,YAAY;;;;;;;;;;;;;;GAKwD,CAAC;AAC3E,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC;CAAG;AAC/E,eAAO,MAAM,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,YAAY,CAAC,EAAE,KAAK,CAAC,CAClG,CAAC"}
|
|
@@ -3,6 +3,23 @@ import { Type } from '@dxos/echo';
|
|
|
3
3
|
import { AnchoredTo } from '@dxos/schema';
|
|
4
4
|
import { ChannelType, ThreadType } from './schema';
|
|
5
5
|
export declare namespace ThreadAction {
|
|
6
|
+
const OnSpaceCreated_base: Schema.TaggedClass<OnSpaceCreated, "dxos.org/plugin/thread/action/on-space-created", {
|
|
7
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/thread/action/on-space-created">;
|
|
8
|
+
} & {
|
|
9
|
+
input: Schema.Struct<{
|
|
10
|
+
space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
|
|
11
|
+
rootCollection: Type.obj<Schema.Struct<{
|
|
12
|
+
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
13
|
+
objects: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
id: string;
|
|
16
|
+
}, never>>>>;
|
|
17
|
+
}>>;
|
|
18
|
+
}>;
|
|
19
|
+
output: typeof Schema.Void;
|
|
20
|
+
}>;
|
|
21
|
+
export class OnSpaceCreated extends OnSpaceCreated_base {
|
|
22
|
+
}
|
|
6
23
|
const CreateChannel_base: Schema.TaggedClass<CreateChannel, "dxos.org/plugin/thread/action/create-channel", {
|
|
7
24
|
readonly _tag: Schema.tag<"dxos.org/plugin/thread/action/create-channel">;
|
|
8
25
|
} & {
|
|
@@ -135,9 +152,9 @@ export declare namespace ThreadAction {
|
|
|
135
152
|
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
136
153
|
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
137
154
|
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
138
|
-
description?: string | undefined;
|
|
139
155
|
id: string;
|
|
140
156
|
name?: string | undefined;
|
|
157
|
+
description?: string | undefined;
|
|
141
158
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
142
159
|
image?: string | undefined;
|
|
143
160
|
website?: string | undefined;
|
|
@@ -173,7 +190,7 @@ export declare namespace ThreadAction {
|
|
|
173
190
|
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
174
191
|
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
175
192
|
}>>>>;
|
|
176
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").
|
|
193
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
177
194
|
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
178
195
|
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
179
196
|
label: typeof import("effect/Schema").String;
|
|
@@ -210,6 +227,7 @@ export declare namespace ThreadAction {
|
|
|
210
227
|
messageId: typeof Schema.String;
|
|
211
228
|
message: Schema.optional<Type.obj<Schema.Struct<{
|
|
212
229
|
id: import("@dxos/keys").ObjectIdClass;
|
|
230
|
+
parentMessage: import("effect/Schema").optional<import("@dxos/keys").ObjectIdClass>;
|
|
213
231
|
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
214
232
|
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
215
233
|
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
@@ -218,9 +236,9 @@ export declare namespace ThreadAction {
|
|
|
218
236
|
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
219
237
|
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
220
238
|
organization: import("effect/Schema").optional<import("effect/Schema").Schema<import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
221
|
-
description?: string | undefined;
|
|
222
239
|
id: string;
|
|
223
240
|
name?: string | undefined;
|
|
241
|
+
description?: string | undefined;
|
|
224
242
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
225
243
|
image?: string | undefined;
|
|
226
244
|
website?: string | undefined;
|
|
@@ -256,7 +274,7 @@ export declare namespace ThreadAction {
|
|
|
256
274
|
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
257
275
|
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
258
276
|
}>>>>;
|
|
259
|
-
birthday: import("effect/Schema").optional<import("effect/Schema").
|
|
277
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
260
278
|
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
261
279
|
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
262
280
|
label: typeof import("effect/Schema").String;
|
|
@@ -269,22 +287,17 @@ export declare namespace ThreadAction {
|
|
|
269
287
|
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
270
288
|
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
|
|
271
289
|
}>>;
|
|
272
|
-
blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").
|
|
290
|
+
blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"anchor", {
|
|
273
291
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
text: typeof import("effect/Schema").String;
|
|
278
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
292
|
+
objectId: import("@dxos/keys").ObjectIdClass;
|
|
293
|
+
version: typeof import("effect/Schema").Unknown;
|
|
294
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"file", {
|
|
279
295
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
296
|
+
url: typeof import("effect/Schema").String;
|
|
297
|
+
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
298
|
+
mediaType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
299
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"image", {
|
|
285
300
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
286
|
-
}>, import("effect/Schema").Struct<{
|
|
287
|
-
type: import("effect/Schema").Literal<["image"]>;
|
|
288
301
|
id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
289
302
|
source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
290
303
|
type: import("effect/Schema").Literal<["base64"]>;
|
|
@@ -294,21 +307,56 @@ export declare namespace ThreadAction {
|
|
|
294
307
|
type: import("effect/Schema").Literal<["http"]>;
|
|
295
308
|
url: typeof import("effect/Schema").String;
|
|
296
309
|
}>>]>>;
|
|
297
|
-
}
|
|
310
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"json", {
|
|
311
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
312
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
313
|
+
data: typeof import("effect/Schema").String;
|
|
314
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"proposal", {
|
|
315
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
316
|
+
text: typeof import("effect/Schema").String;
|
|
317
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reasoning", {
|
|
318
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
319
|
+
reasoningText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
320
|
+
redactedText: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
321
|
+
signature: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
322
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"reference", {
|
|
298
323
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
299
|
-
}>, import("effect/Schema").Struct<{
|
|
300
|
-
type: import("effect/Schema").Literal<["reference"]>;
|
|
301
324
|
reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
302
325
|
[x: string]: any;
|
|
303
326
|
id: string;
|
|
304
327
|
}, never>>;
|
|
305
|
-
}
|
|
328
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"select", {
|
|
329
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
330
|
+
options: import("effect/Schema").Array$<typeof import("effect/Schema").String>;
|
|
331
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"status", {
|
|
332
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
333
|
+
statusText: typeof import("effect/Schema").String;
|
|
334
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"suggest", {
|
|
335
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
336
|
+
text: typeof import("effect/Schema").String;
|
|
337
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"text", {
|
|
338
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
339
|
+
mimeType: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
340
|
+
text: typeof import("effect/Schema").String;
|
|
341
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
342
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolkit", {
|
|
343
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
344
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolCall", {
|
|
345
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
346
|
+
toolCallId: typeof import("effect/Schema").String;
|
|
347
|
+
name: typeof import("effect/Schema").String;
|
|
348
|
+
input: typeof import("effect/Schema").Unknown;
|
|
349
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"toolResult", {
|
|
350
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
351
|
+
toolCallId: typeof import("effect/Schema").String;
|
|
352
|
+
name: typeof import("effect/Schema").String;
|
|
353
|
+
result: typeof import("effect/Schema").Unknown;
|
|
354
|
+
error: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
355
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").TaggedStruct<"transcript", {
|
|
306
356
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
307
|
-
}>, import("effect/Schema").Struct<{
|
|
308
|
-
type: import("effect/Schema").Literal<["transcription"]>;
|
|
309
357
|
started: typeof import("effect/Schema").String;
|
|
310
358
|
text: typeof import("effect/Schema").String;
|
|
311
|
-
}
|
|
359
|
+
}>>]>>>;
|
|
312
360
|
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
313
361
|
}>>>;
|
|
314
362
|
messageIndex: Schema.optional<typeof Schema.Number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,UAAU,EAAY,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,UAAU,EAAY,MAAM,cAAc,CAAC;AAIpD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAEnD,yBAAiB,YAAY,CAAC;;;;;;;;;;;;;;;;IAG5B,MAAM,OAAO,cAAe,SAAQ,mBAMlC;KAAG;;;;;;;;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,aAAc,SAAQ,kBAQjC;KAAG;;;;;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,mBAAoB,SAAQ,wBAUxC;KAAG;;;;;;;;;;;IAEJ,MAAM,OAAO,MAAO,SAAQ,WAO1B;KAAG;;;;;;;;;;;;;;;;;;;;;;;;;IAEL,MAAM,OAAO,MAAO,SAAQ,WAO1B;KAAG;;;;;;;;;IAEL,MAAM,OAAO,MAAO,SAAQ,WAK1B;KAAG;;;;;;;;;;;;;;IAEL,MAAM,OAAO,cAAe,SAAQ,mBAKlC;KAAG;;;;;;;;;;;;;;;;;;;;;;;;4BAE2B,CAAA;mCAAiD,CAAC;8BAE9E,CAAL;6BAGK,CAAC;+BAEU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAPhB,MAAM,OAAO,UAAW,SAAQ,eAQ9B;KAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAgCsvgB,CAAC;uCAAqD,CAAC;kCAAgD,CAAC;iCAAkG,CAAC;mCAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA9Bx/gB,MAAM,OAAO,aAAc,SAAQ,kBASjC;KAAG;;CACN;AAED,eAAO,MAAM,oBAAoB,mCAAoC,CAAC;AACtE,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,KAAK,SAAS,GAAG,MAAM,CAAC;AACxB,MAAM,MAAM,SAAS,GAAG;IAAE,mBAAmB,EAAE,OAAO,CAAA;CAAE,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAErD,MAAM,MAAM,WAAW,GAAG;IACxB,4BAA4B;IAC5B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,+BAA+B;IAC/B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,EAAE,CAAC,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAC"}
|
package/dist/types/src/util.d.ts
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import { type Selection } from '@dxos/plugin-attention';
|
|
2
1
|
import { type PublicKey } from '@dxos/react-client';
|
|
3
2
|
import { type Identity } from '@dxos/react-client/halo';
|
|
4
3
|
import { type MessageMetadata } from '@dxos/react-ui-thread';
|
|
5
4
|
export type MessagePropertiesProvider = (identityKey: PublicKey | undefined) => MessageMetadata;
|
|
6
5
|
export declare const getMessageMetadata: (id: string, identity?: Identity) => MessageMetadata;
|
|
7
|
-
export declare const getAnchor: (u:
|
|
6
|
+
export declare const getAnchor: (u: {
|
|
7
|
+
id?: string | undefined;
|
|
8
|
+
mode: "single";
|
|
9
|
+
} | {
|
|
10
|
+
mode: "multi";
|
|
11
|
+
ids: string[];
|
|
12
|
+
} | {
|
|
13
|
+
from?: string | undefined;
|
|
14
|
+
mode: "range";
|
|
15
|
+
to?: string | undefined;
|
|
16
|
+
} | {
|
|
17
|
+
mode: "multi-range";
|
|
18
|
+
ranges: {
|
|
19
|
+
readonly from: string;
|
|
20
|
+
readonly to: string;
|
|
21
|
+
}[];
|
|
22
|
+
} | undefined) => string | undefined;
|
|
8
23
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/util.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAG7D,MAAM,MAAM,yBAAyB,GAAG,CAAC,WAAW,EAAE,SAAS,GAAG,SAAS,KAAK,eAAe,CAAC;AAEhG,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM,EAAE,WAAW,QAAQ,KAAG,eAapE,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;oCAOrB,CAAC"}
|