diff --git a/src/code_references/types.py b/src/code_references/types.py index e7208d1..a9b97bf 100644 --- a/src/code_references/types.py +++ b/src/code_references/types.py @@ -1,7 +1,9 @@ # generated by datamodel-codegen: # filename: -from typing import NotRequired, TypedDict +from typing import Literal, NotRequired, TypedDict + +type VcsProviderEnum = Literal["github"] class CodeReferenceSubmit(TypedDict): @@ -12,7 +14,8 @@ class CodeReferenceSubmit(TypedDict): class FeatureFlagCodeReferencesScan(TypedDict): created_at: NotRequired[str] - repository_url: str project: NotRequired[int] + repository_url: str + vcs_provider: NotRequired[VcsProviderEnum] revision: str code_references: list[CodeReferenceSubmit]