Squashed 'common/' content from commit 28b2939
git-subtree-dir: common git-subtree-split: 28b2939037b5932ca5d5a6c734b292c012ac675f
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
"""Pydantic v2 schemas for inter-service API contracts."""
|
||||
|
||||
from cartsnitch_common.schemas.coupon import CouponCreate, CouponRead
|
||||
from cartsnitch_common.schemas.events import EventEnvelope
|
||||
from cartsnitch_common.schemas.price import PriceHistoryCreate, PriceHistoryRead
|
||||
from cartsnitch_common.schemas.product import NormalizedProductCreate, NormalizedProductRead
|
||||
from cartsnitch_common.schemas.purchase import (
|
||||
PurchaseCreate,
|
||||
PurchaseItemCreate,
|
||||
PurchaseItemRead,
|
||||
PurchaseRead,
|
||||
)
|
||||
from cartsnitch_common.schemas.shrinkflation import ShrinkflationEventCreate, ShrinkflationEventRead
|
||||
from cartsnitch_common.schemas.store import (
|
||||
StoreCreate,
|
||||
StoreLocationCreate,
|
||||
StoreLocationRead,
|
||||
StoreRead,
|
||||
)
|
||||
from cartsnitch_common.schemas.user import (
|
||||
UserCreate,
|
||||
UserRead,
|
||||
UserStoreAccountCreate,
|
||||
UserStoreAccountRead,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"StoreCreate",
|
||||
"StoreRead",
|
||||
"StoreLocationCreate",
|
||||
"StoreLocationRead",
|
||||
"UserCreate",
|
||||
"UserRead",
|
||||
"UserStoreAccountCreate",
|
||||
"UserStoreAccountRead",
|
||||
"PurchaseCreate",
|
||||
"PurchaseRead",
|
||||
"PurchaseItemCreate",
|
||||
"PurchaseItemRead",
|
||||
"NormalizedProductCreate",
|
||||
"NormalizedProductRead",
|
||||
"PriceHistoryCreate",
|
||||
"PriceHistoryRead",
|
||||
"CouponCreate",
|
||||
"CouponRead",
|
||||
"ShrinkflationEventCreate",
|
||||
"ShrinkflationEventRead",
|
||||
"EventEnvelope",
|
||||
]
|
||||
Reference in New Issue
Block a user