Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim567 committed Dec 6, 2023
2 parents a601f5f + e6d646c commit 5728db7
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions render/environment-variables-flow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions render/environment-variables-layout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions tdd/environment-variables-flow.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
@startuml EnvironmentVariables

package "Environment Variables" {
[env.ts]
}

[env.ts] --> [getEnvValue(key: EnvOptions): string]

note right of [getEnvValue(key: EnvOptions): string]
This function retrieves the value of
the specified environment variable.
If not found, an error is thrown.
end note

database ".env" {
folder "Ignored by Git"
}

[.env] --> [Ignored by Git]

database ".env.example" {
folder "Template"
}

[.env.example] --> [Template]

@enduml
File renamed without changes.

0 comments on commit 5728db7

Please sign in to comment.