f3-data-models 0.2.2__py3-none-any.whl → 0.2.4__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.
f3_data_models/models.py
CHANGED
@@ -508,9 +508,10 @@ class Location(Base):
|
|
508
508
|
description: Mapped[Optional[text]]
|
509
509
|
is_active: Mapped[bool]
|
510
510
|
email: Mapped[Optional[str]]
|
511
|
-
|
512
|
-
|
511
|
+
latitude: Mapped[Optional[float]]
|
512
|
+
longitude: Mapped[Optional[float]]
|
513
513
|
address_street: Mapped[Optional[str]]
|
514
|
+
address_street2: Mapped[Optional[str]]
|
514
515
|
address_city: Mapped[Optional[str]]
|
515
516
|
address_state: Mapped[Optional[str]]
|
516
517
|
address_zip: Mapped[Optional[str]]
|
@@ -691,6 +692,7 @@ class User(Base):
|
|
691
692
|
home_region_id: Mapped[Optional[int]] = mapped_column(ForeignKey("orgs.id"))
|
692
693
|
avatar_url: Mapped[Optional[str]]
|
693
694
|
meta: Mapped[Optional[Dict[str, Any]]]
|
695
|
+
email_verified_ts: Mapped[Optional[datetime]]
|
694
696
|
created: Mapped[dt_create]
|
695
697
|
updated: Mapped[dt_update]
|
696
698
|
|
@@ -947,54 +949,6 @@ class Expansion_x_User(Base):
|
|
947
949
|
notes: Mapped[Optional[text]]
|
948
950
|
|
949
951
|
|
950
|
-
class MagicLinkAuthRecord(Base):
|
951
|
-
"""
|
952
|
-
Model representing a Magic Link Auth Record.
|
953
|
-
|
954
|
-
Attributes:
|
955
|
-
id (int): Primary Key of the model.
|
956
|
-
email (str): The email of the user.
|
957
|
-
otp_hash (bytes): The hash of the OTP.
|
958
|
-
created (datetime): The timestamp when the record was created.
|
959
|
-
expiration (datetime): The timestamp when the record expires.
|
960
|
-
client_ip (str): The client IP address.
|
961
|
-
recent_attempts (int): The number of recent attempts.
|
962
|
-
"""
|
963
|
-
|
964
|
-
__tablename__ = "magiclinkauthrecord"
|
965
|
-
|
966
|
-
id: Mapped[intpk]
|
967
|
-
email: Mapped[str]
|
968
|
-
otp_hash: Mapped[bytes]
|
969
|
-
created: Mapped[dt_create]
|
970
|
-
expiration: Mapped[dt_create]
|
971
|
-
client_ip: Mapped[str]
|
972
|
-
recent_attempts: Mapped[int]
|
973
|
-
|
974
|
-
|
975
|
-
class MagicLinkAuthSession(Base):
|
976
|
-
"""
|
977
|
-
Model representing a Magic Link Auth Session.
|
978
|
-
|
979
|
-
Attributes:
|
980
|
-
id (int): Primary Key of the model.
|
981
|
-
email (str): The email of the user.
|
982
|
-
persistent_id (str): The persistent ID.
|
983
|
-
session_token (str): The session token.
|
984
|
-
created (datetime): The timestamp when the record was created.
|
985
|
-
expiration (datetime): The timestamp when the record expires.
|
986
|
-
"""
|
987
|
-
|
988
|
-
__tablename__ = "magiclinkauthsession"
|
989
|
-
|
990
|
-
id: Mapped[intpk]
|
991
|
-
email: Mapped[str]
|
992
|
-
persistent_id: Mapped[str]
|
993
|
-
session_token: Mapped[str]
|
994
|
-
created: Mapped[dt_create]
|
995
|
-
expiration: Mapped[dt_create]
|
996
|
-
|
997
|
-
|
998
952
|
# class Org_x_SlackChannel(Base):
|
999
953
|
# """
|
1000
954
|
# Model representing the association between organizations (specifically AOs) and Slack channels.
|
@@ -1010,3 +964,23 @@ class MagicLinkAuthSession(Base):
|
|
1010
964
|
# slack_channel_id: Mapped[str] = mapped_column(
|
1011
965
|
# primary_key=True
|
1012
966
|
# ) # Do we need a slack channel table?
|
967
|
+
|
968
|
+
# class SlackSpaceLog(Base):
|
969
|
+
# """
|
970
|
+
# Model representing a log of Slack space events.
|
971
|
+
|
972
|
+
# Attributes:
|
973
|
+
# id (int): Primary Key of the model.
|
974
|
+
# slack_space_id (int): The ID of the associated Slack space.
|
975
|
+
# event (str): The event that occurred.
|
976
|
+
# data (Optional[Dict[str, Any]]): Additional data for the log.
|
977
|
+
# created (datetime): The timestamp when the record was created.
|
978
|
+
# """
|
979
|
+
|
980
|
+
# __tablename__ = "slack_space_logs"
|
981
|
+
|
982
|
+
# id: Mapped[intpk]
|
983
|
+
# slack_space_id: Mapped[int] = mapped_column(ForeignKey("slack_spaces.id"))
|
984
|
+
# event: Mapped[str]
|
985
|
+
# data: Mapped[Optional[Dict[str, Any]]]
|
986
|
+
# created: Mapped[dt_create]
|
@@ -0,0 +1,6 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=jligUwq8FsGhGFrBu0N9KBe4mTUoS_GZXYc5WkYRnWU,36810
|
3
|
+
f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
|
4
|
+
f3_data_models-0.2.4.dist-info/METADATA,sha256=SzDwnbueK5MsvvVH1Ly-iDnLt973nvvsK0uPd2rP0uw,2658
|
5
|
+
f3_data_models-0.2.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
6
|
+
f3_data_models-0.2.4.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
f3_data_models/models.py,sha256=C6XHs-cHZxu6SLG3mMwN86_DGpf8kmWcC6klLA_S3Ug,37429
|
3
|
-
f3_data_models/utils.py,sha256=1hdZ2tvMiNibNZvwt0dx4PhPCw_pJGg1mG2cCvwc6CI,8857
|
4
|
-
f3_data_models-0.2.2.dist-info/METADATA,sha256=0t49rFZGWKaw4V0rKEd38AzPh46oxzfK98-5u01PFwQ,2658
|
5
|
-
f3_data_models-0.2.2.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
6
|
-
f3_data_models-0.2.2.dist-info/RECORD,,
|
File without changes
|