maleo-enums 0.0.9__tar.gz → 0.0.11__tar.gz

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.
Files changed (33) hide show
  1. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/PKG-INFO +1 -1
  2. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/maleo_enums.egg-info/PKG-INFO +1 -1
  3. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/maleo_enums.egg-info/SOURCES.txt +2 -13
  4. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/pyproject.toml +1 -1
  5. maleo_enums-0.0.11/src/cardinality.py +44 -0
  6. maleo_enums-0.0.11/src/environment.py +15 -0
  7. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/src/expiration.py +8 -0
  8. maleo_enums-0.0.11/src/order.py +14 -0
  9. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/src/request.py +16 -0
  10. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/src/service.py +45 -2
  11. maleo_enums-0.0.11/src/status.py +27 -0
  12. maleo_enums-0.0.9/src/cache.py +0 -12
  13. maleo_enums-0.0.9/src/cardinality.py +0 -6
  14. maleo_enums-0.0.9/src/client.py +0 -6
  15. maleo_enums-0.0.9/src/controller.py +0 -10
  16. maleo_enums-0.0.9/src/environment.py +0 -7
  17. maleo_enums-0.0.9/src/error.py +0 -33
  18. maleo_enums-0.0.9/src/execution.py +0 -11
  19. maleo_enums-0.0.9/src/operation.py +0 -81
  20. maleo_enums-0.0.9/src/pagination.py +0 -8
  21. maleo_enums-0.0.9/src/privilege.py +0 -7
  22. maleo_enums-0.0.9/src/sort.py +0 -6
  23. maleo_enums-0.0.9/src/status.py +0 -7
  24. maleo_enums-0.0.9/src/success.py +0 -18
  25. maleo_enums-0.0.9/src/timestamp.py +0 -22
  26. maleo_enums-0.0.9/src/token.py +0 -6
  27. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/LICENSE +0 -0
  28. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/README.md +0 -0
  29. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/maleo_enums.egg-info/dependency_links.txt +0 -0
  30. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/maleo_enums.egg-info/requires.txt +0 -0
  31. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/maleo_enums.egg-info/top_level.txt +0 -0
  32. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/setup.cfg +0 -0
  33. {maleo_enums-0.0.9 → maleo_enums-0.0.11}/src/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-enums
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: Enums package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-enums
3
- Version: 0.0.9
3
+ Version: 0.0.11
4
4
  Summary: Enums package for MaleoSuite
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: Proprietary
@@ -7,21 +7,10 @@ maleo_enums.egg-info/dependency_links.txt
7
7
  maleo_enums.egg-info/requires.txt
8
8
  maleo_enums.egg-info/top_level.txt
9
9
  src/__init__.py
10
- src/cache.py
11
10
  src/cardinality.py
12
- src/client.py
13
- src/controller.py
14
11
  src/environment.py
15
- src/error.py
16
- src/execution.py
17
12
  src/expiration.py
18
- src/operation.py
19
- src/pagination.py
20
- src/privilege.py
13
+ src/order.py
21
14
  src/request.py
22
15
  src/service.py
23
- src/sort.py
24
- src/status.py
25
- src/success.py
26
- src/timestamp.py
27
- src/token.py
16
+ src/status.py
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "maleo-enums"
7
- version = "0.0.9"
7
+ version = "0.0.11"
8
8
  description = "Enums package for MaleoSuite"
