xync-schema 0.6.60__py3-none-any.whl → 0.6.61__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 +15 -15
- {xync_schema-0.6.60.dist-info → xync_schema-0.6.61.dist-info}/METADATA +1 -1
- xync_schema-0.6.61.dist-info/RECORD +8 -0
- xync_schema-0.6.60.dist-info/RECORD +0 -8
- {xync_schema-0.6.60.dist-info → xync_schema-0.6.61.dist-info}/WHEEL +0 -0
- {xync_schema-0.6.60.dist-info → xync_schema-0.6.61.dist-info}/top_level.txt +0 -0
xync_schema/models.py
CHANGED
|
@@ -539,21 +539,21 @@ class TestEx(Model):
|
|
|
539
539
|
max_recursion: int = 2
|
|
540
540
|
|
|
541
541
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
542
|
+
class Vpn(Model):
|
|
543
|
+
user: fields.OneToOneRelation[User] = fields.OneToOneField("models.User", related_name="vpn")
|
|
544
|
+
user_id: int
|
|
545
|
+
priv: str = fields.CharField(63, unique=True)
|
|
546
|
+
pub: str = fields.CharField(63, unique=True)
|
|
547
|
+
created_at: datetime | None = DatetimeSecField(auto_now_add=True)
|
|
548
|
+
|
|
549
|
+
_icon = "vpn"
|
|
550
|
+
_name = {"pub"}
|
|
551
|
+
|
|
552
|
+
def repr(self, *args):
|
|
553
|
+
return self.user.username
|
|
554
|
+
|
|
555
|
+
class Meta:
|
|
556
|
+
table_description = "VPNs"
|
|
557
557
|
|
|
558
558
|
|
|
559
559
|
# class Invite(Model, TsTrait):
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
xync_schema/enums.py,sha256=la85coRbxXL0HiAgJYpOU4Yyf_atVp6DZSlAV3ICvEk,12207
|
|
3
|
+
xync_schema/models.py,sha256=nnepOrmGJ2mtHP2GZuoFBDYzJPB6aizvYoiylIoJp_g,22315
|
|
4
|
+
xync_schema/pydantic.py,sha256=GMAmbexmvLt2FOSS0Y6oNejdCdioi2Noci3yDCeEB20,764
|
|
5
|
+
xync_schema-0.6.61.dist-info/METADATA,sha256=ZMFex9Kd6t3gQ3kRQm3n_B-uuJbC-gXISsUh4iP6POI,3985
|
|
6
|
+
xync_schema-0.6.61.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
+
xync_schema-0.6.61.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
+
xync_schema-0.6.61.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
xync_schema/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
xync_schema/enums.py,sha256=la85coRbxXL0HiAgJYpOU4Yyf_atVp6DZSlAV3ICvEk,12207
|
|
3
|
-
xync_schema/models.py,sha256=uGqnvm4bUqivrW9Db6btrvRBCKg17ZOI5TEcAcyAIww,22342
|
|
4
|
-
xync_schema/pydantic.py,sha256=GMAmbexmvLt2FOSS0Y6oNejdCdioi2Noci3yDCeEB20,764
|
|
5
|
-
xync_schema-0.6.60.dist-info/METADATA,sha256=_VIbVIbTxIZpWjhto2QBfktHrXjeuP7qdNcKWIXH75s,3985
|
|
6
|
-
xync_schema-0.6.60.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
7
|
-
xync_schema-0.6.60.dist-info/top_level.txt,sha256=jN8IBDfVY8b85Byyk8v0Gyj_0yLB8FO56WV4EvcXWY4,12
|
|
8
|
-
xync_schema-0.6.60.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|