diff --git a/.circleci/config.yml b/.circleci/config.yml index 27e669363a..4fab3dce06 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -31,7 +31,6 @@ commands: - add_ssh_keys: fingerprints: - "19:7e:f3:6c:be:a7:17:01:7d:09:ca:39:c3:98:86:90" - - run: brew update - ruby/install-bundler - restore_cache: key: 1-gem-{{ checksum "ios/Gemfile.lock" }} @@ -164,10 +163,9 @@ jobs: - checkout: path: ~/galoy-mobile - run: | - brew tap wix/brew - brew install applesimutils - - install_yarn_deps - - nix-with-flake + nvm use 18 + node i -g yarn + yarn install - local_backend - rn/ios_simulator_start: device: iPhone SE (3rd generation) @@ -367,6 +365,6 @@ workflows: requires: - e2e_build_android - e2e_build_ios - - e2e_run_ios: - requires: - - e2e_build_ios + - e2e_run_ios + # requires: + # - e2e_build_ios diff --git a/app/graphql/generated.ts b/app/graphql/generated.ts index 4961d8f4bc..cc9619e95b 100644 --- a/app/graphql/generated.ts +++ b/app/graphql/generated.ts @@ -854,6 +854,32 @@ export type MapMarker = { readonly username: Scalars['Username']['output']; }; +export type Merchant = { + readonly __typename: 'Merchant'; + /** GPS coordinates for the merchant that can be used to place the related business on a map */ + readonly coordinates: Coordinates; + readonly createdAt: Scalars['Timestamp']['output']; + readonly id: Scalars['ID']['output']; + readonly title: Scalars['String']['output']; + /** The username of the merchant */ + readonly username: Scalars['Username']['output']; + /** Whether the merchant has been validated */ + readonly validated: Scalars['Boolean']['output']; +}; + +export type MerchantMapSuggestInput = { + readonly latitude: Scalars['Float']['input']; + readonly longitude: Scalars['Float']['input']; + readonly title: Scalars['String']['input']; + readonly username: Scalars['Username']['input']; +}; + +export type MerchantPayload = { + readonly __typename: 'MerchantPayload'; + readonly errors: ReadonlyArray; + readonly merchant?: Maybe; +}; + export type MobileVersions = { readonly __typename: 'MobileVersions'; readonly currentSupported: Scalars['Int']['output']; @@ -961,6 +987,7 @@ export type Mutation = { readonly lnUsdInvoiceFeeProbe: SatAmountPayload; /** Sends a payment to a lightning address. */ readonly lnurlPaymentSend: PaymentSendPayload; + readonly merchantMapSuggest: MerchantPayload; readonly onChainAddressCreate: OnChainAddressPayload; readonly onChainAddressCurrent: OnChainAddressPayload; readonly onChainPaymentSend: PaymentSendPayload; @@ -1146,6 +1173,11 @@ export type MutationLnurlPaymentSendArgs = { }; +export type MutationMerchantMapSuggestArgs = { + input: MerchantMapSuggestInput; +}; + + export type MutationOnChainAddressCreateArgs = { input: OnChainAddressCreateInput; }; @@ -7219,6 +7251,9 @@ export type ResolversTypes = { MapInfo: ResolverTypeWrapper; MapMarker: ResolverTypeWrapper; Memo: ResolverTypeWrapper; + Merchant: ResolverTypeWrapper; + MerchantMapSuggestInput: MerchantMapSuggestInput; + MerchantPayload: ResolverTypeWrapper; Minutes: ResolverTypeWrapper; MobileVersions: ResolverTypeWrapper; Mutation: ResolverTypeWrapper<{}>; @@ -7433,6 +7468,9 @@ export type ResolversParentTypes = { MapInfo: MapInfo; MapMarker: MapMarker; Memo: Scalars['Memo']['output']; + Merchant: Merchant; + MerchantMapSuggestInput: MerchantMapSuggestInput; + MerchantPayload: MerchantPayload; Minutes: Scalars['Minutes']['output']; MobileVersions: MobileVersions; Mutation: {}; @@ -7968,6 +8006,22 @@ export interface MemoScalarConfig extends GraphQLScalarTypeConfig = { + coordinates?: Resolver; + createdAt?: Resolver; + id?: Resolver; + title?: Resolver; + username?: Resolver; + validated?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type MerchantPayloadResolvers = { + errors?: Resolver, ParentType, ContextType>; + merchant?: Resolver, ParentType, ContextType>; + __isTypeOf?: IsTypeOfResolverFn; +}; + export interface MinutesScalarConfig extends GraphQLScalarTypeConfig { name: 'Minutes'; } @@ -8013,6 +8067,7 @@ export type MutationResolvers>; lnUsdInvoiceFeeProbe?: Resolver>; lnurlPaymentSend?: Resolver>; + merchantMapSuggest?: Resolver>; onChainAddressCreate?: Resolver>; onChainAddressCurrent?: Resolver>; onChainPaymentSend?: Resolver>; @@ -8598,6 +8653,8 @@ export type Resolvers = { MapInfo?: MapInfoResolvers; MapMarker?: MapMarkerResolvers; Memo?: GraphQLScalarType; + Merchant?: MerchantResolvers; + MerchantPayload?: MerchantPayloadResolvers; Minutes?: GraphQLScalarType; MobileVersions?: MobileVersionsResolvers; Mutation?: MutationResolvers; diff --git a/ios/Podfile.lock b/ios/Podfile.lock index ef3ad539b2..1957c0658e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -952,7 +952,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AppCheckCore: 4687c03428947d5b26a6bf9bb5566b39f5473bf1 - boost: 64032b9e9b938fda23325e68a3771f0fabf414dc + boost: 57d2868c099736d80fcd648bf211b4431e51a558 BVLinearGradient: 880f91a7854faff2df62518f0281afb1c60d49a3 DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 FBLazyVector: 5fbbff1d7734827299274638deb8ba3024f6c597