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:181
buildBaseURL options for a findMany request.
Properties
host?
ts
host?: string;Defined in: index.ts:206
Overrides the globally configured host for this call only.
identifiers
ts
identifiers: {
id: string;
type: string;
}[];Defined in: index.ts:189
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
namespace?: string;Defined in: index.ts:210
Overrides the globally configured namespace for this call only.
op
ts
op: "findMany";Defined in: index.ts:185
The request operation this URL is for.
resourcePath?
ts
resourcePath?: string;Defined in: index.ts:202
The path segment for the resource, defaults to the first identifier's type if not provided.