bpms_site/.svn/pristine/75/7566bbf71df554154ff104d508120f7ae7a2a8c5.svn-base
2025-11-02 16:38:49 +03:30

11 lines
701 B
Plaintext

import type { FetchServerResponseResult } from './fetch-server-response';
import type { ThenableRecord } from './router-reducer-types';
import { FlightSegmentPath } from '../../../server/app-render/types';
import { CacheNode } from '../../../shared/lib/app-router-context.shared-runtime';
/**
* Kick off fetch based on the common layout between two routes. Fill cache with data property holding the in-progress fetch.
*/
export declare function fillCacheWithDataProperty(newCache: CacheNode, existingCache: CacheNode, flightSegmentPath: FlightSegmentPath, fetchResponse: () => ThenableRecord<FetchServerResponseResult>, bailOnParallelRoutes?: boolean): {
bailOptimistic: boolean;
} | undefined;