Internal representation of script locator data.
internal
• absolute: boolean
Whether script's URL is an absolute FileSystem URL on a target device.
packages/repack/src/modules/ScriptManager/types.ts:172
• Optional
body: string
Request body.
packages/repack/src/modules/ScriptManager/types.ts:181
• fetch: boolean
Whether to fetch script from the network or use cached one.
packages/repack/src/modules/ScriptManager/types.ts:166
• Optional
headers: Record
<string
, string
>
Request headers.
packages/repack/src/modules/ScriptManager/types.ts:178
• method: "GET"
| "POST"
HTTP method.
packages/repack/src/modules/ScriptManager/types.ts:160
• Optional
query: string
Query params.
packages/repack/src/modules/ScriptManager/types.ts:175
• timeout: number
Custom timeout for script fetch requests.
packages/repack/src/modules/ScriptManager/types.ts:169
• url: string
Path-only URL to a script's location.
packages/repack/src/modules/ScriptManager/types.ts:163
• Optional
verifyScriptSignature: "strict"
| "lax"
| "off"
Whether script's signature should be verified or not