Skip to content
module@warp-drive/utilities

Interface UpdateRecordUrlOptions ​

Defined in: index.ts:321

buildBaseURL options for an updateRecord request.

Properties ​

host? ​

ts
optional host?: string;

Defined in: index.ts:346

Overrides the globally configured host for this call only.


identifier ​

ts
identifier: object;

Defined in: index.ts:329

The type and id of the record being updated.

id ​

ts
id: string;

The resource id.

type ​

ts
type: string;

The resource type.


namespace? ​

ts
optional namespace?: string;

Defined in: index.ts:350

Overrides the globally configured namespace for this call only.


op ​

ts
op: "updateRecord";

Defined in: index.ts:325

The request operation this URL is for.


resourcePath? ​

ts
optional resourcePath?: string;

Defined in: index.ts:342

The path segment for the resource, defaults to identifier.type if not provided.

Released under the MIT License.