@lssm/example.marketplace 0.0.0-canary-20251212230121 → 0.0.0-canary-20251213172311
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/example.js +1 -0
- package/dist/index.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -1
package/dist/example.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={id:`marketplace`,title:`Marketplace (2-sided)`,summary:`Two-sided marketplace with stores, products, orders, payouts, and reviews (multi-actor flows).`,tags:[`marketplace`,`orders`,`payouts`,`reviews`],kind:`template`,visibility:`public`,docs:{rootDocId:`docs.examples.marketplace`,goalDocId:`docs.examples.marketplace.goal`,usageDocId:`docs.examples.marketplace.usage`,constraintsDocId:`docs.examples.marketplace.constraints`},entrypoints:{packageName:`@lssm/example.marketplace`,feature:`./feature`,contracts:`./contracts`,presentations:`./presentations`,handlers:`./handlers`,docs:`./docs`},surfaces:{templates:!0,sandbox:{enabled:!0,modes:[`playground`,`specs`,`builder`,`markdown`,`evolution`]},studio:{enabled:!0,installable:!0},mcp:{enabled:!0}}};export{e as default};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{InventoryUpdatedEvent as e,MarketplaceEvents as t,OrderCompletedEvent as n,OrderCreatedEvent as r,OrderPaidEvent as i,OrderShippedEvent as a,OrderStatusUpdatedEvent as o,PayoutCreatedEvent as s,PayoutPaidEvent as c,ProductCreatedEvent as l,ProductPublishedEvent as u,ReviewCreatedEvent as d,ReviewRespondedEvent as f,StoreCreatedEvent as p,StoreStatusChangedEvent as m}from"./events.js";import{MarketplaceFeature as
|
|
1
|
+
import{InventoryUpdatedEvent as e,MarketplaceEvents as t,OrderCompletedEvent as n,OrderCreatedEvent as r,OrderPaidEvent as i,OrderShippedEvent as a,OrderStatusUpdatedEvent as o,PayoutCreatedEvent as s,PayoutPaidEvent as c,ProductCreatedEvent as l,ProductPublishedEvent as u,ReviewCreatedEvent as d,ReviewRespondedEvent as f,StoreCreatedEvent as p,StoreStatusChangedEvent as m}from"./events.js";import h from"./example.js";import{MarketplaceFeature as g}from"./feature.js";import{StoreCategoryEntity as _,StoreEntity as v,StoreStatusEnum as y,StoreTypeEnum as b}from"./entities/store.js";import{CategoryEntity as x,ProductEntity as S,ProductStatusEnum as C,ProductTypeEnum as w,ProductVariantEntity as T}from"./entities/product.js";import{OrderEntity as E,OrderItemEntity as D,OrderStatusEnum as O,PaymentStatusEnum as k,RefundEntity as A,RefundItemEntity as j}from"./entities/order.js";import{BankAccountEntity as M,PayoutEntity as N,PayoutItemEntity as P,PayoutScheduleEnum as F,PayoutSettingsEntity as I,PayoutStatusEnum as L}from"./entities/payout.js";import{ReviewEntity as R,ReviewReportEntity as z,ReviewResponseEntity as B,ReviewStatusEnum as V,ReviewTypeEnum as H,ReviewVoteEntity as U}from"./entities/review.js";import{marketplaceEntities as W,marketplaceSchemaContribution as G}from"./entities/index.js";import{CreateOrderContract as K,CreateOrderInputModel as q,CreateProductContract as J,CreateProductInputModel as Y,CreateReviewContract as X,CreateReviewInputModel as Z,CreateStoreContract as Q,CreateStoreInputModel as $,ListPayoutsContract as ee,ListPayoutsInputModel as te,ListPayoutsOutputModel as ne,ListProductsContract as re,ListProductsInputModel as ie,ListProductsOutputModel as ae,ListReviewsContract as oe,ListReviewsInputModel as se,ListReviewsOutputModel as ce,OrderItemModel as le,OrderModel as ue,PayoutModel as de,ProductModel as fe,ReviewModel as pe,StoreModel as me,UpdateOrderStatusContract as he,UpdateOrderStatusInputModel as ge}from"./contracts/index.js";import{calculateCommission as _e,calculateRatingStats as ve,generateOrderNumber as ye,generatePayoutNumber as be,handleCreateOrder as xe,handleCreateProduct as Se,handleCreateReview as Ce,handleCreateStore as we,mockMarketplaceStore as Te}from"./handlers/index.js";import{CheckoutPresentation as Ee,MarketplacePresentations as De,OrderDetailPresentation as Oe,OrderListPresentation as ke,PayoutDetailPresentation as Ae,PayoutListPresentation as je,ProductCatalogPresentation as Me,ProductDetailPresentation as Ne,ProductEditorPresentation as Pe,ReviewFormPresentation as Fe,ReviewListPresentation as Ie,SellerDashboardPresentation as Le,StoreProfilePresentation as Re}from"./presentations/index.js";import"./docs/index.js";import{identityRbacSchemaContribution as ze}from"@lssm/lib.identity-rbac";import{auditTrailSchemaContribution as Be}from"@lssm/module.audit-trail";import{notificationsSchemaContribution as Ve}from"@lssm/module.notifications";import{filesSchemaContribution as He}from"@lssm/lib.files";import{meteringSchemaContribution as Ue}from"@lssm/lib.metering";const We={modules:[ze,Be,Ve,He,Ue,G],provider:`postgresql`,outputPath:`./prisma/schema/generated.prisma`};export{M as BankAccountEntity,x as CategoryEntity,Ee as CheckoutPresentation,K as CreateOrderContract,q as CreateOrderInputModel,J as CreateProductContract,Y as CreateProductInputModel,X as CreateReviewContract,Z as CreateReviewInputModel,Q as CreateStoreContract,$ as CreateStoreInputModel,e as InventoryUpdatedEvent,ee as ListPayoutsContract,te as ListPayoutsInputModel,ne as ListPayoutsOutputModel,re as ListProductsContract,ie as ListProductsInputModel,ae as ListProductsOutputModel,oe as ListReviewsContract,se as ListReviewsInputModel,ce as ListReviewsOutputModel,t as MarketplaceEvents,g as MarketplaceFeature,De as MarketplacePresentations,n as OrderCompletedEvent,r as OrderCreatedEvent,Oe as OrderDetailPresentation,E as OrderEntity,D as OrderItemEntity,le as OrderItemModel,ke as OrderListPresentation,ue as OrderModel,i as OrderPaidEvent,a as OrderShippedEvent,O as OrderStatusEnum,o as OrderStatusUpdatedEvent,k as PaymentStatusEnum,s as PayoutCreatedEvent,Ae as PayoutDetailPresentation,N as PayoutEntity,P as PayoutItemEntity,je as PayoutListPresentation,de as PayoutModel,c as PayoutPaidEvent,F as PayoutScheduleEnum,I as PayoutSettingsEntity,L as PayoutStatusEnum,Me as ProductCatalogPresentation,l as ProductCreatedEvent,Ne as ProductDetailPresentation,Pe as ProductEditorPresentation,S as ProductEntity,fe as ProductModel,u as ProductPublishedEvent,C as ProductStatusEnum,w as ProductTypeEnum,T as ProductVariantEntity,A as RefundEntity,j as RefundItemEntity,d as ReviewCreatedEvent,R as ReviewEntity,Fe as ReviewFormPresentation,Ie as ReviewListPresentation,pe as ReviewModel,z as ReviewReportEntity,f as ReviewRespondedEvent,B as ReviewResponseEntity,V as ReviewStatusEnum,H as ReviewTypeEnum,U as ReviewVoteEntity,Le as SellerDashboardPresentation,_ as StoreCategoryEntity,p as StoreCreatedEvent,v as StoreEntity,me as StoreModel,Re as StoreProfilePresentation,m as StoreStatusChangedEvent,y as StoreStatusEnum,b as StoreTypeEnum,he as UpdateOrderStatusContract,ge as UpdateOrderStatusInputModel,_e as calculateCommission,ve as calculateRatingStats,h as example,ye as generateOrderNumber,be as generatePayoutNumber,xe as handleCreateOrder,Se as handleCreateProduct,Ce as handleCreateReview,we as handleCreateStore,W as marketplaceEntities,G as marketplaceSchemaContribution,Te as mockMarketplaceStore,We as schemaComposition};
|