@cbnsndwch/zero-sources

SyncedQueryMetadata interface

Home > @cbnsndwch/nest-zero-synced-queries > SyncedQueryMetadata

SyncedQueryMetadata interface

Configuration for a synced query handler.

Signature:

export interface SyncedQueryMetadata

Properties

Property

Modifiers

Type

Description

inputSchema

z.ZodTypeAny

Zod schema for validating query input arguments. Should be a tuple schema matching the expected arguments.

queryName

string

The name of the query as registered with Zero. Must match the query name used in client-side query definitions.

How was this page?