Skip to content

Commit 2720028

Browse files
committed
Put default first in enum description
1 parent e8f2cb3 commit 2720028

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

src/resources/editor/tools/vs-code.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9527,7 +9527,7 @@ var require_yaml_intelligence_resources = __commonJS({
95279527
],
95289528
description: {
95299529
short: "The type of consent that should be requested",
9530-
long: "The type of consent that should be requested, using one of these two values:\n\n- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n\n- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn\u2019t agree).\n"
9530+
long: "The type of consent that should be requested, using one of these two values:\n\n- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn\u2019t agree).\n\n- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n"
95319531
}
95329532
},
95339533
style: {

src/resources/editor/tools/yaml/web-worker.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/resources/editor/tools/yaml/yaml-intelligence-resources.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2499,7 +2499,7 @@
24992499
],
25002500
"description": {
25012501
"short": "The type of consent that should be requested",
2502-
"long": "The type of consent that should be requested, using one of these two values:\n\n- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n\n- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).\n"
2502+
"long": "The type of consent that should be requested, using one of these two values:\n\n- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).\n\n- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.\n"
25032503
}
25042504
},
25052505
"style": {

src/resources/schema/definitions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,9 +851,10 @@
851851
long: |
852852
The type of consent that should be requested, using one of these two values:
853853
854+
- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).
855+
854856
- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.
855857
856-
- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).
857858
style:
858859
enum: [simple, headline, interstitial, standalone]
859860
description:

src/resources/types/schema-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,9 @@ For more information, see <https://plausible.io/docs/plausible-script> */;
434434
| "express"
435435
| "implied"; /* The type of consent that should be requested, using one of these two values:
436436
437-
- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences.
437+
- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree).
438438
439-
- `express` (default): This will block cookies until the user expressly agrees to allow them (or continue blocking them if the user doesn’t agree). */
439+
- `implied`: This will notify the user that the site uses cookies and permit them to change preferences, but not block cookies unless the user changes their preferences. */
440440
} /* Quarto includes the ability to request cookie consent before enabling scripts that set cookies, using [Cookie Consent](https://www.cookieconsent.com/).
441441
442442
The user’s cookie preferences will automatically control Google Analytics (if enabled) and can be used to control custom scripts you add as well. For more information see [Custom Scripts and Cookie Consent](https://quarto.org/docs/websites/website-tools.html#custom-scripts-and-cookie-consent). */;

0 commit comments

Comments
 (0)