Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

format

Kiran K12fcc1e4ed93
diff --git a/apps/web/lib/openapi/analytics/city.ts b/apps/web/lib/openapi/analytics/city.ts
index 192af82457..48e3531f95 100644
--- a/apps/web/lib/openapi/analytics/city.ts
+++ b/apps/web/lib/openapi/analytics/city.ts
@@ -15,7 +15,9 @@ export const getCityAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/country.ts b/apps/web/lib/openapi/analytics/country.ts
index 5c053b4831..0fb2a38aad 100644
--- a/apps/web/lib/openapi/analytics/country.ts
+++ b/apps/web/lib/openapi/analytics/country.ts
@@ -15,7 +15,9 @@ export const getCountryAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the top countries by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/device.ts b/apps/web/lib/openapi/analytics/device.ts
index aebdb56053..a0b4d30803 100644
--- a/apps/web/lib/openapi/analytics/device.ts
+++ b/apps/web/lib/openapi/analytics/device.ts
@@ -15,7 +15,9 @@ export const getDeviceAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the top devices by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/os.ts b/apps/web/lib/openapi/analytics/os.ts
index 42f687d686..a0b3472c8b 100644
--- a/apps/web/lib/openapi/analytics/os.ts
+++ b/apps/web/lib/openapi/analytics/os.ts
@@ -15,7 +15,9 @@ export const getOSAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the top OS by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/referer.ts b/apps/web/lib/openapi/analytics/referer.ts
index fcc68760bb..7c76789bf5 100644
--- a/apps/web/lib/openapi/analytics/referer.ts
+++ b/apps/web/lib/openapi/analytics/referer.ts
@@ -15,7 +15,9 @@ export const getRefererAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the top referers by number of clicks for a link, a domain, or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/timeseries.ts b/apps/web/lib/openapi/analytics/timeseries.ts
index 92d19f8c95..e320c779f9 100644
--- a/apps/web/lib/openapi/analytics/timeseries.ts
+++ b/apps/web/lib/openapi/analytics/timeseries.ts
@@ -15,7 +15,9 @@ export const getTimeseriesAnalytics: ZodOpenApiOperationObject = {
description:
"Retrieve the number of clicks for a link, a domain, or the authenticated workspace over a period of time.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/top-links.ts b/apps/web/lib/openapi/analytics/top-links.ts
index 086a14e153..939bafac3c 100644
--- a/apps/web/lib/openapi/analytics/top-links.ts
+++ b/apps/web/lib/openapi/analytics/top-links.ts
@@ -15,7 +15,9 @@ export const getTopLinks: ZodOpenApiOperationObject = {
description:
"Retrieve the top links by number of clicks for a domain or the authenticated workspace.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {
diff --git a/apps/web/lib/openapi/analytics/top-urls.ts b/apps/web/lib/openapi/analytics/top-urls.ts
index 86fc2d4ae0..aaf52fb644 100644
--- a/apps/web/lib/openapi/analytics/top-urls.ts
+++ b/apps/web/lib/openapi/analytics/top-urls.ts
@@ -15,7 +15,9 @@ export const getTopURLs: ZodOpenApiOperationObject = {
description:
"Retrieve the top URLs by number of clicks for a given short link.",
requestParams: {
- query: workspaceParamsSchema.merge(clickAnalyticsQuerySchema.omit({ groupBy: true }),),
+ query: workspaceParamsSchema.merge(
+ clickAnalyticsQuerySchema.omit({ groupBy: true }),
+ ),
},
responses: {
"200": {