dbgate-datalib 5.1.5 → 5.1.6

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.
@@ -1,5 +1,5 @@
1
1
  import { Command, Condition } from 'dbgate-sqltree';
2
- import { NamedObjectInfo, DatabaseInfo } from 'dbgate-types';
2
+ import type { NamedObjectInfo, DatabaseInfo } from 'dbgate-types';
3
3
  export interface ChangeSetItem {
4
4
  pureName: string;
5
5
  schemaName?: string;
@@ -1,5 +1,5 @@
1
1
  import { GridDisplay, ChangeCacheFunc, ChangeConfigFunc } from './GridDisplay';
2
- import { EngineDriver, CollectionInfo } from 'dbgate-types';
2
+ import type { EngineDriver, CollectionInfo } from 'dbgate-types';
3
3
  import { GridConfig, GridCache } from './GridConfig';
4
4
  export declare function analyseCollectionDisplayColumns(rows: any, display: any): any[];
5
5
  export declare class CollectionGridDisplay extends GridDisplay {
@@ -1,5 +1,5 @@
1
1
  import { GridConfig, GridCache } from './GridConfig';
2
- import { TableInfo, EngineDriver, DatabaseInfo, SqlDialect } from 'dbgate-types';
2
+ import type { TableInfo, EngineDriver, DatabaseInfo, SqlDialect } from 'dbgate-types';
3
3
  import { ChangeCacheFunc, ChangeConfigFunc, DisplayColumn } from './GridDisplay';
4
4
  export declare class FormViewDisplay {
5
5
  config: GridConfig;
@@ -1,4 +1,4 @@
1
- import { ColumnInfo } from 'dbgate-types';
1
+ import type { ColumnInfo } from 'dbgate-types';
2
2
  import { GridDisplay, ChangeCacheFunc, ChangeConfigFunc } from './GridDisplay';
3
3
  import { GridConfig, GridCache } from './GridConfig';
4
4
  import { FreeTableModel } from './FreeTableModel';
@@ -1,4 +1,4 @@
1
- import { TableInfo } from 'dbgate-types';
1
+ import type { TableInfo } from 'dbgate-types';
2
2
  export interface FreeTableModel {
3
3
  structure: TableInfo;
4
4
  rows: any[];
@@ -1,5 +1,5 @@
1
1
  import { GridConfig, GridCache, GridConfigColumns, GroupFunc } from './GridConfig';
2
- import { ForeignKeyInfo, TableInfo, ColumnInfo, EngineDriver, NamedObjectInfo, DatabaseInfo, CollectionInfo, SqlDialect, ViewInfo } from 'dbgate-types';
2
+ import type { ForeignKeyInfo, TableInfo, ColumnInfo, EngineDriver, NamedObjectInfo, DatabaseInfo, CollectionInfo, SqlDialect, ViewInfo } from 'dbgate-types';
3
3
  import { ChangeSetFieldDefinition, ChangeSetRowDefinition } from './ChangeSet';
4
4
  import { Select, Condition } from 'dbgate-sqltree';
5
5
  export interface DisplayColumn {
@@ -1,4 +1,4 @@
1
- import { DatabaseInfo, ForeignKeyInfo } from 'dbgate-types';
1
+ import type { DatabaseInfo, ForeignKeyInfo } from 'dbgate-types';
2
2
  export declare type PerspectiveDatabaseEngineType = 'sqldb' | 'docdb';
3
3
  export interface PerspectiveDatabaseConfig {
4
4
  conid: string;
@@ -1,5 +1,5 @@
1
1
  import { Condition } from 'dbgate-sqltree';
2
- import { RangeDefinition } from 'dbgate-types';
2
+ import type { RangeDefinition } from 'dbgate-types';
3
3
  import { PerspectiveCache } from './PerspectiveCache';
4
4
  import { PerspectiveDataLoader } from './PerspectiveDataLoader';
5
5
  import { PerspectiveDataPatternDict } from './PerspectiveDataPattern';
@@ -1,4 +1,4 @@
1
- import { CollectionInfo, ColumnInfo, DatabaseInfo, ForeignKeyInfo, NamedObjectInfo, TableInfo, ViewInfo } from 'dbgate-types';
1
+ import type { CollectionInfo, ColumnInfo, DatabaseInfo, ForeignKeyInfo, NamedObjectInfo, TableInfo, ViewInfo } from 'dbgate-types';
2
2
  import { ChangePerspectiveConfigFunc, MultipleDatabaseInfo, PerspectiveConfig, PerspectiveCustomJoinConfig, PerspectiveDatabaseConfig, PerspectiveDatabaseEngineType, PerspectiveFilterColumnInfo, PerspectiveNodeConfig, PerspectiveReferenceConfig } from './PerspectiveConfig';
3
3
  import { PerspectiveDataLoadProps, PerspectiveDataProvider } from './PerspectiveDataProvider';
4
4
  import { FilterType } from 'dbgate-filterparser/lib/types';
@@ -1,6 +1,6 @@
1
1
  import { FormViewDisplay } from './FormViewDisplay';
2
2
  import { ChangeCacheFunc, DisplayColumn, ChangeConfigFunc } from './GridDisplay';
3
- import { EngineDriver, NamedObjectInfo, DatabaseInfo } from 'dbgate-types';
3
+ import type { EngineDriver, NamedObjectInfo, DatabaseInfo } from 'dbgate-types';
4
4
  import { GridConfig, GridCache } from './GridConfig';
5
5
  import { Condition } from 'dbgate-sqltree';
6
6
  import { ChangeSetFieldDefinition, ChangeSetRowDefinition } from './ChangeSet';
@@ -1,5 +1,5 @@
1
1
  import { GridDisplay, ChangeCacheFunc, DisplayColumn, DisplayedColumnInfo, ChangeConfigFunc } from './GridDisplay';
2
- import { TableInfo, EngineDriver, ColumnInfo, NamedObjectInfo, DatabaseInfo, ForeignKeyInfo } from 'dbgate-types';
2
+ import type { TableInfo, EngineDriver, ColumnInfo, NamedObjectInfo, DatabaseInfo, ForeignKeyInfo } from 'dbgate-types';
3
3
  import { GridConfig, GridCache } from './GridConfig';
4
4
  import { Select } from 'dbgate-sqltree';
5
5
  export interface DictionaryDescription {
@@ -1,5 +1,5 @@
1
1
  import { GridDisplay, ChangeCacheFunc, ChangeConfigFunc } from './GridDisplay';
2
- import { EngineDriver, ViewInfo, ColumnInfo } from 'dbgate-types';
2
+ import type { EngineDriver, ViewInfo, ColumnInfo } from 'dbgate-types';
3
3
  import { GridConfig, GridCache } from './GridConfig';
4
4
  export declare class ViewGridDisplay extends GridDisplay {
5
5
  view: ViewInfo;
@@ -1,5 +1,5 @@
1
1
  import { Command } from 'dbgate-sqltree';
2
- import { DatabaseInfo } from 'dbgate-types';
2
+ import type { DatabaseInfo } from 'dbgate-types';
3
3
  import { ChangeSet } from './ChangeSet';
4
4
  export interface ChangeSetDeleteCascade {
5
5
  title: string;
package/lib/index.d.ts CHANGED
@@ -20,3 +20,4 @@ export * from './PerspectiveCache';
20
20
  export * from './PerspectiveConfig';
21
21
  export * from './processPerspectiveDefaultColunns';
22
22
  export * from './PerspectiveDataPattern';
23
+ export * from './PerspectiveDataLoader';
package/lib/index.js CHANGED
@@ -36,3 +36,4 @@ __exportStar(require("./PerspectiveCache"), exports);
36
36
  __exportStar(require("./PerspectiveConfig"), exports);
37
37
  __exportStar(require("./processPerspectiveDefaultColunns"), exports);
38
38
  __exportStar(require("./PerspectiveDataPattern"), exports);
39
+ __exportStar(require("./PerspectiveDataLoader"), exports);
@@ -1,2 +1,2 @@
1
- import { DatabaseInfo } from 'dbgate-types';
1
+ import type { DatabaseInfo } from 'dbgate-types';
2
2
  export declare const chinookDbInfo: DatabaseInfo;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.1.5",
2
+ "version": "5.1.6",
3
3
  "name": "dbgate-datalib",
4
4
  "main": "lib/index.js",
5
5
  "typings": "lib/index.d.ts",
@@ -13,12 +13,12 @@
13
13
  "lib"
14
14
  ],
15
15
  "dependencies": {
16
- "dbgate-sqltree": "^5.1.5",
17
- "dbgate-tools": "^5.1.5",
18
- "dbgate-filterparser": "^5.1.5"
16
+ "dbgate-sqltree": "^5.1.6",
17
+ "dbgate-tools": "^5.1.6",
18
+ "dbgate-filterparser": "^5.1.6"
19
19
  },
20
20
  "devDependencies": {
21
- "dbgate-types": "^5.1.5",
21
+ "dbgate-types": "^5.1.6",
22
22
  "@types/node": "^13.7.0",
23
23
  "jest": "^28.1.3",
24
24
  "ts-jest": "^28.0.7",