@fleettools/events 0.1.1 → 0.2.1
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/dist/index.js +2 -3
- package/dist/src/types/agents.d.ts +1005 -0
- package/dist/src/types/agents.d.ts.map +1 -0
- package/dist/src/types/base.d.ts +2 -2
- package/dist/src/types/checkpoints.d.ts +8 -8
- package/dist/src/types/coordination.d.ts +12 -12
- package/dist/src/types/index.d.ts +62 -62
- package/dist/src/types/messages.d.ts +10 -10
- package/dist/src/types/missions.d.ts +8 -8
- package/dist/src/types/pilots.d.ts +6 -6
- package/dist/src/types/reservations.d.ts +6 -6
- package/dist/src/types/sorties.d.ts +12 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -5
- package/dist/helpers.d.ts +0 -72
- package/dist/index.d.ts +0 -10
- package/dist/projections/index.d.ts +0 -16
- package/dist/projections/pilots.d.ts +0 -19
- package/dist/replay.d.ts +0 -19
- package/dist/store.d.ts +0 -56
- package/dist/types/base.d.ts +0 -32
- package/dist/types/checkpoints.d.ts +0 -254
- package/dist/types/coordination.d.ts +0 -363
- package/dist/types/index.d.ts +0 -1691
- package/dist/types/messages.d.ts +0 -294
- package/dist/types/missions.d.ts +0 -257
- package/dist/types/pilots.d.ts +0 -152
- package/dist/types/reservations.d.ts +0 -172
- package/dist/types/sorties.d.ts +0 -371
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @bun
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __export = (target, all) => {
|
|
4
3
|
for (var name in all)
|
|
@@ -4357,7 +4356,7 @@ var FleetEventSchema = exports_external.discriminatedUnion("type", [
|
|
|
4357
4356
|
CursorMovedSchema
|
|
4358
4357
|
]);
|
|
4359
4358
|
// ../core/dist/index.js
|
|
4360
|
-
import { randomUUID } from "crypto";
|
|
4359
|
+
import { randomUUID } from "node:crypto";
|
|
4361
4360
|
function generateUUID() {
|
|
4362
4361
|
return randomUUID();
|
|
4363
4362
|
}
|
|
@@ -4736,7 +4735,7 @@ async function replayEvents(db, events, projectKey) {
|
|
|
4736
4735
|
for (const event of eventsToReplay) {
|
|
4737
4736
|
await handleEvent(db, event, event.project_key);
|
|
4738
4737
|
}
|
|
4739
|
-
console.log("
|
|
4738
|
+
console.log("✅ Event replay completed");
|
|
4740
4739
|
}
|
|
4741
4740
|
async function replayEventsFromSequence(db, projectKey, fromSequence) {
|
|
4742
4741
|
const eventStore = EventStore.fromDb(db);
|