chore: make apis nullable (#7763)
what: - makes top level attributes of each object an optional field in the http layer where possible RESOLVES CORE-2229
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { OrderEdit } from "@medusajs/medusa"
|
||||
import { DataSource } from "typeorm"
|
||||
import { OrderFactoryData, simpleOrderFactory } from "./simple-order-factory"
|
||||
import { OrderEdit } from "@medusajs/medusa"
|
||||
|
||||
export type OrderEditFactoryData = {
|
||||
id?: string
|
||||
order?: OrderFactoryData
|
||||
order_id?: string
|
||||
internal_note?: string
|
||||
internal_note?: string | null
|
||||
declined_reason?: string
|
||||
payment_collection_id?: string
|
||||
confirmed_at?: Date | string
|
||||
|
||||
Reference in New Issue
Block a user