馃憻 Reproduction steps
TablesDB is available at runtime from node-appwrite, but it is not exported in the ESM typings entrypoint (index.d.mts), which causes TypeScript import errors.
This leads to a mismatch between the runtime API and the type definitions.
馃憤 Expected behavior
TypeScript users should be able to import TablesDB the same way as other services:
import { TablesDB } from "node-appwrite";
Actual behavior
TypeScript reports that TablesDB is not exported:
Module '"node-appwrite"' has no exported member 'TablesDB'.
馃憥 Actual Behavior
Runtime export exists
In dist/index.js:
Object.defineProperty(exports, 'TablesDB', {
enumerable: true,
get: function () { return tablesDb.TablesDB; }
});
Typings export is missing
In dist/index.d.mts, TablesDB is not exported, while other services are:
export { Account } from './services/account.mjs';
export { Databases } from './services/databases.mjs';
export { Storage } from './services/storage.mjs';
// TablesDB missing
馃幉 Appwrite version
Version 0.10.x
馃捇 Operating system
Windows
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
馃憻 Reproduction steps
TablesDB is available at runtime from node-appwrite, but it is not exported in the ESM typings entrypoint (index.d.mts), which causes TypeScript import errors.
This leads to a mismatch between the runtime API and the type definitions.
馃憤 Expected behavior
TypeScript users should be able to import TablesDB the same way as other services:
import { TablesDB } from "node-appwrite";Actual behavior
TypeScript reports that TablesDB is not exported:
Module '"node-appwrite"' has no exported member 'TablesDB'.
馃憥 Actual Behavior
Runtime export exists
In dist/index.js:
Typings export is missing
In dist/index.d.mts, TablesDB is not exported, while other services are:
// TablesDB missing
馃幉 Appwrite version
Version 0.10.x
馃捇 Operating system
Windows
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?