Skip to content

ProjectedGetConfig

type ProjectedGetConfig<Schema, ProjectionSchema> = GetConfig<Schema> & object;

Configuration for the ProjectedGet command.

projection: Projection;
projectionSchema: ProjectionSchema;

Schema extends ZodObject

The Zod schema defining the structure of the entity.

ProjectionSchema extends ZodObject

The Zod schema defining the structure of the projected attributes.