Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
631 B
Text
22 lines
631 B
Text
/**
|
|
* @license
|
|
* Copyright 2017 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import * as LH from '../../types/lh.js';
|
|
import {makeComputedArtifact} from './computed-artifact.js';
|
|
import {NetworkRecorder} from '../lib/network-recorder.js';
|
|
|
|
class NetworkRecords {
|
|
/**
|
|
* @param {LH.DevtoolsLog} devtoolsLog
|
|
* @return {Promise<Array<LH.Artifacts.NetworkRequest>>} networkRecords
|
|
*/
|
|
static async compute_(devtoolsLog) {
|
|
return NetworkRecorder.recordsFromLogs(devtoolsLog);
|
|
}
|
|
}
|
|
|
|
const NetworkRecordsComputed = makeComputedArtifact(NetworkRecords, null);
|
|
export {NetworkRecordsComputed as NetworkRecords};
|