@or-sdk/tables 0.23.5-beta.434.0 → 0.23.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.23.6](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/tables@0.23.5...@or-sdk/tables@0.23.6) (2022-06-20)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Fix watch, better build ([b3e8528](https://gitlab.com/onereach/platform/or-sdk-next/commit/b3e85287dae5b53b892fcefc48348094dac8a0cc))
12
+
13
+
14
+
15
+ ### [0.23.5](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/tables@0.23.4...@or-sdk/tables@0.23.5) (2022-06-20)
16
+
17
+ **Note:** Version bump only for package @or-sdk/tables
18
+
19
+
20
+
21
+
22
+
6
23
  ### [0.23.4](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/tables@0.23.3...@or-sdk/tables@0.23.4) (2022-06-17)
7
24
 
8
25
 
@@ -13,3 +13,4 @@ export declare class Tables extends Base {
13
13
  getTableFilters(name: string): Promise<Filter[]>;
14
14
  saveTableFilters(name: string, filters: Filter[]): Promise<void>;
15
15
  }
16
+ //# sourceMappingURL=Tables.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tables.d.ts","sourceRoot":"","sources":["../../src/Tables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,IAAI,EAA4B,MAAM,cAAc,CAAC;AAC/H,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAiBjH,qBAAa,MAAO,SAAQ,IAAI;gBAMlB,MAAM,EAAE,YAAY;IAYhC,UAAU,CAAC,IAAI,EAAE,wBAAwB,GAAG,MAAM;IAYrC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAgBlC,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAqBxE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBxC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC;IAepD,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,mCAAyC,GAAG,OAAO,CAAC,aAAa,CAAC;IAwBpG,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAoBlE,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAiBnE,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAkBhD,gBAAgB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;CAU9E"}
@@ -1 +1,2 @@
1
1
  export declare const SERVICE_KEY = "tables-api";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,eAAe,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { Tables } from './Tables';
2
2
  export * from './types';
3
3
  export { PaginationOptions, OrderOptions } from '@or-sdk/base';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC"}
@@ -54,3 +54,4 @@ export declare type Filter = {
54
54
  query: unknown;
55
55
  raw?: boolean;
56
56
  };
57
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAE3C,oBAAY,YAAY,GAAG;IAIzB,KAAK,EAAE,KAAK,CAAC;IAKb,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,KAAK,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE;QACX,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;QACF,GAAG,EAAE;YACH,IAAI,EAAE,MAAM,CAAC;SACd,CAAC;KACH,CAAC;CACH,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,gBAAgB,CAAC;CACjC,CAAC;AAEF,oBAAY,kBAAkB,GAAG;IAC/B,CAAC,GAAG,EAAE,MAAM,GAAG;QACb,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE;YACP,GAAG,EAAE;gBACH,IAAI,EAAE,MAAM,CAAC;aACd,CAAC;SACH,CAAC;KACH,CAAC;CACH,CAAC;AAEF,oBAAY,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;AAE3C,oBAAY,QAAQ,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE;QACP,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG;YAAC,IAAI,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;SAAC,EAAE,CAAC;KACxD,CAAC;IACF,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,MAAM,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,CAAC,EAAE,OAAO,CAAC;CACf,CAAC"}
@@ -1,2 +1,3 @@
1
1
  declare function extractTablesListResponse(response: any): string[];
2
2
  export default extractTablesListResponse;
3
+ //# sourceMappingURL=extractAddRowsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractAddRowsResponse.d.ts","sourceRoot":"","sources":["../../../src/utils/extractAddRowsResponse.ts"],"names":[],"mappings":"AAEA,iBAAS,yBAAyB,CAAC,QAAQ,EAAE,GAAG,GAAG,MAAM,EAAE,CAE1D;AAED,eAAe,yBAAyB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { Filter } from '../types';
2
2
  declare function extractTablesListResponse(response: any): Filter[];
3
3
  export default extractTablesListResponse;
4
+ //# sourceMappingURL=extractFiltersResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractFiltersResponse.d.ts","sourceRoot":"","sources":["../../../src/utils/extractFiltersResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,iBAAS,yBAAyB,CAAC,QAAQ,EAAE,GAAG,GAAG,MAAM,EAAE,CAE1D;AAED,eAAe,yBAAyB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { Table } from '../types';
2
2
  declare function extractTablesListResponse(response: any): Table[];
3
3
  export default extractTablesListResponse;
4
+ //# sourceMappingURL=extractTablesListResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractTablesListResponse.d.ts","sourceRoot":"","sources":["../../../src/utils/extractTablesListResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,iBAAS,yBAAyB,CAAC,QAAQ,EAAE,GAAG,GAAG,KAAK,EAAE,CASzD;AAED,eAAe,yBAAyB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { TableMapping } from '../types';
2
2
  declare function extractTablesMappingsResponse(response: any): TableMapping;
3
3
  export default extractTablesMappingsResponse;
4
+ //# sourceMappingURL=extractTablesMappingsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractTablesMappingsResponse.d.ts","sourceRoot":"","sources":["../../../src/utils/extractTablesMappingsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAExC,iBAAS,6BAA6B,CAAC,QAAQ,EAAE,GAAG,GAAG,YAAY,CAElE;AAED,eAAe,6BAA6B,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { TableRowsList } from '../types';
2
2
  declare function extractTablesRowsResponse(response: any): TableRowsList;
3
3
  export default extractTablesRowsResponse;
4
+ //# sourceMappingURL=extractTablesRowsResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractTablesRowsResponse.d.ts","sourceRoot":"","sources":["../../../src/utils/extractTablesRowsResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,iBAAS,yBAAyB,CAAC,QAAQ,EAAE,GAAG,GAAG,aAAa,CAK/D;AAED,eAAe,yBAAyB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  declare function getErrorMessage(e: Error): string;
2
2
  export default getErrorMessage;
3
+ //# sourceMappingURL=getErrorMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getErrorMessage.d.ts","sourceRoot":"","sources":["../../../src/utils/getErrorMessage.ts"],"names":[],"mappings":"AAEA,iBAAS,eAAe,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAUzC;AAED,eAAe,eAAe,CAAC"}
@@ -4,3 +4,4 @@ export { default as extractTablesMappingsResponse } from './extractTablesMapping
4
4
  export { default as extractTablesRowsResponse } from './extractTablesRowsResponse';
5
5
  export { default as extractFiltersResponse } from './extractFiltersResponse';
6
6
  export { default as extractAddRowsResponse } from './extractAddRowsResponse';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
package/package.json CHANGED
@@ -1,20 +1,25 @@
1
1
  {
2
- "version": "0.23.5-beta.434.0",
3
2
  "name": "@or-sdk/tables",
3
+ "version": "0.23.6",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
7
7
  "scripts": {
8
- "build": "npm run clean && concurrently \"npm run build:cjs\" \"npm run build:esm\" \"npm run build:types\"",
9
- "build:watch": "concurrently -r --hide 1,2 \"npm run build:watch:cjs\" \"npm run build:watch:esm\" \"npm run build:watch:types\"",
8
+ "build": "npm run clean && npm run build:esm && npm run build:cjs",
10
9
  "build:cjs": "tsc --project tsconfig.json",
11
- "build:watch:cjs": "tsc --project tsconfig.json -w",
12
10
  "build:esm": "tsc --project tsconfig.esm.json",
13
- "build:watch:esm": "tsc --project tsconfig.esm.json -w",
14
11
  "build:types": "tsc --project tsconfig.types.json",
12
+ "build:watch": "concurrently -r --hide 1,2 \"npm run build:watch:cjs\" \"npm run build:watch:esm\" \"npm run build:watch:types\"",
13
+ "build:watch:cjs": "tsc --project tsconfig.json -w",
14
+ "build:watch:esm": "tsc --project tsconfig.esm.json -w",
15
15
  "build:watch:types": "tsc --project tsconfig.types.json -w",
16
16
  "clean": "rm -rf ./dist",
17
- "dev": "tsc --project tsconfig.dev.json -w"
17
+ "dev": "npm run build:watch:esm"
18
+ },
19
+ "dependencies": {
20
+ "@or-sdk/base": "^0.25.1",
21
+ "lodash": "^4.17.21",
22
+ "query-string": "^7.0.1"
18
23
  },
19
24
  "devDependencies": {
20
25
  "@types/lodash": "^4.14.176",
@@ -24,9 +29,5 @@
24
29
  "publishConfig": {
25
30
  "access": "public"
26
31
  },
27
- "dependencies": {
28
- "@or-sdk/base": "^0.24.3-beta.434.0",
29
- "lodash": "^4.17.21",
30
- "query-string": "^7.0.1"
31
- }
32
+ "gitHead": "4a8e6a3b9b1edf8da47d89b9e2be4c876a525972"
32
33
  }
package/tsconfig.dev.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "extends": "./tsconfig.esm.json",
3
3
  "compilerOptions": {
4
- "outDir": "./dist/types",
4
+ "declarationDir": "./dist/types",
5
5
  "rootDir": "./src",
6
- "declaration": true,
6
+ "declaration": true
7
7
  }
8
8
  }
package/tsconfig.esm.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
+ "outDir": "./dist/esm",
5
+ "declarationDir": "./dist/types",
4
6
  "module": "ES6",
5
7
  "target": "es6",
6
- "outDir": "./dist/esm",
7
- "rootDir": "./src"
8
+ "rootDir": "./src",
9
+ "declaration": true,
10
+ "declarationMap": true
8
11
  }
9
12
  }
@@ -4,6 +4,7 @@
4
4
  "outDir": "./dist/types",
5
5
  "rootDir": "./src",
6
6
  "declaration": true,
7
+ "declarationMap": true,
7
8
  "emitDeclarationOnly": true
8
9
  }
9
10
  }