Skip to content

Commit

Permalink
feat: update tinybird pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfts committed Apr 23, 2024
1 parent e4e2a97 commit e42ba96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tinybird/pipes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Tinybird } from "@chronark/zod-bird";
const tb = new Tinybird({ token: process.env.TINYBIRD_TOKEN! });

export const getTotalAvgPageDuration = tb.buildPipe({
pipe: "get_total_average_page_duration__v4",
pipe: "get_total_average_page_duration__v5",
parameters: z.object({
documentId: z.string(),
excludedLinkIds: z.array(z.string()),
Expand All @@ -20,7 +20,7 @@ export const getTotalAvgPageDuration = tb.buildPipe({
});

export const getViewPageDuration = tb.buildPipe({
pipe: "get_page_duration_per_view__v4",
pipe: "get_page_duration_per_view__v5",
parameters: z.object({
documentId: z.string(),
viewId: z.string(),
Expand Down

0 comments on commit e42ba96

Please sign in to comment.