docs(yaml): list extended schema (#5444)

This commit is contained in:
Asher Gomez 2024-07-16 14:32:25 +10:00 committed by GitHub
parent d50ba9bdf1
commit 13e23ab0e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -42,6 +42,7 @@ export type StringifyOptions = {
styles?: Record<string, StyleVariant>;
/**
* 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)