From 13e23ab0e378f740b77cefb7cd6ffb6ee27b9f34 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Tue, 16 Jul 2024 14:32:25 +1000 Subject: [PATCH] docs(yaml): list `extended` schema (#5444) --- yaml/parse.ts | 1 + yaml/stringify.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/yaml/parse.ts b/yaml/parse.ts index 3b97c8410..257225007 100644 --- a/yaml/parse.ts +++ b/yaml/parse.ts @@ -11,6 +11,7 @@ import { SCHEMA_MAP } from "./_schema.ts"; export interface ParseOptions { /** * Name of the schema to use. Options includes: + * - `extended` (extends `default` schema) * - `default` (extends `core` schema) * - {@linkcode https://yaml.org/spec/1.2.2/#103-core-schema | core} (extends `json` schema) * - {@linkcode https://yaml.org/spec/1.2.2/#102-json-schema | json} (extends `failsafe` schema) diff --git a/yaml/stringify.ts b/yaml/stringify.ts index 708dcd7f4..29e3d1287 100644 --- a/yaml/stringify.ts +++ b/yaml/stringify.ts @@ -42,6 +42,7 @@ export type StringifyOptions = { styles?: Record; /** * Name of the schema to use. Options includes: + * - `extended` (extends `default` schema) * - `default` (extends `core` schema) * - {@linkcode https://yaml.org/spec/1.2.2/#103-core-schema | core} (extends `json` schema) * - {@linkcode https://yaml.org/spec/1.2.2/#102-json-schema | json} (extends `failsafe` schema)