Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion platforms/swift/Mintfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
realm/SwiftLint@0.63.2
realm/SwiftLint@0.63.3
nicklockwood/SwiftFormat@0.61.1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ extension Storefront {
.field("groupType", GraphQLEnum<Storefront.CartDeliveryGroupType>.self),
.field("deliveryAddress", DeliveryAddress.self),
.field("deliveryOptions", [DeliveryOption].self),
.field("selectedDeliveryOption", SelectedDeliveryOption?.self),
.field("selectedDeliveryOption", SelectedDeliveryOption?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.self
Expand Down Expand Up @@ -55,7 +55,7 @@ extension Storefront {
.field("lastName", String?.self),
.field("phone", String?.self),
.field("province", String?.self),
.field("zip", String?.self),
.field("zip", String?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.DeliveryAddress.self
Expand Down Expand Up @@ -100,7 +100,7 @@ extension Storefront {
.field("code", String?.self),
.field("deliveryMethodType", GraphQLEnum<Storefront.DeliveryMethodType>.self),
.field("description", String?.self),
.field("estimatedCost", EstimatedCost.self),
.field("estimatedCost", EstimatedCost.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.DeliveryOption.self
Expand Down Expand Up @@ -130,7 +130,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.DeliveryOption.EstimatedCost.self
Expand All @@ -156,7 +156,7 @@ extension Storefront {
.field("description", String?.self),
.field("title", String?.self),
.field("handle", String.self),
.field("estimatedCost", EstimatedCost.self),
.field("estimatedCost", EstimatedCost.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.SelectedDeliveryOption.self
Expand All @@ -182,7 +182,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartDeliveryGroupFragment.SelectedDeliveryOption.EstimatedCost.self
Expand All @@ -196,4 +196,4 @@ extension Storefront {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension Storefront {
.field("buyerIdentity", BuyerIdentity.self),
.field("deliveryGroups", DeliveryGroups.self, arguments: ["first": 10]),
.field("lines", Lines.self, arguments: ["first": 250]),
.field("cost", Cost.self),
.field("cost", Cost.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.self
Expand Down Expand Up @@ -56,7 +56,7 @@ extension Storefront {
.field("__typename", String.self),
.field("email", String?.self),
.field("phone", String?.self),
.field("customer", Customer?.self),
.field("customer", Customer?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.BuyerIdentity.self
Expand All @@ -80,7 +80,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("email", String?.self),
.field("phone", String?.self),
.field("phone", String?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.BuyerIdentity.Customer.self
Expand All @@ -103,7 +103,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.CartDeliveryGroupConnection }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("nodes", [Node].self),
.field("nodes", [Node].self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.DeliveryGroups.self
Expand All @@ -122,7 +122,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.CartDeliveryGroup }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartDeliveryGroupFragment.self),
.fragment(CartDeliveryGroupFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.DeliveryGroups.Node.self,
Expand Down Expand Up @@ -165,7 +165,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.BaseCartLineConnection }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("nodes", [Node].self),
.field("nodes", [Node].self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Lines.self
Expand All @@ -184,7 +184,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Interfaces.BaseCartLine }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartLineFragment.self),
.fragment(CartLineFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Lines.Node.self,
Expand Down Expand Up @@ -225,7 +225,7 @@ extension Storefront {
.field("__typename", String.self),
.field("totalAmount", TotalAmount.self),
.field("subtotalAmount", SubtotalAmount.self),
.field("totalTaxAmount", TotalTaxAmount?.self),
.field("totalTaxAmount", TotalTaxAmount?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Cost.self
Expand All @@ -250,7 +250,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Cost.TotalAmount.self
Expand All @@ -273,7 +273,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Cost.SubtotalAmount.self
Expand All @@ -296,7 +296,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartFragment.Cost.TotalTaxAmount.self
Expand All @@ -310,4 +310,4 @@ extension Storefront {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension Storefront {
.field("id", Storefront.ID.self),
.field("quantity", Int.self),
.field("merchandise", Merchandise.self),
.field("cost", Cost.self),
.field("cost", Cost.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.self
Expand All @@ -44,7 +44,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Unions.Merchandise }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.inlineFragment(AsProductVariant.self),
.inlineFragment(AsProductVariant.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.self
Expand All @@ -67,7 +67,7 @@ extension Storefront {
.field("image", Image?.self),
.field("price", Price.self),
.field("product", Product.self),
.field("requiresShipping", Bool.self),
.field("requiresShipping", Bool.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.self,
Expand Down Expand Up @@ -97,7 +97,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.Image }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("url", Storefront.URL.self),
.field("url", Storefront.URL.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.AsProductVariant.Image.self
Expand All @@ -124,7 +124,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.AsProductVariant.Price.self
Expand All @@ -148,7 +148,7 @@ extension Storefront {
.field("__typename", String.self),
.field("title", String.self),
.field("vendor", String.self),
.field("featuredImage", FeaturedImage?.self),
.field("featuredImage", FeaturedImage?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.AsProductVariant.Product.self
Expand All @@ -174,7 +174,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.Image }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("url", Storefront.URL.self),
.field("url", Storefront.URL.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Merchandise.AsProductVariant.Product.FeaturedImage.self
Expand Down Expand Up @@ -203,7 +203,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.CartLineCost }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("totalAmount", TotalAmount.self),
.field("totalAmount", TotalAmount.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Cost.self
Expand All @@ -223,7 +223,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("amount", Storefront.Decimal.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self),
.field("currencyCode", GraphQLEnum<Storefront.CurrencyCode>.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLineFragment.Cost.TotalAmount.self
Expand All @@ -237,4 +237,4 @@ extension Storefront {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ extension Storefront {
.field("__typename", String.self),
.field("code", GraphQLEnum<Storefront.CartErrorCode>?.self),
.field("message", String.self),
.field("field", [String]?.self),
.field("field", [String]?.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartUserErrorFragment.self
Expand All @@ -32,4 +32,4 @@ extension Storefront {
var field: [String]? { __data["field"] }
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extension Storefront {

static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.Mutation }
static var __selections: [ApolloAPI.Selection] { [
.field("cartCreate", CartCreate?.self, arguments: ["input": .variable("input")]),
.field("cartCreate", CartCreate?.self, arguments: ["input": .variable("input")])
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartCreateMutation.Data.self
Expand All @@ -61,7 +61,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("cart", Cart?.self),
.field("userErrors", [UserError].self),
.field("userErrors", [UserError].self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartCreateMutation.Data.CartCreate.self
Expand All @@ -82,7 +82,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.Cart }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartFragment.self),
.fragment(CartFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartCreateMutation.Data.CartCreate.Cart.self,
Expand Down Expand Up @@ -131,7 +131,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.CartUserError }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartUserErrorFragment.self),
.fragment(CartUserErrorFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartCreateMutation.Data.CartCreate.UserError.self,
Expand All @@ -156,4 +156,4 @@ extension Storefront {
}
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ extension Storefront {
.field("cartLinesAdd", CartLinesAdd?.self, arguments: [
"cartId": .variable("cartId"),
"lines": .variable("lines")
]),
])
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLinesAddMutation.Data.self
Expand All @@ -68,7 +68,7 @@ extension Storefront {
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.field("cart", Cart?.self),
.field("userErrors", [UserError].self),
.field("userErrors", [UserError].self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLinesAddMutation.Data.CartLinesAdd.self
Expand All @@ -89,7 +89,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.Cart }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartFragment.self),
.fragment(CartFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLinesAddMutation.Data.CartLinesAdd.Cart.self,
Expand Down Expand Up @@ -138,7 +138,7 @@ extension Storefront {
static var __parentType: any ApolloAPI.ParentType { Storefront.Objects.CartUserError }
static var __selections: [ApolloAPI.Selection] { [
.field("__typename", String.self),
.fragment(CartUserErrorFragment.self),
.fragment(CartUserErrorFragment.self)
] }
static var __fulfilledFragments: [any ApolloAPI.SelectionSet.Type] { [
CartLinesAddMutation.Data.CartLinesAdd.UserError.self,
Expand All @@ -163,4 +163,4 @@ extension Storefront {
}
}

}
}
Loading