Skip to content
module@warp-drive/utilities

Interface FindManyUrlOptions

ts
interface FindManyUrlOptions {
  host?: string;
  identifiers: {
  id: string;
  type: string;
}[];
  namespace?: string;
  op: "findMany";
  resourcePath?: string;
}

Defined in: index.ts:170

buildBaseURL options for a findMany request.

Properties

host?

ts
optional host?: string;

Defined in: index.ts:195

Overrides the globally configured host for this call only.


identifiers

ts
identifiers: {
  id: string;
  type: string;
}[];

Defined in: index.ts:178

The type and id of each record to find.

id

ts
id: string;

The resource id.

type

ts
type: string;

The resource type.


namespace?

ts
optional namespace?: string;

Defined in: index.ts:199

Overrides the globally configured namespace for this call only.


op

ts
op: "findMany";

Defined in: index.ts:174

The request operation this URL is for.


resourcePath?

ts
optional resourcePath?: string;

Defined in: index.ts:191

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

Released under the MIT License.