@bpmsoftwaresolutions/ai-engine-client 1.1.92 → 1.1.97

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.
@@ -0,0 +1,10 @@
1
+ export function createDatabaseSchemaDomain(client) {
2
+ return {
3
+ getOverview: (request) => client.describeDatabaseCatalog(request),
4
+ listSchemas: (request) => client.listDatabaseSchemas(request),
5
+ listTables: (request) => client.listDatabaseTables(request),
6
+ listColumns: (request) => client.listDatabaseColumns(request),
7
+ listIndexes: (request) => client.listDatabaseIndexes(request),
8
+ describeTable: (request) => client.describeDatabaseTable(request),
9
+ };
10
+ }
@@ -1,5 +1,6 @@
1
1
  import { cleanList, cleanText, isPlainObject } from '../utils/text.js';
2
2
  import { createDatabaseBackupsDomain } from './database/backups.js';
3
+ import { createDatabaseSchemaDomain } from './database/schema.js';
3
4
 
4
5
  export function createDatabaseDomain(client) {
5
6
  return {
@@ -139,5 +140,6 @@ export function createDatabaseDomain(client) {
139
140
  },
140
141
  }),
141
142
  backups: createDatabaseBackupsDomain(client),
143
+ schema: createDatabaseSchemaDomain(client),
142
144
  };
143
145
  }
package/src/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { AIEngineClient, createAIEngineClient } from './client.js';
2
- export const AI_ENGINE_CLIENT_VERSION = '1.1.92';
2
+ export const AI_ENGINE_CLIENT_VERSION = '1.1.97';
3
3
  export { GOVERNED_MUTATION_REQUIRED_CAPABILITIES, AI_ENGINE_CLIENT_CAPABILITIES, TASK_BOUND_SUBSTRATE_EXECUTION_POLICY } from './constants/governance.js';
4
4
  export { LOGA_CONTRACT, LOGA_INTERACTION_CONTRACT, LOGA_NAVIGATION_CONTRACT, LOGA_PROJECTION_WORKFLOW } from './constants/loga.js';
5
5
  export {