web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.1 KiB

  1. import './_version.js';
  2. interface GoogleAnalyticsInitializeOptions {
  3. cacheName?: string;
  4. parameterOverrides?: {
  5. [paramName: string]: string;
  6. };
  7. hitFilter?: (params: URLSearchParams) => void;
  8. }
  9. /**
  10. * @param {Object=} [options]
  11. * @param {Object} [options.cacheName] The cache name to store and retrieve
  12. * analytics.js. Defaults to the cache names provided by `workbox-core`.
  13. * @param {Object} [options.parameterOverrides]
  14. * [Measurement Protocol parameters](https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters),
  15. * expressed as key/value pairs, to be added to replayed Google Analytics
  16. * requests. This can be used to, e.g., set a custom dimension indicating
  17. * that the request was replayed.
  18. * @param {Function} [options.hitFilter] A function that allows you to modify
  19. * the hit parameters prior to replaying
  20. * the hit. The function is invoked with the original hit's URLSearchParams
  21. * object as its only argument.
  22. *
  23. * @memberof module:workbox-google-analytics
  24. */
  25. declare const initialize: (options?: GoogleAnalyticsInitializeOptions) => void;
  26. export { initialize, };