Skip to main content

IDatalayerCollaborationConfig

Datalayer Core


Datalayer Core / IDatalayerCollaborationConfig

Interface: IDatalayerCollaborationConfig

Defined in: src/collaboration/DatalayerCollaborationProvider.ts:27

Configuration for Datalayer collaboration provider

Properties

fetchFn()?

optional fetchFn: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: src/collaboration/DatalayerCollaborationProvider.ts:40

Custom fetch function to use for HTTP requests. Useful for proxying requests in environments with CORS restrictions (e.g., VS Code webviews).

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

URL | RequestInfo

init?

RequestInit

Returns

Promise<Response>

Call Signature

(input, init?): Promise<Response>

MDN Reference

Parameters
input

string | URL | Request

init?

RequestInit

Returns

Promise<Response>


runUrl?

optional runUrl: string

Defined in: src/collaboration/DatalayerCollaborationProvider.ts:31

Base URL for the Datalayer server (optional, uses config from store if not provided)


token?

optional token: string

Defined in: src/collaboration/DatalayerCollaborationProvider.ts:35

Authentication token (optional, uses config from store if not provided)