Skip to content

Commit

Permalink
additional options for extraOpts
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer committed Nov 21, 2024
1 parent 6e1955a commit f1a79b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export type WARCExtraOpts = {
maxBand?: number;

maxBitrate?: number;

cert?: { issuer: string; ctc: string };
ipType?: string;
};

type ArchiveResponseOpts = {
Expand Down
4 changes: 2 additions & 2 deletions src/rewrite/rxrewriter.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type ArchiveResponse } from "../response";
import { type WARCExtraOpts, type ArchiveResponse } from "../response";

export type RwOpts = {
response?: ArchiveResponse;
save?: { maxRes: number; maxBand: number; maxBitrate: number };
save?: WARCExtraOpts;
prefix?: string;
baseUrl?: string;
isModule?: boolean | null;
Expand Down

0 comments on commit f1a79b1

Please sign in to comment.