@dxos/plugin-thread 0.8.2-main.fbd8ed0 → 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.
- package/dist/lib/browser/{ChatContainer-H4XTHM3A.mjs → ChatContainer-IOOAQW6S.mjs} +6 -6
- package/dist/lib/browser/ChatContainer-IOOAQW6S.mjs.map +7 -0
- package/dist/lib/browser/{app-graph-builder-V7UUHGUI.mjs → app-graph-builder-6W4UKJDI.mjs} +7 -10
- package/dist/lib/browser/app-graph-builder-6W4UKJDI.mjs.map +7 -0
- package/dist/lib/browser/{chunk-32EIWOAL.mjs → chunk-QDJ3Y6WF.mjs} +1 -1
- package/dist/lib/browser/{chunk-32EIWOAL.mjs.map → chunk-QDJ3Y6WF.mjs.map} +1 -1
- package/dist/lib/browser/chunk-S5ZR4FYW.mjs +17 -0
- package/dist/lib/browser/{chunk-I3JK6CBS.mjs → chunk-TFVPUPOO.mjs} +7 -9
- package/dist/lib/browser/chunk-TFVPUPOO.mjs.map +7 -0
- package/dist/lib/browser/chunk-WOG72DWE.mjs +93 -0
- package/dist/lib/browser/chunk-WOG72DWE.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +10 -10
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-PDOLX5B7.mjs → intent-resolver-QAY4FLLM.mjs} +22 -17
- package/dist/lib/browser/intent-resolver-QAY4FLLM.mjs.map +7 -0
- package/dist/lib/browser/{markdown-XJJVUBDO.mjs → markdown-7KXBXCUS.mjs} +4 -4
- package/dist/lib/browser/markdown-7KXBXCUS.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-7DJZKIOK.mjs → react-surface-MT3OWULR.mjs} +22 -21
- package/dist/lib/browser/react-surface-MT3OWULR.mjs.map +7 -0
- package/dist/lib/browser/{settings-K56QXNJ4.mjs → settings-4FEC7EAX.mjs} +4 -4
- package/dist/lib/browser/settings-4FEC7EAX.mjs.map +7 -0
- package/dist/lib/browser/{state-KBGI3QTR.mjs → state-PNMSLKAH.mjs} +4 -4
- package/dist/lib/browser/state-PNMSLKAH.mjs.map +7 -0
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/node/{ChatContainer-TUISUIY7.cjs → ChatContainer-4FNDRF3G.cjs} +11 -11
- package/dist/lib/node/ChatContainer-4FNDRF3G.cjs.map +7 -0
- package/dist/lib/node/{app-graph-builder-MMM26FEH.cjs → app-graph-builder-HZNWT4QU.cjs} +10 -13
- package/dist/lib/node/app-graph-builder-HZNWT4QU.cjs.map +7 -0
- package/dist/lib/node/{chunk-GRMB5VRN.cjs → chunk-46BSFPBV.cjs} +49 -49
- package/dist/lib/node/chunk-46BSFPBV.cjs.map +7 -0
- package/dist/lib/node/{chunk-NO6WQR36.cjs → chunk-AKINTFBH.cjs} +4 -4
- package/dist/lib/node/{chunk-NO6WQR36.cjs.map → chunk-AKINTFBH.cjs.map} +1 -1
- package/dist/lib/node/{chunk-ETDNE4Z6.cjs → chunk-E7Z3BKRQ.cjs} +11 -13
- package/dist/lib/node/chunk-E7Z3BKRQ.cjs.map +7 -0
- package/dist/lib/node/{chunk-AZ275P4V.cjs → chunk-S2A6BXEA.cjs} +10 -10
- package/dist/lib/node/index.cjs +17 -17
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{intent-resolver-MNTL32W2.cjs → intent-resolver-S6FE5OR7.cjs} +31 -26
- package/dist/lib/node/intent-resolver-S6FE5OR7.cjs.map +7 -0
- package/dist/lib/node/{markdown-25NI6Q4Y.cjs → markdown-L2WMCQKM.cjs} +9 -9
- package/dist/lib/node/markdown-L2WMCQKM.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-KGUZJVRL.cjs → react-surface-Z45BYECE.cjs} +32 -31
- package/dist/lib/node/react-surface-Z45BYECE.cjs.map +7 -0
- package/dist/lib/node/{settings-4WLSO726.cjs → settings-IXCPE55J.cjs} +7 -7
- package/dist/lib/node/settings-IXCPE55J.cjs.map +7 -0
- package/dist/lib/node/{state-FOHMAVSU.cjs → state-AT73KPGZ.cjs} +6 -6
- package/dist/lib/node/state-AT73KPGZ.cjs.map +7 -0
- package/dist/lib/node/types.cjs +3 -3
- package/dist/lib/node/types.cjs.map +1 -1
- package/dist/lib/node-esm/{ChatContainer-G7VTTRDN.mjs → ChatContainer-NYLCL6QA.mjs} +6 -6
- package/dist/lib/node-esm/ChatContainer-NYLCL6QA.mjs.map +7 -0
- package/dist/lib/node-esm/{app-graph-builder-QEFJ2KA4.mjs → app-graph-builder-M3KK5QJH.mjs} +7 -10
- package/dist/lib/node-esm/app-graph-builder-M3KK5QJH.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-V7HLWNAO.mjs → chunk-ADTVMESP.mjs} +7 -9
- package/dist/lib/node-esm/chunk-ADTVMESP.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-E446MGLP.mjs +94 -0
- package/dist/lib/node-esm/chunk-E446MGLP.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-IZWN4KAY.mjs → chunk-J56FORYF.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-IZWN4KAY.mjs.map → chunk-J56FORYF.mjs.map} +1 -1
- package/dist/lib/node-esm/chunk-WSE23GSG.mjs +19 -0
- package/dist/lib/node-esm/index.mjs +10 -10
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-X2FNKFSK.mjs → intent-resolver-OURFRSSF.mjs} +22 -17
- package/dist/lib/node-esm/intent-resolver-OURFRSSF.mjs.map +7 -0
- package/dist/lib/node-esm/{markdown-2ERASVEO.mjs → markdown-ZKU23UVD.mjs} +4 -4
- package/dist/lib/node-esm/markdown-ZKU23UVD.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-DLD2UJRM.mjs → react-surface-KIJ767JK.mjs} +22 -21
- package/dist/lib/node-esm/react-surface-KIJ767JK.mjs.map +7 -0
- package/dist/lib/node-esm/{settings-5UA6FBMW.mjs → settings-ZUJQ4LWI.mjs} +4 -4
- package/dist/lib/node-esm/settings-ZUJQ4LWI.mjs.map +7 -0
- package/dist/lib/node-esm/{state-IRLEO2SB.mjs → state-SSDX5O67.mjs} +4 -4
- package/dist/lib/node-esm/state-SSDX5O67.mjs.map +7 -0
- package/dist/lib/node-esm/types.mjs +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +179 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +179 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +2 -2
- package/dist/types/src/capabilities/markdown.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/CommentContainer.d.ts.map +1 -1
- package/dist/types/src/components/Comments.stories.d.ts +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/MessageContainer.d.ts +4 -5
- package/dist/types/src/components/MessageContainer.d.ts.map +1 -1
- package/dist/types/src/components/ThreadComplementary.d.ts.map +1 -1
- package/dist/types/src/components/ThreadSettings.d.ts.map +1 -1
- package/dist/types/src/components/testing.d.ts +50 -97
- package/dist/types/src/components/testing.d.ts.map +1 -1
- package/dist/types/src/components/types.d.ts +2 -2
- package/dist/types/src/components/types.d.ts.map +1 -1
- package/dist/types/src/extensions/threads.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts +3 -3
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/hooks/useStatus.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +56 -2
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +61 -212
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -40
- package/src/ThreadPlugin.tsx +7 -7
- package/src/capabilities/app-graph-builder.ts +21 -31
- package/src/capabilities/intent-resolver.ts +14 -13
- package/src/capabilities/markdown.ts +4 -4
- package/src/capabilities/settings.ts +2 -2
- package/src/capabilities/state.ts +3 -3
- package/src/components/Chat.stories.tsx +8 -7
- package/src/components/ChatContainer.tsx +4 -4
- package/src/components/CommentContainer.tsx +49 -25
- package/src/components/Comments.stories.tsx +7 -9
- package/src/components/CommentsContainer.tsx +8 -2
- package/src/components/MessageContainer.tsx +50 -31
- package/src/components/testing.ts +4 -4
- package/src/components/types.ts +2 -2
- package/src/hooks/analytics.ts +4 -4
- package/src/translations.ts +2 -2
- package/src/types.ts +40 -40
- package/dist/lib/browser/ChatContainer-H4XTHM3A.mjs.map +0 -7
- package/dist/lib/browser/app-graph-builder-V7UUHGUI.mjs.map +0 -7
- package/dist/lib/browser/chunk-I3JK6CBS.mjs.map +0 -7
- package/dist/lib/browser/chunk-OO7PQPV5.mjs +0 -93
- package/dist/lib/browser/chunk-OO7PQPV5.mjs.map +0 -7
- package/dist/lib/browser/chunk-YRGWE35W.mjs +0 -17
- package/dist/lib/browser/intent-resolver-PDOLX5B7.mjs.map +0 -7
- package/dist/lib/browser/markdown-XJJVUBDO.mjs.map +0 -7
- package/dist/lib/browser/react-surface-7DJZKIOK.mjs.map +0 -7
- package/dist/lib/browser/settings-K56QXNJ4.mjs.map +0 -7
- package/dist/lib/browser/state-KBGI3QTR.mjs.map +0 -7
- package/dist/lib/node/ChatContainer-TUISUIY7.cjs.map +0 -7
- package/dist/lib/node/app-graph-builder-MMM26FEH.cjs.map +0 -7
- package/dist/lib/node/chunk-ETDNE4Z6.cjs.map +0 -7
- package/dist/lib/node/chunk-GRMB5VRN.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-MNTL32W2.cjs.map +0 -7
- package/dist/lib/node/markdown-25NI6Q4Y.cjs.map +0 -7
- package/dist/lib/node/react-surface-KGUZJVRL.cjs.map +0 -7
- package/dist/lib/node/settings-4WLSO726.cjs.map +0 -7
- package/dist/lib/node/state-FOHMAVSU.cjs.map +0 -7
- package/dist/lib/node-esm/ChatContainer-G7VTTRDN.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-QEFJ2KA4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-5XUQJWUG.mjs +0 -19
- package/dist/lib/node-esm/chunk-A7RLBTTZ.mjs +0 -94
- package/dist/lib/node-esm/chunk-A7RLBTTZ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-V7HLWNAO.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-X2FNKFSK.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-2ERASVEO.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-DLD2UJRM.mjs.map +0 -7
- package/dist/lib/node-esm/settings-5UA6FBMW.mjs.map +0 -7
- package/dist/lib/node-esm/state-IRLEO2SB.mjs.map +0 -7
- /package/dist/lib/browser/{chunk-YRGWE35W.mjs.map → chunk-S5ZR4FYW.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-AZ275P4V.cjs.map → chunk-S2A6BXEA.cjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-5XUQJWUG.mjs.map → chunk-WSE23GSG.mjs.map} +0 -0
|
@@ -1,105 +1,58 @@
|
|
|
1
1
|
import { type Identity } from '@dxos/react-client/halo';
|
|
2
|
-
export declare const createCommentThread: (identity: Identity) => import("@dxos/live-object").
|
|
2
|
+
export declare const createCommentThread: (identity: Identity) => import("@dxos/live-object").ReactiveObject<import("@dxos/echo-schema").TypedObjectFields<{
|
|
3
3
|
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
4
4
|
anchor: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
5
5
|
status: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").Literal<["staged"]>, import("effect/Schema").Literal<["active"]>, import("effect/Schema").Literal<["resolved"]>]>>;
|
|
6
|
-
messages: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo-schema").Ref$<{
|
|
7
|
-
|
|
8
|
-
created: string
|
|
9
|
-
sender: {
|
|
10
|
-
|
|
11
|
-
contact?: import("@dxos/echo-schema").Ref<{
|
|
6
|
+
messages: import("effect/Schema").mutable<import("effect/Schema").Array$<import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").TypedObjectFields<{
|
|
7
|
+
id: import("@dxos/echo-schema").ObjectIdClass;
|
|
8
|
+
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
9
|
+
sender: import("effect/Schema").Struct<{
|
|
10
|
+
contact: import("effect/Schema").optional<import("@dxos/echo-schema").Ref$<{
|
|
12
11
|
readonly id: string;
|
|
13
|
-
|
|
12
|
+
name?: string | undefined;
|
|
13
|
+
identifiers: {
|
|
14
14
|
readonly value: string;
|
|
15
|
-
readonly
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
urls?: {
|
|
58
|
-
readonly value: string;
|
|
59
|
-
readonly label?: string | undefined;
|
|
60
|
-
}[] | undefined;
|
|
61
|
-
birthday?: string | undefined;
|
|
62
|
-
}> | undefined;
|
|
63
|
-
identityDid?: string | undefined;
|
|
64
|
-
identityKey?: string | undefined;
|
|
65
|
-
email?: string | undefined;
|
|
66
|
-
role?: "user" | "assistant" | undefined;
|
|
67
|
-
};
|
|
68
|
-
blocks: ({
|
|
69
|
-
pending?: boolean | undefined;
|
|
70
|
-
type: "text";
|
|
71
|
-
disposition?: string | undefined;
|
|
72
|
-
text: string;
|
|
73
|
-
} | {
|
|
74
|
-
pending?: boolean | undefined;
|
|
75
|
-
type: "json";
|
|
76
|
-
disposition?: string | undefined;
|
|
77
|
-
data: string;
|
|
78
|
-
} | {
|
|
79
|
-
pending?: boolean | undefined;
|
|
80
|
-
id?: string | undefined;
|
|
81
|
-
type: "image";
|
|
82
|
-
source?: {
|
|
83
|
-
type: "base64";
|
|
84
|
-
data: string;
|
|
85
|
-
mediaType: string;
|
|
86
|
-
} | {
|
|
87
|
-
type: "http";
|
|
88
|
-
url: string;
|
|
89
|
-
} | undefined;
|
|
90
|
-
} | {
|
|
91
|
-
pending?: boolean | undefined;
|
|
92
|
-
type: "reference";
|
|
93
|
-
reference: import("@dxos/echo-schema").Ref<import("@dxos/echo-schema").Expando>;
|
|
94
|
-
} | {
|
|
95
|
-
pending?: boolean | undefined;
|
|
96
|
-
type: "transcription";
|
|
97
|
-
text: string;
|
|
98
|
-
started: string;
|
|
99
|
-
})[];
|
|
100
|
-
properties?: {
|
|
101
|
-
[x: string]: any;
|
|
102
|
-
} | undefined;
|
|
103
|
-
}>>>;
|
|
15
|
+
readonly type: string;
|
|
16
|
+
}[];
|
|
17
|
+
}>>;
|
|
18
|
+
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
19
|
+
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
20
|
+
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
21
|
+
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
22
|
+
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
|
|
23
|
+
}>;
|
|
24
|
+
blocks: import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
25
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
26
|
+
}>, import("effect/Schema").Struct<{
|
|
27
|
+
type: import("effect/Schema").Literal<["text"]>;
|
|
28
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
29
|
+
text: typeof import("effect/Schema").String;
|
|
30
|
+
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
31
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
32
|
+
}>, import("effect/Schema").Struct<{
|
|
33
|
+
type: import("effect/Schema").Literal<["json"]>;
|
|
34
|
+
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
35
|
+
data: typeof import("effect/Schema").String;
|
|
36
|
+
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
37
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
38
|
+
}>, import("effect/Schema").Struct<{
|
|
39
|
+
type: import("effect/Schema").Literal<["image"]>;
|
|
40
|
+
id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
41
|
+
source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
42
|
+
type: import("effect/Schema").Literal<["base64"]>;
|
|
43
|
+
mediaType: typeof import("effect/Schema").String;
|
|
44
|
+
data: typeof import("effect/Schema").String;
|
|
45
|
+
}>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
46
|
+
type: import("effect/Schema").Literal<["http"]>;
|
|
47
|
+
url: typeof import("effect/Schema").String;
|
|
48
|
+
}>>]>>;
|
|
49
|
+
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
50
|
+
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
51
|
+
}>, import("effect/Schema").Struct<{
|
|
52
|
+
type: import("effect/Schema").Literal<["reference"]>;
|
|
53
|
+
reference: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>;
|
|
54
|
+
}>>>]>>;
|
|
55
|
+
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
56
|
+
}, import("@dxos/echo-schema").TypedObjectOptions>>>>;
|
|
104
57
|
}, import("@dxos/echo-schema").TypedObjectOptions>>;
|
|
105
58
|
//# sourceMappingURL=testing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/components/testing.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGxD,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/components/testing.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGxD,eAAO,MAAM,mBAAmB,aAAc,QAAQ;;;;oFAOhC,mBAAmB,cAAc,mBAAmB;mBAE9D,mBAAgB;;;6DAIN,mBAClB;;oBAGkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAA4pD,mBAAmB;;;cAAqI,mBAAmB;mDAD73D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ReactiveEchoObject } from '@dxos/client/echo';
|
|
2
2
|
import { type ThreadType } from '@dxos/plugin-space/types';
|
|
3
3
|
import { type ThreadProps } from '@dxos/react-ui-thread';
|
|
4
4
|
/**
|
|
@@ -15,7 +15,7 @@ import { type ThreadProps } from '@dxos/react-ui-thread';
|
|
|
15
15
|
*/
|
|
16
16
|
export type ThreadContainerProps = {
|
|
17
17
|
thread: ThreadType;
|
|
18
|
-
context?:
|
|
18
|
+
context?: ReactiveEchoObject<any>;
|
|
19
19
|
autoFocusTextbox?: boolean;
|
|
20
20
|
onTextboxFocus?: () => void;
|
|
21
21
|
detached?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACxC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,UAAU,KAAK,IAAI,CAAC;CAC/C,GAAG,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../../../src/extensions/threads.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,OAAO,EAAgB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKhE,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAU1D;;GAEG;AACH,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../../../src/extensions/threads.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAInD,OAAO,EAAgB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAGjF,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAKhE,OAAO,EAAgB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAU1D;;GAEG;AACH,eAAO,MAAM,OAAO,UAAW,WAAW,QAAQ,YAAY,aAAa,uBAAuB,KAAG,SA8EpG,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
3
|
-
export declare const useOnEditAnalytics: (message:
|
|
1
|
+
import { type ReactiveObject } from '@dxos/live-object';
|
|
2
|
+
import { type TextContentBlock } from '@dxos/schema';
|
|
3
|
+
export declare const useOnEditAnalytics: (message: ReactiveObject<any>, textBlock: TextContentBlock | undefined, editing: boolean) => void;
|
|
4
4
|
//# sourceMappingURL=analytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../src/hooks/analytics.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../../src/hooks/analytics.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAErD,eAAO,MAAM,kBAAkB,YACpB,cAAc,CAAC,GAAG,CAAC,aACjB,gBAAgB,GAAG,SAAS,WAC9B,OAAO,SAuBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStatus.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useStatus.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"useStatus.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useStatus.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAGrD,eAAO,MAAM,SAAS,WAAY,KAAK,YAAY,MAAM,YA6BxD,CAAC"}
|
|
@@ -1,9 +1,63 @@
|
|
|
1
|
-
import { ChannelType } from '@dxos/plugin-space/types';
|
|
2
1
|
declare const _default: {
|
|
3
2
|
'en-US': {
|
|
4
|
-
[
|
|
3
|
+
[x: string]: {
|
|
5
4
|
'typename label': string;
|
|
6
5
|
'object name placeholder': string;
|
|
6
|
+
'plugin name'?: undefined;
|
|
7
|
+
'channel title label'?: undefined;
|
|
8
|
+
'message placeholder'?: undefined;
|
|
9
|
+
'activity message'?: undefined;
|
|
10
|
+
'anonymous label'?: undefined;
|
|
11
|
+
'delete message block label'?: undefined;
|
|
12
|
+
'detached thread label'?: undefined;
|
|
13
|
+
'delete thread label'?: undefined;
|
|
14
|
+
'thread deleted label'?: undefined;
|
|
15
|
+
'message deleted label'?: undefined;
|
|
16
|
+
'comments heading'?: undefined;
|
|
17
|
+
'chat heading'?: undefined;
|
|
18
|
+
'draft button'?: undefined;
|
|
19
|
+
'no comments title'?: undefined;
|
|
20
|
+
'no comments message'?: undefined;
|
|
21
|
+
'toggle show resolved'?: undefined;
|
|
22
|
+
'unnamed object threads label'?: undefined;
|
|
23
|
+
'mark as resolved label'?: undefined;
|
|
24
|
+
'mark as unresolved label'?: undefined;
|
|
25
|
+
'save message label'?: undefined;
|
|
26
|
+
'edit message label'?: undefined;
|
|
27
|
+
'delete message label'?: undefined;
|
|
28
|
+
'open comments panel label'?: undefined;
|
|
29
|
+
'comments label'?: undefined;
|
|
30
|
+
'show all label'?: undefined;
|
|
31
|
+
'show unresolved label'?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
'plugin name': string;
|
|
34
|
+
'channel title label': string;
|
|
35
|
+
'message placeholder': string;
|
|
36
|
+
'activity message': string;
|
|
37
|
+
'anonymous label': string;
|
|
38
|
+
'delete message block label': string;
|
|
39
|
+
'detached thread label': string;
|
|
40
|
+
'delete thread label': string;
|
|
41
|
+
'thread deleted label': string;
|
|
42
|
+
'message deleted label': string;
|
|
43
|
+
'comments heading': string;
|
|
44
|
+
'chat heading': string;
|
|
45
|
+
'draft button': string;
|
|
46
|
+
'no comments title': string;
|
|
47
|
+
'no comments message': string;
|
|
48
|
+
'toggle show resolved': string;
|
|
49
|
+
'unnamed object threads label': string;
|
|
50
|
+
'mark as resolved label': string;
|
|
51
|
+
'mark as unresolved label': string;
|
|
52
|
+
'save message label': string;
|
|
53
|
+
'edit message label': string;
|
|
54
|
+
'delete message label': string;
|
|
55
|
+
'open comments panel label': string;
|
|
56
|
+
'comments label': string;
|
|
57
|
+
'show all label': string;
|
|
58
|
+
'show unresolved label': string;
|
|
59
|
+
'typename label'?: undefined;
|
|
60
|
+
'object name placeholder'?: undefined;
|
|
7
61
|
};
|
|
8
62
|
"dxos.org/plugin/thread": {
|
|
9
63
|
'plugin name': string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAsCE"}
|
|
@@ -1,262 +1,111 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { S } from '@dxos/echo-schema';
|
|
2
2
|
import { ChannelType, ThreadType } from '@dxos/plugin-space/types';
|
|
3
|
+
import { MessageType } from '@dxos/schema';
|
|
3
4
|
export declare namespace ThreadAction {
|
|
4
|
-
const CreateChannel_base:
|
|
5
|
-
readonly _tag:
|
|
5
|
+
const CreateChannel_base: S.TaggedClass<CreateChannel, "dxos.org/plugin/thread/action/create-channel", {
|
|
6
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/create-channel">;
|
|
6
7
|
} & {
|
|
7
|
-
input:
|
|
8
|
-
spaceId:
|
|
9
|
-
|
|
10
|
-
encode: (value: Uint8Array) => import("@dxos/keys").SpaceId;
|
|
11
|
-
decode: (value: import("@dxos/keys").SpaceId) => Uint8Array;
|
|
12
|
-
isValid: (value: string) => value is import("@dxos/keys").SpaceId;
|
|
13
|
-
random: () => import("@dxos/keys").SpaceId;
|
|
14
|
-
};
|
|
15
|
-
name: Schema.optional<typeof Schema.String>;
|
|
8
|
+
input: S.Struct<{
|
|
9
|
+
spaceId: typeof S.String;
|
|
10
|
+
name: S.optional<typeof S.String>;
|
|
16
11
|
}>;
|
|
17
|
-
output:
|
|
12
|
+
output: S.Struct<{
|
|
18
13
|
object: typeof ChannelType;
|
|
19
14
|
}>;
|
|
20
15
|
}>;
|
|
21
16
|
export class CreateChannel extends CreateChannel_base {
|
|
22
17
|
}
|
|
23
|
-
const Create_base:
|
|
24
|
-
readonly _tag:
|
|
18
|
+
const Create_base: S.TaggedClass<Create, "dxos.org/plugin/thread/action/create", {
|
|
19
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/create">;
|
|
25
20
|
} & {
|
|
26
|
-
input:
|
|
27
|
-
name:
|
|
28
|
-
cursor: typeof
|
|
29
|
-
subject:
|
|
21
|
+
input: S.Struct<{
|
|
22
|
+
name: S.optional<typeof S.String>;
|
|
23
|
+
cursor: typeof S.String;
|
|
24
|
+
subject: S.Schema<import("@dxos/echo-db").ReactiveEchoObject<any>, import("@dxos/echo-db").ReactiveEchoObject<any>, never>;
|
|
30
25
|
}>;
|
|
31
|
-
output:
|
|
26
|
+
output: S.Struct<{
|
|
32
27
|
object: typeof ThreadType;
|
|
33
28
|
}>;
|
|
34
29
|
}>;
|
|
35
30
|
export class Create extends Create_base {
|
|
36
31
|
}
|
|
37
|
-
const
|
|
38
|
-
readonly _tag:
|
|
32
|
+
const Select_base: S.TaggedClass<Select, "dxos.org/plugin/thread/action/select", {
|
|
33
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/select">;
|
|
39
34
|
} & {
|
|
40
|
-
input:
|
|
41
|
-
|
|
42
|
-
subject: Schema.Schema<any, any, never>;
|
|
43
|
-
cursor: Schema.optional<typeof Schema.String>;
|
|
35
|
+
input: S.Struct<{
|
|
36
|
+
current: typeof S.String;
|
|
44
37
|
}>;
|
|
45
|
-
output: typeof
|
|
38
|
+
output: typeof S.Void;
|
|
46
39
|
}>;
|
|
47
|
-
export class
|
|
40
|
+
export class Select extends Select_base {
|
|
48
41
|
}
|
|
49
|
-
const
|
|
50
|
-
readonly _tag:
|
|
42
|
+
const ToggleResolved_base: S.TaggedClass<ToggleResolved, "dxos.org/plugin/thread/action/toggle-resolved", {
|
|
43
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/toggle-resolved">;
|
|
51
44
|
} & {
|
|
52
|
-
input:
|
|
53
|
-
|
|
45
|
+
input: S.Struct<{
|
|
46
|
+
thread: typeof ThreadType;
|
|
54
47
|
}>;
|
|
55
|
-
output: typeof
|
|
48
|
+
output: typeof S.Void;
|
|
56
49
|
}>;
|
|
57
|
-
export class
|
|
50
|
+
export class ToggleResolved extends ToggleResolved_base {
|
|
58
51
|
}
|
|
59
|
-
const
|
|
60
|
-
readonly _tag:
|
|
52
|
+
const Delete_base: S.TaggedClass<Delete, "dxos.org/plugin/thread/action/delete", {
|
|
53
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/delete">;
|
|
61
54
|
} & {
|
|
62
|
-
input:
|
|
55
|
+
input: S.Struct<{
|
|
63
56
|
thread: typeof ThreadType;
|
|
57
|
+
subject: S.Schema<import("@dxos/echo-db").ReactiveEchoObject<any>, import("@dxos/echo-db").ReactiveEchoObject<any>, never>;
|
|
58
|
+
cursor: S.optional<typeof S.String>;
|
|
64
59
|
}>;
|
|
65
|
-
output: typeof
|
|
60
|
+
output: typeof S.Void;
|
|
66
61
|
}>;
|
|
67
|
-
export class
|
|
62
|
+
export class Delete extends Delete_base {
|
|
68
63
|
}
|
|
69
|
-
const AddMessage_base:
|
|
70
|
-
readonly _tag:
|
|
64
|
+
const AddMessage_base: S.TaggedClass<AddMessage, "dxos.org/plugin/thread/action/add-message", {
|
|
65
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/add-message">;
|
|
71
66
|
} & {
|
|
72
|
-
input:
|
|
73
|
-
subject:
|
|
67
|
+
input: S.Struct<{
|
|
68
|
+
subject: S.Schema<import("@dxos/echo-db").ReactiveEchoObject<any>, import("@dxos/echo-db").ReactiveEchoObject<any>, never>;
|
|
74
69
|
thread: typeof ThreadType;
|
|
75
|
-
sender:
|
|
76
|
-
contact:
|
|
70
|
+
sender: S.Struct<{
|
|
71
|
+
contact: S.optional<import("@dxos/echo-schema").Ref$<{
|
|
77
72
|
readonly id: string;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
readonly label: string;
|
|
81
|
-
readonly category?: string | undefined;
|
|
82
|
-
}[] | undefined;
|
|
83
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
84
|
-
readonly id: string;
|
|
85
|
-
description?: string | undefined;
|
|
86
|
-
name?: string | undefined;
|
|
87
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
88
|
-
image?: string | undefined;
|
|
89
|
-
website?: string | undefined;
|
|
90
|
-
}> | undefined;
|
|
91
|
-
image?: string | undefined;
|
|
92
|
-
fullName?: string | undefined;
|
|
93
|
-
preferredName?: string | undefined;
|
|
94
|
-
nickname?: string | undefined;
|
|
95
|
-
jobTitle?: string | undefined;
|
|
96
|
-
department?: string | undefined;
|
|
97
|
-
notes?: string | undefined;
|
|
98
|
-
emails?: {
|
|
99
|
-
readonly value: string;
|
|
100
|
-
readonly label?: string | undefined;
|
|
101
|
-
}[] | undefined;
|
|
102
|
-
identities?: {
|
|
73
|
+
name?: string | undefined;
|
|
74
|
+
identifiers: {
|
|
103
75
|
readonly value: string;
|
|
104
|
-
readonly
|
|
105
|
-
}[]
|
|
106
|
-
phoneNumbers?: {
|
|
107
|
-
readonly value: string;
|
|
108
|
-
readonly label?: string | undefined;
|
|
109
|
-
}[] | undefined;
|
|
110
|
-
addresses
|
|
111
|
-
/** Current channel activity. */
|
|
112
|
-
? /** Current channel activity. */: {
|
|
113
|
-
readonly value: {
|
|
114
|
-
readonly street?: string | undefined;
|
|
115
|
-
readonly extended?: string | undefined;
|
|
116
|
-
readonly locality?: string | undefined;
|
|
117
|
-
readonly region?: string | undefined;
|
|
118
|
-
readonly postalCode?: string | undefined;
|
|
119
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
120
|
-
readonly country?: string | undefined;
|
|
121
|
-
};
|
|
122
|
-
readonly label?: string | undefined;
|
|
123
|
-
}[] | undefined;
|
|
124
|
-
urls?: {
|
|
125
|
-
readonly value: string;
|
|
126
|
-
readonly label?: string | undefined;
|
|
127
|
-
}[] | undefined;
|
|
128
|
-
birthday?: string | undefined;
|
|
76
|
+
readonly type: string;
|
|
77
|
+
}[];
|
|
129
78
|
}>>;
|
|
130
|
-
identityDid:
|
|
131
|
-
identityKey:
|
|
132
|
-
email:
|
|
133
|
-
name:
|
|
134
|
-
role:
|
|
79
|
+
identityDid: S.optional<typeof S.String>;
|
|
80
|
+
identityKey: S.optional<typeof S.String>;
|
|
81
|
+
email: S.optional<typeof S.String>;
|
|
82
|
+
name: S.optional<typeof S.String>;
|
|
83
|
+
role: S.optional<S.Literal<["user", "assistant"]>>;
|
|
135
84
|
}>;
|
|
136
|
-
text: typeof
|
|
85
|
+
text: typeof S.String;
|
|
137
86
|
}>;
|
|
138
|
-
output: typeof
|
|
87
|
+
output: typeof S.Void;
|
|
139
88
|
}>;
|
|
140
89
|
export class AddMessage extends AddMessage_base {
|
|
141
90
|
}
|
|
142
|
-
const DeleteMessage_base:
|
|
143
|
-
readonly _tag:
|
|
91
|
+
const DeleteMessage_base: S.TaggedClass<DeleteMessage, "dxos.org/plugin/thread/action/delete-message", {
|
|
92
|
+
readonly _tag: S.tag<"dxos.org/plugin/thread/action/delete-message">;
|
|
144
93
|
} & {
|
|
145
|
-
input:
|
|
94
|
+
input: S.Struct<{
|
|
146
95
|
thread: typeof ThreadType;
|
|
147
|
-
subject:
|
|
148
|
-
messageId: typeof
|
|
149
|
-
message:
|
|
150
|
-
|
|
151
|
-
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
152
|
-
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
153
|
-
contact: import("effect/Schema").optional<import("@dxos/echo-schema").Ref$<{
|
|
154
|
-
readonly id: string;
|
|
155
|
-
fields?: {
|
|
156
|
-
readonly value: string;
|
|
157
|
-
readonly label: string;
|
|
158
|
-
readonly category?: string | undefined;
|
|
159
|
-
}[] | undefined;
|
|
160
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
161
|
-
readonly id: string;
|
|
162
|
-
description?: string | undefined;
|
|
163
|
-
name?: string | undefined;
|
|
164
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
165
|
-
image?: string | undefined;
|
|
166
|
-
website?: string | undefined;
|
|
167
|
-
}> | undefined;
|
|
168
|
-
image?: string | undefined;
|
|
169
|
-
fullName?: string | undefined;
|
|
170
|
-
preferredName?: string | undefined;
|
|
171
|
-
nickname?: string | undefined;
|
|
172
|
-
jobTitle?: string | undefined;
|
|
173
|
-
department?: string | undefined;
|
|
174
|
-
notes?: string | undefined;
|
|
175
|
-
emails?: {
|
|
176
|
-
readonly value: string;
|
|
177
|
-
readonly label?: string | undefined;
|
|
178
|
-
}[] | undefined;
|
|
179
|
-
identities?: {
|
|
180
|
-
readonly value: string;
|
|
181
|
-
readonly label?: string | undefined;
|
|
182
|
-
}[] | undefined;
|
|
183
|
-
phoneNumbers?: {
|
|
184
|
-
readonly value: string;
|
|
185
|
-
readonly label?: string | undefined;
|
|
186
|
-
}[] | undefined;
|
|
187
|
-
addresses?: {
|
|
188
|
-
readonly value: {
|
|
189
|
-
readonly street?: string | undefined;
|
|
190
|
-
readonly extended?: string | undefined;
|
|
191
|
-
readonly locality?: string | undefined;
|
|
192
|
-
readonly region?: string | undefined;
|
|
193
|
-
readonly postalCode?: string | undefined;
|
|
194
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
195
|
-
readonly country?: string | undefined;
|
|
196
|
-
};
|
|
197
|
-
readonly label?: string | undefined;
|
|
198
|
-
}[] | undefined;
|
|
199
|
-
urls?: {
|
|
200
|
-
readonly value: string;
|
|
201
|
-
readonly label?: string | undefined;
|
|
202
|
-
}[] | undefined;
|
|
203
|
-
birthday?: string | undefined;
|
|
204
|
-
}>>;
|
|
205
|
-
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
206
|
-
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
207
|
-
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
208
|
-
name: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
209
|
-
role: import("effect/Schema").optional<import("effect/Schema").Literal<["user", "assistant"]>>;
|
|
210
|
-
}>>;
|
|
211
|
-
blocks: import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
212
|
-
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
213
|
-
}>, import("effect/Schema").Struct<{
|
|
214
|
-
type: import("effect/Schema").Literal<["text"]>;
|
|
215
|
-
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
216
|
-
text: typeof import("effect/Schema").String;
|
|
217
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
218
|
-
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
219
|
-
}>, import("effect/Schema").Struct<{
|
|
220
|
-
type: import("effect/Schema").Literal<["json"]>;
|
|
221
|
-
disposition: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
222
|
-
data: typeof import("effect/Schema").String;
|
|
223
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
224
|
-
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
225
|
-
}>, import("effect/Schema").Struct<{
|
|
226
|
-
type: import("effect/Schema").Literal<["image"]>;
|
|
227
|
-
id: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
228
|
-
source: import("effect/Schema").optional<import("effect/Schema").Union<[import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
229
|
-
type: import("effect/Schema").Literal<["base64"]>;
|
|
230
|
-
mediaType: typeof import("effect/Schema").String;
|
|
231
|
-
data: typeof import("effect/Schema").String;
|
|
232
|
-
}>>, import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
233
|
-
type: import("effect/Schema").Literal<["http"]>;
|
|
234
|
-
url: typeof import("effect/Schema").String;
|
|
235
|
-
}>>]>>;
|
|
236
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
237
|
-
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
238
|
-
}>, import("effect/Schema").Struct<{
|
|
239
|
-
type: import("effect/Schema").Literal<["reference"]>;
|
|
240
|
-
reference: import("@dxos/echo-schema").Ref$<import("@dxos/echo-schema").Expando>;
|
|
241
|
-
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
242
|
-
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
243
|
-
}>, import("effect/Schema").Struct<{
|
|
244
|
-
type: import("effect/Schema").Literal<["transcription"]>;
|
|
245
|
-
started: typeof import("effect/Schema").String;
|
|
246
|
-
text: typeof import("effect/Schema").String;
|
|
247
|
-
}>>>]>>>;
|
|
248
|
-
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
249
|
-
}>, {}>>;
|
|
250
|
-
messageIndex: Schema.optional<typeof Schema.Number>;
|
|
96
|
+
subject: S.Schema<import("@dxos/echo-db").ReactiveEchoObject<any>, import("@dxos/echo-db").ReactiveEchoObject<any>, never>;
|
|
97
|
+
messageId: typeof S.String;
|
|
98
|
+
message: S.optional<typeof MessageType>;
|
|
99
|
+
messageIndex: S.optional<typeof S.Number>;
|
|
251
100
|
}>;
|
|
252
|
-
output: typeof
|
|
101
|
+
output: typeof S.Void;
|
|
253
102
|
}>;
|
|
254
103
|
export class DeleteMessage extends DeleteMessage_base {
|
|
255
104
|
}
|
|
256
105
|
export {};
|
|
257
106
|
}
|
|
258
|
-
export declare const ThreadSettingsSchema:
|
|
259
|
-
export type ThreadSettingsProps =
|
|
107
|
+
export declare const ThreadSettingsSchema: S.mutable<S.Struct<{}>>;
|
|
108
|
+
export type ThreadSettingsProps = S.Schema.Type<typeof ThreadSettingsSchema>;
|
|
260
109
|
export interface ThreadModel {
|
|
261
110
|
root: ThreadType;
|
|
262
111
|
}
|