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.

marketplace.product.editor

Product editor for sellers

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @marketplace-team
  • Tags: marketplace, product, editor
  • File: packages/examples/marketplace/src/product/product.presentation.ts
  • field.key.label
    marketplace.product.editor
    field.version.label
    1.0.0
    field.type.label
    presentation (presentation)
    field.title.label
    marketplace.product.editor
    field.description.label

    Product editor for sellers

  • Type: presentation (presentation)
  • Version: 1.0.0
  • Owners: @marketplace-team
  • Tags: marketplace, product, editor
  • File: packages/examples/marketplace/src/product/product.presentation.ts
  • field.tags.label
    marketplace,product,editor
    field.owners.label
    @marketplace-team
    field.stability.label

    Product editor for sellers

    Goal

    Allow sellers to create and modify product listings.

    Context

    Management tool for store owners.

    Source Definition

    import {
    	definePresentation,
    	StabilityEnum,
    } from '@lssm-tech/lib.contracts-spec';
    import { ProductModel } from './product.schema';
    
    export const ProductEditorPresentation = definePresentation({
    	meta: {
    		key: 'marketplace.product.editor',
    		version: '1.0.0',
    		title: 'Product Editor',
    		description: 'Product editor for sellers',
    		domain: 'marketplace',
    		owners: ['@marketplace-team'],
    		tags: ['marketplace', 'product', 'editor'],
    		stability: StabilityEnum.Experimental,
    		goal: 'Allow sellers to create and modify product listings.',
    		context: 'Management tool for store owners.',
    	},
    	source: {
    		type: 'component',
    		framework: 'react',
    		componentKey: 'ProductEditor',
    		props: ProductModel,
    	},
    	targets: ['react'],
    	policy: {
    		flags: ['marketplace.seller.enabled'],
    	},
    });