maleo-foundation 0.2.88__py3-none-any.whl → 0.2.90__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.
@@ -24,14 +24,21 @@ class BaseGeneralSchemas:
24
24
  id:int = Field(..., ge=1, description="Data's ID, must be >= 1.")
25
25
  uuid:UUID = Field(..., description="Data's UUID.")
26
26
 
27
- class Timestamps(BaseModel):
27
+ class EssentialTimestamps(BaseModel):
28
28
  created_at:datetime = Field(..., description="Data's created_at timestamp")
29
29
  updated_at:datetime = Field(..., description="Data's updated_at timestamp")
30
+
31
+ class StatusTimestamps(BaseModel):
30
32
  deleted_at:BaseTypes.OptionalDatetime = Field(..., description="Data's deleted_at timestamp")
31
33
  restored_at:BaseTypes.OptionalDatetime = Field(..., description="Data's restored_at timestamp")
32
34
  deactivated_at:BaseTypes.OptionalDatetime = Field(..., description="Data's deactivated_at timestamp")
33
35
  activated_at:datetime = Field(..., description="Data's activated_at timestamp")
34
36
 
37
+ class Timestamps(
38
+ StatusTimestamps,
39
+ EssentialTimestamps
40
+ ): pass
41
+
35
42
  class Status(BaseModel):
36
43
  status:BaseEnums.StatusType = Field(..., description="Data's status")
37
44
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.2.88
3
+ Version: 0.2.90
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -54,7 +54,7 @@ maleo_foundation/models/responses.py,sha256=nE5qThK-WgcYB-9J4wHzJltMA3PLmWbMI-dk
54
54
  maleo_foundation/models/table.py,sha256=yFv9KAr0kp-QqfIFEPXqRn61pQKCCIory1zEL7Y7rVc,1873
55
55
  maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
56
56
  maleo_foundation/models/schemas/encryption.py,sha256=KYs2P57AqWpEROuqTuSuyt1Zk-jsIUKFeRWIfSwem74,658
57
- maleo_foundation/models/schemas/general.py,sha256=1X0aQohTGN_EbYk1aTn7H4vhUB17A5I711fROy2Exio,3671
57
+ maleo_foundation/models/schemas/general.py,sha256=jzX5_F6peqrWNxlrZaQWvG6nJaLCmNq6McNWyHrULBg,3809
58
58
  maleo_foundation/models/schemas/hash.py,sha256=db2uyCeUzvF2zDCcbiZMh1MxIOGOGezOMOx-M1ta4zI,441
59
59
  maleo_foundation/models/schemas/key.py,sha256=7FZxVqTL5qRK48AXL1odrMNhAwhwtCwSkBUPsJwuBII,594
60
60
  maleo_foundation/models/schemas/parameter.py,sha256=6jVHw538cnCK-SN8SlPVKWakeeJGn3yRNzHegR231j8,3497
@@ -119,7 +119,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
119
119
  maleo_foundation/utils/loaders/credential/google.py,sha256=HUcuHD4tXHPt0eHInlFYxA_MDrGSOtbenpd0PX156OM,1255
120
120
  maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
121
121
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
122
- maleo_foundation-0.2.88.dist-info/METADATA,sha256=yJMZP3vENfE20gahejM4LD1-3kGELvbqxpD-g7rmE0E,3598
123
- maleo_foundation-0.2.88.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
124
- maleo_foundation-0.2.88.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
125
- maleo_foundation-0.2.88.dist-info/RECORD,,
122
+ maleo_foundation-0.2.90.dist-info/METADATA,sha256=1RWvQ_KygG0kv0zWFBTsH7ztBwkCI_-PKGimmJiJscs,3598
123
+ maleo_foundation-0.2.90.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
124
+ maleo_foundation-0.2.90.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
125
+ maleo_foundation-0.2.90.dist-info/RECORD,,