/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
devtools/projects/ng-devtools-backend/src/lib/shared/ng-debug-api/supported-apis.ts
40 строк
1 KB
hawkgs
refactor(devtools): reorganize backend code
20 июл 2026, 12:15
20 июл 2026, 12:15
a7ebf1c
Код
Авторство
О чём код?
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import {SupportedApis} from '../../../../../protocol'; import { ngDebugDependencyInjectionApiIsSupported, ngDebugProfilerApiIsSupported, ngDebugRoutesApiIsSupported, ngDebugSignalGraphApiIsSupported, ngDebugSignalPropertiesInspectionApiIsSupported, ngDebugTransferStateApiIsSupported, } from './ng-debug-api'; /** * Returns an object with all available Devtools APIs. * * @returns `SupportedApis` */ export function getSupportedApis(): SupportedApis { const profiler = ngDebugProfilerApiIsSupported(); const dependencyInjection = ngDebugDependencyInjectionApiIsSupported(); const routes = ngDebugRoutesApiIsSupported(); const signals = ngDebugSignalGraphApiIsSupported(); const transferState = ngDebugTransferStateApiIsSupported(); const signalPropertiesInspection = ngDebugSignalPropertiesInspectionApiIsSupported(); return { profiler, dependencyInjection, routes, signals, transferState, signalPropertiesInspection, }; }