@mastra/cloudflare 1.0.0-beta.8 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/dist/index.cjs +3 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -15
- package/dist/index.js.map +1 -1
- package/dist/storage/index.d.ts +6 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MastraError, ErrorCategory, ErrorDomain } from '@mastra/core/error';
|
|
2
|
-
import {
|
|
2
|
+
import { MemoryStorage, TABLE_MESSAGES, TABLE_THREADS, TABLE_RESOURCES, ensureDate, createStorageErrorId, normalizePerPage, calculatePagination, serializeDate, ScoresStorage, TABLE_SCORERS, WorkflowsStorage, TABLE_WORKFLOW_SNAPSHOT, MastraStorage, TABLE_TRACES, transformScoreRow as transformScoreRow$1 } from '@mastra/core/storage';
|
|
3
3
|
import Cloudflare from 'cloudflare';
|
|
4
4
|
import { MessageList } from '@mastra/core/agent';
|
|
5
5
|
import { MastraBase } from '@mastra/core/base';
|
|
@@ -2188,19 +2188,6 @@ var CloudflareStore = class extends MastraStorage {
|
|
|
2188
2188
|
throw new Error("apiToken is required for REST API");
|
|
2189
2189
|
}
|
|
2190
2190
|
}
|
|
2191
|
-
get supports() {
|
|
2192
|
-
return {
|
|
2193
|
-
selectByIncludeResourceScope: true,
|
|
2194
|
-
resourceWorkingMemory: true,
|
|
2195
|
-
hasColumn: false,
|
|
2196
|
-
createTable: false,
|
|
2197
|
-
deleteMessages: true,
|
|
2198
|
-
observability: false,
|
|
2199
|
-
indexManagement: false,
|
|
2200
|
-
listScoresBySpan: true,
|
|
2201
|
-
agents: false
|
|
2202
|
-
};
|
|
2203
|
-
}
|
|
2204
2191
|
constructor(config) {
|
|
2205
2192
|
super({ id: config.id, name: "Cloudflare", disableInit: config.disableInit });
|
|
2206
2193
|
try {
|
|
@@ -2256,6 +2243,6 @@ var CloudflareStore = class extends MastraStorage {
|
|
|
2256
2243
|
}
|
|
2257
2244
|
};
|
|
2258
2245
|
|
|
2259
|
-
export { CloudflareStore };
|
|
2246
|
+
export { CloudflareStore, MemoryStorageCloudflare, ScoresStorageCloudflare, WorkflowsStorageCloudflare };
|
|
2260
2247
|
//# sourceMappingURL=index.js.map
|
|
2261
2248
|
//# sourceMappingURL=index.js.map
|