LCOV - code coverage report
Current view: top level - src/schemas - subgraphIdSchema.ts Coverage Total Hit
Test: ComfyUI E2E Coverage Lines: 100.0 % 3 3
Test Date: 2026-11-17 04:17:53

            Line data    Source code
       1              : import { z } from 'zod'
       2              : 
       3              : /** Hash values from the URL bar are untrusted; validate before lookup. */
       4         2356 : export const zSubgraphId = z.guid()
       5              : 
       6              : type SubgraphId = z.infer<typeof zSubgraphId>
       7              : 
       8         1134 : export function isUuidShapedSubgraphId(value: unknown): value is SubgraphId {
       9         1134 :   return zSubgraphId.safeParse(value).success
      10              : }
        

Generated by: LCOV version 2.0-1