39 lines
2.0 KiB
TypeScript
39 lines
2.0 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright 2020 Google LLC
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
export declare const SDK_VERSION: string;
|
|
/** The prefix for start User Timing marks used for creating Traces. */
|
|
export declare const TRACE_START_MARK_PREFIX = "FB-PERF-TRACE-START";
|
|
/** The prefix for stop User Timing marks used for creating Traces. */
|
|
export declare const TRACE_STOP_MARK_PREFIX = "FB-PERF-TRACE-STOP";
|
|
/** The prefix for User Timing measure used for creating Traces. */
|
|
export declare const TRACE_MEASURE_PREFIX = "FB-PERF-TRACE-MEASURE";
|
|
/** The prefix for out of the box page load Trace name. */
|
|
export declare const OOB_TRACE_PAGE_LOAD_PREFIX = "_wt_";
|
|
export declare const FIRST_PAINT_COUNTER_NAME = "_fp";
|
|
export declare const FIRST_CONTENTFUL_PAINT_COUNTER_NAME = "_fcp";
|
|
export declare const FIRST_INPUT_DELAY_COUNTER_NAME = "_fid";
|
|
export declare const LARGEST_CONTENTFUL_PAINT_METRIC_NAME = "_lcp";
|
|
export declare const LARGEST_CONTENTFUL_PAINT_ATTRIBUTE_NAME = "lcp_element";
|
|
export declare const INTERACTION_TO_NEXT_PAINT_METRIC_NAME = "_inp";
|
|
export declare const INTERACTION_TO_NEXT_PAINT_ATTRIBUTE_NAME = "inp_interactionTarget";
|
|
export declare const CUMULATIVE_LAYOUT_SHIFT_METRIC_NAME = "_cls";
|
|
export declare const CUMULATIVE_LAYOUT_SHIFT_ATTRIBUTE_NAME = "cls_largestShiftTarget";
|
|
export declare const CONFIG_LOCAL_STORAGE_KEY = "@firebase/performance/config";
|
|
export declare const CONFIG_EXPIRY_LOCAL_STORAGE_KEY = "@firebase/performance/configexpire";
|
|
export declare const SERVICE = "performance";
|
|
export declare const SERVICE_NAME = "Performance";
|