-
Couldn't load subscription status.
- Fork 13
plugins and 1pass docs #175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: plugins
Are you sure you want to change the base?
Conversation
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
varlock-website | 0546ef0 | Commit Preview URL Branch Preview URL |
Oct 28 2025, 07:31 PM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly copy edits and a few tweaks and questions
ready to go once we decide on the final name for initOp etc
nice job!
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/reference/item-decorators.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/reference/item-decorators.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/reference/item-decorators.mdx
Outdated
Show resolved
Hide resolved
packages/varlock-website/src/content/docs/reference/root-decorators.mdx
Outdated
Show resolved
Hide resolved
| :::note[Decorator values are resolved] | ||
| Values passed to decorators will be resolved, meaning if a decorator is expecting a boolean, either a static `true`/`false` or a [resolver function](/reference/functions) that resolves to a boolean may be used. | ||
|
|
||
| ```env-spec | ||
| # @required=false | ||
| NEVER_REQUIRED= | ||
| # @required=forEnv(prod) | ||
| REQUIRED_FOR_PROD= | ||
| ``` | ||
| ::: | ||
|
|
||
|
|
||
| :::note[Decorator function calls] | ||
| Most decorators take a single value (e.g., `@sensitive`) and may be used only once per item, but some are function calls (e.g., `@docs()`) and may be called multiple times. | ||
|
|
||
| ```env-spec | ||
| # @sensitive=true | ||
| # @docs(https://xyzapi.com/docs/auth) | ||
| # @docs(https://xyzapi.com/manage-api-keys) | ||
| XYZ_API_KEY= | ||
| ``` | ||
| ::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete?
packages/varlock-website/src/content/docs/guides/environments.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Phil Miller <[email protected]>
df136fd to
c5be9b5
Compare
04f3c3c to
0546ef0
Compare
@envFlagto@currentEnv