Interface: NormalizedScriptLocator

Internal representation of script locator data.

internal

Table of contents

Properties

Properties

absolute

absolute: boolean

Whether script's URL is an absolute FileSystem URL on a target device.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:172


body

Optional body: string

Request body.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:181


fetch

fetch: boolean

Whether to fetch script from the network or use cached one.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:166


headers

Optional headers: Record<string, string>

Request headers.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:178


method

method: "GET" | "POST"

HTTP method.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:160


query

Optional query: string

Query params.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:175


timeout

timeout: number

Custom timeout for script fetch requests.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:169


url

url: string

Path-only URL to a script's location.

Defined in

packages/repack/src/modules/ScriptManager/types.ts:163


verifyScriptSignature

Optional verifyScriptSignature: "strict" | "lax" | "off"

Whether script's signature should be verified or not

Defined in

packages/repack/src/modules/ScriptManager/types.ts:184