init commit

This commit is contained in:
rxliuli
2025-11-04 05:03:50 +08:00
commit bce557cc2d
1396 changed files with 172991 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import type { MetricSettings } from '@amp/web-apps-metrics-8';
/**
* Generates a metric settings for Metrics class.
*
* @param context - app context map
* @returns MetricSettings
*/
export function makeMetricsSettings(
context: Map<string, unknown>,
): MetricSettings {
return {
shouldEnableFunnelKit: function (): boolean {
return false;
},
getConsumerId: async function (): Promise<string> {
return null;
},
};
}