maleo-enums 0.0.25__py3-none-any.whl → 0.0.26__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.
@@ -2,7 +2,17 @@ from enum import StrEnum
2
2
  from maleo.types.string import ListOfStrings
3
3
 
4
4
 
5
- class Key(StrEnum):
5
+ class Organization(StrEnum):
6
+ OWNER = "owner"
7
+ ADMINISTRATOR = "administrator"
8
+ USER = "user"
9
+
10
+ @classmethod
11
+ def choices(cls) -> ListOfStrings:
12
+ return [e.value for e in cls]
13
+
14
+
15
+ class System(StrEnum):
6
16
  ADMINISTRATOR = "administrator"
7
17
  ANALYST = "analyst"
8
18
  ENGINEER = "engineer"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-enums
3
- Version: 0.0.25
3
+ Version: 0.0.26
4
4
  Summary: Enums package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -14,7 +14,7 @@ Requires-Dist: colorama>=0.4.6
14
14
  Requires-Dist: distlib>=0.4.0
15
15
  Requires-Dist: filelock>=3.19.1
16
16
  Requires-Dist: identify>=2.6.13
17
- Requires-Dist: maleo-types>=0.0.5
17
+ Requires-Dist: maleo-types>=0.0.6
18
18
  Requires-Dist: mypy_extensions>=1.1.0
19
19
  Requires-Dist: nodeenv>=1.9.1
20
20
  Requires-Dist: packaging>=25.0
@@ -4,11 +4,11 @@ maleo/enums/connection.py,sha256=jXww92ACMyvVPn1fGte7tbpj64LuyjzWKCeu835x2o0,479
4
4
  maleo/enums/environment.py,sha256=uyHMsJIGTujJ_d_maM3RO6A79W9uhhScRlgWiT48R40,569
5
5
  maleo/enums/expiration.py,sha256=G7iDMQIOTQzUkx_nQFe04p-nwGz2OYqZJo98H63AO6U,957
6
6
  maleo/enums/order.py,sha256=XxwsoKnptfetEu-R0SQNqFsJPCP8qrhYycRFZE43b74,463
7
+ maleo/enums/role.py,sha256=DXu-53YgdJYyCncoR55Pj38N4-70HZYTFh3qRQ2V4CA,644
7
8
  maleo/enums/service.py,sha256=gyVmRDe5L05XD07OnPn3ZgdUyme7Ie2g3-WdffmiMCI,3766
8
9
  maleo/enums/status.py,sha256=qWT5pcJ-29Jd6FUs_vlUThGHzMXRQV1sfqGzVx_ExIM,784
9
- maleo/enums/system_role.py,sha256=wJtN0KMik858uyChe_g3e1_c7zWZ5_OwKvR6h9sw6YA,441
10
- maleo_enums-0.0.25.dist-info/licenses/LICENSE,sha256=aftGsecnk7TWVX-7KW94FqK4Syy6YSZ8PZEF7EcIp3M,2621
11
- maleo_enums-0.0.25.dist-info/METADATA,sha256=mLAGLhtSNfnDW2uSQs3gZLStcnO5yWAyVvc6P8BDpis,1345
12
- maleo_enums-0.0.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
- maleo_enums-0.0.25.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
14
- maleo_enums-0.0.25.dist-info/RECORD,,
10
+ maleo_enums-0.0.26.dist-info/licenses/LICENSE,sha256=aftGsecnk7TWVX-7KW94FqK4Syy6YSZ8PZEF7EcIp3M,2621
11
+ maleo_enums-0.0.26.dist-info/METADATA,sha256=bUEjhJHoYIpdwwM5w1a6DJgc2nDElcY7ory3ZaMli-8,1345
12
+ maleo_enums-0.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
13
+ maleo_enums-0.0.26.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
14
+ maleo_enums-0.0.26.dist-info/RECORD,,