fix(statistics): считать уникальный payload без дублей hops
Docker images / prepare-release (push) Successful in 8s
Docker images / backend-test (push) Successful in 2m10s
Docker images / frontend-image (push) Successful in 3m13s
Docker images / updater-image (push) Successful in 46s
Docker images / backend-image (push) Successful in 2m52s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 10s
Docker images / prepare-release (push) Successful in 8s
Docker images / backend-test (push) Successful in 2m10s
Docker images / frontend-image (push) Successful in 3m13s
Docker images / updater-image (push) Successful in 46s
Docker images / backend-image (push) Successful in 2m52s
Docker images / notify-webhook (push) Skipped
Docker images / publish-release (push) Successful in 10s
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { z } from "zod"
|
||||
|
||||
export const STATISTICS_UNBOUND_USER_ID = "__unbound__"
|
||||
export const STATISTICS_WAN_MARK = "WAN · интернет"
|
||||
export const STATISTICS_DUP_MARK = "дубль"
|
||||
|
||||
export const statisticsPivotDimSchema = z.enum([
|
||||
"country",
|
||||
@@ -45,6 +47,7 @@ export const statisticsQuerySchema = z.object({
|
||||
country: z.string().min(2).max(2).optional(),
|
||||
service: z.string().min(1).optional(),
|
||||
asn: z.coerce.number().int().optional(),
|
||||
planes: z.enum(["unique", "all"]).default("unique"),
|
||||
})
|
||||
|
||||
export const statisticsDtoSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user