Files
medusa-store/www/utils/generated/oas-output/schemas/AdminProductImage.ts
2025-10-31 16:15:46 +02:00

54 lines
1.3 KiB
TypeScript

/**
* @schema AdminProductImage
* type: object
* description: The image's details.
* x-schemaName: AdminProductImage
* properties:
* id:
* type: string
* title: id
* description: The image's ID.
* url:
* type: string
* title: url
* description: The image's URL.
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The date the image was created.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The date the image was updated.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The date the image was deleted.
* metadata:
* type: object
* description: The image's metadata, can hold custom key-value pairs.
* externalDocs:
* url: https://docs.medusajs.com/api/admin#manage-metadata
* description: Learn how to manage metadata
* rank:
* type: number
* title: rank
* description: The image's rank among sibling images.
* product:
* $ref: "#/components/schemas/AdminProduct"
* variants:
* type: array
* description: The variants associated with the image.
* items:
* $ref: "#/components/schemas/AdminProductVariant"
* required:
* - id
* - url
* - rank
*
*/