Refactor primitives into namespaces.

This commit is contained in:
Jay
2025-10-31 20:44:36 -04:00
parent c7935326e9
commit efe2814c8a
29 changed files with 192 additions and 275 deletions

View File

@@ -1,6 +1,6 @@
import { test } from "vitest";
import type { EventData } from "./types";
import type { Event } from "./events";
test("placeholder", () => {});
@@ -9,7 +9,7 @@ export const testSK =
export const testPK =
"cfa87f35acbde29ba1ab3ee42de527b2cad33ac487e80cf2d6405ea0042c8fef";
export const testEvent: EventData = {
export const testEvent: Event = {
id: "c7a702e6158744ca03508bbb4c90f9dbb0d6e88fefbfaa511d5ab24b4e3c48ad",
pubkey: testPK,
created_at: 1760740551,