Add FileStore declarations to the ClearBladeAsync code-service types - #41
Merged
seschwartz8 merged 2 commits intoJul 13, 2026
Merged
Conversation
The runtime ClearBladeAsync binding exposes a FileStore API that these type declarations did not yet describe. This adds a FileStore method on the ClearBladeAsync interface along with the FileStoreAsync type and its list option, file metadata, and list result types, mirroring the read, write, delete, move, copy, and list operations provided at runtime. It also adds a usage example to the type test file and bumps the minor version because this is an additive change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The runtime binds ClearBladeAsync.FileStore as a constructor rather than a factory function, so FileStore is now typed with a construct signature and the test uses new. The lint step used dtslint, whose standalone package is end-of-life and fails to install TypeScript 4.6 on modern Node, breaking the pipeline. This swaps it for a direct tsc --noEmit typecheck driven by a new tsconfig that compiles the declarations and the test file, which validates the types deterministically. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
clarkbynum
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The runtime ClearBladeAsync binding exposes a FileStore API that these type declarations did not yet describe. This adds a FileStore method on the ClearBladeAsync interface along with the FileStoreAsync type and its list option, file metadata, and list result types, mirroring the read, write, delete, move, copy, and list operations provided at runtime. It also adds a usage example to the type test file and bumps the minor version because this is an additive change.