2 Commits

Author SHA1 Message Date
Michael Wolf
5a08baab5e Pull in zod 2025-03-07 15:24:21 -06:00
Michael Wolf
c850815e97 Make timestamp optional 2025-03-07 15:24:11 -06:00
3 changed files with 6 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
},
"imports": {
"@std/assert": "jsr:@std/assert@1",
"zod": "npm:zod@^3.24.1"
"zod": "npm:zod@^3.24.2"
},
"fmt": {
"indentWidth": 4

8
deno/deno.lock generated
View File

@@ -7,7 +7,7 @@
"jsr:@std/bytes@^1.0.2-rc.3": "1.0.5",
"jsr:@std/internal@^1.0.5": "1.0.5",
"jsr:@std/io@0.224.5": "0.224.5",
"npm:zod@^3.24.1": "3.24.1"
"npm:zod@^3.24.2": "3.24.2"
},
"jsr": {
"@std/assert@1.0.11": {
@@ -33,8 +33,8 @@
}
},
"npm": {
"zod@3.24.1": {
"integrity": "sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A=="
"zod@3.24.2": {
"integrity": "sha512-lY7CDW43ECgW9u1TcT3IoXHflywfVqDYze4waEz812jR/bZ8FHDsl7pFQoSZTz5N+2NqRXs8GBwnAwo3ZNxqhQ=="
}
},
"redirects": {
@@ -196,7 +196,7 @@
"workspace": {
"dependencies": [
"jsr:@std/assert@1",
"npm:zod@^3.24.1"
"npm:zod@^3.24.2"
]
}
}

View File

@@ -7,7 +7,7 @@ type MessageSource = "logging" | "diagnostic" | "user";
type Message = {
// FIXME: number probably isn't what we want here
timestamp: number;
timestamp?: number;
source: MessageSource;
text: AtLeastOne<string>;