MCPcopy Create free account
hub / github.com/dailydotdev/apps / fetchPricingMetadata

Function fetchPricingMetadata

packages/shared/src/graphql/paddle.ts:187–195  ·  view source on GitHub ↗
(
  type: PurchaseType,
)

Source from the content-addressed store, hash-verified

185`;
186
187export const fetchPricingMetadata = async (
188 type: PurchaseType,
189): Promise<ProductPricingMetadata[]> => {
190 const { pricingMetadata } = await gqlClient.request<{
191 pricingMetadata: ProductPricingMetadata[];
192 }>(PRICING_METADATA_QUERY, { type });
193
194 return pricingMetadata;
195};
196
197export enum PricingCaptionColor {
198 Success = 'success',

Callers 2

StoreKitSubProviderFunction · 0.90
coresPricesQueryOptionsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected