maleo-identity 0.0.47__py3-none-any.whl → 0.0.50__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.
- maleo_identity/constants/user.py +0 -1
- maleo_identity/enums/user.py +0 -1
- maleo_identity/models/schemas/user.py +1 -1
- maleo_identity/models/tables/user.py +1 -1
- {maleo_identity-0.0.47.dist-info → maleo_identity-0.0.50.dist-info}/METADATA +3 -3
- {maleo_identity-0.0.47.dist-info → maleo_identity-0.0.50.dist-info}/RECORD +8 -8
- {maleo_identity-0.0.47.dist-info → maleo_identity-0.0.50.dist-info}/WHEEL +0 -0
- {maleo_identity-0.0.47.dist-info → maleo_identity-0.0.50.dist-info}/top_level.txt +0 -0
maleo_identity/constants/user.py
CHANGED
|
@@ -11,7 +11,6 @@ class MaleoIdentityUserConstants:
|
|
|
11
11
|
MaleoIdentityUserEnums.IdentifierType.UUID: UUID,
|
|
12
12
|
MaleoIdentityUserEnums.IdentifierType.USERNAME: str,
|
|
13
13
|
MaleoIdentityUserEnums.IdentifierType.EMAIL: str,
|
|
14
|
-
MaleoIdentityUserEnums.IdentifierType.PHONE: str
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
EXPANDABLE_FIELDS_DEPENDENCIES_MAP:Dict[
|
maleo_identity/enums/user.py
CHANGED
|
@@ -27,7 +27,7 @@ class MaleoIdentityUserSchemas:
|
|
|
27
27
|
emails:BaseTypes.OptionalListOfStrings = Field(None, description="Specific emails")
|
|
28
28
|
|
|
29
29
|
class Phone(BaseModel):
|
|
30
|
-
phone:str = Field(..., max_length=15, description="User's
|
|
30
|
+
phone:str = Field(..., min_length=10, max_length=15, pattern=r'^\d{10,15}$', description="User's phone")
|
|
31
31
|
|
|
32
32
|
class OptionalListOfPhones(BaseModel):
|
|
33
33
|
phones:BaseTypes.OptionalListOfStrings = Field(None, description="Specific phones")
|
|
@@ -14,7 +14,7 @@ class UsersTable(MaleoIdentityMetadataManager.Base):
|
|
|
14
14
|
)
|
|
15
15
|
username = Column(name="username", type_=String(50), unique=True, nullable=False)
|
|
16
16
|
email = Column(name="email", type_=String(255), unique=True, nullable=False)
|
|
17
|
-
phone = Column(name="phone", type_=String(15),
|
|
17
|
+
phone = Column(name="phone", type_=String(15), nullable=False)
|
|
18
18
|
password = Column(name="password", type_=String(255), nullable=False)
|
|
19
19
|
profile = relationship(
|
|
20
20
|
"UserProfilesTable",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-identity
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.50
|
|
4
4
|
Summary: MaleoIdentity service package
|
|
5
5
|
Author-email: Agra Bima Yuda <agra@nexmedis.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Requires-Python: >=3.7
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: maleo_foundation>=0.2.
|
|
10
|
-
Requires-Dist: maleo_metadata>=0.1.
|
|
9
|
+
Requires-Dist: maleo_foundation>=0.2.68
|
|
10
|
+
Requires-Dist: maleo_metadata>=0.1.12
|
|
11
11
|
|
|
12
12
|
# README #
|
|
13
13
|
|
|
@@ -12,7 +12,7 @@ maleo_identity/client/services/user.py,sha256=vOH_QcEVzXH_ZJM67hQlW3jl_l0RCW50Ci
|
|
|
12
12
|
maleo_identity/constants/__init__.py,sha256=EyuYkmm-m27VYwjrTjBKcB3iH78y48v2qDaie33WyiE,913
|
|
13
13
|
maleo_identity/constants/organization.py,sha256=M5STqi5WMtT6kfNbB4BnQ1gEdQvU-l9dc9MiJCKzO_o,484
|
|
14
14
|
maleo_identity/constants/organization_role.py,sha256=pUcxF2h5cH1j7JzObVKEp0l6Bz3Uoe7isZ-r5ere6Og,919
|
|
15
|
-
maleo_identity/constants/user.py,sha256=
|
|
15
|
+
maleo_identity/constants/user.py,sha256=ppBZF2KB9_mG0IrOjZRdWlel6wvCNxQIzCryOi9BjX4,855
|
|
16
16
|
maleo_identity/constants/user_organization.py,sha256=HiGOdWo3ggjWLPZiiptqIanEGJC2gmZ_QNGxfN3-HwI,1417
|
|
17
17
|
maleo_identity/constants/user_organization_role.py,sha256=MZhiOe7arS3ii9iqlMbRvqbKINSrIl0OaC8EhPGgOOE,1470
|
|
18
18
|
maleo_identity/constants/user_profile.py,sha256=vH4lqNzN3k8Fur10UR_PUHYT544eYtjE3ZN8SGs4KNs,734
|
|
@@ -21,7 +21,7 @@ maleo_identity/enums/__init__.py,sha256=PjCbm3BlcSJcP4-HEc7sfH9W34Gd847s2fHHHgZ_
|
|
|
21
21
|
maleo_identity/enums/general.py,sha256=y51uhyCw5a8csBznt96Meh37wORpJbkz8mzueg_aSms,121
|
|
22
22
|
maleo_identity/enums/organization.py,sha256=FRam0cPO38Tt3ICnCyWeTQc1EoDalaaQXsRNSi2Ykwc,244
|
|
23
23
|
maleo_identity/enums/organization_role.py,sha256=n3xiZ0_OZFGn3VnUeEyF4AlUB5bDhjWNm4wJ8sj7SKA,203
|
|
24
|
-
maleo_identity/enums/user.py,sha256=
|
|
24
|
+
maleo_identity/enums/user.py,sha256=ew6bLHi3ZatNZB7iodfuniv46nnvUV3dPvmmcIwLTdA,358
|
|
25
25
|
maleo_identity/enums/user_organization.py,sha256=Gchi2yLeepvVZv40S6_KvwAoFnZ19u5LlMJQTDEfUrs,262
|
|
26
26
|
maleo_identity/enums/user_organization_role.py,sha256=AYMm9Lcpd1vu1GWAqOPV6_dRgoc7Yp6EpzcExTQT0xU,266
|
|
27
27
|
maleo_identity/enums/user_profile.py,sha256=1QjZt2XROS4TEAgkegbMVInIm-oVh0PWcCIxV7PAoCc,371
|
|
@@ -39,7 +39,7 @@ maleo_identity/models/schemas/__init__.py,sha256=asjDTCgUlxFBSY6ZMnt3RMZoeXGCyQS
|
|
|
39
39
|
maleo_identity/models/schemas/general.py,sha256=fBPqcYU-8nBjfgMYl54rHFyuV_9l-O9egfYLI6T3CDQ,623
|
|
40
40
|
maleo_identity/models/schemas/organization.py,sha256=v6BjOK1G0C3yUrwqBsUGWXf99YSWjStcOkSH-88dgBU,1276
|
|
41
41
|
maleo_identity/models/schemas/organization_role.py,sha256=bgX9ykpFNrDqz4-eFbj49mRp69yGezWyLoo_MOX8R6Y,764
|
|
42
|
-
maleo_identity/models/schemas/user.py,sha256=
|
|
42
|
+
maleo_identity/models/schemas/user.py,sha256=vrqyZg48LG06w_4Oq0FcQis2glb12PWCfpJHcoXWKj4,1653
|
|
43
43
|
maleo_identity/models/schemas/user_organization.py,sha256=yg6-T5BGcfTKjX7w2zSBb-OWtxQunEhWLT2dJFmuhtE,443
|
|
44
44
|
maleo_identity/models/schemas/user_organization_role.py,sha256=xedjuJ9P6vRtJimRTpP8ZA45oLaqFr8hokM77gN8QRU,781
|
|
45
45
|
maleo_identity/models/schemas/user_profile.py,sha256=x2--vAMY9KRa2Nyy7k2o4oYMz5DRm67dev3K45A7DkU,2603
|
|
@@ -47,7 +47,7 @@ maleo_identity/models/schemas/user_system_role.py,sha256=nhtfaZsNp4gn_i5VfWeHM38
|
|
|
47
47
|
maleo_identity/models/tables/__init__.py,sha256=wTFyzZbktqfWIiCPI4ErJN9JK46C_Fec76v38ddkDDw,686
|
|
48
48
|
maleo_identity/models/tables/organization.py,sha256=kgtxnQjznIH-l8cnN4hcY4wTehqMnKtF39Ev7AKU_tQ,1409
|
|
49
49
|
maleo_identity/models/tables/organization_role.py,sha256=ICybWmJy7Sv2iBP7dlDmHnMXcm1kuPBrtxBwSdBlEZ0,690
|
|
50
|
-
maleo_identity/models/tables/user.py,sha256=
|
|
50
|
+
maleo_identity/models/tables/user.py,sha256=eEd_TBuq4Es7Lbi86q8qxN4InIfrLw_MP9TPUrpyqxU,1146
|
|
51
51
|
maleo_identity/models/tables/user_organization.py,sha256=_Txa_TUsYKDb3bpi6FQ6h33uOKp44GR1XvICBji1Aig,548
|
|
52
52
|
maleo_identity/models/tables/user_organization_role.py,sha256=-kfwoCnH_SaTPr-q3p7EfRZ5AYYyATnWBl7cNQ4K5bk,609
|
|
53
53
|
maleo_identity/models/tables/user_profile.py,sha256=niEzQW8w1jtoJSl0395Y4u5BJPPdRpxSkF1xisTp8mc,1538
|
|
@@ -137,7 +137,7 @@ maleo_identity/types/results/repository/user_organization.py,sha256=EFzYD28CCmQt
|
|
|
137
137
|
maleo_identity/types/results/repository/user_organization_role.py,sha256=7SVvBMnrDnv9EFIceQmKJFisgjHqy7uN3ISyZy-QEOY,755
|
|
138
138
|
maleo_identity/types/results/repository/user_profile.py,sha256=oyfExKaH6f5vyRdpNLOHQ9SJ5ILDfh2lQ_9m7QmsP3I,843
|
|
139
139
|
maleo_identity/types/results/repository/user_system_role.py,sha256=6Qd9fetNARZVUiHR7BSKEZlRiHqG_XvvtApNv_OdaGE,869
|
|
140
|
-
maleo_identity-0.0.
|
|
141
|
-
maleo_identity-0.0.
|
|
142
|
-
maleo_identity-0.0.
|
|
143
|
-
maleo_identity-0.0.
|
|
140
|
+
maleo_identity-0.0.50.dist-info/METADATA,sha256=2y6wqxK7UrdBbvdvV4G4ABWCIxUEo3x9EY5b6KO-FC8,868
|
|
141
|
+
maleo_identity-0.0.50.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
142
|
+
maleo_identity-0.0.50.dist-info/top_level.txt,sha256=mQENoRr7CBU3vx2PxHXywCHdfBm3AIzVx75IaEsArYE,15
|
|
143
|
+
maleo_identity-0.0.50.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|