groq-builder
Version:
A **schema-aware**, strongly-typed GROQ query builder. It enables you to build GROQ queries using **auto-completion**, **type-checking**, and **runtime validation**.
23 lines (22 loc) • 903 B
TypeScript
import "./project";
import "./projectField";
declare module "../groq-builder" {
interface GroqBuilder<TResult, TQueryConfig> {
/**
* @deprecated This method has been renamed to 'project' and will be removed in a future version.
*/
grab: GroqBuilder<TResult, TQueryConfig>["project"];
/**
* @deprecated This method has been renamed to 'project' and will be removed in a future version.
*/
grab$: GroqBuilder<TResult, TQueryConfig>["project"];
/**
* @deprecated This method has been renamed to 'field' and will be removed in a future version.
*/
grabOne: GroqBuilder<TResult, TQueryConfig>["field"];
/**
* @deprecated This method has been renamed to 'field' and will be removed in a future version.
*/
grabOne$: GroqBuilder<TResult, TQueryConfig>["field"];
}
}