feat(sdks/ts): Add runtime validations for TS SDK #425
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.
Summary:
Added runtime validations using
typia
for various classes and methods in the TypeScript SDK and bumped version to 0.3.8.Key points:
typia
insdks/ts/src/client.ts
,sdks/ts/src/managers/agent.ts
,sdks/ts/src/managers/base.ts
,sdks/ts/src/managers/doc.ts
,sdks/ts/src/managers/memory.ts
,sdks/ts/src/managers/session.ts
,sdks/ts/src/managers/tool.ts
,sdks/ts/src/managers/user.ts
, andsdks/ts/src/utils/requestConstructor.ts
.sdks/ts/src/check.ts
.Client
constructor to validateClientOptions
.AgentsManager
,DocsManager
,MemoriesManager
,SessionsManager
,ToolsManager
, andUsersManager
methods to validate input parameters.sdks/ts/package.json
.Generated with ❤️ by ellipsis.dev