xync-schema 0.6.74__py3-none-any.whl → 0.6.76__py3-none-any.whl
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.
- xync_schema/models.py +6 -1
- {xync_schema-0.6.74.dist-info → xync_schema-0.6.76.dist-info}/METADATA +1 -1
- xync_schema-0.6.76.dist-info/RECORD +8 -0
- xync_schema-0.6.74.dist-info/RECORD +0 -8
- {xync_schema-0.6.74.dist-info → xync_schema-0.6.76.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.74.dist-info → xync_schema-0.6.76.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
|
@@ -104,7 +104,7 @@ class Curex(BaseModel):
|
|
|
104
104
|
cur: fields.ForeignKeyRelation[Cur] = fields.ForeignKeyField("models.Cur")
|
|
105
105
|
ex: fields.ForeignKeyRelation[Ex] = fields.ForeignKeyField("models.Ex")
|
|
106
106
|
exid: str = fields.CharField(32)
|
|
107
|
-
minimum: int = fields.
|
|
107
|
+
minimum: int = fields.IntField(null=True)
|
|
108
108
|
rounding_scale: int = fields.SmallIntField(null=True)
|
|
109
109
|
countries: fields.ManyToManyRelation[Country] = fields.ManyToManyField(
|
|
110
110
|
"models.Country", through="curexcountry", backward_key="curexs"
|
|
@@ -188,6 +188,10 @@ class User(UserTg, TsTrait):
|
|
|
188
188
|
"models.User", related_name="proteges", null=True
|
|
189
189
|
)
|
|
190
190
|
ref_id: int | None
|
|
191
|
+
contacted_with: fields.ForeignKeyNullableRelation["User"] = fields.ForeignKeyField(
|
|
192
|
+
"models.User", related_name="contacts", null=True
|
|
193
|
+
) # who can texts this user
|
|
194
|
+
contacted_with_id: int | None
|
|
191
195
|
|
|
192
196
|
forum: fields.BackwardOneToOneRelation["Forum"]
|
|
193
197
|
created_forums: fields.BackwardFKRelation["Forum"]
|
|
@@ -197,6 +201,7 @@ class User(UserTg, TsTrait):
|
|
|
197
201
|
# fiats: fields.BackwardFKRelation["Fiat"]
|
|
198
202
|
limits: fields.BackwardFKRelation["Limit"]
|
|
199
203
|
msgs: fields.BackwardFKRelation["Msg"]
|
|
204
|
+
contacts: fields.BackwardFKRelation["User"]
|
|
200
205
|
# vpn: fields.BackwardOneToOneRelation["Vpn"]
|
|
201
206
|
# invite_requests: fields.BackwardFKRelation["Invite"]
|
|
202
207
|
# invite_approvals: fields.BackwardFKRelation["Invite"]
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=LJme_4FsisEjXX3sDsvfB8xi6Lt0xe27FNRHEYzOUmg,12683
|
|
3
|
+
xync_schema/models.py,sha256=CTeBehdTZwKcP2ZVR6ko4Vk8lkC1kr8ZHgiAIXzc76Y,27636
|
|
4
|
+
xync_schema/types.py,sha256=jubMlsGkaLpv1QZrInP0sEKW8SgWa6TyHENDz8OEvDM,1737
|
|
5
|
+
xync_schema-0.6.76.dist-info/METADATA,sha256=EbkXfFx-uMvbfoU0IdEazCcQCe_ieo1AU8_wwcGIIMk,4055
|
|
6
|
+
xync_schema-0.6.76.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
+
xync_schema-0.6.76.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.76.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=LJme_4FsisEjXX3sDsvfB8xi6Lt0xe27FNRHEYzOUmg,12683
|
|
3
|
-
xync_schema/models.py,sha256=if3H8crewcqlBJVcflOyDM3mH_dLn-IdBr1hugwa7yE,27380
|
|
4
|
-
xync_schema/types.py,sha256=jubMlsGkaLpv1QZrInP0sEKW8SgWa6TyHENDz8OEvDM,1737
|
|
5
|
-
xync_schema-0.6.74.dist-info/METADATA,sha256=i4wCIkrT1YM9uhlJahqlXVxJI7APRFDRf-Dhk3EyRrQ,4055
|
|
6
|
-
xync_schema-0.6.74.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
7
|
-
xync_schema-0.6.74.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.74.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|