commit 521d9250e7c25a4a2d4e185e43089daa1b5f8ddf
parent afaa2f2853bce4fed6c45e9902a2b35a5c04fcac
Author: triesap <tyson@radroots.org>
Date: Mon, 13 Jul 2026 02:05:37 +0000
event-index: refresh checkpoint bindings
- update the event-index binding export inventory
- sort generated TypeScript with the final checkpoint name
- regenerate the event-index package output
- keep the old checkpoint symbol absent from SDK surfaces
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/crates/event_index_bindings/src/lib.rs b/crates/event_index_bindings/src/lib.rs
@@ -6,7 +6,7 @@ pub const TYPE_EXPORTS: &[&str] = &[
"RadrootsEventIndexShardMetadata",
"RadrootsEventIndexManifest",
"RadrootsEventIndexShardCheckpoint",
- "RadrootsEventIndexIndexCheckpoint",
+ "RadrootsEventIndexCheckpoint",
];
#[cfg(test)]
@@ -16,7 +16,7 @@ mod tests {
#[test]
fn exports_indexed_manifest_and_checkpoint_types() {
assert!(TYPE_EXPORTS.contains(&"RadrootsEventIndexManifest"));
- assert!(TYPE_EXPORTS.contains(&"RadrootsEventIndexIndexCheckpoint"));
+ assert!(TYPE_EXPORTS.contains(&"RadrootsEventIndexCheckpoint"));
assert!(TYPE_EXPORTS.contains(&"RadrootsEventIndexShardId"));
}
}
diff --git a/packages/event-index-bindings/src/generated/types.ts b/packages/event-index-bindings/src/generated/types.ts
@@ -10,4 +10,4 @@ export type RadrootsEventIndexManifest = { country: string, total: number, shard
export type RadrootsEventIndexShardCheckpoint = { shard_id: RadrootsEventIndexShardId, last_created_at: number, last_event_id?: string | null, cursor?: string | null, };
-export type RadrootsEventIndexIndexCheckpoint = { generated_at: number, shards: Array<RadrootsEventIndexShardCheckpoint>, };
+export type RadrootsEventIndexCheckpoint = { generated_at: number, shards: Array<RadrootsEventIndexShardCheckpoint>, };
diff --git a/tools/xtask/src/dto_roots.rs b/tools/xtask/src/dto_roots.rs
@@ -474,7 +474,7 @@ fn with_event_index_sdk_wrappers(module: DtoTypesModule) -> DtoTypesModule {
"RadrootsEventIndexShardMetadata",
"RadrootsEventIndexManifest",
"RadrootsEventIndexShardCheckpoint",
- "RadrootsEventIndexIndexCheckpoint",
+ "RadrootsEventIndexCheckpoint",
];
declarations.sort_by_key(|declaration| {
order
@@ -679,7 +679,7 @@ mod tests {
"RadrootsEventIndexShardMetadata",
"RadrootsEventIndexManifest",
"RadrootsEventIndexShardCheckpoint",
- "RadrootsEventIndexIndexCheckpoint",
+ "RadrootsEventIndexCheckpoint",
];
const TRADE_TYPE_INVENTORY: &[&str] = &[
"RadrootsOrderIssue",