Packages

pify: some helpers to use gleam in your shopify project.

Current section

Files

Jump to
pify include pify_ShopifyHandler.hrl
Raw

include/pify_ShopifyHandler.hrl

-record(shopify_handler, {
config :: pify:storefront_api_client_config(),
get_headers :: fun((gleam@option:option({binary(),
list({binary(), binary()})})) -> {binary(), list({binary(), binary()})}),
fetch :: fun((binary(), gleam@option:option(gleam@json:json()), gleam@dynamic@decode:decoder(any())) -> midas@task:effect(any(), pify:shopify_error()))
}).