Skip to content

Commit

Permalink
fixup! feat: support outputting ND-JSON files via an environment vari…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
petebacondarwin committed Aug 5, 2024
1 parent 777d43d commit 4241d6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/wrangler/src/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,27 @@ export type OutputEntry =

export interface OutputEntrySession
extends OutputEntryBase<"wrangler-session"> {
version: 1;
wrangler_version: string;
command_line_args: string[];
}

export interface OutputEntryDeployment extends OutputEntryBase<"deployment"> {
version: 1;
worker_id: string | undefined;
deployment_id: string;
}

export interface OutputEntryVersionUpload
extends OutputEntryBase<"version-upload"> {
version: 1;
worker_id: string;
version_id: string;
}

export interface OutputEntryVersionDeployment
extends OutputEntryBase<"version-deploy"> {
version: 1;
worker_id: string;
version_traffic: Map<string, number>;
}

0 comments on commit 4241d6b

Please sign in to comment.