Skip to content

Commit

Permalink
slight telemetry schema adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7d8 committed Dec 12, 2024
1 parent 535fe57 commit 163e8ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/globals/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,13 @@ import * as schema from "@/schema"
import { lookup } from "@/globals/ip"
import cache from "@/globals/cache"
import { z } from "zod"
import github from "@/globals/github"

export const telemetrySchema = z.object({
id: z.string().uuid(),
telemetry_version: z.literal(1),

blueprint: z.object({
version: z.string().refine((str) => github().history.includes(str)),
version: z.string().max(31),
extensions: z.object({
identifier: z.string(),
version: z.string(),
Expand Down

0 comments on commit 163e8ed

Please sign in to comment.