Skip to content

Add FileStore declarations to the ClearBladeAsync code-service types - #41

Merged
seschwartz8 merged 2 commits into
masterfrom
APPS-1426-start-using-filestores-in-assetmodel
Jul 13, 2026
Merged

Add FileStore declarations to the ClearBladeAsync code-service types#41
seschwartz8 merged 2 commits into
masterfrom
APPS-1426-start-using-filestores-in-assetmodel

Conversation

@seschwartz8

Copy link
Copy Markdown
Contributor

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.

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>
@seschwartz8
seschwartz8 requested a review from clarkbynum July 13, 2026 18:09
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>
@seschwartz8
seschwartz8 merged commit 69e58f1 into master Jul 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants