Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
18 lines
1.0 KiB
TypeScript
18 lines
1.0 KiB
TypeScript
import type { BinaryStreamOf } from './app-render';
|
|
import type { Readable } from 'node:stream';
|
|
/**
|
|
* Render Flight stream.
|
|
* This is only used for renderToHTML, the Flight response does not need additional wrappers.
|
|
*/
|
|
export declare function getFlightStream<T>(flightStream: Readable | BinaryStreamOf<T>, debugStream: Readable | ReadableStream<Uint8Array> | undefined, debugEndTime: number | undefined, nonce: string | undefined): Promise<T>;
|
|
/**
|
|
* Creates a ReadableStream provides inline script tag chunks for writing hydration
|
|
* data to the client outside the React render itself.
|
|
*
|
|
* @param flightStream The RSC render stream
|
|
* @param nonce optionally a nonce used during this particular render
|
|
* @param formState optionally the formState used with this particular render
|
|
* @returns a ReadableStream without the complete property. This signifies a lazy ReadableStream
|
|
*/
|
|
export declare function createInlinedDataReadableStream(flightStream: ReadableStream<Uint8Array>, nonce: string | undefined, formState: unknown | null): ReadableStream<Uint8Array>;
|