@wirecat/cli-core 0.476.0 → 0.478.0
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/CHANGELOG.md +41 -0
- package/dist/calendar/mcp/index.d.ts +12 -12
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/cli/messenger/account-command.js +10 -8
- package/dist/cli/messenger/catch-up-answers.d.ts +16 -0
- package/dist/cli/messenger/catch-up-answers.js +2 -1
- package/dist/cli/messenger/chat-answers.d.ts +8 -2
- package/dist/cli/messenger/chat-answers.js +43 -0
- package/dist/cli/messenger/contacts-command.js +20 -25
- package/dist/cli/messenger/context.d.ts +2 -0
- package/dist/cli/messenger/conversation-answers.d.ts +21 -0
- package/dist/cli/messenger/message-answers.d.ts +21 -0
- package/dist/cli/messenger/message-items.d.ts +1 -1
- package/dist/cli/messenger/message-items.js +10 -2
- package/dist/cli/messenger/message-writes.d.ts +42 -0
- package/dist/cli/messenger/people-queries.d.ts +2 -0
- package/dist/cli/messenger/people-queries.js +7 -1
- package/dist/cli/messenger/reactions-command.js +38 -2
- package/dist/cli/messenger/search-answers.js +5 -1
- package/dist/cli/messenger/serve-relay.d.ts +1 -0
- package/dist/domain/models.d.ts +24 -3
- package/dist/domain/models.js +2 -0
- package/dist/entities/attachment.d.ts +8 -0
- package/dist/entities/attachment.js +9 -1
- package/dist/entities/contact-context.d.ts +42 -0
- package/dist/entities/contact-read.d.ts +15 -25
- package/dist/entities/contact-read.js +4 -15
- package/dist/entities/contact.d.ts +103 -134
- package/dist/entities/contact.js +13 -2
- package/dist/entities/conversation-results.d.ts +42 -0
- package/dist/entities/evidence.d.ts +168 -0
- package/dist/entities/hit.d.ts +2 -0
- package/dist/entities/hit.js +2 -0
- package/dist/entities/index.d.ts +519 -202
- package/dist/entities/index.js +6 -3
- package/dist/entities/listener.d.ts +84 -0
- package/dist/entities/message-context.d.ts +63 -0
- package/dist/entities/message-write.d.ts +84 -0
- package/dist/entities/message.d.ts +21 -0
- package/dist/entities/reaction.d.ts +12 -0
- package/dist/entities/reaction.js +9 -0
- package/dist/entities/store-records.d.ts +21 -0
- package/dist/errors/reasons.js +2 -0
- package/dist/meetings/mcp/index.d.ts +15 -15
- package/dist/ports/messenger.d.ts +13 -2
- package/dist/render/markdown.js +4 -0
- package/dist/render/messages.js +7 -2
- package/dist/services/account.d.ts +1 -1
- package/dist/services/account.js +1 -2
- package/dist/services/people.d.ts +8 -5
- package/dist/services/people.js +6 -3
- package/dist/services/person-profile.d.ts +4 -3
- package/dist/services/person-profile.js +14 -3
- package/dist/services/pictures.d.ts +2 -1
- package/dist/services/pictures.js +2 -0
- package/dist/services/search-all.d.ts +3 -1
- package/dist/services/search-all.js +2 -0
- package/dist/store/sqlite/manifest.js +1 -0
- package/dist/store/sqlite/messages.js +5 -1
- package/dist/store/sqlite/migrations.generated.js +6 -0
- package/dist/store/sqlite/reads.js +1 -0
- package/dist/store/sqlite/schema.d.ts +16 -0
- package/dist/store/sqlite/schema.js +1 -0
- package/package.json +1 -1
- package/parity.json +20 -10
|
@@ -63,6 +63,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
63
63
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
64
64
|
}, undefined>, undefined>;
|
|
65
65
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
67
|
+
readonly name: v.StringSchema<undefined>;
|
|
68
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
70
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
71
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
72
|
+
}, undefined>, undefined>;
|
|
66
73
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
67
74
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
68
75
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -95,6 +102,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
95
102
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
96
103
|
}, undefined>, undefined>;
|
|
97
104
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
105
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
106
|
+
readonly name: v.StringSchema<undefined>;
|
|
107
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
108
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
111
|
+
}, undefined>, undefined>;
|
|
98
112
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
99
113
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
100
114
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -130,6 +144,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
130
144
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
131
145
|
}, undefined>, undefined>;
|
|
132
146
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
147
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
148
|
+
readonly name: v.StringSchema<undefined>;
|
|
149
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
150
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
151
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
152
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
153
|
+
}, undefined>, undefined>;
|
|
133
154
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
134
155
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
135
156
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -252,6 +273,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
252
273
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
253
274
|
}, undefined>, undefined>;
|
|
254
275
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
276
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
277
|
+
readonly name: v.StringSchema<undefined>;
|
|
278
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
279
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
280
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
281
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
282
|
+
}, undefined>, undefined>;
|
|
255
283
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
256
284
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
257
285
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -284,6 +312,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
284
312
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
285
313
|
}, undefined>, undefined>;
|
|
286
314
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
315
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
316
|
+
readonly name: v.StringSchema<undefined>;
|
|
317
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
318
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
319
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
320
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
321
|
+
}, undefined>, undefined>;
|
|
287
322
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
288
323
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
289
324
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -319,6 +354,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
319
354
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
320
355
|
}, undefined>, undefined>;
|
|
321
356
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
357
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
358
|
+
readonly name: v.StringSchema<undefined>;
|
|
359
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
360
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
361
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
362
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
363
|
+
}, undefined>, undefined>;
|
|
322
364
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
323
365
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
324
366
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -479,6 +521,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
479
521
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
480
522
|
}, undefined>, undefined>;
|
|
481
523
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
524
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
525
|
+
readonly name: v.StringSchema<undefined>;
|
|
526
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
527
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
528
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
529
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
530
|
+
}, undefined>, undefined>;
|
|
482
531
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
483
532
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
484
533
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -511,6 +560,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
511
560
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
512
561
|
}, undefined>, undefined>;
|
|
513
562
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
563
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
564
|
+
readonly name: v.StringSchema<undefined>;
|
|
565
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
566
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
567
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
568
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
569
|
+
}, undefined>, undefined>;
|
|
514
570
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
515
571
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
516
572
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -546,6 +602,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
546
602
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
547
603
|
}, undefined>, undefined>;
|
|
548
604
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
605
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
606
|
+
readonly name: v.StringSchema<undefined>;
|
|
607
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
608
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
609
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
610
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
611
|
+
}, undefined>, undefined>;
|
|
549
612
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
550
613
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
551
614
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -668,6 +731,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
668
731
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
669
732
|
}, undefined>, undefined>;
|
|
670
733
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
734
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
735
|
+
readonly name: v.StringSchema<undefined>;
|
|
736
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
737
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
738
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
739
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
740
|
+
}, undefined>, undefined>;
|
|
671
741
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
672
742
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
673
743
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -700,6 +770,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
700
770
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
701
771
|
}, undefined>, undefined>;
|
|
702
772
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
773
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
774
|
+
readonly name: v.StringSchema<undefined>;
|
|
775
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
776
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
777
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
778
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
779
|
+
}, undefined>, undefined>;
|
|
703
780
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
704
781
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
705
782
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -735,6 +812,13 @@ export declare const contribution: v.StrictObjectSchema<{
|
|
|
735
812
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
736
813
|
}, undefined>, undefined>;
|
|
737
814
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
815
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
816
|
+
readonly name: v.StringSchema<undefined>;
|
|
817
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
818
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
819
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
820
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
821
|
+
}, undefined>, undefined>;
|
|
738
822
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
739
823
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
740
824
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -931,6 +1015,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
931
1015
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
932
1016
|
}, undefined>, undefined>;
|
|
933
1017
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1018
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1019
|
+
readonly name: v.StringSchema<undefined>;
|
|
1020
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1021
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1022
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1023
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1024
|
+
}, undefined>, undefined>;
|
|
934
1025
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
935
1026
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
936
1027
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -963,6 +1054,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
963
1054
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
964
1055
|
}, undefined>, undefined>;
|
|
965
1056
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1057
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1058
|
+
readonly name: v.StringSchema<undefined>;
|
|
1059
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1060
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1061
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1062
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1063
|
+
}, undefined>, undefined>;
|
|
966
1064
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
967
1065
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
968
1066
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -998,6 +1096,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
998
1096
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
999
1097
|
}, undefined>, undefined>;
|
|
1000
1098
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1099
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1100
|
+
readonly name: v.StringSchema<undefined>;
|
|
1101
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1102
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1103
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1104
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1105
|
+
}, undefined>, undefined>;
|
|
1001
1106
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1002
1107
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1003
1108
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1120,6 +1225,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1120
1225
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1121
1226
|
}, undefined>, undefined>;
|
|
1122
1227
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1228
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1229
|
+
readonly name: v.StringSchema<undefined>;
|
|
1230
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1231
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1232
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1233
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1234
|
+
}, undefined>, undefined>;
|
|
1123
1235
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1124
1236
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1125
1237
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1152,6 +1264,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1152
1264
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1153
1265
|
}, undefined>, undefined>;
|
|
1154
1266
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1267
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1268
|
+
readonly name: v.StringSchema<undefined>;
|
|
1269
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1270
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1271
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1272
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1273
|
+
}, undefined>, undefined>;
|
|
1155
1274
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1156
1275
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1157
1276
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1187,6 +1306,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1187
1306
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1188
1307
|
}, undefined>, undefined>;
|
|
1189
1308
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1309
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1310
|
+
readonly name: v.StringSchema<undefined>;
|
|
1311
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1312
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1313
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1314
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1315
|
+
}, undefined>, undefined>;
|
|
1190
1316
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1191
1317
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1192
1318
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1347,6 +1473,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1347
1473
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1348
1474
|
}, undefined>, undefined>;
|
|
1349
1475
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1476
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1477
|
+
readonly name: v.StringSchema<undefined>;
|
|
1478
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1479
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1480
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1481
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1482
|
+
}, undefined>, undefined>;
|
|
1350
1483
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1351
1484
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1352
1485
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1379,6 +1512,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1379
1512
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1380
1513
|
}, undefined>, undefined>;
|
|
1381
1514
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1515
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1516
|
+
readonly name: v.StringSchema<undefined>;
|
|
1517
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1518
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1519
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1520
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1521
|
+
}, undefined>, undefined>;
|
|
1382
1522
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1383
1523
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1384
1524
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1414,6 +1554,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1414
1554
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1415
1555
|
}, undefined>, undefined>;
|
|
1416
1556
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1557
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1558
|
+
readonly name: v.StringSchema<undefined>;
|
|
1559
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1560
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1561
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1562
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1563
|
+
}, undefined>, undefined>;
|
|
1417
1564
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1418
1565
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1419
1566
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1536,6 +1683,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1536
1683
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1537
1684
|
}, undefined>, undefined>;
|
|
1538
1685
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1686
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1687
|
+
readonly name: v.StringSchema<undefined>;
|
|
1688
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1689
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1690
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1691
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1692
|
+
}, undefined>, undefined>;
|
|
1539
1693
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1540
1694
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1541
1695
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1568,6 +1722,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1568
1722
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1569
1723
|
}, undefined>, undefined>;
|
|
1570
1724
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1725
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1726
|
+
readonly name: v.StringSchema<undefined>;
|
|
1727
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1728
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1729
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1730
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1731
|
+
}, undefined>, undefined>;
|
|
1571
1732
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1572
1733
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1573
1734
|
readonly text: v.StringSchema<undefined>;
|
|
@@ -1603,6 +1764,13 @@ export declare const evidence: v.UnionSchema<[v.StrictObjectSchema<{
|
|
|
1603
1764
|
readonly error: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1604
1765
|
}, undefined>, undefined>;
|
|
1605
1766
|
readonly local_path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1767
|
+
readonly contact: v.OptionalSchema<v.StrictObjectSchema<{
|
|
1768
|
+
readonly name: v.StringSchema<undefined>;
|
|
1769
|
+
readonly first_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1770
|
+
readonly last_name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1771
|
+
readonly phone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1772
|
+
readonly user_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
1773
|
+
}, undefined>, undefined>;
|
|
1606
1774
|
readonly buttons: v.OptionalSchema<v.ArraySchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
1607
1775
|
readonly kind: v.PicklistSchema<["callback", "link", "message", "chat", "contact", "location", "app", "clipboard", "other"], undefined>;
|
|
1608
1776
|
readonly text: v.StringSchema<undefined>;
|
package/dist/entities/hit.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export declare const hit: v.StrictObjectSchema<{
|
|
|
13
13
|
readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
14
14
|
readonly excerpt: v.StringSchema<undefined>;
|
|
15
15
|
readonly sender_name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
16
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
17
|
+
readonly sender_is_me: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
16
18
|
/** The writer's `person:` reference, where the store has one. */
|
|
17
19
|
readonly sender_ref: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
18
20
|
readonly found_by: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["title", "words", "meaning"], undefined>, undefined>, undefined>;
|
package/dist/entities/hit.js
CHANGED
|
@@ -14,6 +14,8 @@ export const hit = v.strictObject({
|
|
|
14
14
|
timestamp: v.nullable(time),
|
|
15
15
|
excerpt: text,
|
|
16
16
|
sender_name: v.optional(v.nullable(text)),
|
|
17
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
18
|
+
sender_is_me: v.optional(v.boolean()),
|
|
17
19
|
/** The writer's `person:` reference, where the store has one. */
|
|
18
20
|
sender_ref: v.optional(v.nullable(reference)),
|
|
19
21
|
found_by: v.optional(v.array(v.picklist(["title", "words", "meaning"]))),
|