diff options
| author | 2024-01-22 17:23:22 +0800 | |
|---|---|---|
| committer | 2024-01-22 17:23:22 +0800 | |
| commit | ca01ccf7b915e0841203a453d1ecdc1647940a89 (patch) | |
| tree | ecac95e08f5d317727d518347b89db849edac06b | |
| parent | 930b796e3af1ce1aef11a28f5f4f953736c285b0 (diff) | |
| download | ipm-ca01ccf7b915e0841203a453d1ecdc1647940a89.tar.gz ipm-ca01ccf7b915e0841203a453d1ecdc1647940a89.zip | |
:sparkles: feat(lock): add typing
| -rw-r--r-- | src/ipm/typing.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipm/typing.py b/src/ipm/typing.py index dbf124a..f800273 100644 --- a/src/ipm/typing.py +++ b/src/ipm/typing.py @@ -8,3 +8,8 @@ from typing import ( ) StrPath = str | Path +Index = Dict[Literal["index", "host", "uuid"]] +Package = Dict[ + Literal["name", "version", "description", "requirements", "dependencies"] +] +Storage = Dict[Literal["name", "version", "hash", "source"]] |
