unitysvc-core 0.2.1__tar.gz → 0.2.2__tar.gz
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.
- {unitysvc_core-0.2.1/src/unitysvc_core.egg-info → unitysvc_core-0.2.2}/PKG-INFO +1 -1
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/pyproject.toml +1 -1
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/service.py +13 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2/src/unitysvc_core.egg-info}/PKG-INFO +1 -1
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/LICENSE +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/README.md +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/setup.cfg +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/__init__.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/__init__.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/base.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/documents.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/listing_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/listing_v1.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/offering_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/offering_v1.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/pricing.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/promotion_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/provider_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/provider_v1.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/service_group_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/models/validators.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/py.typed +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/base.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/listing_v1.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/offering_v1.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/promotion_v1.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/provider_v1.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/schema/service_group_v1.json +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/utils.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core/validator.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/SOURCES.txt +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/dependency_links.txt +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/requires.txt +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/src/unitysvc_core.egg-info/top_level.txt +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_pricing.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_service_data.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_service_group.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_utils.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_validator.py +0 -0
- {unitysvc_core-0.2.1 → unitysvc_core-0.2.2}/tests/test_validators.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "unitysvc-core"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.2"
|
|
8
8
|
description = "Shared data models and validation helpers for UnitySVC packages"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Bo Peng", email = "bo.peng@unitysvc.com" }]
|
|
@@ -200,3 +200,16 @@ class ServiceData(BaseModel):
|
|
|
200
200
|
default=None,
|
|
201
201
|
description="When the service was first created (informational provenance).",
|
|
202
202
|
)
|
|
203
|
+
|
|
204
|
+
template_instance_id: UUID | None = Field(
|
|
205
|
+
default=None,
|
|
206
|
+
description=(
|
|
207
|
+
"Set when the service was published from a seller TemplateInstance "
|
|
208
|
+
"(the seller-instances flow). Like ``service_id`` it is consumed on "
|
|
209
|
+
"the way *in* to declare the operation — with no ``service_id`` it "
|
|
210
|
+
"creates a service from the template (the backend pins the form's "
|
|
211
|
+
"service_id); with one it updates an existing template-generated "
|
|
212
|
+
"service — and echoed on the way *out* so ``service.json`` records "
|
|
213
|
+
"the template association. Absent for plain (non-template) services."
|
|
214
|
+
),
|
|
215
|
+
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|