Skip to content

Commit

Permalink
chore: updating message type with metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasgriffintn committed Mar 29, 2024
1 parent bb81cc8 commit 4cfac55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ export type Message = {
timestamp_ms: number;
attempts: number;
lease_id: string;
metadata: {
"CF-sourceMessageSource": string;
"CF-Content-Type": "json" | "text";
};
};

export type CloudFlareError = {
Expand Down

0 comments on commit 4cfac55

Please sign in to comment.