MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / usage-analytics-router.ts

File usage-analytics-router.ts

apps/web/src/routers/usage-analytics-router.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { TRPCError } from '@trpc/server';
2import * as z from 'zod';
3import { and, asc, eq, inArray, isNull, or } from 'drizzle-orm';
4import { baseProcedure, createTRPCRouter, type TRPCContext } from '@/lib/trpc/init';

Callers

nothing calls this directly

Calls 15

resolveSnowflakeConfigFunction · 0.90
ensureOrganizationAccessFunction · 0.90
ensureScopeAccessFunction · 0.85
resolveTierFunction · 0.85
getTableNameFunction · 0.85
costSumExprSqlFunction · 0.85
timedSnowflakeQueryFunction · 0.85
isOrgScopeFunction · 0.85
toSafeNumberFunction · 0.85

Tested by

no test coverage detected