@mastra/clickhouse 1.0.0-beta.7 → 1.0.0-beta.8

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/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createClient } from '@clickhouse/client';
2
2
  import { MastraError, ErrorCategory, ErrorDomain } from '@mastra/core/error';
3
- import { TABLE_SPANS, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TABLE_MESSAGES, MastraStorage, createStorageErrorId, WorkflowsStorage, TABLE_SCHEMAS, normalizePerPage, ScoresStorage, transformScoreRow, SCORERS_SCHEMA, calculatePagination, MemoryStorage, ObservabilityStorage, SPAN_SCHEMA, listTracesArgsSchema, getSqlType, getDefaultValue, safelyParseJSON, TraceStatus } from '@mastra/core/storage';
3
+ import { TABLE_SPANS, TABLE_RESOURCES, TABLE_SCORERS, TABLE_THREADS, TABLE_TRACES, TABLE_WORKFLOW_SNAPSHOT, TABLE_MESSAGES, MemoryStorage, TABLE_SCHEMAS, createStorageErrorId, normalizePerPage, calculatePagination, ObservabilityStorage, SPAN_SCHEMA, listTracesArgsSchema, ScoresStorage, transformScoreRow, SCORERS_SCHEMA, WorkflowsStorage, MastraStorage, TraceStatus, getSqlType, getDefaultValue, safelyParseJSON } from '@mastra/core/storage';
4
4
  import { MessageList } from '@mastra/core/agent';
5
5
  import { MastraBase } from '@mastra/core/base';
6
6
  import { saveScorePayloadSchema } from '@mastra/core/evals';
@@ -2910,19 +2910,6 @@ var ClickhouseStore = class extends MastraStorage {
2910
2910
  observability
2911
2911
  };
2912
2912
  }
2913
- get supports() {
2914
- return {
2915
- selectByIncludeResourceScope: true,
2916
- resourceWorkingMemory: true,
2917
- hasColumn: true,
2918
- createTable: true,
2919
- deleteMessages: true,
2920
- observability: true,
2921
- indexManagement: false,
2922
- listScoresBySpan: true,
2923
- agents: false
2924
- };
2925
- }
2926
2913
  async optimizeTable({ tableName }) {
2927
2914
  try {
2928
2915
  await this.db.command({
@@ -2979,6 +2966,6 @@ var ClickhouseStore = class extends MastraStorage {
2979
2966
  }
2980
2967
  };
2981
2968
 
2982
- export { COLUMN_TYPES, ClickhouseStore, TABLE_ENGINES };
2969
+ export { COLUMN_TYPES, ClickhouseStore, MemoryStorageClickhouse, ObservabilityStorageClickhouse, ScoresStorageClickhouse, TABLE_ENGINES, WorkflowsStorageClickhouse };
2983
2970
  //# sourceMappingURL=index.js.map
2984
2971
  //# sourceMappingURL=index.js.map