@dxos/plugin-transcription 0.8.3-main.7f5a14c → 0.8.3
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/{TranscriptContainer-PDSOWOMY.mjs → TranscriptContainer-H3AZQ4CQ.mjs} +2 -2
- package/dist/lib/browser/{chunk-KMCEHAVR.mjs → chunk-53AXUEIQ.mjs} +4 -4
- package/dist/lib/browser/{chunk-KMCEHAVR.mjs.map → chunk-53AXUEIQ.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-KUO25QLG.mjs → chunk-IQ5ZRMHZ.mjs} +4 -4
- package/dist/lib/browser/{chunk-KUO25QLG.mjs.map → chunk-IQ5ZRMHZ.mjs.map} +2 -2
- package/dist/lib/browser/{chunk-RPMSRXAD.mjs → chunk-UDCCT32F.mjs} +2 -2
- package/dist/lib/browser/index.mjs +3 -7
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-4KQXXK3L.mjs → react-surface-HMJS5FSS.mjs} +3 -3
- package/dist/lib/browser/{transcriber-KKKY7OTA.mjs → transcriber-OYPLZFG5.mjs} +2 -2
- package/dist/lib/node/{TranscriptContainer-74YHORVT.cjs → TranscriptContainer-KIG3GMAB.cjs} +7 -7
- package/dist/lib/node/{TranscriptContainer-74YHORVT.cjs.map → TranscriptContainer-KIG3GMAB.cjs.map} +2 -2
- package/dist/lib/node/{chunk-SZXEXASL.cjs → chunk-3PYT3BDM.cjs} +5 -5
- package/dist/lib/node/{chunk-TH26IEUM.cjs → chunk-CVUN3UO7.cjs} +6 -6
- package/dist/lib/node/{chunk-TH26IEUM.cjs.map → chunk-CVUN3UO7.cjs.map} +2 -2
- package/dist/lib/node/{chunk-C5W34GLS.cjs → chunk-ZFAUMZXE.cjs} +7 -7
- package/dist/lib/node/{chunk-C5W34GLS.cjs.map → chunk-ZFAUMZXE.cjs.map} +2 -2
- package/dist/lib/node/index.cjs +19 -23
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-QVXIHCOA.cjs → react-surface-N25TBBG4.cjs} +7 -7
- package/dist/lib/node/{transcriber-532JRZHY.cjs → transcriber-6J4FVFSZ.cjs} +8 -8
- package/dist/lib/node-esm/{TranscriptContainer-VBUQ7KJJ.mjs → TranscriptContainer-G75LDEO5.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-2U54OZH3.mjs → chunk-56QHOX4A.mjs} +4 -4
- package/dist/lib/node-esm/{chunk-2U54OZH3.mjs.map → chunk-56QHOX4A.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-QS4L6XU3.mjs → chunk-MFJO7EKD.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-QSGGTMXE.mjs → chunk-PRL64SRU.mjs} +4 -4
- package/dist/lib/node-esm/{chunk-QSGGTMXE.mjs.map → chunk-PRL64SRU.mjs.map} +2 -2
- package/dist/lib/node-esm/index.mjs +3 -7
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-ZB7Y2YF7.mjs → react-surface-JGQSYGRR.mjs} +3 -3
- package/dist/lib/node-esm/{transcriber-SPV5ZLIJ.mjs → transcriber-TVG2MBBN.mjs} +2 -2
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts +3 -2
- package/dist/types/src/components/Transcript/deprecated/OldTranscript.d.ts.map +1 -1
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts +3 -2
- package/dist/types/src/hooks/useQueueModelAdapter.d.ts.map +1 -1
- package/dist/types/src/segments-normalization/normalization.d.ts +161 -352
- package/dist/types/src/segments-normalization/normalization.d.ts.map +1 -1
- package/dist/types/src/testing/testing.d.ts +3 -3
- package/dist/types/src/testing/testing.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +0 -5
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +4 -3
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/package.json +51 -51
- package/src/components/stories/FileTranscription.stories.tsx +2 -2
- package/src/components/stories/MicrophoneTranscription.stories.tsx +3 -3
- package/src/hooks/useQueueModelAdapter.ts +4 -3
- package/src/model/model.test.ts +17 -17
- package/src/segments-normalization/message-normalizer.ts +1 -1
- package/src/segments-normalization/normalization.test.ts +13 -12
- package/src/segments-normalization/normalization.ts +8 -6
- package/src/testing/testing.ts +9 -10
- package/src/transcriber/transcription-manager.ts +3 -3
- package/src/translations.ts +0 -5
- /package/dist/lib/browser/{TranscriptContainer-PDSOWOMY.mjs.map → TranscriptContainer-H3AZQ4CQ.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-RPMSRXAD.mjs.map → chunk-UDCCT32F.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-4KQXXK3L.mjs.map → react-surface-HMJS5FSS.mjs.map} +0 -0
- /package/dist/lib/browser/{transcriber-KKKY7OTA.mjs.map → transcriber-OYPLZFG5.mjs.map} +0 -0
- /package/dist/lib/node/{chunk-SZXEXASL.cjs.map → chunk-3PYT3BDM.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-QVXIHCOA.cjs.map → react-surface-N25TBBG4.cjs.map} +0 -0
- /package/dist/lib/node/{transcriber-532JRZHY.cjs.map → transcriber-6J4FVFSZ.cjs.map} +0 -0
- /package/dist/lib/node-esm/{TranscriptContainer-VBUQ7KJJ.mjs.map → TranscriptContainer-G75LDEO5.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-QS4L6XU3.mjs.map → chunk-MFJO7EKD.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-ZB7Y2YF7.mjs.map → react-surface-JGQSYGRR.mjs.map} +0 -0
- /package/dist/lib/node-esm/{transcriber-SPV5ZLIJ.mjs.map → transcriber-TVG2MBBN.mjs.map} +0 -0
|
@@ -1,60 +1,59 @@
|
|
|
1
1
|
import { Schema } from 'effect';
|
|
2
|
-
declare const MessageWithRangeId: Schema.extend<import("@dxos/echo
|
|
2
|
+
declare const MessageWithRangeId: Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
3
3
|
id: import("@dxos/keys").ObjectIdClass;
|
|
4
4
|
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
5
5
|
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
6
|
-
contact: import("effect/Schema").optional<import("@dxos/echo
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}[] | undefined;
|
|
13
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
14
|
-
readonly id: string;
|
|
6
|
+
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
7
|
+
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
8
|
+
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
9
|
+
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
10
|
+
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
11
|
+
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> & {
|
|
15
12
|
description?: string | undefined;
|
|
13
|
+
id: string;
|
|
16
14
|
name?: string | undefined;
|
|
17
15
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
18
16
|
image?: string | undefined;
|
|
19
17
|
website?: string | undefined;
|
|
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
|
-
|
|
18
|
+
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
19
|
+
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
20
|
+
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
21
|
+
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
22
|
+
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
23
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
24
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
25
|
+
}>>>>;
|
|
26
|
+
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
27
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
28
|
+
value: typeof import("effect/Schema").String;
|
|
29
|
+
}>>>>;
|
|
30
|
+
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
31
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
32
|
+
value: typeof import("effect/Schema").String;
|
|
33
|
+
}>>>>;
|
|
34
|
+
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
35
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
36
|
+
value: import("effect/Schema").Struct<{
|
|
37
|
+
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
38
|
+
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
39
|
+
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
40
|
+
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
41
|
+
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
42
|
+
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
43
|
+
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
44
|
+
}>;
|
|
45
|
+
}>>>>;
|
|
46
|
+
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
47
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
48
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
49
|
+
}>>>>;
|
|
50
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
|
|
51
|
+
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
52
|
+
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
53
|
+
label: typeof import("effect/Schema").String;
|
|
54
|
+
value: typeof import("effect/Schema").String;
|
|
55
|
+
}>>>>;
|
|
56
|
+
}>>>>;
|
|
58
57
|
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
59
58
|
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
60
59
|
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -90,7 +89,10 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo-schema").Echo
|
|
|
90
89
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
91
90
|
}>, import("effect/Schema").Struct<{
|
|
92
91
|
type: import("effect/Schema").Literal<["reference"]>;
|
|
93
|
-
reference: import("@dxos/echo
|
|
92
|
+
reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
93
|
+
[x: string]: any;
|
|
94
|
+
id: string;
|
|
95
|
+
}, never>>;
|
|
94
96
|
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
95
97
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
96
98
|
}>, import("effect/Schema").Struct<{
|
|
@@ -99,68 +101,67 @@ declare const MessageWithRangeId: Schema.extend<import("@dxos/echo-schema").Echo
|
|
|
99
101
|
text: typeof import("effect/Schema").String;
|
|
100
102
|
}>>>]>>>;
|
|
101
103
|
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
102
|
-
}
|
|
104
|
+
}>>, Schema.Struct<{
|
|
103
105
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
104
106
|
}>>;
|
|
105
107
|
export interface MessageWithRangeId extends Schema.Schema.Type<typeof MessageWithRangeId> {
|
|
106
108
|
}
|
|
107
109
|
export declare const NormalizationInput: Schema.Struct<{
|
|
108
|
-
messages: Schema.Array$<Schema.extend<import("@dxos/echo
|
|
110
|
+
messages: Schema.Array$<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
109
111
|
id: import("@dxos/keys").ObjectIdClass;
|
|
110
112
|
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
111
113
|
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
112
|
-
contact: import("effect/Schema").optional<import("@dxos/echo
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}[] | undefined;
|
|
119
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
120
|
-
readonly id: string;
|
|
114
|
+
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
115
|
+
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
116
|
+
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
117
|
+
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
118
|
+
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
119
|
+
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> & {
|
|
121
120
|
description?: string | undefined;
|
|
121
|
+
id: string;
|
|
122
122
|
name?: string | undefined;
|
|
123
123
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
124
124
|
image?: string | undefined;
|
|
125
125
|
website?: string | undefined;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
126
|
+
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
127
|
+
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
128
|
+
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
129
|
+
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
130
|
+
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
131
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
132
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
133
|
+
}>>>>;
|
|
134
|
+
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
135
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
136
|
+
value: typeof import("effect/Schema").String;
|
|
137
|
+
}>>>>;
|
|
138
|
+
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
139
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
140
|
+
value: typeof import("effect/Schema").String;
|
|
141
|
+
}>>>>;
|
|
142
|
+
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
143
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
144
|
+
value: import("effect/Schema").Struct<{
|
|
145
|
+
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
146
|
+
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
147
|
+
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
148
|
+
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
149
|
+
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
150
|
+
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
151
|
+
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
152
|
+
}>;
|
|
153
|
+
}>>>>;
|
|
154
|
+
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
155
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
156
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
157
|
+
}>>>>;
|
|
158
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
|
|
159
|
+
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
160
|
+
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
161
|
+
label: typeof import("effect/Schema").String;
|
|
162
|
+
value: typeof import("effect/Schema").String;
|
|
163
|
+
}>>>>;
|
|
164
|
+
}>>>>;
|
|
164
165
|
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
165
166
|
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
166
167
|
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -196,7 +197,10 @@ export declare const NormalizationInput: Schema.Struct<{
|
|
|
196
197
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
197
198
|
}>, import("effect/Schema").Struct<{
|
|
198
199
|
type: import("effect/Schema").Literal<["reference"]>;
|
|
199
|
-
reference: import("@dxos/echo
|
|
200
|
+
reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
201
|
+
[x: string]: any;
|
|
202
|
+
id: string;
|
|
203
|
+
}, never>>;
|
|
200
204
|
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
201
205
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
202
206
|
}>, import("effect/Schema").Struct<{
|
|
@@ -205,67 +209,68 @@ export declare const NormalizationInput: Schema.Struct<{
|
|
|
205
209
|
text: typeof import("effect/Schema").String;
|
|
206
210
|
}>>>]>>>;
|
|
207
211
|
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
208
|
-
}
|
|
212
|
+
}>>, Schema.Struct<{
|
|
209
213
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
210
214
|
}>>>;
|
|
211
215
|
}>;
|
|
216
|
+
export interface NormalizationInput extends Schema.Schema.Type<typeof NormalizationInput> {
|
|
217
|
+
}
|
|
212
218
|
export declare const NormalizationOutput: Schema.Struct<{
|
|
213
|
-
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo
|
|
219
|
+
sentences: Schema.mutable<Schema.Array$<Schema.mutable<Schema.extend<import("@dxos/echo/Type").obj<Schema.Struct<{
|
|
214
220
|
id: import("@dxos/keys").ObjectIdClass;
|
|
215
221
|
created: import("effect/Schema").SchemaClass<string, string, never>;
|
|
216
222
|
sender: import("effect/Schema").mutable<import("effect/Schema").Struct<{
|
|
217
|
-
contact: import("effect/Schema").optional<import("@dxos/echo
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}[] | undefined;
|
|
224
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
225
|
-
readonly id: string;
|
|
223
|
+
contact: import("effect/Schema").optional<import("@dxos/echo/Type").ref<import("@dxos/echo/Type").obj<import("effect/Schema").Struct<{
|
|
224
|
+
fullName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
225
|
+
preferredName: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
226
|
+
nickname: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
227
|
+
image: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
228
|
+
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> & {
|
|
226
229
|
description?: string | undefined;
|
|
230
|
+
id: string;
|
|
227
231
|
name?: string | undefined;
|
|
228
232
|
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
229
233
|
image?: string | undefined;
|
|
230
234
|
website?: string | undefined;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
235
|
+
}>, import("@dxos/echo-protocol").EncodedReference, never>>;
|
|
236
|
+
jobTitle: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
237
|
+
department: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
238
|
+
notes: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
239
|
+
emails: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
240
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
241
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
242
|
+
}>>>>;
|
|
243
|
+
identities: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
244
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
245
|
+
value: typeof import("effect/Schema").String;
|
|
246
|
+
}>>>>;
|
|
247
|
+
phoneNumbers: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
248
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
249
|
+
value: typeof import("effect/Schema").String;
|
|
250
|
+
}>>>>;
|
|
251
|
+
addresses: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
252
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
253
|
+
value: import("effect/Schema").Struct<{
|
|
254
|
+
street: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
255
|
+
extended: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
256
|
+
locality: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
257
|
+
region: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
258
|
+
postalCode: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
259
|
+
postOfficeBoxNumber: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
260
|
+
country: import("effect/Schema").optional<import("effect/Schema").SchemaClass<string, string, never>>;
|
|
261
|
+
}>;
|
|
262
|
+
}>>>>;
|
|
263
|
+
urls: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
264
|
+
label: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
265
|
+
value: import("effect/Schema").refine<string, typeof import("effect/Schema").String>;
|
|
266
|
+
}>>>>;
|
|
267
|
+
birthday: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").SchemaClass<string, string, never>>>;
|
|
268
|
+
fields: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Array$<import("effect/Schema").Struct<{
|
|
269
|
+
category: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
270
|
+
label: typeof import("effect/Schema").String;
|
|
271
|
+
value: typeof import("effect/Schema").String;
|
|
272
|
+
}>>>>;
|
|
273
|
+
}>>>>;
|
|
269
274
|
identityDid: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
270
275
|
identityKey: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
271
276
|
email: import("effect/Schema").optional<typeof import("effect/Schema").String>;
|
|
@@ -301,7 +306,10 @@ export declare const NormalizationOutput: Schema.Struct<{
|
|
|
301
306
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
302
307
|
}>, import("effect/Schema").Struct<{
|
|
303
308
|
type: import("effect/Schema").Literal<["reference"]>;
|
|
304
|
-
reference: import("@dxos/echo
|
|
309
|
+
reference: import("@dxos/echo/Type").ref<import("effect/Schema").Schema<import("@dxos/echo/Type").Expando, {
|
|
310
|
+
[x: string]: any;
|
|
311
|
+
id: string;
|
|
312
|
+
}, never>>;
|
|
305
313
|
}>>>, import("effect/Schema").mutable<import("effect/Schema").extend<import("effect/Schema").Struct<{
|
|
306
314
|
pending: import("effect/Schema").optional<typeof import("effect/Schema").Boolean>;
|
|
307
315
|
}>, import("effect/Schema").Struct<{
|
|
@@ -310,211 +318,12 @@ export declare const NormalizationOutput: Schema.Struct<{
|
|
|
310
318
|
text: typeof import("effect/Schema").String;
|
|
311
319
|
}>>>]>>>;
|
|
312
320
|
properties: import("effect/Schema").optional<import("effect/Schema").mutable<import("effect/Schema").Record$<typeof import("effect/Schema").String, typeof import("effect/Schema").Any>>>;
|
|
313
|
-
}
|
|
321
|
+
}>>, Schema.Struct<{
|
|
314
322
|
rangeId: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
315
323
|
}>>>>>;
|
|
316
324
|
}>;
|
|
317
|
-
export
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
created: string;
|
|
321
|
-
sender: {
|
|
322
|
-
name?: string | undefined;
|
|
323
|
-
contact?: import("@dxos/echo-schema").Ref<{
|
|
324
|
-
readonly id: string;
|
|
325
|
-
fields?: {
|
|
326
|
-
readonly value: string;
|
|
327
|
-
readonly label: string;
|
|
328
|
-
readonly category?: string | undefined;
|
|
329
|
-
}[] | undefined;
|
|
330
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
331
|
-
readonly id: string;
|
|
332
|
-
description?: string | undefined;
|
|
333
|
-
name?: string | undefined;
|
|
334
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
335
|
-
image?: string | undefined;
|
|
336
|
-
website?: string | undefined;
|
|
337
|
-
}> | undefined;
|
|
338
|
-
image?: string | undefined;
|
|
339
|
-
fullName?: string | undefined;
|
|
340
|
-
preferredName?: string | undefined;
|
|
341
|
-
nickname?: string | undefined;
|
|
342
|
-
jobTitle?: string | undefined;
|
|
343
|
-
department?: string | undefined;
|
|
344
|
-
notes?: string | undefined;
|
|
345
|
-
emails?: {
|
|
346
|
-
readonly value: string;
|
|
347
|
-
readonly label?: string | undefined;
|
|
348
|
-
}[] | undefined;
|
|
349
|
-
identities?: {
|
|
350
|
-
readonly value: string;
|
|
351
|
-
readonly label?: string | undefined;
|
|
352
|
-
}[] | undefined;
|
|
353
|
-
phoneNumbers?: {
|
|
354
|
-
readonly value: string;
|
|
355
|
-
readonly label?: string | undefined;
|
|
356
|
-
}[] | undefined;
|
|
357
|
-
addresses?: {
|
|
358
|
-
readonly value: {
|
|
359
|
-
readonly street?: string | undefined;
|
|
360
|
-
readonly extended?: string | undefined;
|
|
361
|
-
readonly locality?: string | undefined;
|
|
362
|
-
readonly region?: string | undefined;
|
|
363
|
-
readonly postalCode?: string | undefined;
|
|
364
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
365
|
-
readonly country?: string | undefined;
|
|
366
|
-
};
|
|
367
|
-
readonly label?: string | undefined;
|
|
368
|
-
}[] | undefined;
|
|
369
|
-
urls?: {
|
|
370
|
-
readonly value: string;
|
|
371
|
-
readonly label?: string | undefined;
|
|
372
|
-
}[] | undefined;
|
|
373
|
-
birthday?: string | undefined;
|
|
374
|
-
}> | undefined;
|
|
375
|
-
identityDid?: string | undefined;
|
|
376
|
-
identityKey?: string | undefined;
|
|
377
|
-
email?: string | undefined;
|
|
378
|
-
role?: "user" | "assistant" | undefined;
|
|
379
|
-
};
|
|
380
|
-
blocks: ({
|
|
381
|
-
pending?: boolean | undefined;
|
|
382
|
-
type: "text";
|
|
383
|
-
text: string;
|
|
384
|
-
disposition?: string | undefined;
|
|
385
|
-
} | {
|
|
386
|
-
pending?: boolean | undefined;
|
|
387
|
-
data: string;
|
|
388
|
-
type: "json";
|
|
389
|
-
disposition?: string | undefined;
|
|
390
|
-
} | {
|
|
391
|
-
pending?: boolean | undefined;
|
|
392
|
-
type: "image";
|
|
393
|
-
id?: string | undefined;
|
|
394
|
-
source?: {
|
|
395
|
-
data: string;
|
|
396
|
-
type: "base64";
|
|
397
|
-
mediaType: string;
|
|
398
|
-
} | {
|
|
399
|
-
type: "http";
|
|
400
|
-
url: string;
|
|
401
|
-
} | undefined;
|
|
402
|
-
} | {
|
|
403
|
-
pending?: boolean | undefined;
|
|
404
|
-
type: "reference";
|
|
405
|
-
reference: import("@dxos/echo-schema").Ref<import("@dxos/echo-schema").Expando>;
|
|
406
|
-
} | {
|
|
407
|
-
pending?: boolean | undefined;
|
|
408
|
-
started: string;
|
|
409
|
-
type: "transcription";
|
|
410
|
-
text: string;
|
|
411
|
-
})[];
|
|
412
|
-
properties?: {
|
|
413
|
-
[x: string]: any;
|
|
414
|
-
} | undefined;
|
|
415
|
-
} & {
|
|
416
|
-
readonly rangeId?: readonly string[] | undefined;
|
|
417
|
-
})[];
|
|
418
|
-
}, {
|
|
419
|
-
readonly sentences: {
|
|
420
|
-
id: string;
|
|
421
|
-
created: string;
|
|
422
|
-
sender: {
|
|
423
|
-
name?: string | undefined;
|
|
424
|
-
contact?: import("@dxos/echo-schema").Ref<{
|
|
425
|
-
readonly id: string;
|
|
426
|
-
fields?: {
|
|
427
|
-
readonly value: string;
|
|
428
|
-
readonly label: string;
|
|
429
|
-
readonly category?: string | undefined;
|
|
430
|
-
}[] | undefined;
|
|
431
|
-
organization?: import("@dxos/echo-schema").Ref<{
|
|
432
|
-
readonly id: string;
|
|
433
|
-
description?: string | undefined;
|
|
434
|
-
name?: string | undefined;
|
|
435
|
-
status?: "prospect" | "qualified" | "active" | "commit" | "reject" | undefined;
|
|
436
|
-
image?: string | undefined;
|
|
437
|
-
website?: string | undefined;
|
|
438
|
-
}> | undefined;
|
|
439
|
-
image?: string | undefined;
|
|
440
|
-
fullName?: string | undefined;
|
|
441
|
-
preferredName?: string | undefined;
|
|
442
|
-
nickname?: string | undefined;
|
|
443
|
-
jobTitle?: string | undefined;
|
|
444
|
-
department?: string | undefined;
|
|
445
|
-
notes?: string | undefined;
|
|
446
|
-
emails?: {
|
|
447
|
-
readonly value: string;
|
|
448
|
-
readonly label?: string | undefined;
|
|
449
|
-
}[] | undefined;
|
|
450
|
-
identities?: {
|
|
451
|
-
readonly value: string;
|
|
452
|
-
readonly label?: string | undefined;
|
|
453
|
-
}[] | undefined;
|
|
454
|
-
phoneNumbers?: {
|
|
455
|
-
readonly value: string;
|
|
456
|
-
readonly label?: string | undefined;
|
|
457
|
-
}[] | undefined;
|
|
458
|
-
addresses?: {
|
|
459
|
-
readonly value: {
|
|
460
|
-
readonly street?: string | undefined;
|
|
461
|
-
readonly extended?: string | undefined;
|
|
462
|
-
readonly locality?: string | undefined;
|
|
463
|
-
readonly region?: string | undefined;
|
|
464
|
-
readonly postalCode?: string | undefined;
|
|
465
|
-
readonly postOfficeBoxNumber?: string | undefined;
|
|
466
|
-
readonly country?: string | undefined;
|
|
467
|
-
};
|
|
468
|
-
readonly label?: string | undefined;
|
|
469
|
-
}[] | undefined;
|
|
470
|
-
urls?: {
|
|
471
|
-
readonly value: string;
|
|
472
|
-
readonly label?: string | undefined;
|
|
473
|
-
}[] | undefined;
|
|
474
|
-
birthday?: string | undefined;
|
|
475
|
-
}> | undefined;
|
|
476
|
-
identityDid?: string | undefined;
|
|
477
|
-
identityKey?: string | undefined;
|
|
478
|
-
email?: string | undefined;
|
|
479
|
-
role?: "user" | "assistant" | undefined;
|
|
480
|
-
};
|
|
481
|
-
blocks: ({
|
|
482
|
-
pending?: boolean | undefined;
|
|
483
|
-
type: "text";
|
|
484
|
-
text: string;
|
|
485
|
-
disposition?: string | undefined;
|
|
486
|
-
} | {
|
|
487
|
-
pending?: boolean | undefined;
|
|
488
|
-
data: string;
|
|
489
|
-
type: "json";
|
|
490
|
-
disposition?: string | undefined;
|
|
491
|
-
} | {
|
|
492
|
-
pending?: boolean | undefined;
|
|
493
|
-
type: "image";
|
|
494
|
-
id?: string | undefined;
|
|
495
|
-
source?: {
|
|
496
|
-
data: string;
|
|
497
|
-
type: "base64";
|
|
498
|
-
mediaType: string;
|
|
499
|
-
} | {
|
|
500
|
-
type: "http";
|
|
501
|
-
url: string;
|
|
502
|
-
} | undefined;
|
|
503
|
-
} | {
|
|
504
|
-
pending?: boolean | undefined;
|
|
505
|
-
type: "reference";
|
|
506
|
-
reference: import("@dxos/echo-schema").Ref<import("@dxos/echo-schema").Expando>;
|
|
507
|
-
} | {
|
|
508
|
-
pending?: boolean | undefined;
|
|
509
|
-
started: string;
|
|
510
|
-
type: "transcription";
|
|
511
|
-
text: string;
|
|
512
|
-
})[];
|
|
513
|
-
properties?: {
|
|
514
|
-
[x: string]: any;
|
|
515
|
-
} | undefined;
|
|
516
|
-
rangeId?: readonly string[] | undefined;
|
|
517
|
-
}[];
|
|
518
|
-
}>;
|
|
325
|
+
export interface NormalizationOutput extends Schema.Schema.Type<typeof NormalizationOutput> {
|
|
326
|
+
}
|
|
327
|
+
export declare const sentenceNormalization: import("@dxos/functions").FunctionDefinition<NormalizationInput, NormalizationOutput>;
|
|
519
328
|
export {};
|
|
520
329
|
//# sourceMappingURL=normalization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalization.d.ts","sourceRoot":"","sources":["../../../../src/segments-normalization/normalization.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"normalization.d.ts","sourceRoot":"","sources":["../../../../src/segments-normalization/normalization.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAUhC,QAAA,MAAM,kBAAkB;;;;;;;;;;2BA2Fyie,CAAC;;oBAA8E,CAAC;sBAAgD,CAAC;qBAAkG,CAAC;uBAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAnFt1e,CAAC;AAEF,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,kBAAkB;;;;;;;;;;;+BA+Ekie,CAAC;;wBAA8E,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA1Er1e,CAAC;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC;CAAG;AAE5F,eAAO,MAAM,mBAAmB;;;;;;;;;;;+BAuEiie,CAAC;;wBAA8E,CAAC;0BAAgD,CAAC;yBAAkG,CAAC;2BAAiD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAnEr1e,CAAC;AACH,MAAM,WAAW,mBAAoB,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,mBAAmB,CAAC;CAAG;AAoC9F,eAAO,MAAM,qBAAqB,uFA6BhC,CAAC"}
|