@wirecat/cli-core 0.378.0 → 0.380.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 +73 -0
- package/dist/cli/envelope.d.ts +10 -0
- package/dist/cli/list-query.js +2 -2
- package/dist/cli/meeting-preparation-answer.d.ts +5 -0
- package/dist/cli/meeting-preparation-projects.d.ts +5 -0
- package/dist/cli/meeting-preparation-read.d.ts +5 -0
- package/dist/cli/meeting-preparation-read.js +5 -5
- package/dist/cli/meeting-series-inventory-read.js +3 -4
- package/dist/cli/messenger/chats-stats-command.js +5 -1
- package/dist/cli/messenger/contacts-command.js +8 -4
- package/dist/cli/messenger/stats-answers.d.ts +2 -1
- package/dist/cli/messenger/stats-answers.js +1 -1
- package/dist/cli/messenger/stats-command.js +4 -7
- package/dist/domain/moment.d.ts +8 -0
- package/dist/domain/moment.js +14 -0
- package/dist/domain/send-time.d.ts +2 -2
- package/dist/domain/send-time.js +4 -3
- package/dist/entities/account-session.d.ts +2 -2
- package/dist/entities/admin-report.d.ts +8 -8
- package/dist/entities/agenda.d.ts +12 -12
- package/dist/entities/chat-event.d.ts +1 -1
- package/dist/entities/chat-stats.d.ts +5 -5
- package/dist/entities/chat.d.ts +4 -4
- package/dist/entities/contact-note.d.ts +2 -2
- package/dist/entities/contact.d.ts +13 -13
- package/dist/entities/conversation.d.ts +3 -3
- package/dist/entities/counter-reading.d.ts +1 -1
- package/dist/entities/counters.d.ts +2 -2
- package/dist/entities/document.d.ts +2 -2
- package/dist/entities/evidence.d.ts +72 -72
- package/dist/entities/fact.d.ts +3 -3
- package/dist/entities/fields.d.ts +3 -1
- package/dist/entities/fields.js +2 -0
- package/dist/entities/hit.d.ts +1 -1
- package/dist/entities/index.d.ts +231 -215
- package/dist/entities/index.js +1 -0
- package/dist/entities/invite-link.d.ts +1 -1
- package/dist/entities/job.d.ts +2 -2
- package/dist/entities/join-request.d.ts +1 -1
- package/dist/entities/meeting-communications.d.ts +4 -4
- package/dist/entities/meeting-findings.d.ts +2 -2
- package/dist/entities/meeting-preparation-parts.d.ts +9 -9
- package/dist/entities/meeting-preparation.d.ts +28 -23
- package/dist/entities/meeting-series-inventory.d.ts +3 -3
- package/dist/entities/member.d.ts +3 -3
- package/dist/entities/memory.d.ts +3 -3
- package/dist/entities/message.d.ts +6 -6
- package/dist/entities/note.d.ts +3 -3
- package/dist/entities/official-stats.d.ts +2 -2
- package/dist/entities/poll-vote.d.ts +1 -1
- package/dist/entities/ranking.d.ts +2 -2
- package/dist/entities/relationship.d.ts +1 -1
- package/dist/entities/retention.d.ts +4 -4
- package/dist/entities/saved-search.d.ts +2 -2
- package/dist/entities/tagging.d.ts +1 -1
- package/dist/entities/task.d.ts +7 -7
- package/dist/entities/topic.d.ts +2 -2
- package/dist/mcp/meeting-preparation.d.ts +5 -0
- package/dist/mcp/tools/stats.js +9 -4
- package/dist/meetings/answers.d.ts +20 -14
- package/dist/meetings/answers.js +5 -0
- package/dist/meetings/cli/index.d.ts +2 -0
- package/dist/meetings/cli/index.js +12 -6
- package/dist/meetings/cli/search.js +12 -14
- package/dist/meetings/hit-query.d.ts +12 -0
- package/dist/meetings/hit-query.js +58 -0
- package/dist/meetings/import.d.ts +2 -0
- package/dist/meetings/import.js +8 -2
- package/dist/meetings/index.d.ts +2 -0
- package/dist/meetings/index.js +2 -0
- package/dist/meetings/item.d.ts +4 -4
- package/dist/meetings/mcp/search.d.ts +6 -0
- package/dist/meetings/mcp/search.js +5 -1
- package/dist/meetings/project-evidence-answer.d.ts +8 -3
- package/dist/meetings/pull.d.ts +2 -0
- package/dist/meetings/recording-schedule.js +6 -5
- package/dist/meetings/search-store.d.ts +3 -1
- package/dist/meetings/store.d.ts +7 -0
- package/dist/meetings/transcript-text.d.ts +20 -0
- package/dist/meetings/transcript-text.js +59 -0
- package/dist/render/markdown.js +2 -2
- package/dist/search/garbled.d.ts +29 -0
- package/dist/search/garbled.js +125 -0
- package/dist/search/russian-dictionary.d.ts +5 -0
- package/dist/search/russian-dictionary.js +66 -0
- package/dist/services/admin-statistics.js +2 -2
- package/dist/services/meeting-project-discovery.js +2 -2
- package/dist/services/moment.d.ts +25 -2
- package/dist/services/moment.js +32 -4
- package/dist/services/retention.js +6 -3
- package/dist/store/sqlite/facts.js +2 -1
- package/dist/store/sqlite/meeting-hit-query.d.ts +60 -0
- package/dist/store/sqlite/meeting-hit-query.js +262 -0
- package/dist/store/sqlite/meeting-hit-search.js +28 -45
- package/package.json +4 -3
package/dist/entities/chat.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const chat: v.StrictObjectSchema<{
|
|
|
8
8
|
readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
|
|
9
9
|
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
10
|
readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
11
|
-
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
11
|
+
readonly last_message_at: 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>;
|
|
12
12
|
readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
13
13
|
readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
14
14
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -36,9 +36,9 @@ export declare const chat: v.StrictObjectSchema<{
|
|
|
36
36
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
37
37
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
38
38
|
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
39
|
-
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
40
|
-
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
41
|
-
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
39
|
+
readonly last_seen_at: v.OptionalSchema<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>, undefined>;
|
|
40
|
+
readonly registered_at: v.OptionalSchema<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>, undefined>;
|
|
41
|
+
readonly joined_at: v.OptionalSchema<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>, undefined>;
|
|
42
42
|
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
43
43
|
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
44
44
|
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -7,6 +7,6 @@ export declare const contactNote: v.StrictObjectSchema<{
|
|
|
7
7
|
readonly text: v.StringSchema<undefined>;
|
|
8
8
|
/** Starts at 1; an edit names the revision it read. */
|
|
9
9
|
readonly revision: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
10
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
11
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
10
|
+
readonly created_at: 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`">]>;
|
|
11
|
+
readonly updated_at: 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`">]>;
|
|
12
12
|
}, undefined>;
|
|
@@ -10,7 +10,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
10
10
|
/** Whatever they wrote about themselves. */
|
|
11
11
|
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
12
12
|
/** The newest message in a one-to-one chat with them. */
|
|
13
|
-
readonly last_messaged_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
+
readonly last_messaged_at: 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
|
/** `contacts show`: the chats shared with them. */
|
|
15
15
|
readonly chats: v.OptionalSchema<v.ArraySchema<Omit<v.StrictObjectSchema<{
|
|
16
16
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -21,7 +21,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
21
21
|
readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
|
|
22
22
|
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
23
23
|
readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
24
|
-
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
24
|
+
readonly last_message_at: 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>;
|
|
25
25
|
readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
26
26
|
readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
27
27
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -47,9 +47,9 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
47
47
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
48
48
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
49
49
|
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
50
|
-
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
51
|
-
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
52
|
-
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
50
|
+
readonly last_seen_at: v.OptionalSchema<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>, undefined>;
|
|
51
|
+
readonly registered_at: v.OptionalSchema<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>, undefined>;
|
|
52
|
+
readonly joined_at: v.OptionalSchema<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>, undefined>;
|
|
53
53
|
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
54
54
|
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
55
55
|
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -69,7 +69,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
69
69
|
readonly kind: v.PicklistSchema<["dialog", "group", "channel", "saved", "unknown"], undefined>;
|
|
70
70
|
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
71
71
|
readonly unread_mentions: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
72
|
-
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
72
|
+
readonly last_message_at: 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>;
|
|
73
73
|
readonly participants_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
74
74
|
readonly muted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
75
75
|
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -95,9 +95,9 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
95
95
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
96
96
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
97
97
|
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
98
|
-
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
99
|
-
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
100
|
-
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
98
|
+
readonly last_seen_at: v.OptionalSchema<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>, undefined>;
|
|
99
|
+
readonly registered_at: v.OptionalSchema<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>, undefined>;
|
|
100
|
+
readonly joined_at: v.OptionalSchema<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>, undefined>;
|
|
101
101
|
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
102
102
|
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
103
103
|
readonly deleted: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -127,7 +127,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
127
127
|
title: string | null;
|
|
128
128
|
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
129
129
|
last_message_at: string | null;
|
|
130
|
-
}, v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
|
|
130
|
+
}, v.EndsWithIssue<string, "Z"> | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue>;
|
|
131
131
|
readonly "~types"?: {
|
|
132
132
|
readonly input: {
|
|
133
133
|
ref: string;
|
|
@@ -143,7 +143,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
143
143
|
kind: "channel" | "dialog" | "group" | "saved" | "unknown";
|
|
144
144
|
last_message_at: string | null;
|
|
145
145
|
};
|
|
146
|
-
readonly issue: v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
146
|
+
readonly issue: v.EndsWithIssue<string, "Z"> | v.IsoTimestampIssue<string> | v.MinLengthIssue<string, 1> | v.PicklistIssue | v.RegexIssue<string> | v.StrictObjectIssue | v.StringIssue;
|
|
147
147
|
} | undefined;
|
|
148
148
|
}, undefined>, undefined>;
|
|
149
149
|
/** `contacts show --with-notes`: the owner's private notes about them. */
|
|
@@ -151,7 +151,7 @@ export declare const contact: v.StrictObjectSchema<{
|
|
|
151
151
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
152
152
|
readonly text: v.StringSchema<undefined>;
|
|
153
153
|
readonly revision: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
154
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
155
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
154
|
+
readonly created_at: 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`">]>;
|
|
155
|
+
readonly updated_at: 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`">]>;
|
|
156
156
|
}, undefined>, undefined>, undefined>;
|
|
157
157
|
}, undefined>;
|
|
@@ -5,11 +5,11 @@ export declare const conversation: v.StrictObjectSchema<{
|
|
|
5
5
|
readonly chat: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
6
6
|
/** The message it starts with. */
|
|
7
7
|
readonly first_message: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
8
|
-
readonly started_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
-
readonly ended_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
8
|
+
readonly started_at: 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`">]>;
|
|
9
|
+
readonly ended_at: 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`">]>;
|
|
10
10
|
readonly messages_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
11
11
|
/** How many people wrote in it. */
|
|
12
12
|
readonly senders_count: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
13
|
-
readonly built_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
+
readonly built_at: 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`">]>;
|
|
14
14
|
readonly rules_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
15
15
|
}, undefined>;
|
|
@@ -4,7 +4,7 @@ export declare const milliseconds: v.SchemaWithPipe<readonly [v.NumberSchema<und
|
|
|
4
4
|
export declare const counterReading: v.StrictObjectSchema<{
|
|
5
5
|
readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
|
|
6
6
|
readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
7
|
-
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
7
|
+
readonly observed_at: 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>;
|
|
8
8
|
readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9
9
|
readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
10
|
readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
/** Stored counters of the matching messages, each with how fresh its observation is. */
|
|
3
3
|
export declare const counters: v.StrictObjectSchema<{
|
|
4
|
-
readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
4
|
+
readonly cutoff: 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`">]>;
|
|
5
5
|
readonly max_age_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
6
6
|
/** Pins exactly these messages for `counters refresh --selection`. */
|
|
7
7
|
readonly selection: v.StrictObjectSchema<{
|
|
@@ -14,7 +14,7 @@ export declare const counters: v.StrictObjectSchema<{
|
|
|
14
14
|
readonly counters: v.ArraySchema<v.StrictObjectSchema<{
|
|
15
15
|
readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
|
|
16
16
|
readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
17
|
-
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
17
|
+
readonly observed_at: 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>;
|
|
18
18
|
readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
19
19
|
readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
20
20
|
readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
|
|
@@ -8,8 +8,8 @@ export declare const document: v.StrictObjectSchema<{
|
|
|
8
8
|
readonly mime: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
9
9
|
readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
10
|
/** When its source last changed it. */
|
|
11
|
-
readonly source_modified_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
11
|
+
readonly source_modified_at: 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>;
|
|
12
12
|
/** When the store last read it; not the source's time. */
|
|
13
|
-
readonly stored_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
+
readonly stored_at: v.OptionalSchema<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>, undefined>;
|
|
14
14
|
readonly owners: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
15
15
|
}, undefined>;
|