File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
packages/service-utils/src/core Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @thirdweb-dev/service-utils " : patch
3+ ---
4+
5+ [ service-utils] Update list of usageV2 sources"
Original file line number Diff line number Diff line change 1- import type { ServiceName } from "./services.js" ;
2-
3- export type UsageV2Source = ServiceName | "sdk" ;
1+ export type UsageV2Source =
2+ | "bundler"
3+ | "engine"
4+ | "insight"
5+ | "nebula"
6+ | "rpc"
7+ | "sdk"
8+ | "storage"
9+ | "wallet" ;
10+ export function getTopicName ( source : UsageV2Source ) {
11+ return `usage_v2.raw_${ source } ` ;
12+ }
413
514export interface UsageV2Event {
615 /**
@@ -54,7 +63,3 @@ export interface UsageV2Event {
5463 */
5564 [ key : string ] : boolean | number | string | Date | null | undefined ;
5665}
57-
58- export function getTopicName ( source : UsageV2Source ) {
59- return `usage_v2.raw_${ source } ` ;
60- }
You can’t perform that action at this time.
0 commit comments