UNPKG

860 BJavaScriptView Raw
1/** Copyright (c) 2018 Uber Technologies, Inc.
2 *
3 * This source code is licensed under the MIT license found in the
4 * LICENSE file in the root directory of this source tree.
5 *
6 * @flow
7 */
8
9/*::
10import type {DeferredState, SyncState} from "./shared-state-containers.js";
11
12export type ClientChunkMetadata = {
13 fileManifest: Map<string, Set<number>>,
14 urlMap: Map<number, Map<string, string>>,
15 criticalPaths: Array<string>,
16 criticalIds: Array<number>,
17 chunks: Map<number | string, string>,
18 runtimeChunkIds: Set<number | string>,
19 initialChunkIds: Set<number | string>,
20};
21export type ClientChunkMetadataState = DeferredState<ClientChunkMetadata>;
22
23export type TranslationsManifest = Map<string, Set<string>>;
24export type TranslationsManifestState = DeferredState<TranslationsManifest>;
25
26export type LegacyBuildEnabledState = SyncState<boolean>;
27*/