Interface: NormalizedScriptLocator
Internal representation of script locator data.
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:170
body
• Optional
body: string
Request body.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:179
fetch
• fetch: boolean
Whether to fetch script from the network or use cached one.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:164
headers
• Optional
headers: Record
\<string
, string
>
Request headers.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:176
method
• method: "GET"
| "POST"
HTTP method.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:158
query
• Optional
query: string
Query params.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:173
timeout
• timeout: number
Custom timeout for script fetch requests.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:167
url
• url: string
Path-only URL to a script's location.
Defined in
packages/repack/src/modules/ScriptManager/types.ts:161
verifyScriptSignature
• Optional
verifyScriptSignature: "strict"
| "lax"
| "off"
Whether script's signature should be verified or not