< Summary

Information
Class: public-runtime-config.ts
Assembly: app
File(s): /home/runner/work/ClutterStock/ClutterStock/frontend/app/public-runtime-config.ts
Tag: 58_25416222083
Line coverage
0%
Covered lines: 0
Uncovered lines: 2
Coverable lines: 2
Total lines: 16
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

File(s)

/home/runner/work/ClutterStock/ClutterStock/frontend/app/public-runtime-config.ts

#LineLine coverage
 1export type PublicRuntimeConfig = {
 2  otelTracesEndpoint: string;
 3  otelServiceName: string;
 4};
 5
 6declare global {
 7  interface Window {
 8    __CLUTTERSTOCK_PUBLIC__?: PublicRuntimeConfig;
 9  }
 10}
 11
 012export function readPublicRuntimeConfigFromWindow():
 13  | PublicRuntimeConfig
 14  | undefined {
 015  return globalThis.window?.__CLUTTERSTOCK_PUBLIC__;
 16}