44# @generateTypes(lang='ts', path='env.d.ts')
55# # @redactLogs=false # uncomment this to test turning off log redaction
66# @import(./.env-imported-dir/)
7+ #
8+ # SOME ERRORS - UNCOMMENT TO TEST
9+ # # @badRootDecorator
10+ # # @defaultRequired=asdf
711# ---
812
913# IMPORTED_ITEM=
@@ -18,9 +22,14 @@ CI_BRANCH=
1822
1923# OpenAI API Key
2024# @required @sensitive @type=string(startsWith=sk-)
21- # @docsUrl= https://platform.openai.com/docs/api-reference/authentication
25+ # @docs( https://platform.openai.com/docs/api-reference/authentication)
2226OPENAI_API_KEY=sk-123
2327
28+ # Docs test
29+ # @docs(https://example.com/1)
30+ # @docs('A cool label', https://example.com/1)
31+ FOO=XSASDF
32+
2433NOT_SENSITIVE_ITEM=not-a-secret
2534
2635# @type=number(precision=0)
@@ -44,8 +53,6 @@ EXEC_OP_EXAMPLE=exec('op read "op://dev test/example/credential"')
4453# EXEC_EXAMPLE2=$(op read "op://dev test/${OP_VAULT}/credential")
4554# EXEC_EXAMPLE3=exec(concat(`op read "op://dev test/`, ref(OP_VAULT), `/credential"`))
4655
47-
48-
4956# this will be overridden by env-specific files (eg: .env.development)
5057ENV_SPECIFIC_ITEM=DEFAULT-value
5158
@@ -82,9 +89,11 @@ X_SERVICE_CLIENT_TOKEN=
8289# UNCOMMENT THIS TO CAUSE A LOADING/PARSE ERROR
8390# PARSE_ERROR="asdf"asdf"
8491
85- # UNCOMMENT TO SEE VALIDATION ERRORS (empty required)
86- # # @required
87- # REQUIRED_UNDEF_FAIL=
88- # # @required
89- # REQUIRED_EMPTY_STR_FAIL=''
90-
92+ # UNCOMMENT EACH LINE TO TEST VARIOUS KINDS OF ERRORS
93+ # ---
94+ # REQUIRED_UNDEF_FAIL= # @required
95+ # REQUIRED_EMPTY_STR_FAIL='' # @required
96+ # BAD_ITEM_DECORATOR_EXAMPLE= # @badItemDecorator
97+ # BAD_ITEM_DECORATOR_RESOLVER_EXAMPLE= # @required=$DOESNOTEXIST
98+ # DECORATOR_CONFLICT_ITEM= # @required @optional
99+ # DECORATOR_DUPE_ITEM= # @required @required
0 commit comments