OSS-first docs
These docs teach the open system first: contracts, generated surfaces, runtimes, governance, and incremental adoption. Studio shows up as the operating layer on top, not as the source of truth.
Order detail with items and shipping info
Goal
Display all details of a single order.
Context
Accessed from the order list to see specific items, shipping, and payment details.
Source Definition
import {
definePresentation,
StabilityEnum,
} from '@lssm-tech/lib.contracts-spec';
import { OrderModel } from './order.schema';
export const OrderDetailPresentation = definePresentation({
meta: {
key: 'marketplace.order.detail',
version: '1.0.0',
title: 'Order Details',
description: 'Order detail with items and shipping info',
domain: 'marketplace',
owners: ['@marketplace-team'],
tags: ['marketplace', 'order', 'detail'],
stability: StabilityEnum.Experimental,
goal: 'Display all details of a single order.',
context:
'Accessed from the order list to see specific items, shipping, and payment details.',
},
source: {
type: 'component',
framework: 'react',
componentKey: 'OrderDetail',
props: OrderModel,
},
targets: ['react', 'markdown'],
policy: {
flags: ['marketplace.orders.enabled'],
},
});