/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-server-dom-parcel/src/shared/ReactFlightImportMetadata.js
25 строк
638 B
Devon Govett
[Flight Parcel] Pass import maps through client references (#32132)
27 янв 2025, 23:39
Не верифицирован
27 янв 2025, 23:39
37906d4
Код
Авторство
О чём код?
/** * 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 */ // This is the parsed shape of the wire format which is why it is // condensed to only the essentialy information export type ImportMetadata = [ // eslint does not understand Flow tuple syntax. /* eslint-disable */ id: string, name: string, bundles: Array<string>, importMap?: {[string]: string}, /* eslint-enable */ ]; export const ID = 0; export const NAME = 1; export const BUNDLES = 2; export const IMPORT_MAP = 3;