9
9
  authors = [
10
10
  { name = "Agra Bima Yuda", email = "agra@nexmedis.com" }
@@ -0,0 +1,44 @@
1
+ from enum import StrEnum
2
+ from typing import List, Optional, Sequence
3
+
4
+
5
+ class Cardinality(StrEnum):
6
+ MULTIPLE = "multiple"
7
+ SINGLE = "single"
8
+
9
+
10
+ OptionalCardinality = Optional[Cardinality]
11
+ ListOfCardinalities = List[Cardinality]
12
+ OptionalListOfCardinalities = Optional[ListOfCardinalities]
13
+ SequenceOfCardinalities = Sequence[Cardinality]
14
+ OptionalSequenceOfCardinalities = Optional[SequenceOfCardinalities]
15
+
16
+
17
+ class Relationship(StrEnum):
18
+ # One origin
19
+ ONE_TO_ONE = "one_to_one"
20
+ ONE_TO_OPTIONAL_ONE = "one_to_optional_one"
21
+ ONE_TO_MANY = "one_to_many"
22
+ ONE_TO_OPTIONAL_MANY = "one_to_optional_many"
23
+ # Optional one origin
24
+ OPTIONAL_ONE_TO_ONE = "optional_one_to_one"
25
+ OPTIONAL_ONE_TO_OPTIONAL_ONE = "optional_one_to_optional_one"
26
+ OPTIONAL_ONE_TO_MANY = "optional_one_to_many"
27
+ OPTIONAL_ONE_TO_OPTIONAL_MANY = "optional_one_to_optional_many"
28
+ # Many origin
29
+ MANY_TO_ONE = "many_to_one"
30
+ MANY_TO_OPTIONAL_ONE = "many_to_optional_one"
31
+ MANY_TO_MANY = "many_to_many"
32
+ MANY_TO_OPTIONAL_MANY = "many_to_optional_many"
33
+ # Optional many origin
34
+ OPTIONAL_MANY_TO_ONE = "optional_many_to_one"
35
+ OPTIONAL_MANY_TO_OPTIONAL_ONE = "optional_many_to_optional_one"
36
+ OPTIONAL_MANY_TO_MANY = "optional_many_to_many"
37
+ OPTIONAL_MANY_TO_OPTIONAL_MANY = "optional_many_to_optional_many"
38
+
39
+
40
+ OptionalRelationship = Optional[Relationship]
41
+ ListOfRelationships = List[Relationship]
42
+ OptionalListOfRelationships = Optional[ListOfRelationships]
43
+ SequenceOfRelationships = Sequence[Relationship]
44
+ OptionalSequenceOfRelationships = Optional[SequenceOfRelationships]
@@ -0,0 +1,15 @@
1
+ from enum import StrEnum
2
+ from typing import List, Optional, Sequence
3
+
4
+
5
+ class Environment(StrEnum):
6
+ LOCAL = "local"
7
+ STAGING = "staging"
8
+ PRODUCTION = "production"
9
+
10
+
11
+ OptionalEnvironment = Optional[Environment]
12
+ ListOfEnvironments = List[Environment]
13
+ OptionalListOfEnvironments = Optional[ListOfEnvironments]
14
+ SequenceOfEnvironments = Sequence[Environment]
15
+ OptionalSequenceOfEnvironments = Optional[SequenceOfEnvironments]
@@ -1,4 +1,5 @@
1
1
  from enum import IntEnum
2
+ from typing import List, Optional, Sequence
2
3
 
3
4
 
4
5
  class Expiration(IntEnum):
@@ -17,3 +18,10 @@ class Expiration(IntEnum):
17
18
  EXP_1WK = int(1 * 7 * 24 * 60 * 60)
18
19
  EXP_2WK = int(2 * 7 * 24 * 60 * 60)
19
20
  EXP_1MO = int(1 * 30 * 24 * 60 * 60)
21
+
22
+
23
+ OptionalExpiration = Optional[Expiration]
24
+ ListOfExpirations = List[Expiration]
25
+ OptionalListOfExpirations = Optional[ListOfExpirations]
26
+ SequenceOfExpirations = Sequence[Expiration]
27
+ OptionalSequenceOfExpirations = Optional[SequenceOfExpirations]
@@ -0,0 +1,14 @@
1
+ from enum import StrEnum
2
+ from typing import List, Optional, Sequence
3
+
4
+
5
+ class Order(StrEnum):
6
+ ASC = "asc"
7
+ DESC = "desc"
8
+
9
+
10
+ OptionalOrder = Optional[Order]
11
+ ListOfOrders = List[Order]
12
+ OptionalListOfOrders = Optional[ListOfOrders]
13
+ SequenceOfOrders = Sequence[Order]
14
+ OptionalSequenceOfOrders = Optional[SequenceOfOrders]
@@ -1,4 +1,5 @@
1
1
  from enum import StrEnum
2
+ from typing import List, Optional, Sequence
2
3
 
3
4
 
4
5
  class Method(StrEnum):
@@ -10,9 +11,17 @@ class Method(StrEnum):
10
11
  OPTIONS = "OPTIONS"
11
12
 
12
13
 
14
+ OptionalMethod = Optional[Method]
15
+ ListOfMethods = List[Method]
16
+ OptionalListOfMethods = Optional[ListOfMethods]
17
+ SequenceOfMethods = Sequence[Method]
18
+ OptionalSequenceOfMethods = Optional[SequenceOfMethods]
19
+
20
+
13
21
  class Header(StrEnum):
14
22
  AUTHORIZATION = "authorization"
15
23
  CONTENT_TYPE = "content-type"
24
+ X_API_KEY = "x-api-key"
16
25
  X_CLIENT_ID = "x-client-id"
17
26
  X_CLIENT_SECRET = "x-client-secret"
18
27
  X_NEW_AUTHORIZATION = "x-new-authorization"
@@ -24,3 +33,10 @@ class Header(StrEnum):
24
33
  X_RESPONDED_AT = "x-responded-at"
25
34
  X_SIGNATURE = "x-signature"
26
35
  X_USER_ID = "x-user-id"
36
+
37
+
38
+ OptionalHeader = Optional[Header]
39
+ ListOfHeaders = List[Header]
40
+ OptionalListOfHeaders = Optional[ListOfHeaders]
41
+ SequenceOfHeaders = Sequence[Header]
42
+ OptionalSequenceOfHeaders = Optional[SequenceOfHeaders]
@@ -1,4 +1,5 @@
1
1
  from enum import StrEnum
2
+ from typing import List, Optional, Sequence
2
3
 
3
4
 
4
5
  class ServiceType(StrEnum):
@@ -6,12 +7,26 @@ class ServiceType(StrEnum):
6
7
  FRONTEND = "frontend"
7
8
 
8
9
 
10
+ OptionalServiceType = Optional[ServiceType]
11
+ ListOfServiceTypes = List[ServiceType]
12
+ OptionalListOfServiceTypes = Optional[ListOfServiceTypes]
13
+ SequenceOfServiceTypes = Sequence[ServiceType]
14
+ OptionalSequenceOfServiceTypes = Optional[SequenceOfServiceTypes]
15
+
16
+
9
17
  class Category(StrEnum):
10
18
  CORE = "core"
11
19
  AI = "ai"
12
20
 
13
21
 
14
- class ShortKey(StrEnum):
22
+ OptionalCategory = Optional[Category]
23
+ ListOfCategories = List[Category]
24
+ OptionalListOfCategories = Optional[ListOfCategories]
25
+ SequenceOfCategories = Sequence[Category]
26
+ OptionalSequenceOfCategories = Optional[SequenceOfCategories]
27
+
28
+
29
+ class SimpleKey(StrEnum):
15
30
  STUDIO = "studio"
16
31
  NEXUS = "nexus"
17
32
  TELEMETRY = "telemetry"
@@ -29,6 +44,13 @@ class ShortKey(StrEnum):
29
44
  MCU = "mcu"
30
45
 
31
46
 
47
+ OptionalSimpleKey = Optional[SimpleKey]
48
+ ListOfSimpleKeys = List[SimpleKey]
49
+ OptionalListOfSimpleKeys = Optional[ListOfSimpleKeys]
50
+ SequenceOfSimpleKeys = Sequence[SimpleKey]
51
+ OptionalSequenceOfSimpleKeys = Optional[SequenceOfSimpleKeys]
52
+
53
+
32
54
  class Key(StrEnum):
33
55
  STUDIO = "maleo-studio"
34
56
  NEXUS = "maleo-nexus"
@@ -47,7 +69,14 @@ class Key(StrEnum):
47
69
  MCU = "maleo-mcu"
48
70
 
49
71
 
50
- class ShortName(StrEnum):
72
+ OptionalKey = Optional[Key]
73
+ ListOfKeys = List[Key]
74
+ OptionalListOfKeys = Optional[ListOfKeys]
75
+ SequenceOfKeys = Sequence[Key]
76
+ OptionalSequenceOfKeys = Optional[SequenceOfKeys]
77
+
78
+
79
+ class SimpleName(StrEnum):
51
80
  STUDIO = "Studio"
52
81
  NEXUS = "Nexus"
53
82
  TELEMETRY = "Telemetry"
@@ -65,6 +94,13 @@ class ShortName(StrEnum):
65
94
  MCU = "MCU"
66
95
 
67
96
 
97
+ OptionalSimpleName = Optional[SimpleName]
98
+ ListOfSimpleNames = List[SimpleName]
99
+ OptionalListOfSimpleNames = Optional[ListOfSimpleNames]
100
+ SequenceOfSimpleNames = Sequence[SimpleName]
101
+ OptionalSequenceOfSimpleNames = Optional[SequenceOfSimpleNames]
102
+
103
+
68
104
  class Name(StrEnum):
69
105
  STUDIO = "MaleoStudio"
70
106
  NEXUS = "MaleoNexus"
@@ -81,3 +117,10 @@ class Name(StrEnum):
81
117
  CDS = "MaleoCDS"
82
118
  IMAGING = "MaleoImaging"
83
119
  MCU = "MaleoMCU"
120
+
121
+
122
+ OptionalName = Optional[Name]
123
+ ListOfNames = List[Name]
124
+ OptionalListOfNames = Optional[ListOfNames]
125
+ SequenceOfNames = Sequence[Name]
126
+ OptionalSequenceOfNames = Optional[SequenceOfNames]
@@ -0,0 +1,27 @@
1
+ from enum import StrEnum
2
+ from typing import List, Optional, Sequence
3
+
4
+
5
+ class DataStatus(StrEnum):
6
+ DELETED = "deleted"
7
+ INACTIVE = "inactive"
8
+ ACTIVE = "active"
9
+
10
+
11
+ OptionalDataStatus = Optional[DataStatus]
12
+ ListOfDataStatuses = List[DataStatus]
13
+ OptionalListOfDataStatuses = Optional[ListOfDataStatuses]
14
+ SequenceOfDataStatuses = Sequence[DataStatus]
15
+ OptionalSequenceOfDataStatuses = Optional[SequenceOfDataStatuses]
16
+
17
+
18
+ FULL_DATA_STATUSES: SequenceOfDataStatuses = (
19
+ DataStatus.ACTIVE,
20
+ DataStatus.INACTIVE,
21
+ DataStatus.DELETED,
22
+ )
23
+
24
+ BASIC_DATA_STATUSES: SequenceOfDataStatuses = (
25
+ DataStatus.ACTIVE,
26
+ DataStatus.INACTIVE,
27
+ )
@@ -1,12 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Origin(StrEnum):
5
- CLIENT = "client"
6
- SERVICE = "service"
7
-
8
-
9
- class Layer(StrEnum):
10
- REPOSITORY = "repository"
11
- SERVICE = "service"
12
- CONTROLLER = "controller"
@@ -1,6 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Cardinality(StrEnum):
5
- SINGLE = "single"
6
- MULTIPLE = "multiple"
@@ -1,6 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Category(StrEnum):
5
- GOOGLE = "google"
6
- MALEO = "maleo"
@@ -1,10 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Service(StrEnum):
5
- REST = "rest"
6
- MESSAGE = "message"
7
-
8
-
9
- class Client(StrEnum):
10
- HTTP = "http"
@@ -1,7 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Environment(StrEnum):
5
- LOCAL = "local"
6
- STAGING = "staging"
7
- PRODUCTION = "production"
@@ -1,33 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class ErrorType(StrEnum):
5
- BAD_REQUEST = "client.bad_request"
6
- UNAUTHORIZED = "client.unauthorized"
7
- FORBIDDEN = "client.forbidden"
8
- NOT_FOUND = "client.not_found"
9
- CONFLICT = "client.conflict"
10
- METHOD_NOT_ALLOWED = "client.method_not_allowed"
11
- UNPROCESSABLE_ENTITY = "client.unprocessable_entity"
12
- TOO_MANY_REQUESTS = "client.too_many_requests"
13
- INTERNAL_SERVER_ERROR = "server.internal_server_error"
14
- DATABASE_ERROR = "server.internal_server_error.database_error"
15
- NOT_IMPLEMENTED = "server.not_implemented"
16
- BAD_GATEWAY = "server.bad_gateway"
17
- SERVICE_UNAVAILABLE = "server.service_unavailable"
18
-
19
-
20
- class Code(StrEnum):
21
- BAD_REQUEST = "MAL-ERR-CLI-BDR-001"
22
- UNAUTHORIZED = "MAL-ERR-CLI-ATH-001"
23
- FORBIDDEN = "MAL-ERR-CLI-FBD-001"
24
- NOT_FOUND = "MAL-ERR-CLI-NTF-001"
25
- METHOD_NOT_ALLOWED = "MAL-ERR-CLI-MNA-001"
26
- CONFLICT = "MAL-ERR-CLI-CFL-001"
27
- UNPROCESSABLE_ENTITY = "MAL-ERR-CLI-UPE-001"
28
- TOO_MANY_REQUESTS = "MAL-ERR-CLI-TMR-001"
29
- INTERNAL_SERVER_ERROR = "MAL-ERR-SRV-ISE-001"
30
- DATABASE_ERROR = "MAL-ERR-SRV-ISE-002"
31
- NOT_IMPLEMENTED = "MAL-ERR-SRV-NIM-001"
32
- BAD_GATEWAY = "MAL-ERR-SRV-BDG-001"
33
- SERVICE_UNAVAILABLE = "MAL-ERR-SRV-SUN-001"
@@ -1,11 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class ApplicationExecution(StrEnum):
5
- CONTAINER = "container"
6
- DIRECT = "direct"
7
-
8
-
9
- class FunctionExecution(StrEnum):
10
- ASYNC = "async"
11
- SYNC = "sync"
@@ -1,81 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class OperationType(StrEnum):
5
- RESOURCE = "resource"
6
- REQUEST = "request"
7
- SYSTEM = "system"
8
-
9
-
10
- class SystemOperationType(StrEnum):
11
- BACKGROUND_JOB = "background_job"
12
- CONFIGURATION_UPDATE = "configuration_update"
13
- CRON_JOB = "cron_job"
14
- DATABASE_CONNECTION = "database_connection"
15
- DISPOSAL = "disposal"
16
- HEALTH_CHECK = "health_check"
17
- HEARTBEAT = "heartbeat"
18
- METRIC_REPORT = "metric_report"
19
- INITIALIZATION = "initialization"
20
- STARTUP = "startup"
21
- SHUTDOWN = "shutdown"
22
- SYSTEM_ALERT = "system_alert"
23
-
24
-
25
- class ResourceOperationType(StrEnum):
26
- CREATE = "create"
27
- READ = "read"
28
- UPDATE = "update"
29
- DELETE = "delete"
30
-
31
-
32
- class ResourceOperationCreateType(StrEnum):
33
- NEW = "new"
34
- RESTORE = "restore"
35
-
36
-
37
- class ResourceOperationUpdateType(StrEnum):
38
- DATA = "data"
39
- STATUS = "status"
40
-
41
-
42
- class ResourceOperationDataUpdateType(StrEnum):
43
- FULL = "full"
44
- PARTIAL = "partial"
45
-
46
-
47
- class ResourceOperationStatusUpdateType(StrEnum):
48
- ACTIVATE = "activate"
49
- DEACTIVATE = "deactivate"
50
- RESTORE = "restore"
51
- DELETE = "delete"
52
-
53
-
54
- class Origin(StrEnum):
55
- SERVICE = "service"
56
- CLIENT = "client"
57
- UTILITY = "utility"
58
-
59
-
60
- class Layer(StrEnum):
61
- INFRASTRUCTURE = "infrastructure"
62
- CONFIGURATION = "configuration"
63
- UTILITY = "utility"
64
- MIDDLEWARE = "middleware"
65
- CONTROLLER = "controller"
66
- SERVICE = "service"
67
- REPOSITORY = "repository"
68
- INTERNAL = "internal"
69
- OTHER = "other"
70
-
71
-
72
- class Target(StrEnum):
73
- MONITORING = "monitoring"
74
- CACHE = "cache"
75
- CONTROLLER = "controller"
76
- DATABASE = "database"
77
- INTERNAL = "internal"
78
- MICROSERVICE = "microservice"
79
- SERVICE = "service"
80
- REPOSITORY = "repository"
81
- THIRD_PARTY = "third_party"
@@ -1,8 +0,0 @@
1
- from enum import IntEnum
2
-
3
-
4
- class Limit(IntEnum):
5
- LIM_10 = 10
6
- LIM_20 = 20
7
- LIM_50 = 50
8
- LIM_100 = 100
@@ -1,7 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Level(StrEnum):
5
- GENERAL = "general"
6
- BASIC = "basic"
7
- PRIVILEGED = "privileged"
@@ -1,6 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Order(StrEnum):
5
- ASC = "asc"
6
- DESC = "desc"
@@ -1,7 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class DataStatus(StrEnum):
5
- DELETED = "deleted"
6
- INACTIVE = "inactive"
7
- ACTIVE = "active"
@@ -1,18 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class Code(StrEnum):
5
- ANY_DATA = "MAL-SCS-ADT-001"
6
- NO_DATA = "MAL-SCS-NDT-001"
7
- SINGLE_DATA = "MAL-SCS-SGD-001"
8
- CREATE_SINGLE_DATA = "MAL-SCS-SGD-002"
9
- READ_SINGLE_DATA = "MAL-SCS-SGD-003"
10
- UPDATE_SINGLE_DATA = "MAL-SCS-SGD-004"
11
- DELETE_SINGLE_DATA = "MAL-SCS-SGD-005"
12
- OPTIONAL_SINGLE_DATA = "MAL-SCS-OSD-001"
13
- MULTIPLE_DATA = "MAL-SCS-MTD-001"
14
- CREATE_MULTIPLE_DATA = "MAL-SCS-MTD-002"
15
- READ_MULTIPLE_DATA = "MAL-SCS-MTD-003"
16
- UPDATE_MULTIPLE_DATA = "MAL-SCS-MTD-004"
17
- DELETE_MULTIPLE_DATA = "MAL-SCS-MTD-005"
18
- OPTIONAL_MULTIPLE_DATA = "MAL-SCS-OMD-001"
@@ -1,22 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class LifecycleTimestamp(StrEnum):
5
- CREATED_AT = "created_at"
6
- UPDATED_AT = "updated_at"
7
-
8
-
9
- class StatusTimestamp(StrEnum):
10
- DELETED_AT = "deleted_at"
11
- RESTORED_AT = "restored_at"
12
- DEACTIVATED_AT = "deactivated_at"
13
- ACTIVATED_AT = "activated_at"
14
-
15
-
16
- class DataTimestamp(StrEnum):
17
- CREATED_AT = "created_at"
18
- UPDATED_AT = "updated_at"
19
- DELETED_AT = "deleted_at"
20
- RESTORED_AT = "restored_at"
21
- DEACTIVATED_AT = "deactivated_at"
22
- ACTIVATED_AT = "activated_at"
@@ -1,6 +0,0 @@
1
- from enum import StrEnum
2
-
3
-
4
- class TokenType(StrEnum):
5
- REFRESH = "refresh"
6
- ACCESS = "access"
File without changes
File without changes
File without changes