Skip to content

basalt / search/src / SearchInput

Interface: SearchInput ​

Defined in: search/src/types.ts:17

A document as callers provide it. tenantId is optional: Search resolves it from the ambient tenant, and in an app with no tenancyPlugin falls back to SINGLE_TENANT_SCOPE — so a non-SaaS app indexes and queries the same scope without inventing a tenant id.

Indexable ​

> [field: string]: unknown

Properties ​

id ​

> id: string

Defined in: search/src/types.ts:18


tenantId? ​

> optional tenantId?: string

Defined in: search/src/types.ts:19

Released under the MIT License.