diff --git a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx index b825088467..c8a126860b 100644 --- a/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/digital-products/examples/standard/page.mdx @@ -1444,7 +1444,7 @@ class DigitalProductFulfillmentService extends AbstractFulfillmentProviderServic super() } - async getFulfillmentOptions(): Promise[]> { + async getFulfillmentOptions(): Promise { return [ { id: "digital-fulfillment", diff --git a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx index d96af0b90a..d4173a26d8 100644 --- a/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx +++ b/www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx @@ -2268,8 +2268,9 @@ import { Delivery } from "../models/delivery" export type Delivery = InferTypeOf -export type UpdateDelivery = Partial & { +export type UpdateDelivery = Partial> & { id: string; + driver_id?: string } ``` diff --git a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx index 2d3732aea1..4c05aa6abf 100644 --- a/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx +++ b/www/apps/resources/app/recipes/subscriptions/examples/standard/page.mdx @@ -1185,7 +1185,7 @@ const SubscriptionsPage = () => { - + View Order @@ -1363,7 +1363,7 @@ import { } from "@medusajs/ui" import { useEffect, useState } from "react" import { useParams, Link } from "react-router-dom" -import { SubscriptionData } from "../../../types" +import { SubscriptionData } from "../../../types/index.js" const SubscriptionPage = () => { const { id } = useParams() @@ -1394,7 +1394,7 @@ const SubscriptionPage = () => { - {subscription.orders.map((order) => ( + {subscription.orders?.map((order) => ( {order.id} {(new Date(order.created_at)).toDateString()} diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index b205cf21de..db6c03b9fa 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -141,7 +141,7 @@ export const generatedEditDates = { "app/nextjs-starter/page.mdx": "2024-07-01T10:21:19+03:00", "app/recipes/b2b/page.mdx": "2024-10-03T13:07:44.153Z", "app/recipes/commerce-automation/page.mdx": "2024-10-03T13:07:44.147Z", - "app/recipes/digital-products/examples/standard/page.mdx": "2024-10-03T13:07:44.153Z", + "app/recipes/digital-products/examples/standard/page.mdx": "2024-10-04T09:44:55.176Z", "app/recipes/digital-products/page.mdx": "2024-10-03T13:07:44.147Z", "app/recipes/ecommerce/page.mdx": "2024-06-09T15:18:43+02:00", "app/recipes/integrate-ecommerce-stack/page.mdx": "2024-10-03T13:07:44.146Z", @@ -152,7 +152,7 @@ export const generatedEditDates = { "app/recipes/oms/page.mdx": "2024-07-01T10:21:19+03:00", "app/recipes/personalized-products/page.mdx": "2024-10-03T13:07:44.153Z", "app/recipes/pos/page.mdx": "2024-10-03T13:07:13.964Z", - "app/recipes/subscriptions/examples/standard/page.mdx": "2024-10-03T13:07:44.164Z", + "app/recipes/subscriptions/examples/standard/page.mdx": "2024-10-04T11:13:47.459Z", "app/recipes/subscriptions/page.mdx": "2024-10-03T13:07:44.155Z", "app/recipes/page.mdx": "2024-07-11T15:56:41+00:00", "app/service-factory-reference/methods/create/page.mdx": "2024-07-31T17:01:33+03:00", @@ -642,7 +642,7 @@ export const generatedEditDates = { "app/medusa-cli/commands/start/page.mdx": "2024-08-28T10:44:19.952Z", "app/medusa-cli/commands/telemtry/page.mdx": "2024-08-28T11:25:08.553Z", "app/medusa-cli/commands/user/page.mdx": "2024-08-28T10:44:52.489Z", - "app/recipes/marketplace/examples/restaurant-delivery/page.mdx": "2024-10-03T13:07:44.153Z", + "app/recipes/marketplace/examples/restaurant-delivery/page.mdx": "2024-10-04T10:28:51.698Z", "references/types/HttpTypes/interfaces/types.HttpTypes.AdminCreateCustomerGroup/page.mdx": "2024-08-30T00:11:02.074Z", "references/types/HttpTypes/interfaces/types.HttpTypes.AdminCreateReservation/page.mdx": "2024-08-30T00:11:02.342Z", "references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroup/page.mdx": "2024-10-03T00:11:52.871Z",