Fix wrong function name in the compilation error messages. #1488
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates and improvements across multiple files, focusing on build processes, version updates, documentation, and transformer logic. The most important changes include enhancements to the build process, version updates, and the restructuring of transformer logic for better validation handling.
Build Process Improvements:
.github/workflows/website.yml
: Combined the root installation and build steps into a single command to streamline the build process.Version Updates:
package.json
: Updated the version from7.6.1
to7.6.3
.packages/typescript-json/package.json
: Updated the version from7.6.1-dev.20250203
to7.6.2-dev.20250205
and updated thetypia
dependency accordingly. [1] [2]Documentation Updates:
packages/typescript-json/README.md
: Updated the link description from "A.I. Chatbot" to "Super AI Chatbot".Transformer Logic Restructuring:
src/factories/JsonMetadataFactory.ts
: Adjusted the order of options to ensureabsorb
is set correctly.src/programmers/llm/LlmModelPredicator.ts
: Ensuredabsorb
is set totrue
and adjusted the order of options.src/transformers/features/json/JsonSchemasTransformer.ts
: Refactored to use ananalyze
function for metadata validation, improving the handling of thevalidate
option. [1] [2]src/transformers/features/llm/LlmApplicationOfValidateTransformer.ts
: Introduced ananalyze
function to validate types and handle metadata more efficiently.src/transformers/features/llm/LlmApplicationTransformer.ts
: Added ananalyze
function for type validation and metadata handling.src/transformers/features/llm/LlmParametersTransformer.ts
: Implemented ananalyze
function for better type validation and metadata management.src/transformers/features/llm/LlmSchemaTransformer.ts
: Updated to use ananalyze
function for validating types and managing metadata.Test Schema Updates:
test/schemas/json.schemas/v3_0/TypeTagAtomicUnion.json
,test/schemas/json.schemas/v3_1/TypeTagAtomicUnion.json
,test/schemas/llm.application/3.0/TypeTagAtomicUnion.json
: Reordered theoneOf
definitions to place thenumber
type before thestring
type. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]These changes collectively improve the build process, ensure up-to-date dependencies, enhance documentation clarity, and optimize transformer logic for better validation and metadata management.