1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | module Env ( StripeEnv(..) , OpenaiEnv(..) , stripeEnv , openaiEnv ) where import Data.ByteString data StripeEnv = StripeEnv { apikey :: ByteString , webhookSecret :: ByteString } data OpenaiEnv = OpenaiEnv { apikey :: ByteString } stripeEnv :: StripeEnv stripeEnv = StripeEnv "apikey" "webhookSecret" openaiEnv :: OpenaiEnv openaiEnv = OpenaiEnv "apikey" |