type TrpcClient = {
  marketingPages: {
    pageBySlug: { queryOptions: (input: { slug: string }) => unknown };
    siteSettings: { queryOptions: () => unknown };
  };
};

export function pageBySlugQuery(client: TrpcClient, slug: string) {
  return client.marketingPages.pageBySlug.queryOptions({ slug });
}

export function siteSettingsQuery(client: TrpcClient) {
  return client.marketingPages.siteSettings.queryOptions();
}
