/
ashipov
/
react
Обзор
Документация
Войти
/
ashipov
/
react
Код
Запросы
0
Задачи 2.0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
packages/react-server/src/ReactFlightServerConfigBundlerCustom.js
26 строк
1 KB
Sebastian Markbåge
[Flight] Source Map Server Actions to their Server Location (#30741)
18 авг 2024, 19:31
Не верифицирован
18 авг 2024, 19:31
6ebfd5b
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ declare const $$$config: any; export opaque type ClientManifest = mixed; export opaque type ClientReference<T> = mixed; // eslint-disable-line no-unused-vars export opaque type ServerReference<T> = mixed; // eslint-disable-line no-unused-vars export opaque type ClientReferenceMetadata: any = mixed; export opaque type ServerReferenceId: any = mixed; export opaque type ClientReferenceKey: any = mixed; export const isClientReference = $$$config.isClientReference; export const isServerReference = $$$config.isServerReference; export const getClientReferenceKey = $$$config.getClientReferenceKey; export const resolveClientReferenceMetadata = $$$config.resolveClientReferenceMetadata; export const getServerReferenceId = $$$config.getServerReferenceId; export const getServerReferenceBoundArguments = $$$config.getServerReferenceBoundArguments; export const getServerReferenceLocation = $$$config.getServerReferenceLocation;