mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-20 09:50:28 +00:00
29 lines
411 B
Plaintext
29 lines
411 B
Plaintext
namespace NostrIndex;
|
|
|
|
struct Fixed32Bytes {
|
|
val: [ubyte:32];
|
|
}
|
|
|
|
table TagGeneral {
|
|
key: uint8;
|
|
val: [ubyte];
|
|
}
|
|
|
|
table TagFixed32 {
|
|
key: uint8;
|
|
val: Fixed32Bytes;
|
|
}
|
|
|
|
table Event {
|
|
id: Fixed32Bytes;
|
|
pubkey: Fixed32Bytes;
|
|
created_at: uint64;
|
|
kind: uint64;
|
|
tagsGeneral: [TagGeneral];
|
|
tagsFixed32: [TagFixed32];
|
|
expiration: uint64;
|
|
}
|
|
|
|
table Empty {}
|
|
root_type Empty;
|