firefighter-incident 0.0.7__py3-none-any.whl → 0.0.8__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.
- firefighter/_version.py +2 -2
- firefighter/components/avatar/avatar.py +2 -2
- firefighter/components/card/card.py +2 -2
- firefighter/components/export_button/export_button.py +2 -2
- firefighter/components/form/form.py +2 -2
- firefighter/components/form_field/form_field.py +2 -2
- firefighter/components/messages/messages.py +2 -2
- firefighter/components/modal/modal.py +2 -2
- {firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/METADATA +1 -1
- {firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/RECORD +13 -13
- {firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/WHEEL +0 -0
- {firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/entry_points.txt +0 -0
- {firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/licenses/LICENSE +0 -0
firefighter/_version.py
CHANGED
|
@@ -3,7 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import logging
|
|
4
4
|
from typing import Any, NotRequired, Required, TypedDict
|
|
5
5
|
|
|
6
|
-
from django_components import
|
|
6
|
+
from django_components import component
|
|
7
7
|
|
|
8
8
|
from firefighter.incidents.models.user import User
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ class Kwargs(TypedDict, total=False):
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
@component.register("avatar")
|
|
28
|
-
class Avatar(component.Component[
|
|
28
|
+
class Avatar(component.Component[tuple[()], Kwargs, Data, Any]): # type: ignore[type-var]
|
|
29
29
|
template_name = "avatar/avatar.html"
|
|
30
30
|
|
|
31
31
|
def get_context_data(self, user: User, **kwargs: Any) -> Data:
|
|
@@ -3,7 +3,7 @@ from __future__ import annotations
|
|
|
3
3
|
import logging
|
|
4
4
|
from typing import Any, NotRequired, Required, TypedDict, Unpack
|
|
5
5
|
|
|
6
|
-
from django_components import
|
|
6
|
+
from django_components import component
|
|
7
7
|
|
|
8
8
|
logger = logging.getLogger(__name__)
|
|
9
9
|
|
|
@@ -14,7 +14,7 @@ class Data(TypedDict, total=False):
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
@component.register("card")
|
|
17
|
-
class Card(component.Component[
|
|
17
|
+
class Card(component.Component[tuple[()], Data, Data, Any]): # type: ignore[type-var]
|
|
18
18
|
template_name = "card/card.html"
|
|
19
19
|
|
|
20
20
|
def get_context_data(self, *args: Any, **kwargs: Unpack[Data]) -> Data:
|
|
@@ -4,7 +4,7 @@ from collections.abc import Mapping, Sequence
|
|
|
4
4
|
from typing import Any, NotRequired, Required, TypedDict
|
|
5
5
|
|
|
6
6
|
from django.urls import reverse
|
|
7
|
-
from django_components import
|
|
7
|
+
from django_components import component
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class _Format(TypedDict):
|
|
@@ -27,7 +27,7 @@ class Kwargs(TypedDict, total=False):
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
@component.register("export_button")
|
|
30
|
-
class ExportButton(component.Component[
|
|
30
|
+
class ExportButton(component.Component[tuple[()], Kwargs, Data, Any]): # type: ignore[type-var]
|
|
31
31
|
template_name = "export_button/export_button.html"
|
|
32
32
|
|
|
33
33
|
def get_context_data(
|
|
@@ -4,7 +4,7 @@ import logging
|
|
|
4
4
|
from typing import Any, NotRequired, TypedDict
|
|
5
5
|
|
|
6
6
|
from django import forms
|
|
7
|
-
from django_components import
|
|
7
|
+
from django_components import component
|
|
8
8
|
from django_components.slots import SlotContent
|
|
9
9
|
|
|
10
10
|
logger = logging.getLogger(__name__)
|
|
@@ -19,7 +19,7 @@ class Data(TypedDict):
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
@component.register("form")
|
|
22
|
-
class Form(component.Component[
|
|
22
|
+
class Form(component.Component[tuple[()], Data, Data, Slots]): # type: ignore[type-var] # type: ignore[override]
|
|
23
23
|
template_name = "form/form.html"
|
|
24
24
|
|
|
25
25
|
def get_context_data(self, form: forms.Form, **kwargs: Any) -> Data: # type: ignore[override]
|
|
@@ -8,7 +8,7 @@ from typing import (
|
|
|
8
8
|
)
|
|
9
9
|
|
|
10
10
|
from django import forms
|
|
11
|
-
from django_components import
|
|
11
|
+
from django_components import component
|
|
12
12
|
|
|
13
13
|
logger = logging.getLogger(__name__)
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ class Kwargs(TypedDict, total=True):
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
@component.register("form_field")
|
|
26
|
-
class FormField(component.Component[
|
|
26
|
+
class FormField(component.Component[tuple[()], Kwargs, Data, Any]): # type: ignore[type-var]
|
|
27
27
|
template_name = "form_field/form_field.html"
|
|
28
28
|
|
|
29
29
|
def get_context_data(
|
|
@@ -4,7 +4,7 @@ import logging
|
|
|
4
4
|
from typing import Any, TypedDict
|
|
5
5
|
|
|
6
6
|
from django.contrib.messages.storage.base import BaseStorage
|
|
7
|
-
from django_components import
|
|
7
|
+
from django_components import component
|
|
8
8
|
|
|
9
9
|
logger = logging.getLogger(__name__)
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ class Data(TypedDict):
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
@component.register("messages")
|
|
17
|
-
class Messages(component.Component[
|
|
17
|
+
class Messages(component.Component[tuple[()], Data, Data, Any]): # type: ignore[type-var]
|
|
18
18
|
template_name = "messages/messages.html"
|
|
19
19
|
|
|
20
20
|
def get_context_data(self, messages: BaseStorage, **kwargs: Any) -> Data:
|
|
@@ -4,7 +4,7 @@ import logging
|
|
|
4
4
|
from typing import Any, NotRequired, Required, TypedDict, Unpack
|
|
5
5
|
|
|
6
6
|
from django.utils.safestring import SafeString
|
|
7
|
-
from django_components import
|
|
7
|
+
from django_components import component
|
|
8
8
|
from django_components.slots import SlotFunc
|
|
9
9
|
|
|
10
10
|
logger = logging.getLogger(__name__)
|
|
@@ -28,7 +28,7 @@ class Slots(TypedDict):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
@component.register("modal")
|
|
31
|
-
class Modal(component.Component[
|
|
31
|
+
class Modal(component.Component[tuple[()], Kwargs, Data, Any]): # type: ignore[type-var]
|
|
32
32
|
template_name = "modal/modal.html"
|
|
33
33
|
|
|
34
34
|
def get_context_data(self, *args: Any, **kwargs: Unpack[Kwargs]) -> Data:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: firefighter-incident
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.8
|
|
4
4
|
Summary: Incident Management tool made for Slack using Django
|
|
5
5
|
Project-URL: Repository, https://github.com/ManoManoTech/firefighter-incident
|
|
6
6
|
Project-URL: Documentation, https://manomanotech.github.io/firefighter-incident/latest/
|
|
@@ -6,7 +6,7 @@ gunicorn.conf.py,sha256=vHsTGjaKOr8FDMp6fTKYTX4AtokmPgYvvt5Mr0Q6APc,273
|
|
|
6
6
|
main.py,sha256=CsbprHoOYhjCLpTJmq9Z_aRYFoFgWxoz2pDLuwm8Eqg,1558
|
|
7
7
|
manage.py,sha256=5ivHGD13C6nJ8QvltKsJ9T9akA5he8da70HLWaEP3k8,689
|
|
8
8
|
firefighter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
firefighter/_version.py,sha256=
|
|
9
|
+
firefighter/_version.py,sha256=SbamvXnLxfCU9pL5KMng4JCEwFYPcZcxEC7yaD9HbZ4,511
|
|
10
10
|
firefighter/api/__init__.py,sha256=JQW0Bv6xwGqy7ioxx3h6UGMzkkJ4DntDpbvV1Ncgi8k,136
|
|
11
11
|
firefighter/api/admin.py,sha256=x9Ysy-GiYjb0rynmFdS9g56e6n24fkN0ouGy5QD9Yrc,4629
|
|
12
12
|
firefighter/api/apps.py,sha256=P5uU1_gMrDfzurdMbfqw1Bnb2uNKKcMq17WBPg2sLhc,204
|
|
@@ -32,25 +32,25 @@ firefighter/api/views/severities.py,sha256=mdkR4GjZibydC1Dx-Sglm-f35GZxWbjmqStAx
|
|
|
32
32
|
firefighter/components/__init__.py,sha256=Vd_Uk5Uq7Mqp6NOFp5QiniWZAyzmYLqNSFEEw1x7COk,167
|
|
33
33
|
firefighter/components/avatar/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
34
34
|
firefighter/components/avatar/avatar.html,sha256=oleFPTy1qs9X6hZx3iWppBteHummFvSxoNzPOOl5aeA,773
|
|
35
|
-
firefighter/components/avatar/avatar.py,sha256=
|
|
35
|
+
firefighter/components/avatar/avatar.py,sha256=lNRZ7Z-LvqAJ6V9gljsBPNjB_oW1XMVgSGUgmpyP110,879
|
|
36
36
|
firefighter/components/card/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
37
37
|
firefighter/components/card/card.html,sha256=ziahql8X7WiQdprMktzy7sx0gVXNIxqtAsh_Rc5Iy0g,725
|
|
38
|
-
firefighter/components/card/card.py,sha256=
|
|
38
|
+
firefighter/components/card/card.py,sha256=VwPNNkSOmRbwoDEGKKXOo78xpOBc9USV05eOMNbieCM,541
|
|
39
39
|
firefighter/components/export_button/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
40
40
|
firefighter/components/export_button/export_button.html,sha256=XTA9FbDxho8aIqnfTcsDUm7swGWfn2JSw5WndDaThYY,1989
|
|
41
|
-
firefighter/components/export_button/export_button.py,sha256=
|
|
41
|
+
firefighter/components/export_button/export_button.py,sha256=prc-f9Jx8okciSaEZvC_WDfEJDGSw632EcgsvZuBPUU,1759
|
|
42
42
|
firefighter/components/form/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
firefighter/components/form/form.html,sha256=LtW07AxFsR-MI-iGVq0CsUVsUN3af5rS2R4SbAlfI5s,312
|
|
44
|
-
firefighter/components/form/form.py,sha256=
|
|
44
|
+
firefighter/components/form/form.py,sha256=OrvsiOtwfD1DtFk0Cx_I9cMv542vzMAJGZ1S2szMpNM,695
|
|
45
45
|
firefighter/components/form_field/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
46
|
firefighter/components/form_field/form_field.html,sha256=k5yyxvETqJSt5jHb8Z2v5o9oJRDLwWBKhISy0j0184Y,450
|
|
47
|
-
firefighter/components/form_field/form_field.py,sha256=
|
|
47
|
+
firefighter/components/form_field/form_field.py,sha256=_mGNF5B820Obhp-7aDDQsnvGDJp7s2jwIRudAhYsC4Y,799
|
|
48
48
|
firefighter/components/messages/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
49
|
firefighter/components/messages/messages.html,sha256=P0V6Wsz7lTZL0xNPu_5w-J6Dc_aPkP0wqbHjMJ1D4qs,3157
|
|
50
|
-
firefighter/components/messages/messages.py,sha256=
|
|
50
|
+
firefighter/components/messages/messages.py,sha256=9Ra04QApmstH-oLlBiIF8OBJQBwy7kO0iN5-LUfNJZA,564
|
|
51
51
|
firefighter/components/modal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
52
|
firefighter/components/modal/modal.html,sha256=PrOtS8eJHvzTHqILlXmjE4KsGVdbubSCexHiPa_I3Yk,2391
|
|
53
|
-
firefighter/components/modal/modal.py,sha256=
|
|
53
|
+
firefighter/components/modal/modal.py,sha256=OCbQojZ5fhivCUUy1rwzDBOrb1jLhbK8faRFKEgPzCI,925
|
|
54
54
|
firefighter/confluence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
55
55
|
firefighter/confluence/admin.py,sha256=aDXghuuLc7G_TLt-655M31smx-H6vkIgLtEmmNCA3lg,1490
|
|
56
56
|
firefighter/confluence/apps.py,sha256=vKswBwQL7L9e2JQwvRb7xy3myyE_GRldYX78jSY3XCM,406
|
|
@@ -446,8 +446,8 @@ firefighter_tests/test_slack/views/modals/test_open.py,sha256=Iatphd7vnrEMrv8ysK
|
|
|
446
446
|
firefighter_tests/test_slack/views/modals/test_send_sos.py,sha256=_rE6jD-gOzcGyhlY0R9GzlGtPx65oOOguJYdENgxtLc,1289
|
|
447
447
|
firefighter_tests/test_slack/views/modals/test_status.py,sha256=oQzPfwdg2tkbo9nfkO1GfS3WydxqSC6vy1AZjZDKT30,2226
|
|
448
448
|
firefighter_tests/test_slack/views/modals/test_update_status.py,sha256=Y8Oa_fraj1vtaGig9Y28_6tOWvMrRPS-wyg3rY-DHBk,39380
|
|
449
|
-
firefighter_incident-0.0.
|
|
450
|
-
firefighter_incident-0.0.
|
|
451
|
-
firefighter_incident-0.0.
|
|
452
|
-
firefighter_incident-0.0.
|
|
453
|
-
firefighter_incident-0.0.
|
|
449
|
+
firefighter_incident-0.0.8.dist-info/METADATA,sha256=PPkrT4PwwSus6I-j9FTlg0w8wiP9fpti41s3BpS7LJM,5487
|
|
450
|
+
firefighter_incident-0.0.8.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
451
|
+
firefighter_incident-0.0.8.dist-info/entry_points.txt,sha256=c13meJbv7YNmYz7MipMOQwzQ5IeFOPXUBYAJ44XMQsM,61
|
|
452
|
+
firefighter_incident-0.0.8.dist-info/licenses/LICENSE,sha256=krRiGp-a9-1nH1bWpBEdxyTKLhjLmn6DMVVoIb0zF90,1087
|
|
453
|
+
firefighter_incident-0.0.8.dist-info/RECORD,,
|
|
File without changes
|
{firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{firefighter_incident-0.0.7.dist-info → firefighter_incident-0.0.8.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|