@creatio/base 0.831.0 → 0.832.0

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/index.d.ts CHANGED
@@ -10,6 +10,14 @@ declare interface BaseDataSourceFunctionConfig {
10
10
  type: ɵFunctionStringType;
11
11
  }
12
12
 
13
+ export declare interface DataSourceHierarchyConfig {
14
+ hierarchicalMaxDepth?: number;
15
+ hierarchicalColumnName: string;
16
+ hierarchicalColumnValue?: string;
17
+ hierarchicalFullDataLoad?: boolean;
18
+ hierarchicalColumnFiltersValue?: ɵFilterGroup;
19
+ }
20
+
13
21
  /**
14
22
  * @public
15
23
  * @description SysAdminUnitInRole source type.
@@ -1315,6 +1323,7 @@ export declare interface ɵDataSchemaAttribute {
1315
1323
  */
1316
1324
  isRequired: boolean;
1317
1325
  /* Excluded from this release type: lookupMode */
1326
+ /* Excluded from this release type: useSeconds */
1318
1327
  }
1319
1328
 
1320
1329
  /**
@@ -1407,7 +1416,8 @@ export declare interface ɵDataSchemaAttributeValueMaskingSettings {
1407
1416
 
1408
1417
  /**
1409
1418
  * @public
1410
- * @decription Type of DataSchema. In combination with the name is used for unique identification of {@link ɵDataSchema}.
1419
+ * @description Type of DataSchema.
1420
+ * In combination with the name is used for unique identification of {@link ɵDataSchema}.
1411
1421
  */
1412
1422
  export declare enum ɵDataSchemaType {
1413
1423
  /**
@@ -1655,6 +1665,10 @@ export declare interface ɵDataSourceLoadOptions {
1655
1665
  * @description Sorting options.
1656
1666
  */
1657
1667
  sortingConfig?: ɵDataSourceSortingConfig;
1668
+ /**
1669
+ * @description Hierarchy options.
1670
+ */
1671
+ hierarchyConfig?: DataSourceHierarchyConfig;
1658
1672
  }
1659
1673
 
1660
1674
  /**
@@ -1763,7 +1777,7 @@ export declare interface ɵDataSourceSortingConfig {
1763
1777
  /**
1764
1778
  * @public
1765
1779
  * @generativeApi
1766
- * @description possible BE valur types. Try to keep it same as {@link ɵEntityColumnValue}.
1780
+ * @description possible BE value types. Try to keep it same as {@link ɵEntityColumnValue}.
1767
1781
  * 0 - Global unique identifier.
1768
1782
  * 1 - String.
1769
1783
  * 4 - Integer.
@@ -1809,6 +1823,10 @@ export declare interface ɵDataSourceSortingConfig {
1809
1823
  * 44 - Web link.
1810
1824
  * 45 - Email.
1811
1825
  * 46 - Composite object.
1826
+ * 47 - Float0.
1827
+ * 48 - Currency0.
1828
+ * 49 - Currency1.
1829
+ * 50 - Currency3.
1812
1830
  * Types of values.
1813
1831
  */
1814
1832
  export declare enum ɵDataValueType {
@@ -1975,7 +1993,23 @@ export declare enum ɵDataValueType {
1975
1993
  * @description Email.
1976
1994
  */
1977
1995
  EMAIL_TEXT = 45,
1978
- COMPOSITE_OBJECT = 46
1996
+ COMPOSITE_OBJECT = 46,
1997
+ /**
1998
+ * @description Float0.
1999
+ */
2000
+ FLOAT0 = 47,
2001
+ /**
2002
+ * @description Currency0.
2003
+ */
2004
+ MONEY0 = 48,
2005
+ /**
2006
+ * @description Currency1.
2007
+ */
2008
+ MONEY1 = 49,
2009
+ /**
2010
+ * @description Currency3.
2011
+ */
2012
+ MONEY3 = 50
1979
2013
  }
1980
2014
 
1981
2015
  /**
@@ -2201,6 +2235,30 @@ export declare class ɵEntitySchemaQuery extends ɵBaseFilterableQuery {
2201
2235
  * @description Bit mask that indicates which role sources will be considered when checking record rights.
2202
2236
  */
2203
2237
  adminUnitRoleSources?: eAdminUnitRoleSources;
2238
+ /**
2239
+ * @description Indicates whether the query is hierarchical.
2240
+ */
2241
+ isHierarchical: boolean;
2242
+ /**
2243
+ * @description Maximum depth of hierarchical data retrieval.
2244
+ */
2245
+ hierarchicalMaxDepth?: number;
2246
+ /**
2247
+ * @description Name of the hierarchical column.
2248
+ */
2249
+ hierarchicalColumnName?: string;
2250
+ /**
2251
+ * @description Value of the hierarchical column.
2252
+ */
2253
+ hierarchicalColumnValue?: string;
2254
+ /**
2255
+ * @description Indicates whether to perform a full data load for hierarchical queries.
2256
+ */
2257
+ hierarchicalFullDataLoad?: boolean;
2258
+ /**
2259
+ * @description Filters applied to hierarchical parent records.
2260
+ */
2261
+ hierarchicalColumnFiltersValue?: ɵFilterGroup | undefined;
2204
2262
  constructor(rootSchemaName: string);
2205
2263
  private _internalAddColumn;
2206
2264
  private _getIsPageable;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creatio/base",
3
- "version": "0.831.0",
3
+ "version": "0.832.0",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "description": "Internal API to create customizations and integrations for Creatio platform.",
6
6
  "keywords": [
@@ -8,11 +8,27 @@
8
8
  "devkit",
9
9
  "base"
10
10
  ],
11
- "peerDependencies": {},
11
+ "peerDependencies": {
12
+ "fs-extra": "^9.1.0",
13
+ "class-transformer": "^0.5.1",
14
+ "lodash": "^4.17.21"
15
+ },
12
16
  "dependencies": {
13
17
  "tslib": "^2.3.0"
14
18
  },
15
19
  "sideEffects": false,
20
+ "overrides": [
21
+ {
22
+ "files": [
23
+ "*.ts"
24
+ ],
25
+ "parserOptions": {
26
+ "project": [
27
+ "libs/devkit/base/tsconfig.*?.json"
28
+ ]
29
+ }
30
+ }
31
+ ],
16
32
  "module": "fesm2022/creatio-base.mjs",
17
33
  "typings": "index.d.ts",
18
34
  "exports": {