@qrvey/cd-package-registry 1.0.26-1554 → 1.1.0-1643
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/cjs/index.js +1152 -687
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.mjs +1146 -688
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +63 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1256,6 +1256,8 @@ var AssetType = /* @__PURE__ */ (function(AssetType2) {
|
|
|
1256
1256
|
AssetType2["PAGE_FLOW"] = "PAGE_FLOW";
|
|
1257
1257
|
AssetType2["PAGE_BUILDER_CONFIGURATION"] = "PAGE_BUILDER_CONFIGURATION";
|
|
1258
1258
|
AssetType2["TOKEN"] = "TOKEN";
|
|
1259
|
+
AssetType2["RELATIONSHIP"] = "RELATIONSHIP";
|
|
1260
|
+
AssetType2["DATASET_VIEW"] = "DATASET_VIEW";
|
|
1259
1261
|
return AssetType2;
|
|
1260
1262
|
})({});
|
|
1261
1263
|
|
|
@@ -1545,8 +1547,6 @@ var _BaseDto = class _BaseDto {
|
|
|
1545
1547
|
};
|
|
1546
1548
|
__name(_BaseDto, "BaseDto");
|
|
1547
1549
|
var BaseDto = _BaseDto;
|
|
1548
|
-
|
|
1549
|
-
// src/dtos/chart-asset.dto.ts
|
|
1550
1550
|
function _ts_decorate7(decorators, target, key, desc) {
|
|
1551
1551
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1552
1552
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1558,6 +1558,52 @@ function _ts_metadata7(k, v) {
|
|
|
1558
1558
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1559
1559
|
}
|
|
1560
1560
|
__name(_ts_metadata7, "_ts_metadata");
|
|
1561
|
+
var _DependsOnDto = class _DependsOnDto {
|
|
1562
|
+
constructor() {
|
|
1563
|
+
__publicField(this, "datasetIds");
|
|
1564
|
+
__publicField(this, "viewIds");
|
|
1565
|
+
__publicField(this, "relationshipIds");
|
|
1566
|
+
}
|
|
1567
|
+
};
|
|
1568
|
+
__name(_DependsOnDto, "DependsOnDto");
|
|
1569
|
+
var DependsOnDto = _DependsOnDto;
|
|
1570
|
+
_ts_decorate7([
|
|
1571
|
+
classValidator.IsOptional(),
|
|
1572
|
+
classValidator.IsArray(),
|
|
1573
|
+
classValidator.IsString({
|
|
1574
|
+
each: true
|
|
1575
|
+
}),
|
|
1576
|
+
_ts_metadata7("design:type", Array)
|
|
1577
|
+
], DependsOnDto.prototype, "datasetIds", void 0);
|
|
1578
|
+
_ts_decorate7([
|
|
1579
|
+
classValidator.IsOptional(),
|
|
1580
|
+
classValidator.IsArray(),
|
|
1581
|
+
classValidator.IsString({
|
|
1582
|
+
each: true
|
|
1583
|
+
}),
|
|
1584
|
+
_ts_metadata7("design:type", Array)
|
|
1585
|
+
], DependsOnDto.prototype, "viewIds", void 0);
|
|
1586
|
+
_ts_decorate7([
|
|
1587
|
+
classValidator.IsOptional(),
|
|
1588
|
+
classValidator.IsArray(),
|
|
1589
|
+
classValidator.IsString({
|
|
1590
|
+
each: true
|
|
1591
|
+
}),
|
|
1592
|
+
_ts_metadata7("design:type", Array)
|
|
1593
|
+
], DependsOnDto.prototype, "relationshipIds", void 0);
|
|
1594
|
+
|
|
1595
|
+
// src/dtos/chart-asset.dto.ts
|
|
1596
|
+
function _ts_decorate8(decorators, target, key, desc) {
|
|
1597
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1598
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1599
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1600
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1601
|
+
}
|
|
1602
|
+
__name(_ts_decorate8, "_ts_decorate");
|
|
1603
|
+
function _ts_metadata8(k, v) {
|
|
1604
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1605
|
+
}
|
|
1606
|
+
__name(_ts_metadata8, "_ts_metadata");
|
|
1561
1607
|
var _ChartAssetDto = class _ChartAssetDto extends BaseDto {
|
|
1562
1608
|
constructor() {
|
|
1563
1609
|
super(...arguments);
|
|
@@ -1593,182 +1639,191 @@ var _ChartAssetDto = class _ChartAssetDto extends BaseDto {
|
|
|
1593
1639
|
__publicField(this, "v2");
|
|
1594
1640
|
__publicField(this, "customAttributes");
|
|
1595
1641
|
__publicField(this, "dataset");
|
|
1642
|
+
/** Smart Joins: what a multi-dataset chart (qrveyid === appId) reads from */
|
|
1643
|
+
__publicField(this, "dependsOn");
|
|
1596
1644
|
}
|
|
1597
1645
|
};
|
|
1598
1646
|
__name(_ChartAssetDto, "ChartAssetDto");
|
|
1599
1647
|
var ChartAssetDto = _ChartAssetDto;
|
|
1600
|
-
|
|
1648
|
+
_ts_decorate8([
|
|
1601
1649
|
classValidator.IsString(),
|
|
1602
1650
|
classValidator.MaxLength(255),
|
|
1603
|
-
|
|
1651
|
+
_ts_metadata8("design:type", String)
|
|
1604
1652
|
], ChartAssetDto.prototype, "chartid", void 0);
|
|
1605
|
-
|
|
1653
|
+
_ts_decorate8([
|
|
1606
1654
|
classValidator.IsString(),
|
|
1607
1655
|
classValidator.IsOptional(),
|
|
1608
1656
|
classValidator.MaxLength(255),
|
|
1609
|
-
|
|
1657
|
+
_ts_metadata8("design:type", String)
|
|
1610
1658
|
], ChartAssetDto.prototype, "qrveyid", void 0);
|
|
1611
|
-
|
|
1659
|
+
_ts_decorate8([
|
|
1612
1660
|
classValidator.IsString(),
|
|
1613
1661
|
classValidator.IsOptional(),
|
|
1614
1662
|
classValidator.MaxLength(255),
|
|
1615
1663
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
1616
1664
|
message: "createDate must be in ISO 8601 format"
|
|
1617
1665
|
}),
|
|
1618
|
-
|
|
1666
|
+
_ts_metadata8("design:type", String)
|
|
1619
1667
|
], ChartAssetDto.prototype, "createDate", void 0);
|
|
1620
|
-
|
|
1668
|
+
_ts_decorate8([
|
|
1621
1669
|
classValidator.IsOptional(),
|
|
1622
1670
|
classValidator.IsObject(),
|
|
1623
|
-
|
|
1671
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1624
1672
|
], ChartAssetDto.prototype, "chart", void 0);
|
|
1625
|
-
|
|
1673
|
+
_ts_decorate8([
|
|
1626
1674
|
classValidator.IsOptional(),
|
|
1627
1675
|
classValidator.IsObject(),
|
|
1628
|
-
|
|
1676
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1629
1677
|
], ChartAssetDto.prototype, "dateGroup", void 0);
|
|
1630
|
-
|
|
1678
|
+
_ts_decorate8([
|
|
1631
1679
|
classValidator.IsOptional(),
|
|
1632
1680
|
classValidator.IsObject(),
|
|
1633
|
-
|
|
1681
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1634
1682
|
], ChartAssetDto.prototype, "defaultFilters", void 0);
|
|
1635
|
-
|
|
1683
|
+
_ts_decorate8([
|
|
1636
1684
|
classValidator.IsOptional(),
|
|
1637
1685
|
classValidator.IsObject(),
|
|
1638
|
-
|
|
1686
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1639
1687
|
], ChartAssetDto.prototype, "globalSettings", void 0);
|
|
1640
|
-
|
|
1688
|
+
_ts_decorate8([
|
|
1641
1689
|
classValidator.IsOptional(),
|
|
1642
1690
|
classValidator.IsBoolean(),
|
|
1643
|
-
|
|
1691
|
+
_ts_metadata8("design:type", Boolean)
|
|
1644
1692
|
], ChartAssetDto.prototype, "is100", void 0);
|
|
1645
|
-
|
|
1693
|
+
_ts_decorate8([
|
|
1646
1694
|
classValidator.IsOptional(),
|
|
1647
1695
|
classValidator.IsBoolean(),
|
|
1648
|
-
|
|
1696
|
+
_ts_metadata8("design:type", Boolean)
|
|
1649
1697
|
], ChartAssetDto.prototype, "isChartOptions", void 0);
|
|
1650
|
-
|
|
1698
|
+
_ts_decorate8([
|
|
1651
1699
|
classValidator.IsOptional(),
|
|
1652
1700
|
classValidator.IsBoolean(),
|
|
1653
|
-
|
|
1701
|
+
_ts_metadata8("design:type", Boolean)
|
|
1654
1702
|
], ChartAssetDto.prototype, "isCombo", void 0);
|
|
1655
|
-
|
|
1703
|
+
_ts_decorate8([
|
|
1656
1704
|
classValidator.IsOptional(),
|
|
1657
1705
|
classValidator.IsBoolean(),
|
|
1658
|
-
|
|
1706
|
+
_ts_metadata8("design:type", Boolean)
|
|
1659
1707
|
], ChartAssetDto.prototype, "isComboCalc", void 0);
|
|
1660
|
-
|
|
1708
|
+
_ts_decorate8([
|
|
1661
1709
|
classValidator.IsOptional(),
|
|
1662
1710
|
classValidator.IsBoolean(),
|
|
1663
|
-
|
|
1711
|
+
_ts_metadata8("design:type", Boolean)
|
|
1664
1712
|
], ChartAssetDto.prototype, "isCombolayer", void 0);
|
|
1665
|
-
|
|
1713
|
+
_ts_decorate8([
|
|
1666
1714
|
classValidator.IsOptional(),
|
|
1667
1715
|
classValidator.IsBoolean(),
|
|
1668
|
-
|
|
1716
|
+
_ts_metadata8("design:type", Boolean)
|
|
1669
1717
|
], ChartAssetDto.prototype, "isMulti", void 0);
|
|
1670
|
-
|
|
1718
|
+
_ts_decorate8([
|
|
1671
1719
|
classValidator.IsOptional(),
|
|
1672
1720
|
classValidator.IsBoolean(),
|
|
1673
|
-
|
|
1721
|
+
_ts_metadata8("design:type", Boolean)
|
|
1674
1722
|
], ChartAssetDto.prototype, "isOldChart", void 0);
|
|
1675
|
-
|
|
1723
|
+
_ts_decorate8([
|
|
1676
1724
|
classValidator.IsOptional(),
|
|
1677
1725
|
classValidator.IsBoolean(),
|
|
1678
|
-
|
|
1726
|
+
_ts_metadata8("design:type", Boolean)
|
|
1679
1727
|
], ChartAssetDto.prototype, "isReference", void 0);
|
|
1680
|
-
|
|
1728
|
+
_ts_decorate8([
|
|
1681
1729
|
classValidator.IsOptional(),
|
|
1682
1730
|
classValidator.IsBoolean(),
|
|
1683
|
-
|
|
1731
|
+
_ts_metadata8("design:type", Boolean)
|
|
1684
1732
|
], ChartAssetDto.prototype, "isSmallMultiples", void 0);
|
|
1685
|
-
|
|
1733
|
+
_ts_decorate8([
|
|
1686
1734
|
classValidator.IsOptional(),
|
|
1687
1735
|
classValidator.IsBoolean(),
|
|
1688
|
-
|
|
1736
|
+
_ts_metadata8("design:type", Boolean)
|
|
1689
1737
|
], ChartAssetDto.prototype, "isSplit", void 0);
|
|
1690
|
-
|
|
1738
|
+
_ts_decorate8([
|
|
1691
1739
|
classValidator.IsOptional(),
|
|
1692
1740
|
classValidator.IsBoolean(),
|
|
1693
|
-
|
|
1741
|
+
_ts_metadata8("design:type", Boolean)
|
|
1694
1742
|
], ChartAssetDto.prototype, "isStakedBar", void 0);
|
|
1695
|
-
|
|
1743
|
+
_ts_decorate8([
|
|
1696
1744
|
classValidator.IsOptional(),
|
|
1697
1745
|
classValidator.IsBoolean(),
|
|
1698
|
-
|
|
1746
|
+
_ts_metadata8("design:type", Boolean)
|
|
1699
1747
|
], ChartAssetDto.prototype, "isTableChartGrouped", void 0);
|
|
1700
|
-
|
|
1748
|
+
_ts_decorate8([
|
|
1701
1749
|
classValidator.IsOptional(),
|
|
1702
1750
|
classValidator.IsBoolean(),
|
|
1703
|
-
|
|
1751
|
+
_ts_metadata8("design:type", Boolean)
|
|
1704
1752
|
], ChartAssetDto.prototype, "isTrend", void 0);
|
|
1705
|
-
|
|
1753
|
+
_ts_decorate8([
|
|
1706
1754
|
classValidator.IsOptional(),
|
|
1707
1755
|
classValidator.IsArray(),
|
|
1708
|
-
|
|
1756
|
+
_ts_metadata8("design:type", Array)
|
|
1709
1757
|
], ChartAssetDto.prototype, "layerList", void 0);
|
|
1710
|
-
|
|
1758
|
+
_ts_decorate8([
|
|
1711
1759
|
classValidator.IsString(),
|
|
1712
1760
|
classValidator.IsOptional(),
|
|
1713
1761
|
classValidator.MaxLength(255),
|
|
1714
1762
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
1715
1763
|
message: "modifyDate must be in ISO 8601 format"
|
|
1716
1764
|
}),
|
|
1717
|
-
|
|
1765
|
+
_ts_metadata8("design:type", String)
|
|
1718
1766
|
], ChartAssetDto.prototype, "modifyDate", void 0);
|
|
1719
|
-
|
|
1767
|
+
_ts_decorate8([
|
|
1720
1768
|
classValidator.IsString(),
|
|
1721
1769
|
classValidator.IsOptional(),
|
|
1722
|
-
|
|
1770
|
+
_ts_metadata8("design:type", String)
|
|
1723
1771
|
], ChartAssetDto.prototype, "name", void 0);
|
|
1724
|
-
|
|
1772
|
+
_ts_decorate8([
|
|
1725
1773
|
classValidator.IsString(),
|
|
1726
1774
|
classValidator.IsOptional(),
|
|
1727
1775
|
classValidator.MaxLength(255),
|
|
1728
|
-
|
|
1776
|
+
_ts_metadata8("design:type", String)
|
|
1729
1777
|
], ChartAssetDto.prototype, "originalSourceId", void 0);
|
|
1730
|
-
|
|
1778
|
+
_ts_decorate8([
|
|
1731
1779
|
classValidator.IsNumber(),
|
|
1732
1780
|
classValidator.IsOptional(),
|
|
1733
|
-
|
|
1781
|
+
_ts_metadata8("design:type", Number)
|
|
1734
1782
|
], ChartAssetDto.prototype, "position", void 0);
|
|
1735
|
-
|
|
1783
|
+
_ts_decorate8([
|
|
1736
1784
|
classValidator.IsString(),
|
|
1737
1785
|
classValidator.IsOptional(),
|
|
1738
|
-
|
|
1786
|
+
_ts_metadata8("design:type", String)
|
|
1739
1787
|
], ChartAssetDto.prototype, "title", void 0);
|
|
1740
|
-
|
|
1788
|
+
_ts_decorate8([
|
|
1741
1789
|
classValidator.IsOptional(),
|
|
1742
1790
|
classValidator.MaxLength(255),
|
|
1743
1791
|
classValidator.IsEnum(ChartTypes),
|
|
1744
|
-
|
|
1792
|
+
_ts_metadata8("design:type", typeof ChartTypes === "undefined" ? Object : ChartTypes)
|
|
1745
1793
|
], ChartAssetDto.prototype, "type", void 0);
|
|
1746
|
-
|
|
1794
|
+
_ts_decorate8([
|
|
1747
1795
|
classValidator.IsOptional(),
|
|
1748
1796
|
classValidator.IsObject(),
|
|
1749
|
-
|
|
1797
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1750
1798
|
], ChartAssetDto.prototype, "v2", void 0);
|
|
1751
|
-
|
|
1799
|
+
_ts_decorate8([
|
|
1752
1800
|
classValidator.IsOptional(),
|
|
1753
1801
|
classValidator.IsObject(),
|
|
1754
|
-
|
|
1802
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1755
1803
|
], ChartAssetDto.prototype, "customAttributes", void 0);
|
|
1756
|
-
|
|
1804
|
+
_ts_decorate8([
|
|
1757
1805
|
classValidator.IsObject(),
|
|
1758
1806
|
classValidator.IsOptional(),
|
|
1759
|
-
|
|
1807
|
+
_ts_metadata8("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1760
1808
|
], ChartAssetDto.prototype, "dataset", void 0);
|
|
1761
|
-
|
|
1809
|
+
_ts_decorate8([
|
|
1810
|
+
classValidator.IsOptional(),
|
|
1811
|
+
classValidator.IsObject(),
|
|
1812
|
+
classValidator.ValidateNested(),
|
|
1813
|
+
classTransformer.Type(() => DependsOnDto),
|
|
1814
|
+
_ts_metadata8("design:type", typeof DependsOnDto === "undefined" ? Object : DependsOnDto)
|
|
1815
|
+
], ChartAssetDto.prototype, "dependsOn", void 0);
|
|
1816
|
+
function _ts_decorate9(decorators, target, key, desc) {
|
|
1762
1817
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1763
1818
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1764
1819
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1765
1820
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1766
1821
|
}
|
|
1767
|
-
__name(
|
|
1768
|
-
function
|
|
1822
|
+
__name(_ts_decorate9, "_ts_decorate");
|
|
1823
|
+
function _ts_metadata9(k, v) {
|
|
1769
1824
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1770
1825
|
}
|
|
1771
|
-
__name(
|
|
1826
|
+
__name(_ts_metadata9, "_ts_metadata");
|
|
1772
1827
|
var _MetricAssetDto = class _MetricAssetDto extends BaseDto {
|
|
1773
1828
|
constructor() {
|
|
1774
1829
|
super(...arguments);
|
|
@@ -1789,91 +1844,100 @@ var _MetricAssetDto = class _MetricAssetDto extends BaseDto {
|
|
|
1789
1844
|
__publicField(this, "createDate");
|
|
1790
1845
|
__publicField(this, "namelower");
|
|
1791
1846
|
__publicField(this, "modifyDate");
|
|
1847
|
+
/** Smart Joins: what a multi-dataset metric reads from; one with any key marks the metric multi-dataset */
|
|
1848
|
+
__publicField(this, "dependsOn");
|
|
1792
1849
|
}
|
|
1793
1850
|
};
|
|
1794
1851
|
__name(_MetricAssetDto, "MetricAssetDto");
|
|
1795
1852
|
var MetricAssetDto = _MetricAssetDto;
|
|
1796
|
-
|
|
1853
|
+
_ts_decorate9([
|
|
1797
1854
|
classValidator.IsString(),
|
|
1798
|
-
|
|
1855
|
+
_ts_metadata9("design:type", String)
|
|
1799
1856
|
], MetricAssetDto.prototype, "metricid", void 0);
|
|
1800
|
-
|
|
1857
|
+
_ts_decorate9([
|
|
1801
1858
|
classValidator.IsString(),
|
|
1802
|
-
|
|
1859
|
+
_ts_metadata9("design:type", String)
|
|
1803
1860
|
], MetricAssetDto.prototype, "qrveyid", void 0);
|
|
1804
|
-
|
|
1861
|
+
_ts_decorate9([
|
|
1805
1862
|
classValidator.IsString(),
|
|
1806
1863
|
classValidator.IsOptional(),
|
|
1807
1864
|
classValidator.MaxLength(255),
|
|
1808
|
-
|
|
1865
|
+
_ts_metadata9("design:type", String)
|
|
1809
1866
|
], MetricAssetDto.prototype, "title", void 0);
|
|
1810
|
-
|
|
1867
|
+
_ts_decorate9([
|
|
1811
1868
|
classValidator.IsOptional(),
|
|
1812
1869
|
classValidator.IsString(),
|
|
1813
|
-
|
|
1870
|
+
_ts_metadata9("design:type", String)
|
|
1814
1871
|
], MetricAssetDto.prototype, "description", void 0);
|
|
1815
|
-
|
|
1872
|
+
_ts_decorate9([
|
|
1816
1873
|
classValidator.IsString(),
|
|
1817
1874
|
classValidator.IsOptional(),
|
|
1818
|
-
|
|
1875
|
+
_ts_metadata9("design:type", String)
|
|
1819
1876
|
], MetricAssetDto.prototype, "name", void 0);
|
|
1820
|
-
|
|
1877
|
+
_ts_decorate9([
|
|
1821
1878
|
classValidator.IsOptional(),
|
|
1822
1879
|
classValidator.IsArray(),
|
|
1823
|
-
|
|
1880
|
+
_ts_metadata9("design:type", Array)
|
|
1824
1881
|
], MetricAssetDto.prototype, "thresholdsList", void 0);
|
|
1825
|
-
|
|
1882
|
+
_ts_decorate9([
|
|
1826
1883
|
classValidator.IsOptional(),
|
|
1827
1884
|
classValidator.IsObject(),
|
|
1828
|
-
|
|
1885
|
+
_ts_metadata9("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1829
1886
|
], MetricAssetDto.prototype, "globalSettings", void 0);
|
|
1830
|
-
|
|
1887
|
+
_ts_decorate9([
|
|
1831
1888
|
classValidator.IsOptional(),
|
|
1832
1889
|
classValidator.IsObject(),
|
|
1833
|
-
|
|
1890
|
+
_ts_metadata9("design:type", typeof Record === "undefined" ? Object : Record)
|
|
1834
1891
|
], MetricAssetDto.prototype, "v2", void 0);
|
|
1835
|
-
|
|
1892
|
+
_ts_decorate9([
|
|
1836
1893
|
classValidator.IsOptional(),
|
|
1837
1894
|
classValidator.IsArray(),
|
|
1838
|
-
|
|
1895
|
+
_ts_metadata9("design:type", Array)
|
|
1839
1896
|
], MetricAssetDto.prototype, "layerList", void 0);
|
|
1840
|
-
|
|
1897
|
+
_ts_decorate9([
|
|
1841
1898
|
classValidator.IsOptional(),
|
|
1842
1899
|
classValidator.IsArray(),
|
|
1843
|
-
|
|
1900
|
+
_ts_metadata9("design:type", Array)
|
|
1844
1901
|
], MetricAssetDto.prototype, "conditions", void 0);
|
|
1845
|
-
|
|
1902
|
+
_ts_decorate9([
|
|
1846
1903
|
classValidator.IsOptional(),
|
|
1847
1904
|
classValidator.IsString(),
|
|
1848
1905
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
1849
1906
|
message: "createDate must be in ISO 8601 format"
|
|
1850
1907
|
}),
|
|
1851
|
-
|
|
1908
|
+
_ts_metadata9("design:type", String)
|
|
1852
1909
|
], MetricAssetDto.prototype, "createDate", void 0);
|
|
1853
|
-
|
|
1910
|
+
_ts_decorate9([
|
|
1854
1911
|
classValidator.IsOptional(),
|
|
1855
1912
|
classValidator.IsString(),
|
|
1856
|
-
|
|
1913
|
+
_ts_metadata9("design:type", String)
|
|
1857
1914
|
], MetricAssetDto.prototype, "namelower", void 0);
|
|
1858
|
-
|
|
1915
|
+
_ts_decorate9([
|
|
1859
1916
|
classValidator.IsOptional(),
|
|
1860
1917
|
classValidator.IsString(),
|
|
1861
1918
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
1862
1919
|
message: "modifyDate must be in ISO 8601 format"
|
|
1863
1920
|
}),
|
|
1864
|
-
|
|
1921
|
+
_ts_metadata9("design:type", String)
|
|
1865
1922
|
], MetricAssetDto.prototype, "modifyDate", void 0);
|
|
1866
|
-
|
|
1923
|
+
_ts_decorate9([
|
|
1924
|
+
classValidator.IsOptional(),
|
|
1925
|
+
classValidator.IsObject(),
|
|
1926
|
+
classValidator.ValidateNested(),
|
|
1927
|
+
classTransformer.Type(() => DependsOnDto),
|
|
1928
|
+
_ts_metadata9("design:type", typeof DependsOnDto === "undefined" ? Object : DependsOnDto)
|
|
1929
|
+
], MetricAssetDto.prototype, "dependsOn", void 0);
|
|
1930
|
+
function _ts_decorate10(decorators, target, key, desc) {
|
|
1867
1931
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1868
1932
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1869
1933
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1870
1934
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1871
1935
|
}
|
|
1872
|
-
__name(
|
|
1873
|
-
function
|
|
1936
|
+
__name(_ts_decorate10, "_ts_decorate");
|
|
1937
|
+
function _ts_metadata10(k, v) {
|
|
1874
1938
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
1875
1939
|
}
|
|
1876
|
-
__name(
|
|
1940
|
+
__name(_ts_metadata10, "_ts_metadata");
|
|
1877
1941
|
var COLOR_VALIDATOR_REGEXP = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})|^.+$/;
|
|
1878
1942
|
var URL_VALIDATOR_REGEXP = /(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/;
|
|
1879
1943
|
var ItemTypes = /* @__PURE__ */ (function(ItemTypes2) {
|
|
@@ -1964,36 +2028,36 @@ var _PropertyDto = class _PropertyDto {
|
|
|
1964
2028
|
};
|
|
1965
2029
|
__name(_PropertyDto, "PropertyDto");
|
|
1966
2030
|
var PropertyDto = _PropertyDto;
|
|
1967
|
-
|
|
2031
|
+
_ts_decorate10([
|
|
1968
2032
|
classValidator.IsOptional(),
|
|
1969
2033
|
classValidator.IsNumber(),
|
|
1970
|
-
|
|
2034
|
+
_ts_metadata10("design:type", Number)
|
|
1971
2035
|
], PropertyDto.prototype, "x", void 0);
|
|
1972
|
-
|
|
2036
|
+
_ts_decorate10([
|
|
1973
2037
|
classValidator.IsOptional(),
|
|
1974
2038
|
classValidator.IsNumber(),
|
|
1975
|
-
|
|
2039
|
+
_ts_metadata10("design:type", Number)
|
|
1976
2040
|
], PropertyDto.prototype, "y", void 0);
|
|
1977
|
-
|
|
2041
|
+
_ts_decorate10([
|
|
1978
2042
|
classValidator.IsOptional(),
|
|
1979
2043
|
classValidator.IsNumber(),
|
|
1980
|
-
|
|
2044
|
+
_ts_metadata10("design:type", Number)
|
|
1981
2045
|
], PropertyDto.prototype, "z", void 0);
|
|
1982
|
-
|
|
2046
|
+
_ts_decorate10([
|
|
1983
2047
|
classValidator.IsOptional(),
|
|
1984
2048
|
classValidator.IsNumber(),
|
|
1985
|
-
|
|
2049
|
+
_ts_metadata10("design:type", Number)
|
|
1986
2050
|
], PropertyDto.prototype, "width", void 0);
|
|
1987
|
-
|
|
2051
|
+
_ts_decorate10([
|
|
1988
2052
|
classValidator.IsOptional(),
|
|
1989
2053
|
classValidator.IsNumber(),
|
|
1990
|
-
|
|
2054
|
+
_ts_metadata10("design:type", Number)
|
|
1991
2055
|
], PropertyDto.prototype, "height", void 0);
|
|
1992
|
-
|
|
2056
|
+
_ts_decorate10([
|
|
1993
2057
|
classValidator.IsOptional(),
|
|
1994
2058
|
classValidator.IsBoolean(),
|
|
1995
2059
|
classValidator.Allow(),
|
|
1996
|
-
|
|
2060
|
+
_ts_metadata10("design:type", Object)
|
|
1997
2061
|
], PropertyDto.prototype, "selection", void 0);
|
|
1998
2062
|
var _DesktopGridDto = class _DesktopGridDto {
|
|
1999
2063
|
constructor() {
|
|
@@ -2005,25 +2069,25 @@ var _DesktopGridDto = class _DesktopGridDto {
|
|
|
2005
2069
|
};
|
|
2006
2070
|
__name(_DesktopGridDto, "DesktopGridDto");
|
|
2007
2071
|
var DesktopGridDto = _DesktopGridDto;
|
|
2008
|
-
|
|
2072
|
+
_ts_decorate10([
|
|
2009
2073
|
classValidator.IsOptional(),
|
|
2010
2074
|
classValidator.IsNumber(),
|
|
2011
|
-
|
|
2075
|
+
_ts_metadata10("design:type", Number)
|
|
2012
2076
|
], DesktopGridDto.prototype, "colStart", void 0);
|
|
2013
|
-
|
|
2077
|
+
_ts_decorate10([
|
|
2014
2078
|
classValidator.IsOptional(),
|
|
2015
2079
|
classValidator.IsNumber(),
|
|
2016
|
-
|
|
2080
|
+
_ts_metadata10("design:type", Number)
|
|
2017
2081
|
], DesktopGridDto.prototype, "rowStart", void 0);
|
|
2018
|
-
|
|
2082
|
+
_ts_decorate10([
|
|
2019
2083
|
classValidator.IsOptional(),
|
|
2020
2084
|
classValidator.IsNumber(),
|
|
2021
|
-
|
|
2085
|
+
_ts_metadata10("design:type", Number)
|
|
2022
2086
|
], DesktopGridDto.prototype, "rowSpan", void 0);
|
|
2023
|
-
|
|
2087
|
+
_ts_decorate10([
|
|
2024
2088
|
classValidator.IsOptional(),
|
|
2025
2089
|
classValidator.IsNumber(),
|
|
2026
|
-
|
|
2090
|
+
_ts_metadata10("design:type", Number)
|
|
2027
2091
|
], DesktopGridDto.prototype, "colSpan", void 0);
|
|
2028
2092
|
var _BaseItemDto = class _BaseItemDto {
|
|
2029
2093
|
constructor() {
|
|
@@ -2038,50 +2102,50 @@ var _BaseItemDto = class _BaseItemDto {
|
|
|
2038
2102
|
};
|
|
2039
2103
|
__name(_BaseItemDto, "BaseItemDto");
|
|
2040
2104
|
var BaseItemDto = _BaseItemDto;
|
|
2041
|
-
|
|
2105
|
+
_ts_decorate10([
|
|
2042
2106
|
classValidator.IsOptional(),
|
|
2043
2107
|
classValidator.IsString(),
|
|
2044
|
-
|
|
2108
|
+
_ts_metadata10("design:type", String)
|
|
2045
2109
|
], BaseItemDto.prototype, "id", void 0);
|
|
2046
|
-
|
|
2110
|
+
_ts_decorate10([
|
|
2047
2111
|
classValidator.ValidateNested(),
|
|
2048
2112
|
classTransformer.Type(() => PropertyDto),
|
|
2049
2113
|
classValidator.IsObject(),
|
|
2050
|
-
|
|
2114
|
+
_ts_metadata10("design:type", typeof PropertyDto === "undefined" ? Object : PropertyDto)
|
|
2051
2115
|
], BaseItemDto.prototype, "desktop", void 0);
|
|
2052
|
-
|
|
2116
|
+
_ts_decorate10([
|
|
2053
2117
|
classValidator.IsOptional(),
|
|
2054
2118
|
classValidator.ValidateNested(),
|
|
2055
2119
|
classTransformer.Type(() => PropertyDto),
|
|
2056
2120
|
classValidator.IsObject(),
|
|
2057
|
-
|
|
2121
|
+
_ts_metadata10("design:type", typeof PropertyDto === "undefined" ? Object : PropertyDto)
|
|
2058
2122
|
], BaseItemDto.prototype, "mobile", void 0);
|
|
2059
|
-
|
|
2123
|
+
_ts_decorate10([
|
|
2060
2124
|
classValidator.IsString(),
|
|
2061
2125
|
classValidator.IsEnum(ItemTypes),
|
|
2062
2126
|
classTransformer.Transform(({ value }) => {
|
|
2063
2127
|
var _a3;
|
|
2064
2128
|
return ((_a3 = value == null ? void 0 : value.toLowerCase) == null ? void 0 : _a3.call(value)) || value;
|
|
2065
2129
|
}),
|
|
2066
|
-
|
|
2130
|
+
_ts_metadata10("design:type", String)
|
|
2067
2131
|
], BaseItemDto.prototype, "type", void 0);
|
|
2068
|
-
|
|
2132
|
+
_ts_decorate10([
|
|
2069
2133
|
classValidator.IsOptional(),
|
|
2070
2134
|
classValidator.ValidateNested(),
|
|
2071
2135
|
classTransformer.Type(() => PropertyDto),
|
|
2072
2136
|
classValidator.IsObject(),
|
|
2073
|
-
|
|
2137
|
+
_ts_metadata10("design:type", typeof PropertyDto === "undefined" ? Object : PropertyDto)
|
|
2074
2138
|
], BaseItemDto.prototype, "tablet", void 0);
|
|
2075
|
-
|
|
2139
|
+
_ts_decorate10([
|
|
2076
2140
|
classValidator.IsOptional(),
|
|
2077
2141
|
classValidator.ValidateNested(),
|
|
2078
2142
|
classTransformer.Type(() => DesktopGridDto),
|
|
2079
|
-
|
|
2143
|
+
_ts_metadata10("design:type", typeof DesktopGridDto === "undefined" ? Object : DesktopGridDto)
|
|
2080
2144
|
], BaseItemDto.prototype, "g_desktop", void 0);
|
|
2081
|
-
|
|
2145
|
+
_ts_decorate10([
|
|
2082
2146
|
classValidator.IsOptional(),
|
|
2083
2147
|
classValidator.IsString(),
|
|
2084
|
-
|
|
2148
|
+
_ts_metadata10("design:type", String)
|
|
2085
2149
|
], BaseItemDto.prototype, "description", void 0);
|
|
2086
2150
|
var _ButtonItemDto = class _ButtonItemDto extends BaseItemDto {
|
|
2087
2151
|
constructor() {
|
|
@@ -2094,26 +2158,26 @@ var _ButtonItemDto = class _ButtonItemDto extends BaseItemDto {
|
|
|
2094
2158
|
};
|
|
2095
2159
|
__name(_ButtonItemDto, "ButtonItemDto");
|
|
2096
2160
|
var ButtonItemDto = _ButtonItemDto;
|
|
2097
|
-
|
|
2161
|
+
_ts_decorate10([
|
|
2098
2162
|
classValidator.IsString(),
|
|
2099
2163
|
classValidator.MinLength(1),
|
|
2100
|
-
|
|
2164
|
+
_ts_metadata10("design:type", String)
|
|
2101
2165
|
], ButtonItemDto.prototype, "label", void 0);
|
|
2102
|
-
|
|
2166
|
+
_ts_decorate10([
|
|
2103
2167
|
classValidator.IsString(),
|
|
2104
2168
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2105
|
-
|
|
2169
|
+
_ts_metadata10("design:type", String)
|
|
2106
2170
|
], ButtonItemDto.prototype, "color", void 0);
|
|
2107
|
-
|
|
2171
|
+
_ts_decorate10([
|
|
2108
2172
|
classValidator.IsString(),
|
|
2109
2173
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2110
|
-
|
|
2174
|
+
_ts_metadata10("design:type", String)
|
|
2111
2175
|
], ButtonItemDto.prototype, "background", void 0);
|
|
2112
|
-
|
|
2176
|
+
_ts_decorate10([
|
|
2113
2177
|
classValidator.IsOptional(),
|
|
2114
2178
|
classValidator.IsString(),
|
|
2115
2179
|
classValidator.Allow(),
|
|
2116
|
-
|
|
2180
|
+
_ts_metadata10("design:type", String)
|
|
2117
2181
|
], ButtonItemDto.prototype, "url", void 0);
|
|
2118
2182
|
var _TextItemDto = class _TextItemDto extends BaseItemDto {
|
|
2119
2183
|
constructor() {
|
|
@@ -2127,32 +2191,32 @@ var _TextItemDto = class _TextItemDto extends BaseItemDto {
|
|
|
2127
2191
|
};
|
|
2128
2192
|
__name(_TextItemDto, "TextItemDto");
|
|
2129
2193
|
var TextItemDto = _TextItemDto;
|
|
2130
|
-
|
|
2194
|
+
_ts_decorate10([
|
|
2131
2195
|
classValidator.IsOptional(),
|
|
2132
2196
|
classValidator.IsString(),
|
|
2133
2197
|
classValidator.Allow(),
|
|
2134
|
-
|
|
2198
|
+
_ts_metadata10("design:type", String)
|
|
2135
2199
|
], TextItemDto.prototype, "value", void 0);
|
|
2136
|
-
|
|
2200
|
+
_ts_decorate10([
|
|
2137
2201
|
classValidator.IsOptional(),
|
|
2138
2202
|
classValidator.IsString(),
|
|
2139
2203
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2140
|
-
|
|
2204
|
+
_ts_metadata10("design:type", String)
|
|
2141
2205
|
], TextItemDto.prototype, "background", void 0);
|
|
2142
|
-
|
|
2206
|
+
_ts_decorate10([
|
|
2143
2207
|
classValidator.IsOptional(),
|
|
2144
2208
|
classValidator.IsObject(),
|
|
2145
|
-
|
|
2209
|
+
_ts_metadata10("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2146
2210
|
], TextItemDto.prototype, "border", void 0);
|
|
2147
|
-
|
|
2211
|
+
_ts_decorate10([
|
|
2148
2212
|
classValidator.IsOptional(),
|
|
2149
2213
|
classValidator.IsObject(),
|
|
2150
|
-
|
|
2214
|
+
_ts_metadata10("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2151
2215
|
], TextItemDto.prototype, "padding", void 0);
|
|
2152
|
-
|
|
2216
|
+
_ts_decorate10([
|
|
2153
2217
|
classValidator.IsOptional(),
|
|
2154
2218
|
classValidator.IsObject(),
|
|
2155
|
-
|
|
2219
|
+
_ts_metadata10("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2156
2220
|
], TextItemDto.prototype, "defaultStyles", void 0);
|
|
2157
2221
|
var _ImageItemDto = class _ImageItemDto extends BaseItemDto {
|
|
2158
2222
|
constructor() {
|
|
@@ -2168,44 +2232,44 @@ var _ImageItemDto = class _ImageItemDto extends BaseItemDto {
|
|
|
2168
2232
|
};
|
|
2169
2233
|
__name(_ImageItemDto, "ImageItemDto");
|
|
2170
2234
|
var ImageItemDto = _ImageItemDto;
|
|
2171
|
-
|
|
2235
|
+
_ts_decorate10([
|
|
2172
2236
|
classValidator.IsOptional(),
|
|
2173
2237
|
classValidator.IsEnum(ImageObjectFit),
|
|
2174
|
-
|
|
2238
|
+
_ts_metadata10("design:type", String)
|
|
2175
2239
|
], ImageItemDto.prototype, "objectFit", void 0);
|
|
2176
|
-
|
|
2240
|
+
_ts_decorate10([
|
|
2177
2241
|
classValidator.IsOptional(),
|
|
2178
2242
|
classValidator.IsString(),
|
|
2179
2243
|
classValidator.Allow(),
|
|
2180
|
-
|
|
2244
|
+
_ts_metadata10("design:type", String)
|
|
2181
2245
|
], ImageItemDto.prototype, "image", void 0);
|
|
2182
|
-
|
|
2246
|
+
_ts_decorate10([
|
|
2183
2247
|
classValidator.IsOptional(),
|
|
2184
2248
|
classValidator.IsString(),
|
|
2185
2249
|
classValidator.Allow(),
|
|
2186
|
-
|
|
2250
|
+
_ts_metadata10("design:type", String)
|
|
2187
2251
|
], ImageItemDto.prototype, "label", void 0);
|
|
2188
|
-
|
|
2252
|
+
_ts_decorate10([
|
|
2189
2253
|
classValidator.IsOptional(),
|
|
2190
2254
|
classValidator.IsBoolean(),
|
|
2191
|
-
|
|
2255
|
+
_ts_metadata10("design:type", Boolean)
|
|
2192
2256
|
], ImageItemDto.prototype, "loading", void 0);
|
|
2193
|
-
|
|
2257
|
+
_ts_decorate10([
|
|
2194
2258
|
classValidator.IsOptional(),
|
|
2195
2259
|
classValidator.IsBoolean(),
|
|
2196
|
-
|
|
2260
|
+
_ts_metadata10("design:type", Boolean)
|
|
2197
2261
|
], ImageItemDto.prototype, "fromFile", void 0);
|
|
2198
|
-
|
|
2262
|
+
_ts_decorate10([
|
|
2199
2263
|
classValidator.IsOptional(),
|
|
2200
2264
|
classValidator.IsString(),
|
|
2201
2265
|
classValidator.Allow(),
|
|
2202
2266
|
classValidator.Matches(URL_VALIDATOR_REGEXP),
|
|
2203
|
-
|
|
2267
|
+
_ts_metadata10("design:type", String)
|
|
2204
2268
|
], ImageItemDto.prototype, "linkUrl", void 0);
|
|
2205
|
-
|
|
2269
|
+
_ts_decorate10([
|
|
2206
2270
|
classValidator.IsOptional(),
|
|
2207
2271
|
classValidator.IsString(),
|
|
2208
|
-
|
|
2272
|
+
_ts_metadata10("design:type", String)
|
|
2209
2273
|
], ImageItemDto.prototype, "fileName", void 0);
|
|
2210
2274
|
var _AnalyticsItemDto = class _AnalyticsItemDto extends BaseItemDto {
|
|
2211
2275
|
constructor() {
|
|
@@ -2226,69 +2290,69 @@ var _AnalyticsItemDto = class _AnalyticsItemDto extends BaseItemDto {
|
|
|
2226
2290
|
};
|
|
2227
2291
|
__name(_AnalyticsItemDto, "AnalyticsItemDto");
|
|
2228
2292
|
var AnalyticsItemDto = _AnalyticsItemDto;
|
|
2229
|
-
|
|
2293
|
+
_ts_decorate10([
|
|
2230
2294
|
classValidator.IsOptional(),
|
|
2231
2295
|
classValidator.IsString(),
|
|
2232
|
-
|
|
2296
|
+
_ts_metadata10("design:type", String)
|
|
2233
2297
|
], AnalyticsItemDto.prototype, "elementName", void 0);
|
|
2234
|
-
|
|
2298
|
+
_ts_decorate10([
|
|
2235
2299
|
classValidator.IsOptional(),
|
|
2236
2300
|
classValidator.IsString(),
|
|
2237
2301
|
classValidator.Allow(),
|
|
2238
|
-
|
|
2302
|
+
_ts_metadata10("design:type", Object)
|
|
2239
2303
|
], AnalyticsItemDto.prototype, "autoLinkColumnId", void 0);
|
|
2240
|
-
|
|
2304
|
+
_ts_decorate10([
|
|
2241
2305
|
classValidator.IsOptional(),
|
|
2242
2306
|
classValidator.IsString(),
|
|
2243
2307
|
classValidator.Allow(),
|
|
2244
|
-
|
|
2308
|
+
_ts_metadata10("design:type", Object)
|
|
2245
2309
|
], AnalyticsItemDto.prototype, "linkColumn", void 0);
|
|
2246
|
-
|
|
2310
|
+
_ts_decorate10([
|
|
2247
2311
|
classValidator.IsOptional(),
|
|
2248
2312
|
classValidator.IsBoolean(),
|
|
2249
2313
|
classValidator.Allow(),
|
|
2250
|
-
|
|
2314
|
+
_ts_metadata10("design:type", Object)
|
|
2251
2315
|
], AnalyticsItemDto.prototype, "hasAutoLinkColumns", void 0);
|
|
2252
|
-
|
|
2316
|
+
_ts_decorate10([
|
|
2253
2317
|
classValidator.IsString(),
|
|
2254
2318
|
classValidator.MinLength(1),
|
|
2255
|
-
|
|
2319
|
+
_ts_metadata10("design:type", String)
|
|
2256
2320
|
], AnalyticsItemDto.prototype, "chart_id", void 0);
|
|
2257
|
-
|
|
2321
|
+
_ts_decorate10([
|
|
2258
2322
|
classValidator.IsOptional(),
|
|
2259
2323
|
classValidator.IsString(),
|
|
2260
|
-
|
|
2324
|
+
_ts_metadata10("design:type", String)
|
|
2261
2325
|
], AnalyticsItemDto.prototype, "user_id", void 0);
|
|
2262
|
-
|
|
2326
|
+
_ts_decorate10([
|
|
2263
2327
|
classValidator.IsOptional(),
|
|
2264
2328
|
classValidator.IsString(),
|
|
2265
|
-
|
|
2329
|
+
_ts_metadata10("design:type", String)
|
|
2266
2330
|
], AnalyticsItemDto.prototype, "datasetName", void 0);
|
|
2267
|
-
|
|
2331
|
+
_ts_decorate10([
|
|
2268
2332
|
classValidator.IsString(),
|
|
2269
2333
|
classValidator.MinLength(1),
|
|
2270
|
-
|
|
2334
|
+
_ts_metadata10("design:type", String)
|
|
2271
2335
|
], AnalyticsItemDto.prototype, "chartType", void 0);
|
|
2272
|
-
|
|
2336
|
+
_ts_decorate10([
|
|
2273
2337
|
classValidator.IsOptional(),
|
|
2274
2338
|
classValidator.IsString(),
|
|
2275
2339
|
classValidator.Allow(),
|
|
2276
|
-
|
|
2340
|
+
_ts_metadata10("design:type", String)
|
|
2277
2341
|
], AnalyticsItemDto.prototype, "label", void 0);
|
|
2278
|
-
|
|
2342
|
+
_ts_decorate10([
|
|
2279
2343
|
classValidator.IsOptional(),
|
|
2280
2344
|
classValidator.IsString(),
|
|
2281
|
-
|
|
2345
|
+
_ts_metadata10("design:type", String)
|
|
2282
2346
|
], AnalyticsItemDto.prototype, "title", void 0);
|
|
2283
|
-
|
|
2347
|
+
_ts_decorate10([
|
|
2284
2348
|
classValidator.IsOptional(),
|
|
2285
2349
|
classValidator.IsString(),
|
|
2286
|
-
|
|
2350
|
+
_ts_metadata10("design:type", String)
|
|
2287
2351
|
], AnalyticsItemDto.prototype, "app_id", void 0);
|
|
2288
|
-
|
|
2352
|
+
_ts_decorate10([
|
|
2289
2353
|
classValidator.IsString(),
|
|
2290
2354
|
classValidator.MinLength(1),
|
|
2291
|
-
|
|
2355
|
+
_ts_metadata10("design:type", String)
|
|
2292
2356
|
], AnalyticsItemDto.prototype, "qrvey_id", void 0);
|
|
2293
2357
|
var _SummaryItemDto = class _SummaryItemDto extends BaseItemDto {
|
|
2294
2358
|
constructor() {
|
|
@@ -2307,57 +2371,57 @@ var _SummaryItemDto = class _SummaryItemDto extends BaseItemDto {
|
|
|
2307
2371
|
};
|
|
2308
2372
|
__name(_SummaryItemDto, "SummaryItemDto");
|
|
2309
2373
|
var SummaryItemDto = _SummaryItemDto;
|
|
2310
|
-
|
|
2374
|
+
_ts_decorate10([
|
|
2311
2375
|
classValidator.IsOptional(),
|
|
2312
2376
|
classValidator.IsString(),
|
|
2313
|
-
|
|
2377
|
+
_ts_metadata10("design:type", String)
|
|
2314
2378
|
], SummaryItemDto.prototype, "elementName", void 0);
|
|
2315
|
-
|
|
2379
|
+
_ts_decorate10([
|
|
2316
2380
|
classValidator.IsOptional(),
|
|
2317
2381
|
classValidator.IsString(),
|
|
2318
2382
|
classValidator.Allow(),
|
|
2319
|
-
|
|
2383
|
+
_ts_metadata10("design:type", Object)
|
|
2320
2384
|
], SummaryItemDto.prototype, "autoLinkColumnId", void 0);
|
|
2321
|
-
|
|
2385
|
+
_ts_decorate10([
|
|
2322
2386
|
classValidator.IsOptional(),
|
|
2323
2387
|
classValidator.IsString(),
|
|
2324
2388
|
classValidator.Allow(),
|
|
2325
|
-
|
|
2389
|
+
_ts_metadata10("design:type", Object)
|
|
2326
2390
|
], SummaryItemDto.prototype, "linkColumn", void 0);
|
|
2327
|
-
|
|
2391
|
+
_ts_decorate10([
|
|
2328
2392
|
classValidator.IsOptional(),
|
|
2329
2393
|
classValidator.IsBoolean(),
|
|
2330
2394
|
classValidator.Allow(),
|
|
2331
|
-
|
|
2395
|
+
_ts_metadata10("design:type", Object)
|
|
2332
2396
|
], SummaryItemDto.prototype, "hasAutoLinkColumns", void 0);
|
|
2333
|
-
|
|
2397
|
+
_ts_decorate10([
|
|
2334
2398
|
classValidator.IsString(),
|
|
2335
2399
|
classValidator.MinLength(1),
|
|
2336
|
-
|
|
2400
|
+
_ts_metadata10("design:type", String)
|
|
2337
2401
|
], SummaryItemDto.prototype, "qrveyid", void 0);
|
|
2338
|
-
|
|
2402
|
+
_ts_decorate10([
|
|
2339
2403
|
classValidator.IsString(),
|
|
2340
2404
|
classValidator.MinLength(1),
|
|
2341
|
-
|
|
2405
|
+
_ts_metadata10("design:type", String)
|
|
2342
2406
|
], SummaryItemDto.prototype, "questionid", void 0);
|
|
2343
|
-
|
|
2407
|
+
_ts_decorate10([
|
|
2344
2408
|
classValidator.IsEnum(QUESTION_TYPES),
|
|
2345
|
-
|
|
2409
|
+
_ts_metadata10("design:type", typeof QuestionType === "undefined" ? Object : QuestionType)
|
|
2346
2410
|
], SummaryItemDto.prototype, "question_type", void 0);
|
|
2347
|
-
|
|
2411
|
+
_ts_decorate10([
|
|
2348
2412
|
classValidator.IsOptional(),
|
|
2349
2413
|
classValidator.IsString(),
|
|
2350
|
-
|
|
2414
|
+
_ts_metadata10("design:type", String)
|
|
2351
2415
|
], SummaryItemDto.prototype, "datasetName", void 0);
|
|
2352
|
-
|
|
2416
|
+
_ts_decorate10([
|
|
2353
2417
|
classValidator.IsOptional(),
|
|
2354
2418
|
classValidator.IsString(),
|
|
2355
|
-
|
|
2419
|
+
_ts_metadata10("design:type", String)
|
|
2356
2420
|
], SummaryItemDto.prototype, "app_id", void 0);
|
|
2357
|
-
|
|
2421
|
+
_ts_decorate10([
|
|
2358
2422
|
classValidator.IsOptional(),
|
|
2359
2423
|
classValidator.IsString(),
|
|
2360
|
-
|
|
2424
|
+
_ts_metadata10("design:type", String)
|
|
2361
2425
|
], SummaryItemDto.prototype, "userid", void 0);
|
|
2362
2426
|
var _MetricItemDto = class _MetricItemDto extends BaseItemDto {
|
|
2363
2427
|
constructor() {
|
|
@@ -2374,48 +2438,48 @@ var _MetricItemDto = class _MetricItemDto extends BaseItemDto {
|
|
|
2374
2438
|
};
|
|
2375
2439
|
__name(_MetricItemDto, "MetricItemDto");
|
|
2376
2440
|
var MetricItemDto = _MetricItemDto;
|
|
2377
|
-
|
|
2441
|
+
_ts_decorate10([
|
|
2378
2442
|
classValidator.IsOptional(),
|
|
2379
2443
|
classValidator.IsString(),
|
|
2380
|
-
|
|
2444
|
+
_ts_metadata10("design:type", String)
|
|
2381
2445
|
], MetricItemDto.prototype, "elementName", void 0);
|
|
2382
|
-
|
|
2446
|
+
_ts_decorate10([
|
|
2383
2447
|
classValidator.IsOptional(),
|
|
2384
2448
|
classValidator.IsString(),
|
|
2385
2449
|
classValidator.Allow(),
|
|
2386
|
-
|
|
2450
|
+
_ts_metadata10("design:type", Object)
|
|
2387
2451
|
], MetricItemDto.prototype, "autoLinkColumnId", void 0);
|
|
2388
|
-
|
|
2452
|
+
_ts_decorate10([
|
|
2389
2453
|
classValidator.IsOptional(),
|
|
2390
2454
|
classValidator.IsString(),
|
|
2391
2455
|
classValidator.Allow(),
|
|
2392
|
-
|
|
2456
|
+
_ts_metadata10("design:type", Object)
|
|
2393
2457
|
], MetricItemDto.prototype, "linkColumn", void 0);
|
|
2394
|
-
|
|
2458
|
+
_ts_decorate10([
|
|
2395
2459
|
classValidator.IsOptional(),
|
|
2396
2460
|
classValidator.IsBoolean(),
|
|
2397
2461
|
classValidator.Allow(),
|
|
2398
|
-
|
|
2462
|
+
_ts_metadata10("design:type", Object)
|
|
2399
2463
|
], MetricItemDto.prototype, "hasAutoLinkColumns", void 0);
|
|
2400
|
-
|
|
2464
|
+
_ts_decorate10([
|
|
2401
2465
|
classValidator.IsString(),
|
|
2402
2466
|
classValidator.MinLength(1),
|
|
2403
|
-
|
|
2467
|
+
_ts_metadata10("design:type", String)
|
|
2404
2468
|
], MetricItemDto.prototype, "qrveyid", void 0);
|
|
2405
|
-
|
|
2469
|
+
_ts_decorate10([
|
|
2406
2470
|
classValidator.IsString(),
|
|
2407
2471
|
classValidator.MinLength(1),
|
|
2408
|
-
|
|
2472
|
+
_ts_metadata10("design:type", String)
|
|
2409
2473
|
], MetricItemDto.prototype, "metricid", void 0);
|
|
2410
|
-
|
|
2474
|
+
_ts_decorate10([
|
|
2411
2475
|
classValidator.IsOptional(),
|
|
2412
2476
|
classValidator.IsString(),
|
|
2413
|
-
|
|
2477
|
+
_ts_metadata10("design:type", String)
|
|
2414
2478
|
], MetricItemDto.prototype, "app_id", void 0);
|
|
2415
|
-
|
|
2479
|
+
_ts_decorate10([
|
|
2416
2480
|
classValidator.IsOptional(),
|
|
2417
2481
|
classValidator.IsString(),
|
|
2418
|
-
|
|
2482
|
+
_ts_metadata10("design:type", String)
|
|
2419
2483
|
], MetricItemDto.prototype, "userid", void 0);
|
|
2420
2484
|
var _WebFormItemDto = class _WebFormItemDto extends BaseItemDto {
|
|
2421
2485
|
constructor() {
|
|
@@ -2426,15 +2490,15 @@ var _WebFormItemDto = class _WebFormItemDto extends BaseItemDto {
|
|
|
2426
2490
|
};
|
|
2427
2491
|
__name(_WebFormItemDto, "WebFormItemDto");
|
|
2428
2492
|
var WebFormItemDto = _WebFormItemDto;
|
|
2429
|
-
|
|
2493
|
+
_ts_decorate10([
|
|
2430
2494
|
classValidator.IsOptional(),
|
|
2431
2495
|
classValidator.IsString(),
|
|
2432
|
-
|
|
2496
|
+
_ts_metadata10("design:type", String)
|
|
2433
2497
|
], WebFormItemDto.prototype, "name", void 0);
|
|
2434
|
-
|
|
2498
|
+
_ts_decorate10([
|
|
2435
2499
|
classValidator.IsString(),
|
|
2436
2500
|
classValidator.MinLength(1),
|
|
2437
|
-
|
|
2501
|
+
_ts_metadata10("design:type", String)
|
|
2438
2502
|
], WebFormItemDto.prototype, "qrveyid", void 0);
|
|
2439
2503
|
var _FilterConfigDto = class _FilterConfigDto {
|
|
2440
2504
|
constructor() {
|
|
@@ -2445,22 +2509,22 @@ var _FilterConfigDto = class _FilterConfigDto {
|
|
|
2445
2509
|
};
|
|
2446
2510
|
__name(_FilterConfigDto, "FilterConfigDto");
|
|
2447
2511
|
var FilterConfigDto = _FilterConfigDto;
|
|
2448
|
-
|
|
2512
|
+
_ts_decorate10([
|
|
2449
2513
|
classValidator.IsString(),
|
|
2450
2514
|
classValidator.Allow(),
|
|
2451
|
-
|
|
2515
|
+
_ts_metadata10("design:type", String)
|
|
2452
2516
|
], FilterConfigDto.prototype, "label", void 0);
|
|
2453
|
-
|
|
2517
|
+
_ts_decorate10([
|
|
2454
2518
|
classValidator.ValidateNested(),
|
|
2455
2519
|
classTransformer.Type(() => Object),
|
|
2456
2520
|
classValidator.IsObject(),
|
|
2457
|
-
|
|
2521
|
+
_ts_metadata10("design:type", Object)
|
|
2458
2522
|
], FilterConfigDto.prototype, "style", void 0);
|
|
2459
|
-
|
|
2523
|
+
_ts_decorate10([
|
|
2460
2524
|
classValidator.ValidateNested(),
|
|
2461
2525
|
classTransformer.Type(() => Object),
|
|
2462
2526
|
classValidator.IsObject(),
|
|
2463
|
-
|
|
2527
|
+
_ts_metadata10("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2464
2528
|
], FilterConfigDto.prototype, "detail", void 0);
|
|
2465
2529
|
var _DatePickerItemDto = class _DatePickerItemDto extends BaseItemDto {
|
|
2466
2530
|
constructor() {
|
|
@@ -2473,29 +2537,29 @@ var _DatePickerItemDto = class _DatePickerItemDto extends BaseItemDto {
|
|
|
2473
2537
|
};
|
|
2474
2538
|
__name(_DatePickerItemDto, "DatePickerItemDto");
|
|
2475
2539
|
var DatePickerItemDto = _DatePickerItemDto;
|
|
2476
|
-
|
|
2540
|
+
_ts_decorate10([
|
|
2477
2541
|
classValidator.IsOptional(),
|
|
2478
2542
|
classValidator.ValidateNested(),
|
|
2479
2543
|
classTransformer.Type(() => FilterConfigDto),
|
|
2480
2544
|
classValidator.IsObject(),
|
|
2481
|
-
|
|
2545
|
+
_ts_metadata10("design:type", typeof FilterConfigDto === "undefined" ? Object : FilterConfigDto)
|
|
2482
2546
|
], DatePickerItemDto.prototype, "config", void 0);
|
|
2483
|
-
|
|
2547
|
+
_ts_decorate10([
|
|
2484
2548
|
classValidator.IsOptional(),
|
|
2485
2549
|
classValidator.IsArray(),
|
|
2486
|
-
|
|
2550
|
+
_ts_metadata10("design:type", Array)
|
|
2487
2551
|
], DatePickerItemDto.prototype, "columns", void 0);
|
|
2488
|
-
|
|
2552
|
+
_ts_decorate10([
|
|
2489
2553
|
classValidator.IsOptional(),
|
|
2490
2554
|
classValidator.IsNumber(),
|
|
2491
2555
|
classValidator.Allow(),
|
|
2492
|
-
|
|
2556
|
+
_ts_metadata10("design:type", Object)
|
|
2493
2557
|
], DatePickerItemDto.prototype, "minWidth", void 0);
|
|
2494
|
-
|
|
2558
|
+
_ts_decorate10([
|
|
2495
2559
|
classValidator.IsOptional(),
|
|
2496
2560
|
classValidator.IsNumber(),
|
|
2497
2561
|
classValidator.Allow(),
|
|
2498
|
-
|
|
2562
|
+
_ts_metadata10("design:type", Object)
|
|
2499
2563
|
], DatePickerItemDto.prototype, "minHeight", void 0);
|
|
2500
2564
|
var _ValueListItemDto = class _ValueListItemDto extends BaseItemDto {
|
|
2501
2565
|
constructor() {
|
|
@@ -2512,49 +2576,49 @@ var _ValueListItemDto = class _ValueListItemDto extends BaseItemDto {
|
|
|
2512
2576
|
};
|
|
2513
2577
|
__name(_ValueListItemDto, "ValueListItemDto");
|
|
2514
2578
|
var ValueListItemDto = _ValueListItemDto;
|
|
2515
|
-
|
|
2579
|
+
_ts_decorate10([
|
|
2516
2580
|
classValidator.IsOptional(),
|
|
2517
2581
|
classValidator.IsBoolean(),
|
|
2518
|
-
|
|
2582
|
+
_ts_metadata10("design:type", Boolean)
|
|
2519
2583
|
], ValueListItemDto.prototype, "cascadeFilter", void 0);
|
|
2520
|
-
|
|
2584
|
+
_ts_decorate10([
|
|
2521
2585
|
classValidator.IsOptional(),
|
|
2522
2586
|
classValidator.IsString(),
|
|
2523
2587
|
classValidator.Allow(),
|
|
2524
|
-
|
|
2588
|
+
_ts_metadata10("design:type", Object)
|
|
2525
2589
|
], ValueListItemDto.prototype, "cascadingValueList", void 0);
|
|
2526
|
-
|
|
2590
|
+
_ts_decorate10([
|
|
2527
2591
|
classValidator.IsString(),
|
|
2528
2592
|
classValidator.MinLength(1),
|
|
2529
|
-
|
|
2593
|
+
_ts_metadata10("design:type", String)
|
|
2530
2594
|
], ValueListItemDto.prototype, "displayType", void 0);
|
|
2531
|
-
|
|
2595
|
+
_ts_decorate10([
|
|
2532
2596
|
classValidator.IsString(),
|
|
2533
2597
|
classValidator.MinLength(1),
|
|
2534
|
-
|
|
2598
|
+
_ts_metadata10("design:type", String)
|
|
2535
2599
|
], ValueListItemDto.prototype, "fontType", void 0);
|
|
2536
|
-
|
|
2600
|
+
_ts_decorate10([
|
|
2537
2601
|
classValidator.IsOptional(),
|
|
2538
2602
|
classValidator.IsString(),
|
|
2539
2603
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2540
|
-
|
|
2604
|
+
_ts_metadata10("design:type", String)
|
|
2541
2605
|
], ValueListItemDto.prototype, "iconColor", void 0);
|
|
2542
|
-
|
|
2606
|
+
_ts_decorate10([
|
|
2543
2607
|
classValidator.IsOptional(),
|
|
2544
2608
|
classValidator.IsString(),
|
|
2545
2609
|
classValidator.Allow(),
|
|
2546
|
-
|
|
2610
|
+
_ts_metadata10("design:type", String)
|
|
2547
2611
|
], ValueListItemDto.prototype, "label", void 0);
|
|
2548
|
-
|
|
2612
|
+
_ts_decorate10([
|
|
2549
2613
|
classValidator.IsOptional(),
|
|
2550
2614
|
classValidator.IsString(),
|
|
2551
2615
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2552
|
-
|
|
2616
|
+
_ts_metadata10("design:type", String)
|
|
2553
2617
|
], ValueListItemDto.prototype, "fontColor", void 0);
|
|
2554
|
-
|
|
2618
|
+
_ts_decorate10([
|
|
2555
2619
|
classValidator.IsOptional(),
|
|
2556
2620
|
classValidator.IsObject(),
|
|
2557
|
-
|
|
2621
|
+
_ts_metadata10("design:type", Object)
|
|
2558
2622
|
], ValueListItemDto.prototype, "column", void 0);
|
|
2559
2623
|
var _InputBoxItemDto = class _InputBoxItemDto extends BaseItemDto {
|
|
2560
2624
|
constructor() {
|
|
@@ -2569,51 +2633,51 @@ var _InputBoxItemDto = class _InputBoxItemDto extends BaseItemDto {
|
|
|
2569
2633
|
};
|
|
2570
2634
|
__name(_InputBoxItemDto, "InputBoxItemDto");
|
|
2571
2635
|
var InputBoxItemDto = _InputBoxItemDto;
|
|
2572
|
-
|
|
2636
|
+
_ts_decorate10([
|
|
2573
2637
|
classValidator.IsOptional(),
|
|
2574
2638
|
classValidator.IsArray(),
|
|
2575
|
-
|
|
2639
|
+
_ts_metadata10("design:type", Array)
|
|
2576
2640
|
], InputBoxItemDto.prototype, "columns", void 0);
|
|
2577
|
-
|
|
2641
|
+
_ts_decorate10([
|
|
2578
2642
|
classValidator.IsEnum(INPUT_BOX_VALIDATORS),
|
|
2579
|
-
|
|
2643
|
+
_ts_metadata10("design:type", String)
|
|
2580
2644
|
], InputBoxItemDto.prototype, "defaultOperator", void 0);
|
|
2581
|
-
|
|
2645
|
+
_ts_decorate10([
|
|
2582
2646
|
classValidator.IsOptional(),
|
|
2583
2647
|
classValidator.IsString(),
|
|
2584
2648
|
classValidator.Allow(),
|
|
2585
|
-
|
|
2649
|
+
_ts_metadata10("design:type", String)
|
|
2586
2650
|
], InputBoxItemDto.prototype, "label", void 0);
|
|
2587
|
-
|
|
2651
|
+
_ts_decorate10([
|
|
2588
2652
|
classValidator.IsOptional(),
|
|
2589
2653
|
classValidator.IsString(),
|
|
2590
|
-
|
|
2654
|
+
_ts_metadata10("design:type", String)
|
|
2591
2655
|
], InputBoxItemDto.prototype, "fontType", void 0);
|
|
2592
|
-
|
|
2656
|
+
_ts_decorate10([
|
|
2593
2657
|
classValidator.IsOptional(),
|
|
2594
2658
|
classValidator.IsString(),
|
|
2595
2659
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2596
|
-
|
|
2660
|
+
_ts_metadata10("design:type", String)
|
|
2597
2661
|
], InputBoxItemDto.prototype, "fontColor", void 0);
|
|
2598
|
-
|
|
2662
|
+
_ts_decorate10([
|
|
2599
2663
|
classValidator.IsOptional(),
|
|
2600
2664
|
classValidator.IsString(),
|
|
2601
2665
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2602
|
-
|
|
2666
|
+
_ts_metadata10("design:type", String)
|
|
2603
2667
|
], InputBoxItemDto.prototype, "iconColor", void 0);
|
|
2604
2668
|
|
|
2605
2669
|
// src/dtos/page-asset.dto.ts
|
|
2606
|
-
function
|
|
2670
|
+
function _ts_decorate11(decorators, target, key, desc) {
|
|
2607
2671
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2608
2672
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2609
2673
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2610
2674
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2611
2675
|
}
|
|
2612
|
-
__name(
|
|
2613
|
-
function
|
|
2676
|
+
__name(_ts_decorate11, "_ts_decorate");
|
|
2677
|
+
function _ts_metadata11(k, v) {
|
|
2614
2678
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2615
2679
|
}
|
|
2616
|
-
__name(
|
|
2680
|
+
__name(_ts_metadata11, "_ts_metadata");
|
|
2617
2681
|
var _TabsSettingsDto = class _TabsSettingsDto {
|
|
2618
2682
|
constructor() {
|
|
2619
2683
|
__publicField(this, "font_color", "#FFFFFF");
|
|
@@ -2625,30 +2689,30 @@ var _TabsSettingsDto = class _TabsSettingsDto {
|
|
|
2625
2689
|
};
|
|
2626
2690
|
__name(_TabsSettingsDto, "TabsSettingsDto");
|
|
2627
2691
|
var TabsSettingsDto = _TabsSettingsDto;
|
|
2628
|
-
|
|
2692
|
+
_ts_decorate11([
|
|
2629
2693
|
classValidator.IsString(),
|
|
2630
2694
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2631
|
-
|
|
2695
|
+
_ts_metadata11("design:type", String)
|
|
2632
2696
|
], TabsSettingsDto.prototype, "font_color", void 0);
|
|
2633
|
-
|
|
2697
|
+
_ts_decorate11([
|
|
2634
2698
|
classValidator.IsString(),
|
|
2635
2699
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2636
|
-
|
|
2700
|
+
_ts_metadata11("design:type", String)
|
|
2637
2701
|
], TabsSettingsDto.prototype, "background", void 0);
|
|
2638
|
-
|
|
2702
|
+
_ts_decorate11([
|
|
2639
2703
|
classValidator.IsString(),
|
|
2640
2704
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2641
|
-
|
|
2705
|
+
_ts_metadata11("design:type", String)
|
|
2642
2706
|
], TabsSettingsDto.prototype, "selector", void 0);
|
|
2643
|
-
|
|
2707
|
+
_ts_decorate11([
|
|
2644
2708
|
classValidator.IsString(),
|
|
2645
2709
|
classValidator.Matches(COLOR_VALIDATOR_REGEXP),
|
|
2646
|
-
|
|
2710
|
+
_ts_metadata11("design:type", String)
|
|
2647
2711
|
], TabsSettingsDto.prototype, "border", void 0);
|
|
2648
|
-
|
|
2712
|
+
_ts_decorate11([
|
|
2649
2713
|
classValidator.IsOptional(),
|
|
2650
2714
|
classValidator.IsBoolean(),
|
|
2651
|
-
|
|
2715
|
+
_ts_metadata11("design:type", Boolean)
|
|
2652
2716
|
], TabsSettingsDto.prototype, "apply_size_to_all", void 0);
|
|
2653
2717
|
var _PageAssetDto = class _PageAssetDto {
|
|
2654
2718
|
constructor() {
|
|
@@ -2675,117 +2739,117 @@ var _PageAssetDto = class _PageAssetDto {
|
|
|
2675
2739
|
};
|
|
2676
2740
|
__name(_PageAssetDto, "PageAssetDto");
|
|
2677
2741
|
var PageAssetDto = _PageAssetDto;
|
|
2678
|
-
|
|
2742
|
+
_ts_decorate11([
|
|
2679
2743
|
classValidator.IsString(),
|
|
2680
|
-
|
|
2744
|
+
_ts_metadata11("design:type", String)
|
|
2681
2745
|
], PageAssetDto.prototype, "pageid", void 0);
|
|
2682
|
-
|
|
2746
|
+
_ts_decorate11([
|
|
2683
2747
|
classValidator.IsString(),
|
|
2684
|
-
|
|
2748
|
+
_ts_metadata11("design:type", String)
|
|
2685
2749
|
], PageAssetDto.prototype, "appid", void 0);
|
|
2686
|
-
|
|
2750
|
+
_ts_decorate11([
|
|
2687
2751
|
classValidator.IsString(),
|
|
2688
|
-
|
|
2752
|
+
_ts_metadata11("design:type", String)
|
|
2689
2753
|
], PageAssetDto.prototype, "userid", void 0);
|
|
2690
|
-
|
|
2754
|
+
_ts_decorate11([
|
|
2691
2755
|
classValidator.IsOptional(),
|
|
2692
2756
|
classValidator.IsBoolean(),
|
|
2693
|
-
|
|
2757
|
+
_ts_metadata11("design:type", Boolean)
|
|
2694
2758
|
], PageAssetDto.prototype, "private", void 0);
|
|
2695
|
-
|
|
2759
|
+
_ts_decorate11([
|
|
2696
2760
|
classValidator.IsString(),
|
|
2697
2761
|
classValidator.MinLength(1),
|
|
2698
|
-
|
|
2762
|
+
_ts_metadata11("design:type", String)
|
|
2699
2763
|
], PageAssetDto.prototype, "name", void 0);
|
|
2700
|
-
|
|
2764
|
+
_ts_decorate11([
|
|
2701
2765
|
classValidator.IsOptional(),
|
|
2702
2766
|
classValidator.IsBoolean(),
|
|
2703
|
-
|
|
2767
|
+
_ts_metadata11("design:type", Boolean)
|
|
2704
2768
|
], PageAssetDto.prototype, "published", void 0);
|
|
2705
|
-
|
|
2769
|
+
_ts_decorate11([
|
|
2706
2770
|
classValidator.IsOptional(),
|
|
2707
2771
|
classValidator.IsBoolean(),
|
|
2708
|
-
|
|
2772
|
+
_ts_metadata11("design:type", Boolean)
|
|
2709
2773
|
], PageAssetDto.prototype, "active", void 0);
|
|
2710
|
-
|
|
2774
|
+
_ts_decorate11([
|
|
2711
2775
|
classValidator.IsOptional(),
|
|
2712
2776
|
classValidator.IsBoolean(),
|
|
2713
|
-
|
|
2777
|
+
_ts_metadata11("design:type", Boolean)
|
|
2714
2778
|
], PageAssetDto.prototype, "editing", void 0);
|
|
2715
|
-
|
|
2779
|
+
_ts_decorate11([
|
|
2716
2780
|
classValidator.IsOptional(),
|
|
2717
2781
|
classValidator.IsNumber(),
|
|
2718
2782
|
classValidator.Min(0),
|
|
2719
|
-
|
|
2783
|
+
_ts_metadata11("design:type", Number)
|
|
2720
2784
|
], PageAssetDto.prototype, "makerIndex", void 0);
|
|
2721
|
-
|
|
2785
|
+
_ts_decorate11([
|
|
2722
2786
|
classValidator.IsOptional(),
|
|
2723
2787
|
classValidator.IsArray(),
|
|
2724
|
-
|
|
2788
|
+
_ts_metadata11("design:type", Array)
|
|
2725
2789
|
], PageAssetDto.prototype, "items", void 0);
|
|
2726
|
-
|
|
2790
|
+
_ts_decorate11([
|
|
2727
2791
|
classValidator.IsOptional(),
|
|
2728
2792
|
classValidator.IsBoolean(),
|
|
2729
|
-
|
|
2793
|
+
_ts_metadata11("design:type", Boolean)
|
|
2730
2794
|
], PageAssetDto.prototype, "endUserNav", void 0);
|
|
2731
|
-
|
|
2795
|
+
_ts_decorate11([
|
|
2732
2796
|
classValidator.IsOptional(),
|
|
2733
2797
|
classValidator.IsString(),
|
|
2734
2798
|
classValidator.Allow(),
|
|
2735
|
-
|
|
2799
|
+
_ts_metadata11("design:type", String)
|
|
2736
2800
|
], PageAssetDto.prototype, "description", void 0);
|
|
2737
|
-
|
|
2801
|
+
_ts_decorate11([
|
|
2738
2802
|
classValidator.IsOptional(),
|
|
2739
2803
|
classValidator.IsBoolean(),
|
|
2740
|
-
|
|
2804
|
+
_ts_metadata11("design:type", Boolean)
|
|
2741
2805
|
], PageAssetDto.prototype, "favorite", void 0);
|
|
2742
|
-
|
|
2806
|
+
_ts_decorate11([
|
|
2743
2807
|
classValidator.IsOptional(),
|
|
2744
2808
|
classValidator.IsObject(),
|
|
2745
2809
|
classValidator.Allow(),
|
|
2746
|
-
|
|
2810
|
+
_ts_metadata11("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2747
2811
|
], PageAssetDto.prototype, "customAttributes", void 0);
|
|
2748
|
-
|
|
2812
|
+
_ts_decorate11([
|
|
2749
2813
|
classValidator.IsOptional(),
|
|
2750
2814
|
classValidator.IsString(),
|
|
2751
|
-
|
|
2815
|
+
_ts_metadata11("design:type", String)
|
|
2752
2816
|
], PageAssetDto.prototype, "status", void 0);
|
|
2753
|
-
|
|
2817
|
+
_ts_decorate11([
|
|
2754
2818
|
classValidator.IsOptional(),
|
|
2755
2819
|
classValidator.IsObject(),
|
|
2756
2820
|
classValidator.Allow(),
|
|
2757
|
-
|
|
2821
|
+
_ts_metadata11("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2758
2822
|
], PageAssetDto.prototype, "cssGrid", void 0);
|
|
2759
|
-
|
|
2823
|
+
_ts_decorate11([
|
|
2760
2824
|
classValidator.IsOptional(),
|
|
2761
2825
|
classValidator.IsString(),
|
|
2762
2826
|
classValidator.Allow(),
|
|
2763
|
-
|
|
2827
|
+
_ts_metadata11("design:type", String)
|
|
2764
2828
|
], PageAssetDto.prototype, "originalSourceId", void 0);
|
|
2765
|
-
|
|
2829
|
+
_ts_decorate11([
|
|
2766
2830
|
classValidator.IsOptional(),
|
|
2767
2831
|
classValidator.IsBoolean(),
|
|
2768
2832
|
classValidator.Allow(),
|
|
2769
|
-
|
|
2833
|
+
_ts_metadata11("design:type", Boolean)
|
|
2770
2834
|
], PageAssetDto.prototype, "tabsNavigation", void 0);
|
|
2771
|
-
|
|
2835
|
+
_ts_decorate11([
|
|
2772
2836
|
classValidator.IsOptional(),
|
|
2773
2837
|
classValidator.ValidateNested(),
|
|
2774
2838
|
classTransformer.Type(() => TabsSettingsDto),
|
|
2775
2839
|
classValidator.Allow(),
|
|
2776
|
-
|
|
2840
|
+
_ts_metadata11("design:type", typeof TabsSettingsDto === "undefined" ? Object : TabsSettingsDto)
|
|
2777
2841
|
], PageAssetDto.prototype, "tabs_settings", void 0);
|
|
2778
|
-
function
|
|
2842
|
+
function _ts_decorate12(decorators, target, key, desc) {
|
|
2779
2843
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2780
2844
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2781
2845
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2782
2846
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2783
2847
|
}
|
|
2784
|
-
__name(
|
|
2785
|
-
function
|
|
2848
|
+
__name(_ts_decorate12, "_ts_decorate");
|
|
2849
|
+
function _ts_metadata12(k, v) {
|
|
2786
2850
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2787
2851
|
}
|
|
2788
|
-
__name(
|
|
2852
|
+
__name(_ts_metadata12, "_ts_metadata");
|
|
2789
2853
|
var FlowTypes = /* @__PURE__ */ (function(FlowTypes2) {
|
|
2790
2854
|
FlowTypes2["AUTOMATION"] = "FLOW";
|
|
2791
2855
|
FlowTypes2["SUBSCRIPTION"] = "SUBSCRIPTION";
|
|
@@ -2799,10 +2863,10 @@ var _TimezoneDto = class _TimezoneDto {
|
|
|
2799
2863
|
};
|
|
2800
2864
|
__name(_TimezoneDto, "TimezoneDto");
|
|
2801
2865
|
var TimezoneDto = _TimezoneDto;
|
|
2802
|
-
|
|
2866
|
+
_ts_decorate12([
|
|
2803
2867
|
classValidator.IsOptional(),
|
|
2804
2868
|
classValidator.IsString(),
|
|
2805
|
-
|
|
2869
|
+
_ts_metadata12("design:type", String)
|
|
2806
2870
|
], TimezoneDto.prototype, "offset", void 0);
|
|
2807
2871
|
var _WorkflowAssetDto = class _WorkflowAssetDto {
|
|
2808
2872
|
constructor() {
|
|
@@ -2836,151 +2900,151 @@ var _WorkflowAssetDto = class _WorkflowAssetDto {
|
|
|
2836
2900
|
};
|
|
2837
2901
|
__name(_WorkflowAssetDto, "WorkflowAssetDto");
|
|
2838
2902
|
var WorkflowAssetDto = _WorkflowAssetDto;
|
|
2839
|
-
|
|
2903
|
+
_ts_decorate12([
|
|
2840
2904
|
classValidator.IsString(),
|
|
2841
|
-
|
|
2905
|
+
_ts_metadata12("design:type", String)
|
|
2842
2906
|
], WorkflowAssetDto.prototype, "workflowid", void 0);
|
|
2843
|
-
|
|
2907
|
+
_ts_decorate12([
|
|
2844
2908
|
classValidator.IsString(),
|
|
2845
|
-
|
|
2909
|
+
_ts_metadata12("design:type", String)
|
|
2846
2910
|
], WorkflowAssetDto.prototype, "appid", void 0);
|
|
2847
|
-
|
|
2911
|
+
_ts_decorate12([
|
|
2848
2912
|
classValidator.IsString(),
|
|
2849
|
-
|
|
2913
|
+
_ts_metadata12("design:type", String)
|
|
2850
2914
|
], WorkflowAssetDto.prototype, "userid", void 0);
|
|
2851
|
-
|
|
2915
|
+
_ts_decorate12([
|
|
2852
2916
|
classValidator.IsString(),
|
|
2853
2917
|
classValidator.IsOptional(),
|
|
2854
|
-
|
|
2918
|
+
_ts_metadata12("design:type", String)
|
|
2855
2919
|
], WorkflowAssetDto.prototype, "clientid", void 0);
|
|
2856
|
-
|
|
2920
|
+
_ts_decorate12([
|
|
2857
2921
|
classValidator.IsString(),
|
|
2858
2922
|
classValidator.IsOptional(),
|
|
2859
|
-
|
|
2923
|
+
_ts_metadata12("design:type", String)
|
|
2860
2924
|
], WorkflowAssetDto.prototype, "name", void 0);
|
|
2861
|
-
|
|
2925
|
+
_ts_decorate12([
|
|
2862
2926
|
classValidator.IsOptional(),
|
|
2863
2927
|
classValidator.IsString(),
|
|
2864
2928
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
2865
2929
|
message: "modifyDate must be a valid ISO date string"
|
|
2866
2930
|
}),
|
|
2867
|
-
|
|
2931
|
+
_ts_metadata12("design:type", String)
|
|
2868
2932
|
], WorkflowAssetDto.prototype, "modifyDate", void 0);
|
|
2869
|
-
|
|
2933
|
+
_ts_decorate12([
|
|
2870
2934
|
classValidator.IsOptional(),
|
|
2871
2935
|
classValidator.IsString(),
|
|
2872
2936
|
classValidator.Matches(ISO_8601_REGEX, {
|
|
2873
2937
|
message: "createDate must be a valid ISO date string"
|
|
2874
2938
|
}),
|
|
2875
|
-
|
|
2939
|
+
_ts_metadata12("design:type", String)
|
|
2876
2940
|
], WorkflowAssetDto.prototype, "createDate", void 0);
|
|
2877
|
-
|
|
2941
|
+
_ts_decorate12([
|
|
2878
2942
|
classValidator.IsOptional(),
|
|
2879
2943
|
classValidator.IsString(),
|
|
2880
|
-
|
|
2944
|
+
_ts_metadata12("design:type", String)
|
|
2881
2945
|
], WorkflowAssetDto.prototype, "namelower", void 0);
|
|
2882
|
-
|
|
2946
|
+
_ts_decorate12([
|
|
2883
2947
|
classValidator.IsOptional(),
|
|
2884
2948
|
classValidator.IsString(),
|
|
2885
|
-
|
|
2949
|
+
_ts_metadata12("design:type", String)
|
|
2886
2950
|
], WorkflowAssetDto.prototype, "version", void 0);
|
|
2887
|
-
|
|
2951
|
+
_ts_decorate12([
|
|
2888
2952
|
classValidator.IsOptional(),
|
|
2889
2953
|
classValidator.IsEnum(FlowTypes),
|
|
2890
|
-
|
|
2954
|
+
_ts_metadata12("design:type", String)
|
|
2891
2955
|
], WorkflowAssetDto.prototype, "type", void 0);
|
|
2892
|
-
|
|
2956
|
+
_ts_decorate12([
|
|
2893
2957
|
classValidator.IsOptional(),
|
|
2894
2958
|
classValidator.IsString(),
|
|
2895
|
-
|
|
2959
|
+
_ts_metadata12("design:type", String)
|
|
2896
2960
|
], WorkflowAssetDto.prototype, "status", void 0);
|
|
2897
|
-
|
|
2961
|
+
_ts_decorate12([
|
|
2898
2962
|
classValidator.IsOptional(),
|
|
2899
2963
|
classValidator.IsBoolean(),
|
|
2900
|
-
|
|
2964
|
+
_ts_metadata12("design:type", Boolean)
|
|
2901
2965
|
], WorkflowAssetDto.prototype, "favorite", void 0);
|
|
2902
|
-
|
|
2966
|
+
_ts_decorate12([
|
|
2903
2967
|
classValidator.IsOptional(),
|
|
2904
2968
|
classValidator.IsNumber(),
|
|
2905
|
-
|
|
2969
|
+
_ts_metadata12("design:type", Number)
|
|
2906
2970
|
], WorkflowAssetDto.prototype, "cycle", void 0);
|
|
2907
|
-
|
|
2971
|
+
_ts_decorate12([
|
|
2908
2972
|
classValidator.IsOptional(),
|
|
2909
2973
|
classValidator.IsBoolean(),
|
|
2910
|
-
|
|
2974
|
+
_ts_metadata12("design:type", Boolean)
|
|
2911
2975
|
], WorkflowAssetDto.prototype, "invalid", void 0);
|
|
2912
|
-
|
|
2976
|
+
_ts_decorate12([
|
|
2913
2977
|
classValidator.IsOptional(),
|
|
2914
2978
|
classValidator.IsBoolean(),
|
|
2915
|
-
|
|
2979
|
+
_ts_metadata12("design:type", Boolean)
|
|
2916
2980
|
], WorkflowAssetDto.prototype, "loading", void 0);
|
|
2917
|
-
|
|
2981
|
+
_ts_decorate12([
|
|
2918
2982
|
classValidator.IsOptional(),
|
|
2919
2983
|
classTransformer.Type(() => TimezoneDto),
|
|
2920
2984
|
classValidator.ValidateNested(),
|
|
2921
|
-
|
|
2985
|
+
_ts_metadata12("design:type", typeof TimezoneDto === "undefined" ? Object : TimezoneDto)
|
|
2922
2986
|
], WorkflowAssetDto.prototype, "timezone", void 0);
|
|
2923
|
-
|
|
2987
|
+
_ts_decorate12([
|
|
2924
2988
|
classValidator.IsOptional(),
|
|
2925
2989
|
classValidator.IsObject(),
|
|
2926
|
-
|
|
2990
|
+
_ts_metadata12("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2927
2991
|
], WorkflowAssetDto.prototype, "trigger", void 0);
|
|
2928
|
-
|
|
2992
|
+
_ts_decorate12([
|
|
2929
2993
|
classValidator.IsOptional(),
|
|
2930
2994
|
classValidator.IsObject(),
|
|
2931
|
-
|
|
2995
|
+
_ts_metadata12("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2932
2996
|
], WorkflowAssetDto.prototype, "i18n", void 0);
|
|
2933
|
-
|
|
2997
|
+
_ts_decorate12([
|
|
2934
2998
|
classValidator.IsOptional(),
|
|
2935
2999
|
classValidator.IsObject(),
|
|
2936
|
-
|
|
3000
|
+
_ts_metadata12("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2937
3001
|
], WorkflowAssetDto.prototype, "meta", void 0);
|
|
2938
|
-
|
|
3002
|
+
_ts_decorate12([
|
|
2939
3003
|
classValidator.IsOptional(),
|
|
2940
3004
|
classValidator.IsString(),
|
|
2941
|
-
|
|
3005
|
+
_ts_metadata12("design:type", String)
|
|
2942
3006
|
], WorkflowAssetDto.prototype, "parentExportTrackerId", void 0);
|
|
2943
|
-
|
|
3007
|
+
_ts_decorate12([
|
|
2944
3008
|
classValidator.IsOptional(),
|
|
2945
3009
|
classValidator.IsString(),
|
|
2946
|
-
|
|
3010
|
+
_ts_metadata12("design:type", String)
|
|
2947
3011
|
], WorkflowAssetDto.prototype, "accessKey", void 0);
|
|
2948
|
-
|
|
3012
|
+
_ts_decorate12([
|
|
2949
3013
|
classValidator.IsOptional(),
|
|
2950
3014
|
classValidator.IsString(),
|
|
2951
|
-
|
|
3015
|
+
_ts_metadata12("design:type", String)
|
|
2952
3016
|
], WorkflowAssetDto.prototype, "originalSourceId", void 0);
|
|
2953
|
-
|
|
3017
|
+
_ts_decorate12([
|
|
2954
3018
|
classValidator.IsOptional(),
|
|
2955
3019
|
classValidator.IsObject(),
|
|
2956
|
-
|
|
3020
|
+
_ts_metadata12("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2957
3021
|
], WorkflowAssetDto.prototype, "datasets", void 0);
|
|
2958
|
-
|
|
3022
|
+
_ts_decorate12([
|
|
2959
3023
|
classValidator.IsOptional(),
|
|
2960
3024
|
classValidator.IsObject(),
|
|
2961
|
-
|
|
3025
|
+
_ts_metadata12("design:type", typeof Record === "undefined" ? Object : Record)
|
|
2962
3026
|
], WorkflowAssetDto.prototype, "customAttributes", void 0);
|
|
2963
|
-
|
|
3027
|
+
_ts_decorate12([
|
|
2964
3028
|
classValidator.IsOptional(),
|
|
2965
3029
|
classValidator.IsArray(),
|
|
2966
|
-
|
|
3030
|
+
_ts_metadata12("design:type", Array)
|
|
2967
3031
|
], WorkflowAssetDto.prototype, "unsubscribes", void 0);
|
|
2968
|
-
|
|
3032
|
+
_ts_decorate12([
|
|
2969
3033
|
classValidator.IsOptional(),
|
|
2970
3034
|
classValidator.IsArray(),
|
|
2971
|
-
|
|
3035
|
+
_ts_metadata12("design:type", Array)
|
|
2972
3036
|
], WorkflowAssetDto.prototype, "unsuscribes", void 0);
|
|
2973
|
-
function
|
|
3037
|
+
function _ts_decorate13(decorators, target, key, desc) {
|
|
2974
3038
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2975
3039
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2976
3040
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2977
3041
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2978
3042
|
}
|
|
2979
|
-
__name(
|
|
2980
|
-
function
|
|
3043
|
+
__name(_ts_decorate13, "_ts_decorate");
|
|
3044
|
+
function _ts_metadata13(k, v) {
|
|
2981
3045
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
2982
3046
|
}
|
|
2983
|
-
__name(
|
|
3047
|
+
__name(_ts_metadata13, "_ts_metadata");
|
|
2984
3048
|
var _ReportAssetDto = class _ReportAssetDto {
|
|
2985
3049
|
constructor() {
|
|
2986
3050
|
__publicField(this, "reportId");
|
|
@@ -2998,73 +3062,73 @@ var _ReportAssetDto = class _ReportAssetDto {
|
|
|
2998
3062
|
};
|
|
2999
3063
|
__name(_ReportAssetDto, "ReportAssetDto");
|
|
3000
3064
|
var ReportAssetDto = _ReportAssetDto;
|
|
3001
|
-
|
|
3065
|
+
_ts_decorate13([
|
|
3002
3066
|
classValidator.IsString(),
|
|
3003
3067
|
classValidator.MaxLength(255),
|
|
3004
|
-
|
|
3068
|
+
_ts_metadata13("design:type", String)
|
|
3005
3069
|
], ReportAssetDto.prototype, "reportId", void 0);
|
|
3006
|
-
|
|
3070
|
+
_ts_decorate13([
|
|
3007
3071
|
classValidator.IsString(),
|
|
3008
3072
|
classValidator.MaxLength(255),
|
|
3009
|
-
|
|
3073
|
+
_ts_metadata13("design:type", String)
|
|
3010
3074
|
], ReportAssetDto.prototype, "appId", void 0);
|
|
3011
|
-
|
|
3075
|
+
_ts_decorate13([
|
|
3012
3076
|
classValidator.IsString(),
|
|
3013
3077
|
classValidator.IsOptional(),
|
|
3014
3078
|
classValidator.MaxLength(255),
|
|
3015
|
-
|
|
3079
|
+
_ts_metadata13("design:type", String)
|
|
3016
3080
|
], ReportAssetDto.prototype, "name", void 0);
|
|
3017
|
-
|
|
3081
|
+
_ts_decorate13([
|
|
3018
3082
|
classValidator.IsString(),
|
|
3019
3083
|
classValidator.IsOptional(),
|
|
3020
|
-
|
|
3084
|
+
_ts_metadata13("design:type", String)
|
|
3021
3085
|
], ReportAssetDto.prototype, "description", void 0);
|
|
3022
|
-
|
|
3086
|
+
_ts_decorate13([
|
|
3023
3087
|
classValidator.IsObject(),
|
|
3024
3088
|
classValidator.IsOptional(),
|
|
3025
|
-
|
|
3089
|
+
_ts_metadata13("design:type", Object)
|
|
3026
3090
|
], ReportAssetDto.prototype, "group", void 0);
|
|
3027
|
-
|
|
3091
|
+
_ts_decorate13([
|
|
3028
3092
|
classValidator.IsObject(),
|
|
3029
3093
|
classValidator.IsOptional(),
|
|
3030
|
-
|
|
3094
|
+
_ts_metadata13("design:type", Object)
|
|
3031
3095
|
], ReportAssetDto.prototype, "uiAttributes", void 0);
|
|
3032
|
-
|
|
3096
|
+
_ts_decorate13([
|
|
3033
3097
|
classValidator.IsString(),
|
|
3034
3098
|
classValidator.IsOptional(),
|
|
3035
|
-
|
|
3099
|
+
_ts_metadata13("design:type", String)
|
|
3036
3100
|
], ReportAssetDto.prototype, "datasetId", void 0);
|
|
3037
|
-
|
|
3101
|
+
_ts_decorate13([
|
|
3038
3102
|
classValidator.IsString(),
|
|
3039
3103
|
classValidator.IsOptional(),
|
|
3040
|
-
|
|
3104
|
+
_ts_metadata13("design:type", String)
|
|
3041
3105
|
], ReportAssetDto.prototype, "userId", void 0);
|
|
3042
|
-
|
|
3106
|
+
_ts_decorate13([
|
|
3043
3107
|
classValidator.IsOptional(),
|
|
3044
3108
|
classValidator.IsBoolean(),
|
|
3045
|
-
|
|
3109
|
+
_ts_metadata13("design:type", Boolean)
|
|
3046
3110
|
], ReportAssetDto.prototype, "favorite", void 0);
|
|
3047
|
-
|
|
3111
|
+
_ts_decorate13([
|
|
3048
3112
|
classValidator.IsString(),
|
|
3049
3113
|
classValidator.IsOptional(),
|
|
3050
|
-
|
|
3114
|
+
_ts_metadata13("design:type", String)
|
|
3051
3115
|
], ReportAssetDto.prototype, "createDate", void 0);
|
|
3052
|
-
|
|
3116
|
+
_ts_decorate13([
|
|
3053
3117
|
classValidator.IsString(),
|
|
3054
3118
|
classValidator.IsOptional(),
|
|
3055
|
-
|
|
3119
|
+
_ts_metadata13("design:type", String)
|
|
3056
3120
|
], ReportAssetDto.prototype, "modifyDate", void 0);
|
|
3057
|
-
function
|
|
3121
|
+
function _ts_decorate14(decorators, target, key, desc) {
|
|
3058
3122
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3059
3123
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3060
3124
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3061
3125
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3062
3126
|
}
|
|
3063
|
-
__name(
|
|
3064
|
-
function
|
|
3127
|
+
__name(_ts_decorate14, "_ts_decorate");
|
|
3128
|
+
function _ts_metadata14(k, v) {
|
|
3065
3129
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3066
3130
|
}
|
|
3067
|
-
__name(
|
|
3131
|
+
__name(_ts_metadata14, "_ts_metadata");
|
|
3068
3132
|
var _ReportSectionAssetDto = class _ReportSectionAssetDto {
|
|
3069
3133
|
constructor() {
|
|
3070
3134
|
__publicField(this, "reportTabid");
|
|
@@ -3080,68 +3144,68 @@ var _ReportSectionAssetDto = class _ReportSectionAssetDto {
|
|
|
3080
3144
|
};
|
|
3081
3145
|
__name(_ReportSectionAssetDto, "ReportSectionAssetDto");
|
|
3082
3146
|
var ReportSectionAssetDto = _ReportSectionAssetDto;
|
|
3083
|
-
|
|
3147
|
+
_ts_decorate14([
|
|
3084
3148
|
classValidator.IsString(),
|
|
3085
3149
|
classValidator.MaxLength(255),
|
|
3086
|
-
|
|
3150
|
+
_ts_metadata14("design:type", String)
|
|
3087
3151
|
], ReportSectionAssetDto.prototype, "reportTabid", void 0);
|
|
3088
|
-
|
|
3152
|
+
_ts_decorate14([
|
|
3089
3153
|
classValidator.IsString(),
|
|
3090
3154
|
classValidator.MaxLength(255),
|
|
3091
|
-
|
|
3155
|
+
_ts_metadata14("design:type", String)
|
|
3092
3156
|
], ReportSectionAssetDto.prototype, "reportid", void 0);
|
|
3093
|
-
|
|
3157
|
+
_ts_decorate14([
|
|
3094
3158
|
classValidator.IsString(),
|
|
3095
3159
|
classValidator.IsOptional(),
|
|
3096
|
-
|
|
3160
|
+
_ts_metadata14("design:type", String)
|
|
3097
3161
|
], ReportSectionAssetDto.prototype, "createDate", void 0);
|
|
3098
|
-
|
|
3162
|
+
_ts_decorate14([
|
|
3099
3163
|
classValidator.IsString(),
|
|
3100
3164
|
classValidator.IsOptional(),
|
|
3101
|
-
|
|
3165
|
+
_ts_metadata14("design:type", String)
|
|
3102
3166
|
], ReportSectionAssetDto.prototype, "modifyDate", void 0);
|
|
3103
|
-
|
|
3167
|
+
_ts_decorate14([
|
|
3104
3168
|
classValidator.IsString(),
|
|
3105
3169
|
classValidator.MaxLength(255),
|
|
3106
3170
|
classValidator.IsOptional(),
|
|
3107
|
-
|
|
3171
|
+
_ts_metadata14("design:type", String)
|
|
3108
3172
|
], ReportSectionAssetDto.prototype, "tabTitle", void 0);
|
|
3109
|
-
|
|
3173
|
+
_ts_decorate14([
|
|
3110
3174
|
classValidator.IsString(),
|
|
3111
3175
|
classValidator.MaxLength(255),
|
|
3112
3176
|
classValidator.IsOptional(),
|
|
3113
|
-
|
|
3177
|
+
_ts_metadata14("design:type", String)
|
|
3114
3178
|
], ReportSectionAssetDto.prototype, "userid", void 0);
|
|
3115
|
-
|
|
3179
|
+
_ts_decorate14([
|
|
3116
3180
|
classValidator.IsString(),
|
|
3117
3181
|
classValidator.MaxLength(255),
|
|
3118
3182
|
classValidator.IsOptional(),
|
|
3119
|
-
|
|
3183
|
+
_ts_metadata14("design:type", String)
|
|
3120
3184
|
], ReportSectionAssetDto.prototype, "sectionType", void 0);
|
|
3121
|
-
|
|
3185
|
+
_ts_decorate14([
|
|
3122
3186
|
classValidator.IsObject(),
|
|
3123
3187
|
classValidator.IsOptional(),
|
|
3124
|
-
|
|
3188
|
+
_ts_metadata14("design:type", Object)
|
|
3125
3189
|
], ReportSectionAssetDto.prototype, "uiAttributes", void 0);
|
|
3126
|
-
|
|
3190
|
+
_ts_decorate14([
|
|
3127
3191
|
classValidator.IsArray(),
|
|
3128
3192
|
classValidator.IsObject({
|
|
3129
3193
|
each: true
|
|
3130
3194
|
}),
|
|
3131
3195
|
classValidator.IsOptional(),
|
|
3132
|
-
|
|
3196
|
+
_ts_metadata14("design:type", Array)
|
|
3133
3197
|
], ReportSectionAssetDto.prototype, "items", void 0);
|
|
3134
|
-
function
|
|
3198
|
+
function _ts_decorate15(decorators, target, key, desc) {
|
|
3135
3199
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3136
3200
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3137
3201
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3138
3202
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3139
3203
|
}
|
|
3140
|
-
__name(
|
|
3141
|
-
function
|
|
3204
|
+
__name(_ts_decorate15, "_ts_decorate");
|
|
3205
|
+
function _ts_metadata15(k, v) {
|
|
3142
3206
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3143
3207
|
}
|
|
3144
|
-
__name(
|
|
3208
|
+
__name(_ts_metadata15, "_ts_metadata");
|
|
3145
3209
|
var _DashboardAssetDto = class _DashboardAssetDto {
|
|
3146
3210
|
constructor() {
|
|
3147
3211
|
__publicField(this, "dashboardId");
|
|
@@ -3188,80 +3252,80 @@ var _DashboardAssetDto = class _DashboardAssetDto {
|
|
|
3188
3252
|
};
|
|
3189
3253
|
__name(_DashboardAssetDto, "DashboardAssetDto");
|
|
3190
3254
|
var DashboardAssetDto = _DashboardAssetDto;
|
|
3191
|
-
|
|
3255
|
+
_ts_decorate15([
|
|
3192
3256
|
classValidator.IsString(),
|
|
3193
3257
|
classValidator.IsDefined(),
|
|
3194
|
-
|
|
3258
|
+
_ts_metadata15("design:type", String)
|
|
3195
3259
|
], DashboardAssetDto.prototype, "dashboardId", void 0);
|
|
3196
|
-
|
|
3260
|
+
_ts_decorate15([
|
|
3197
3261
|
classValidator.IsString(),
|
|
3198
3262
|
classValidator.IsDefined(),
|
|
3199
|
-
|
|
3263
|
+
_ts_metadata15("design:type", String)
|
|
3200
3264
|
], DashboardAssetDto.prototype, "appId", void 0);
|
|
3201
|
-
|
|
3265
|
+
_ts_decorate15([
|
|
3202
3266
|
classValidator.IsString(),
|
|
3203
3267
|
classValidator.IsDefined(),
|
|
3204
|
-
|
|
3268
|
+
_ts_metadata15("design:type", String)
|
|
3205
3269
|
], DashboardAssetDto.prototype, "userId", void 0);
|
|
3206
|
-
|
|
3270
|
+
_ts_decorate15([
|
|
3207
3271
|
classValidator.IsBoolean(),
|
|
3208
3272
|
classValidator.IsOptional(),
|
|
3209
|
-
|
|
3273
|
+
_ts_metadata15("design:type", Boolean)
|
|
3210
3274
|
], DashboardAssetDto.prototype, "favorite", void 0);
|
|
3211
|
-
|
|
3275
|
+
_ts_decorate15([
|
|
3212
3276
|
classValidator.IsString({
|
|
3213
3277
|
each: true
|
|
3214
3278
|
}),
|
|
3215
3279
|
classValidator.IsOptional(),
|
|
3216
|
-
|
|
3280
|
+
_ts_metadata15("design:type", Array)
|
|
3217
3281
|
], DashboardAssetDto.prototype, "tags", void 0);
|
|
3218
|
-
|
|
3282
|
+
_ts_decorate15([
|
|
3219
3283
|
classValidator.IsObject(),
|
|
3220
3284
|
classValidator.IsOptional(),
|
|
3221
|
-
|
|
3285
|
+
_ts_metadata15("design:type", Object)
|
|
3222
3286
|
], DashboardAssetDto.prototype, "filter", void 0);
|
|
3223
|
-
|
|
3287
|
+
_ts_decorate15([
|
|
3224
3288
|
classValidator.IsString(),
|
|
3225
3289
|
classValidator.IsOptional(),
|
|
3226
|
-
|
|
3290
|
+
_ts_metadata15("design:type", String)
|
|
3227
3291
|
], DashboardAssetDto.prototype, "description", void 0);
|
|
3228
|
-
|
|
3292
|
+
_ts_decorate15([
|
|
3229
3293
|
classValidator.IsString(),
|
|
3230
3294
|
classValidator.IsDefined(),
|
|
3231
3295
|
classValidator.MinLength(1),
|
|
3232
|
-
|
|
3296
|
+
_ts_metadata15("design:type", String)
|
|
3233
3297
|
], DashboardAssetDto.prototype, "name", void 0);
|
|
3234
|
-
|
|
3298
|
+
_ts_decorate15([
|
|
3235
3299
|
classValidator.IsObject(),
|
|
3236
3300
|
classValidator.IsOptional(),
|
|
3237
|
-
|
|
3301
|
+
_ts_metadata15("design:type", Object)
|
|
3238
3302
|
], DashboardAssetDto.prototype, "breakpoint", void 0);
|
|
3239
|
-
|
|
3303
|
+
_ts_decorate15([
|
|
3240
3304
|
classValidator.IsObject(),
|
|
3241
3305
|
classValidator.IsOptional(),
|
|
3242
|
-
|
|
3306
|
+
_ts_metadata15("design:type", Object)
|
|
3243
3307
|
], DashboardAssetDto.prototype, "grid", void 0);
|
|
3244
|
-
|
|
3308
|
+
_ts_decorate15([
|
|
3245
3309
|
classValidator.IsObject(),
|
|
3246
3310
|
classValidator.IsOptional(),
|
|
3247
|
-
|
|
3311
|
+
_ts_metadata15("design:type", Object)
|
|
3248
3312
|
], DashboardAssetDto.prototype, "customAttributes", void 0);
|
|
3249
|
-
|
|
3313
|
+
_ts_decorate15([
|
|
3250
3314
|
classValidator.IsString(),
|
|
3251
3315
|
classValidator.IsOptional(),
|
|
3252
|
-
|
|
3316
|
+
_ts_metadata15("design:type", String)
|
|
3253
3317
|
], DashboardAssetDto.prototype, "themeId", void 0);
|
|
3254
|
-
function
|
|
3318
|
+
function _ts_decorate16(decorators, target, key, desc) {
|
|
3255
3319
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3256
3320
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3257
3321
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3258
3322
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3259
3323
|
}
|
|
3260
|
-
__name(
|
|
3261
|
-
function
|
|
3324
|
+
__name(_ts_decorate16, "_ts_decorate");
|
|
3325
|
+
function _ts_metadata16(k, v) {
|
|
3262
3326
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3263
3327
|
}
|
|
3264
|
-
__name(
|
|
3328
|
+
__name(_ts_metadata16, "_ts_metadata");
|
|
3265
3329
|
var _PageTabAssetDto = class _PageTabAssetDto {
|
|
3266
3330
|
constructor() {
|
|
3267
3331
|
__publicField(this, "pageTabid");
|
|
@@ -3281,78 +3345,78 @@ var _PageTabAssetDto = class _PageTabAssetDto {
|
|
|
3281
3345
|
};
|
|
3282
3346
|
__name(_PageTabAssetDto, "PageTabAssetDto");
|
|
3283
3347
|
var PageTabAssetDto = _PageTabAssetDto;
|
|
3284
|
-
|
|
3348
|
+
_ts_decorate16([
|
|
3285
3349
|
classValidator.IsString(),
|
|
3286
|
-
|
|
3350
|
+
_ts_metadata16("design:type", String)
|
|
3287
3351
|
], PageTabAssetDto.prototype, "pageTabid", void 0);
|
|
3288
|
-
|
|
3352
|
+
_ts_decorate16([
|
|
3289
3353
|
classValidator.IsString(),
|
|
3290
|
-
|
|
3354
|
+
_ts_metadata16("design:type", String)
|
|
3291
3355
|
], PageTabAssetDto.prototype, "pageid", void 0);
|
|
3292
|
-
|
|
3356
|
+
_ts_decorate16([
|
|
3293
3357
|
classValidator.IsString(),
|
|
3294
|
-
|
|
3358
|
+
_ts_metadata16("design:type", String)
|
|
3295
3359
|
], PageTabAssetDto.prototype, "appid", void 0);
|
|
3296
|
-
|
|
3360
|
+
_ts_decorate16([
|
|
3297
3361
|
classValidator.IsString(),
|
|
3298
|
-
|
|
3362
|
+
_ts_metadata16("design:type", String)
|
|
3299
3363
|
], PageTabAssetDto.prototype, "userid", void 0);
|
|
3300
|
-
|
|
3364
|
+
_ts_decorate16([
|
|
3301
3365
|
classValidator.IsOptional(),
|
|
3302
3366
|
classValidator.IsBoolean(),
|
|
3303
|
-
|
|
3367
|
+
_ts_metadata16("design:type", Boolean)
|
|
3304
3368
|
], PageTabAssetDto.prototype, "private", void 0);
|
|
3305
|
-
|
|
3369
|
+
_ts_decorate16([
|
|
3306
3370
|
classValidator.IsString(),
|
|
3307
|
-
|
|
3371
|
+
_ts_metadata16("design:type", String)
|
|
3308
3372
|
], PageTabAssetDto.prototype, "tabTitle", void 0);
|
|
3309
|
-
|
|
3373
|
+
_ts_decorate16([
|
|
3310
3374
|
classValidator.IsOptional(),
|
|
3311
3375
|
classValidator.IsArray(),
|
|
3312
|
-
|
|
3376
|
+
_ts_metadata16("design:type", Array)
|
|
3313
3377
|
], PageTabAssetDto.prototype, "items", void 0);
|
|
3314
|
-
|
|
3378
|
+
_ts_decorate16([
|
|
3315
3379
|
classValidator.IsOptional(),
|
|
3316
3380
|
classValidator.IsString(),
|
|
3317
3381
|
classValidator.Allow(),
|
|
3318
|
-
|
|
3382
|
+
_ts_metadata16("design:type", String)
|
|
3319
3383
|
], PageTabAssetDto.prototype, "description", void 0);
|
|
3320
|
-
|
|
3384
|
+
_ts_decorate16([
|
|
3321
3385
|
classValidator.IsOptional(),
|
|
3322
3386
|
classValidator.IsBoolean(),
|
|
3323
|
-
|
|
3387
|
+
_ts_metadata16("design:type", Boolean)
|
|
3324
3388
|
], PageTabAssetDto.prototype, "editing", void 0);
|
|
3325
|
-
|
|
3389
|
+
_ts_decorate16([
|
|
3326
3390
|
classValidator.IsOptional(),
|
|
3327
3391
|
classValidator.IsObject(),
|
|
3328
|
-
|
|
3392
|
+
_ts_metadata16("design:type", typeof Record === "undefined" ? Object : Record)
|
|
3329
3393
|
], PageTabAssetDto.prototype, "customAttributes", void 0);
|
|
3330
|
-
|
|
3394
|
+
_ts_decorate16([
|
|
3331
3395
|
classValidator.IsNumber(),
|
|
3332
|
-
|
|
3396
|
+
_ts_metadata16("design:type", Number)
|
|
3333
3397
|
], PageTabAssetDto.prototype, "size", void 0);
|
|
3334
|
-
|
|
3398
|
+
_ts_decorate16([
|
|
3335
3399
|
classValidator.IsOptional(),
|
|
3336
3400
|
classValidator.IsBoolean(),
|
|
3337
|
-
|
|
3401
|
+
_ts_metadata16("design:type", Boolean)
|
|
3338
3402
|
], PageTabAssetDto.prototype, "forceTabSizeMin", void 0);
|
|
3339
|
-
|
|
3403
|
+
_ts_decorate16([
|
|
3340
3404
|
classValidator.IsOptional(),
|
|
3341
3405
|
classValidator.IsObject(),
|
|
3342
3406
|
classValidator.Allow(),
|
|
3343
|
-
|
|
3407
|
+
_ts_metadata16("design:type", typeof Record === "undefined" ? Object : Record)
|
|
3344
3408
|
], PageTabAssetDto.prototype, "cssGrid", void 0);
|
|
3345
|
-
function
|
|
3409
|
+
function _ts_decorate17(decorators, target, key, desc) {
|
|
3346
3410
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3347
3411
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3348
3412
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3349
3413
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3350
3414
|
}
|
|
3351
|
-
__name(
|
|
3352
|
-
function
|
|
3415
|
+
__name(_ts_decorate17, "_ts_decorate");
|
|
3416
|
+
function _ts_metadata17(k, v) {
|
|
3353
3417
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3354
3418
|
}
|
|
3355
|
-
__name(
|
|
3419
|
+
__name(_ts_metadata17, "_ts_metadata");
|
|
3356
3420
|
var _TriggerSourceDto = class _TriggerSourceDto {
|
|
3357
3421
|
constructor() {
|
|
3358
3422
|
__publicField(this, "id");
|
|
@@ -3360,10 +3424,10 @@ var _TriggerSourceDto = class _TriggerSourceDto {
|
|
|
3360
3424
|
};
|
|
3361
3425
|
__name(_TriggerSourceDto, "TriggerSourceDto");
|
|
3362
3426
|
var TriggerSourceDto = _TriggerSourceDto;
|
|
3363
|
-
|
|
3427
|
+
_ts_decorate17([
|
|
3364
3428
|
classValidator.IsOptional(),
|
|
3365
3429
|
classValidator.IsString(),
|
|
3366
|
-
|
|
3430
|
+
_ts_metadata17("design:type", String)
|
|
3367
3431
|
], TriggerSourceDto.prototype, "id", void 0);
|
|
3368
3432
|
var _TriggerDto = class _TriggerDto {
|
|
3369
3433
|
constructor() {
|
|
@@ -3373,17 +3437,17 @@ var _TriggerDto = class _TriggerDto {
|
|
|
3373
3437
|
};
|
|
3374
3438
|
__name(_TriggerDto, "TriggerDto");
|
|
3375
3439
|
var TriggerDto = _TriggerDto;
|
|
3376
|
-
|
|
3440
|
+
_ts_decorate17([
|
|
3377
3441
|
classValidator.IsOptional(),
|
|
3378
3442
|
classValidator.IsString(),
|
|
3379
|
-
|
|
3443
|
+
_ts_metadata17("design:type", String)
|
|
3380
3444
|
], TriggerDto.prototype, "id", void 0);
|
|
3381
|
-
|
|
3445
|
+
_ts_decorate17([
|
|
3382
3446
|
classValidator.IsOptional(),
|
|
3383
3447
|
classValidator.ValidateNested(),
|
|
3384
3448
|
classTransformer.Type(() => TriggerSourceDto),
|
|
3385
3449
|
classValidator.IsObject(),
|
|
3386
|
-
|
|
3450
|
+
_ts_metadata17("design:type", typeof TriggerSourceDto === "undefined" ? Object : TriggerSourceDto)
|
|
3387
3451
|
], TriggerDto.prototype, "source", void 0);
|
|
3388
3452
|
var _EventDto = class _EventDto {
|
|
3389
3453
|
constructor() {
|
|
@@ -3398,34 +3462,34 @@ var _EventDto = class _EventDto {
|
|
|
3398
3462
|
};
|
|
3399
3463
|
__name(_EventDto, "EventDto");
|
|
3400
3464
|
var EventDto = _EventDto;
|
|
3401
|
-
|
|
3465
|
+
_ts_decorate17([
|
|
3402
3466
|
classValidator.IsOptional(),
|
|
3403
3467
|
classValidator.IsString(),
|
|
3404
|
-
|
|
3468
|
+
_ts_metadata17("design:type", String)
|
|
3405
3469
|
], EventDto.prototype, "text", void 0);
|
|
3406
|
-
|
|
3470
|
+
_ts_decorate17([
|
|
3407
3471
|
classValidator.IsOptional(),
|
|
3408
3472
|
classValidator.IsString(),
|
|
3409
|
-
|
|
3473
|
+
_ts_metadata17("design:type", String)
|
|
3410
3474
|
], EventDto.prototype, "type", void 0);
|
|
3411
|
-
|
|
3475
|
+
_ts_decorate17([
|
|
3412
3476
|
classValidator.IsOptional(),
|
|
3413
3477
|
classValidator.IsArray(),
|
|
3414
3478
|
classValidator.Allow(),
|
|
3415
|
-
|
|
3479
|
+
_ts_metadata17("design:type", Array)
|
|
3416
3480
|
], EventDto.prototype, "children", void 0);
|
|
3417
|
-
|
|
3481
|
+
_ts_decorate17([
|
|
3418
3482
|
classValidator.IsOptional(),
|
|
3419
3483
|
classValidator.IsArray(),
|
|
3420
3484
|
classTransformer.Transform(({ value }) => value != null ? value : [
|
|
3421
3485
|
"none"
|
|
3422
3486
|
]),
|
|
3423
|
-
|
|
3487
|
+
_ts_metadata17("design:type", Array)
|
|
3424
3488
|
], EventDto.prototype, "dropables", void 0);
|
|
3425
|
-
|
|
3489
|
+
_ts_decorate17([
|
|
3426
3490
|
classValidator.IsOptional(),
|
|
3427
3491
|
classValidator.IsString(),
|
|
3428
|
-
|
|
3492
|
+
_ts_metadata17("design:type", String)
|
|
3429
3493
|
], EventDto.prototype, "id", void 0);
|
|
3430
3494
|
var _PageFlowAssetDto = class _PageFlowAssetDto {
|
|
3431
3495
|
constructor() {
|
|
@@ -3446,81 +3510,81 @@ var _PageFlowAssetDto = class _PageFlowAssetDto {
|
|
|
3446
3510
|
};
|
|
3447
3511
|
__name(_PageFlowAssetDto, "PageFlowAssetDto");
|
|
3448
3512
|
var PageFlowAssetDto = _PageFlowAssetDto;
|
|
3449
|
-
|
|
3513
|
+
_ts_decorate17([
|
|
3450
3514
|
classValidator.IsString(),
|
|
3451
3515
|
classValidator.IsOptional(),
|
|
3452
|
-
|
|
3516
|
+
_ts_metadata17("design:type", String)
|
|
3453
3517
|
], PageFlowAssetDto.prototype, "versionid", void 0);
|
|
3454
|
-
|
|
3518
|
+
_ts_decorate17([
|
|
3455
3519
|
classValidator.IsString(),
|
|
3456
|
-
|
|
3520
|
+
_ts_metadata17("design:type", String)
|
|
3457
3521
|
], PageFlowAssetDto.prototype, "pageflowid", void 0);
|
|
3458
|
-
|
|
3522
|
+
_ts_decorate17([
|
|
3459
3523
|
classValidator.IsString(),
|
|
3460
|
-
|
|
3524
|
+
_ts_metadata17("design:type", String)
|
|
3461
3525
|
], PageFlowAssetDto.prototype, "appid", void 0);
|
|
3462
|
-
|
|
3526
|
+
_ts_decorate17([
|
|
3463
3527
|
classValidator.IsString(),
|
|
3464
|
-
|
|
3528
|
+
_ts_metadata17("design:type", String)
|
|
3465
3529
|
], PageFlowAssetDto.prototype, "userid", void 0);
|
|
3466
|
-
|
|
3530
|
+
_ts_decorate17([
|
|
3467
3531
|
classValidator.IsString(),
|
|
3468
|
-
|
|
3532
|
+
_ts_metadata17("design:type", String)
|
|
3469
3533
|
], PageFlowAssetDto.prototype, "pageid", void 0);
|
|
3470
|
-
|
|
3534
|
+
_ts_decorate17([
|
|
3471
3535
|
classValidator.IsString(),
|
|
3472
3536
|
classValidator.IsOptional(),
|
|
3473
|
-
|
|
3537
|
+
_ts_metadata17("design:type", String)
|
|
3474
3538
|
], PageFlowAssetDto.prototype, "name", void 0);
|
|
3475
|
-
|
|
3539
|
+
_ts_decorate17([
|
|
3476
3540
|
classValidator.IsString(),
|
|
3477
|
-
|
|
3541
|
+
_ts_metadata17("design:type", String)
|
|
3478
3542
|
], PageFlowAssetDto.prototype, "elementid", void 0);
|
|
3479
|
-
|
|
3543
|
+
_ts_decorate17([
|
|
3480
3544
|
classValidator.IsOptional(),
|
|
3481
3545
|
classValidator.ValidateNested(),
|
|
3482
3546
|
classTransformer.Type(() => TriggerDto),
|
|
3483
3547
|
classValidator.IsObject(),
|
|
3484
|
-
|
|
3548
|
+
_ts_metadata17("design:type", typeof TriggerDto === "undefined" ? Object : TriggerDto)
|
|
3485
3549
|
], PageFlowAssetDto.prototype, "trigger", void 0);
|
|
3486
|
-
|
|
3550
|
+
_ts_decorate17([
|
|
3487
3551
|
classValidator.IsOptional(),
|
|
3488
|
-
|
|
3552
|
+
_ts_metadata17("design:type", String)
|
|
3489
3553
|
], PageFlowAssetDto.prototype, "status", void 0);
|
|
3490
|
-
|
|
3554
|
+
_ts_decorate17([
|
|
3491
3555
|
classValidator.IsOptional(),
|
|
3492
3556
|
classValidator.ValidateNested(),
|
|
3493
3557
|
classTransformer.Type(() => EventDto),
|
|
3494
3558
|
classValidator.IsObject(),
|
|
3495
|
-
|
|
3559
|
+
_ts_metadata17("design:type", typeof EventDto === "undefined" ? Object : EventDto)
|
|
3496
3560
|
], PageFlowAssetDto.prototype, "event", void 0);
|
|
3497
|
-
|
|
3561
|
+
_ts_decorate17([
|
|
3498
3562
|
classValidator.IsOptional(),
|
|
3499
3563
|
classValidator.IsString(),
|
|
3500
3564
|
classTransformer.Transform(({ value }) => value != null ? value : "1.0.0"),
|
|
3501
|
-
|
|
3565
|
+
_ts_metadata17("design:type", String)
|
|
3502
3566
|
], PageFlowAssetDto.prototype, "version", void 0);
|
|
3503
|
-
|
|
3567
|
+
_ts_decorate17([
|
|
3504
3568
|
classValidator.IsOptional(),
|
|
3505
3569
|
classValidator.IsString(),
|
|
3506
|
-
|
|
3570
|
+
_ts_metadata17("design:type", String)
|
|
3507
3571
|
], PageFlowAssetDto.prototype, "createDate", void 0);
|
|
3508
|
-
|
|
3572
|
+
_ts_decorate17([
|
|
3509
3573
|
classValidator.IsOptional(),
|
|
3510
3574
|
classValidator.IsString(),
|
|
3511
|
-
|
|
3575
|
+
_ts_metadata17("design:type", String)
|
|
3512
3576
|
], PageFlowAssetDto.prototype, "modifyDate", void 0);
|
|
3513
|
-
function
|
|
3577
|
+
function _ts_decorate18(decorators, target, key, desc) {
|
|
3514
3578
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3515
3579
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3516
3580
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3517
3581
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3518
3582
|
}
|
|
3519
|
-
__name(
|
|
3520
|
-
function
|
|
3583
|
+
__name(_ts_decorate18, "_ts_decorate");
|
|
3584
|
+
function _ts_metadata18(k, v) {
|
|
3521
3585
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3522
3586
|
}
|
|
3523
|
-
__name(
|
|
3587
|
+
__name(_ts_metadata18, "_ts_metadata");
|
|
3524
3588
|
var _DashboardContentAssetDto = class _DashboardContentAssetDto {
|
|
3525
3589
|
constructor() {
|
|
3526
3590
|
/**
|
|
@@ -3566,57 +3630,57 @@ var _DashboardContentAssetDto = class _DashboardContentAssetDto {
|
|
|
3566
3630
|
};
|
|
3567
3631
|
__name(_DashboardContentAssetDto, "DashboardContentAssetDto");
|
|
3568
3632
|
var DashboardContentAssetDto = _DashboardContentAssetDto;
|
|
3569
|
-
|
|
3633
|
+
_ts_decorate18([
|
|
3570
3634
|
classValidator.IsString(),
|
|
3571
3635
|
classValidator.IsDefined(),
|
|
3572
|
-
|
|
3636
|
+
_ts_metadata18("design:type", String)
|
|
3573
3637
|
], DashboardContentAssetDto.prototype, "contentId", void 0);
|
|
3574
|
-
|
|
3638
|
+
_ts_decorate18([
|
|
3575
3639
|
classValidator.IsString(),
|
|
3576
3640
|
classValidator.IsDefined(),
|
|
3577
|
-
|
|
3641
|
+
_ts_metadata18("design:type", String)
|
|
3578
3642
|
], DashboardContentAssetDto.prototype, "dashboardId", void 0);
|
|
3579
|
-
|
|
3643
|
+
_ts_decorate18([
|
|
3580
3644
|
classValidator.IsString(),
|
|
3581
3645
|
classValidator.IsDefined(),
|
|
3582
3646
|
classValidator.MinLength(1),
|
|
3583
|
-
|
|
3647
|
+
_ts_metadata18("design:type", String)
|
|
3584
3648
|
], DashboardContentAssetDto.prototype, "name", void 0);
|
|
3585
|
-
|
|
3649
|
+
_ts_decorate18([
|
|
3586
3650
|
classValidator.IsString(),
|
|
3587
3651
|
classValidator.IsDefined(),
|
|
3588
|
-
|
|
3652
|
+
_ts_metadata18("design:type", String)
|
|
3589
3653
|
], DashboardContentAssetDto.prototype, "type", void 0);
|
|
3590
|
-
|
|
3654
|
+
_ts_decorate18([
|
|
3591
3655
|
classValidator.IsObject(),
|
|
3592
3656
|
classValidator.IsOptional(),
|
|
3593
|
-
|
|
3657
|
+
_ts_metadata18("design:type", Object)
|
|
3594
3658
|
], DashboardContentAssetDto.prototype, "filter", void 0);
|
|
3595
|
-
|
|
3659
|
+
_ts_decorate18([
|
|
3596
3660
|
classValidator.IsObject(),
|
|
3597
3661
|
classValidator.IsOptional(),
|
|
3598
|
-
|
|
3662
|
+
_ts_metadata18("design:type", Object)
|
|
3599
3663
|
], DashboardContentAssetDto.prototype, "customAttributes", void 0);
|
|
3600
|
-
|
|
3664
|
+
_ts_decorate18([
|
|
3601
3665
|
classValidator.IsNumber(),
|
|
3602
3666
|
classValidator.IsOptional(),
|
|
3603
|
-
|
|
3667
|
+
_ts_metadata18("design:type", Number)
|
|
3604
3668
|
], DashboardContentAssetDto.prototype, "order", void 0);
|
|
3605
|
-
|
|
3669
|
+
_ts_decorate18([
|
|
3606
3670
|
classValidator.IsOptional(),
|
|
3607
|
-
|
|
3671
|
+
_ts_metadata18("design:type", Object)
|
|
3608
3672
|
], DashboardContentAssetDto.prototype, "style", void 0);
|
|
3609
|
-
function
|
|
3673
|
+
function _ts_decorate19(decorators, target, key, desc) {
|
|
3610
3674
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3611
3675
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3612
3676
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3613
3677
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3614
3678
|
}
|
|
3615
|
-
__name(
|
|
3616
|
-
function
|
|
3679
|
+
__name(_ts_decorate19, "_ts_decorate");
|
|
3680
|
+
function _ts_metadata19(k, v) {
|
|
3617
3681
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3618
3682
|
}
|
|
3619
|
-
__name(
|
|
3683
|
+
__name(_ts_metadata19, "_ts_metadata");
|
|
3620
3684
|
var _DashboardContentElementAssetDto = class _DashboardContentElementAssetDto {
|
|
3621
3685
|
constructor() {
|
|
3622
3686
|
__publicField(this, "elementId");
|
|
@@ -3673,77 +3737,77 @@ var _DashboardContentElementAssetDto = class _DashboardContentElementAssetDto {
|
|
|
3673
3737
|
};
|
|
3674
3738
|
__name(_DashboardContentElementAssetDto, "DashboardContentElementAssetDto");
|
|
3675
3739
|
var DashboardContentElementAssetDto = _DashboardContentElementAssetDto;
|
|
3676
|
-
|
|
3740
|
+
_ts_decorate19([
|
|
3677
3741
|
classValidator.IsString(),
|
|
3678
3742
|
classValidator.IsDefined(),
|
|
3679
|
-
|
|
3743
|
+
_ts_metadata19("design:type", String)
|
|
3680
3744
|
], DashboardContentElementAssetDto.prototype, "elementId", void 0);
|
|
3681
|
-
|
|
3745
|
+
_ts_decorate19([
|
|
3682
3746
|
classValidator.IsString(),
|
|
3683
3747
|
classValidator.IsDefined(),
|
|
3684
|
-
|
|
3748
|
+
_ts_metadata19("design:type", String)
|
|
3685
3749
|
], DashboardContentElementAssetDto.prototype, "contentId", void 0);
|
|
3686
|
-
|
|
3750
|
+
_ts_decorate19([
|
|
3687
3751
|
classValidator.IsString(),
|
|
3688
3752
|
classValidator.IsDefined(),
|
|
3689
|
-
|
|
3753
|
+
_ts_metadata19("design:type", String)
|
|
3690
3754
|
], DashboardContentElementAssetDto.prototype, "dashboardId", void 0);
|
|
3691
|
-
|
|
3755
|
+
_ts_decorate19([
|
|
3692
3756
|
classValidator.IsString(),
|
|
3693
3757
|
classValidator.IsOptional(),
|
|
3694
|
-
|
|
3758
|
+
_ts_metadata19("design:type", String)
|
|
3695
3759
|
], DashboardContentElementAssetDto.prototype, "interactionStatus", void 0);
|
|
3696
|
-
|
|
3760
|
+
_ts_decorate19([
|
|
3697
3761
|
classValidator.IsString(),
|
|
3698
3762
|
classValidator.IsDefined(),
|
|
3699
|
-
|
|
3763
|
+
_ts_metadata19("design:type", String)
|
|
3700
3764
|
], DashboardContentElementAssetDto.prototype, "type", void 0);
|
|
3701
|
-
|
|
3765
|
+
_ts_decorate19([
|
|
3702
3766
|
classValidator.IsString(),
|
|
3703
3767
|
classValidator.IsOptional(),
|
|
3704
|
-
|
|
3768
|
+
_ts_metadata19("design:type", String)
|
|
3705
3769
|
], DashboardContentElementAssetDto.prototype, "name", void 0);
|
|
3706
|
-
|
|
3770
|
+
_ts_decorate19([
|
|
3707
3771
|
classValidator.IsOptional(),
|
|
3708
3772
|
classValidator.IsObject(),
|
|
3709
|
-
|
|
3773
|
+
_ts_metadata19("design:type", Object)
|
|
3710
3774
|
], DashboardContentElementAssetDto.prototype, "filter", void 0);
|
|
3711
|
-
|
|
3775
|
+
_ts_decorate19([
|
|
3712
3776
|
classValidator.IsDefined(),
|
|
3713
3777
|
classValidator.IsNumber(),
|
|
3714
|
-
|
|
3778
|
+
_ts_metadata19("design:type", Number)
|
|
3715
3779
|
], DashboardContentElementAssetDto.prototype, "order", void 0);
|
|
3716
|
-
|
|
3780
|
+
_ts_decorate19([
|
|
3717
3781
|
classValidator.IsOptional(),
|
|
3718
3782
|
classValidator.IsObject(),
|
|
3719
|
-
|
|
3783
|
+
_ts_metadata19("design:type", Object)
|
|
3720
3784
|
], DashboardContentElementAssetDto.prototype, "style", void 0);
|
|
3721
|
-
|
|
3785
|
+
_ts_decorate19([
|
|
3722
3786
|
classValidator.IsOptional(),
|
|
3723
3787
|
classValidator.IsObject(),
|
|
3724
|
-
|
|
3788
|
+
_ts_metadata19("design:type", Object)
|
|
3725
3789
|
], DashboardContentElementAssetDto.prototype, "grid", void 0);
|
|
3726
|
-
|
|
3790
|
+
_ts_decorate19([
|
|
3727
3791
|
classValidator.IsDefined(),
|
|
3728
3792
|
classValidator.IsBoolean(),
|
|
3729
|
-
|
|
3793
|
+
_ts_metadata19("design:type", Boolean)
|
|
3730
3794
|
], DashboardContentElementAssetDto.prototype, "isEup", void 0);
|
|
3731
|
-
|
|
3795
|
+
_ts_decorate19([
|
|
3732
3796
|
classValidator.IsOptional(),
|
|
3733
3797
|
classValidator.IsObject(),
|
|
3734
|
-
|
|
3798
|
+
_ts_metadata19("design:type", Object)
|
|
3735
3799
|
], DashboardContentElementAssetDto.prototype, "itemData", void 0);
|
|
3736
|
-
function
|
|
3800
|
+
function _ts_decorate20(decorators, target, key, desc) {
|
|
3737
3801
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3738
3802
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3739
3803
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3740
3804
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3741
3805
|
}
|
|
3742
|
-
__name(
|
|
3743
|
-
function
|
|
3806
|
+
__name(_ts_decorate20, "_ts_decorate");
|
|
3807
|
+
function _ts_metadata20(k, v) {
|
|
3744
3808
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3745
3809
|
}
|
|
3746
|
-
__name(
|
|
3810
|
+
__name(_ts_metadata20, "_ts_metadata");
|
|
3747
3811
|
var _a2;
|
|
3748
3812
|
var BaseTokenAssetDto = (_a2 = class {
|
|
3749
3813
|
constructor() {
|
|
@@ -3754,26 +3818,26 @@ var BaseTokenAssetDto = (_a2 = class {
|
|
|
3754
3818
|
__publicField(this, "modifyDate");
|
|
3755
3819
|
}
|
|
3756
3820
|
}, __name(_a2, "BaseTokenAssetDto"), _a2);
|
|
3757
|
-
|
|
3821
|
+
_ts_decorate20([
|
|
3758
3822
|
classValidator.IsDefined(),
|
|
3759
3823
|
classValidator.IsObject(),
|
|
3760
|
-
|
|
3824
|
+
_ts_metadata20("design:type", Object)
|
|
3761
3825
|
], BaseTokenAssetDto.prototype, "data", void 0);
|
|
3762
|
-
|
|
3826
|
+
_ts_decorate20([
|
|
3763
3827
|
classValidator.IsString(),
|
|
3764
|
-
|
|
3828
|
+
_ts_metadata20("design:type", String)
|
|
3765
3829
|
], BaseTokenAssetDto.prototype, "type", void 0);
|
|
3766
|
-
|
|
3830
|
+
_ts_decorate20([
|
|
3767
3831
|
classValidator.IsString(),
|
|
3768
|
-
|
|
3832
|
+
_ts_metadata20("design:type", String)
|
|
3769
3833
|
], BaseTokenAssetDto.prototype, "tokenid", void 0);
|
|
3770
|
-
|
|
3834
|
+
_ts_decorate20([
|
|
3771
3835
|
classValidator.IsString(),
|
|
3772
|
-
|
|
3836
|
+
_ts_metadata20("design:type", String)
|
|
3773
3837
|
], BaseTokenAssetDto.prototype, "createDate", void 0);
|
|
3774
|
-
|
|
3838
|
+
_ts_decorate20([
|
|
3775
3839
|
classValidator.IsString(),
|
|
3776
|
-
|
|
3840
|
+
_ts_metadata20("design:type", String)
|
|
3777
3841
|
], BaseTokenAssetDto.prototype, "modifyDate", void 0);
|
|
3778
3842
|
var _TokenAssetDto = class _TokenAssetDto {
|
|
3779
3843
|
constructor() {
|
|
@@ -3784,38 +3848,38 @@ var _TokenAssetDto = class _TokenAssetDto {
|
|
|
3784
3848
|
};
|
|
3785
3849
|
__name(_TokenAssetDto, "TokenAssetDto");
|
|
3786
3850
|
var TokenAssetDto = _TokenAssetDto;
|
|
3787
|
-
|
|
3851
|
+
_ts_decorate20([
|
|
3788
3852
|
classValidator.IsArray(),
|
|
3789
3853
|
classValidator.IsDefined(),
|
|
3790
3854
|
classValidator.ValidateNested({
|
|
3791
3855
|
each: true
|
|
3792
3856
|
}),
|
|
3793
|
-
|
|
3857
|
+
_ts_metadata20("design:type", Array)
|
|
3794
3858
|
], TokenAssetDto.prototype, "userTokens", void 0);
|
|
3795
|
-
|
|
3859
|
+
_ts_decorate20([
|
|
3796
3860
|
classValidator.IsArray(),
|
|
3797
3861
|
classValidator.IsDefined(),
|
|
3798
3862
|
classValidator.ValidateNested({
|
|
3799
3863
|
each: true
|
|
3800
3864
|
}),
|
|
3801
|
-
|
|
3865
|
+
_ts_metadata20("design:type", Array)
|
|
3802
3866
|
], TokenAssetDto.prototype, "workflowTokens", void 0);
|
|
3803
|
-
|
|
3867
|
+
_ts_decorate20([
|
|
3804
3868
|
classValidator.IsString(),
|
|
3805
3869
|
classValidator.IsDefined(),
|
|
3806
|
-
|
|
3870
|
+
_ts_metadata20("design:type", String)
|
|
3807
3871
|
], TokenAssetDto.prototype, "appid", void 0);
|
|
3808
|
-
function
|
|
3872
|
+
function _ts_decorate21(decorators, target, key, desc) {
|
|
3809
3873
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3810
3874
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3811
3875
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3812
3876
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3813
3877
|
}
|
|
3814
|
-
__name(
|
|
3815
|
-
function
|
|
3878
|
+
__name(_ts_decorate21, "_ts_decorate");
|
|
3879
|
+
function _ts_metadata21(k, v) {
|
|
3816
3880
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3817
3881
|
}
|
|
3818
|
-
__name(
|
|
3882
|
+
__name(_ts_metadata21, "_ts_metadata");
|
|
3819
3883
|
var _PageBuilderConfigurationAssetDto = class _PageBuilderConfigurationAssetDto {
|
|
3820
3884
|
constructor() {
|
|
3821
3885
|
/** The application status. */
|
|
@@ -3860,115 +3924,115 @@ var _PageBuilderConfigurationAssetDto = class _PageBuilderConfigurationAssetDto
|
|
|
3860
3924
|
};
|
|
3861
3925
|
__name(_PageBuilderConfigurationAssetDto, "PageBuilderConfigurationAssetDto");
|
|
3862
3926
|
var PageBuilderConfigurationAssetDto = _PageBuilderConfigurationAssetDto;
|
|
3863
|
-
|
|
3927
|
+
_ts_decorate21([
|
|
3864
3928
|
classValidator.IsString(),
|
|
3865
3929
|
classValidator.IsOptional(),
|
|
3866
|
-
|
|
3930
|
+
_ts_metadata21("design:type", String)
|
|
3867
3931
|
], PageBuilderConfigurationAssetDto.prototype, "publicAppStatus", void 0);
|
|
3868
|
-
|
|
3932
|
+
_ts_decorate21([
|
|
3869
3933
|
classValidator.IsString(),
|
|
3870
3934
|
classValidator.IsDefined(),
|
|
3871
|
-
|
|
3935
|
+
_ts_metadata21("design:type", String)
|
|
3872
3936
|
], PageBuilderConfigurationAssetDto.prototype, "userid", void 0);
|
|
3873
|
-
|
|
3937
|
+
_ts_decorate21([
|
|
3874
3938
|
classValidator.IsString(),
|
|
3875
3939
|
classValidator.IsDefined(),
|
|
3876
|
-
|
|
3940
|
+
_ts_metadata21("design:type", String)
|
|
3877
3941
|
], PageBuilderConfigurationAssetDto.prototype, "builderConfigurationid", void 0);
|
|
3878
|
-
|
|
3942
|
+
_ts_decorate21([
|
|
3879
3943
|
classValidator.IsBoolean(),
|
|
3880
|
-
|
|
3944
|
+
_ts_metadata21("design:type", Boolean)
|
|
3881
3945
|
], PageBuilderConfigurationAssetDto.prototype, "enableNavEdition", void 0);
|
|
3882
|
-
|
|
3946
|
+
_ts_decorate21([
|
|
3883
3947
|
classValidator.IsBoolean(),
|
|
3884
3948
|
classValidator.IsOptional(),
|
|
3885
|
-
|
|
3949
|
+
_ts_metadata21("design:type", Boolean)
|
|
3886
3950
|
], PageBuilderConfigurationAssetDto.prototype, "publicAppNavigation", void 0);
|
|
3887
|
-
|
|
3951
|
+
_ts_decorate21([
|
|
3888
3952
|
classValidator.IsString(),
|
|
3889
3953
|
classValidator.IsDefined(),
|
|
3890
|
-
|
|
3954
|
+
_ts_metadata21("design:type", String)
|
|
3891
3955
|
], PageBuilderConfigurationAssetDto.prototype, "appid", void 0);
|
|
3892
|
-
|
|
3956
|
+
_ts_decorate21([
|
|
3893
3957
|
classValidator.IsString(),
|
|
3894
3958
|
classValidator.IsOptional(),
|
|
3895
|
-
|
|
3959
|
+
_ts_metadata21("design:type", String)
|
|
3896
3960
|
], PageBuilderConfigurationAssetDto.prototype, "name", void 0);
|
|
3897
|
-
|
|
3961
|
+
_ts_decorate21([
|
|
3898
3962
|
classValidator.IsString(),
|
|
3899
3963
|
classValidator.IsOptional(),
|
|
3900
|
-
|
|
3964
|
+
_ts_metadata21("design:type", String)
|
|
3901
3965
|
], PageBuilderConfigurationAssetDto.prototype, "userEmail", void 0);
|
|
3902
|
-
|
|
3966
|
+
_ts_decorate21([
|
|
3903
3967
|
classValidator.IsString(),
|
|
3904
3968
|
classValidator.IsOptional(),
|
|
3905
|
-
|
|
3969
|
+
_ts_metadata21("design:type", String)
|
|
3906
3970
|
], PageBuilderConfigurationAssetDto.prototype, "searchString", void 0);
|
|
3907
|
-
|
|
3971
|
+
_ts_decorate21([
|
|
3908
3972
|
classValidator.IsObject(),
|
|
3909
3973
|
classValidator.IsOptional(),
|
|
3910
|
-
|
|
3974
|
+
_ts_metadata21("design:type", typeof Record === "undefined" ? Object : Record)
|
|
3911
3975
|
], PageBuilderConfigurationAssetDto.prototype, "page_builder", void 0);
|
|
3912
|
-
|
|
3976
|
+
_ts_decorate21([
|
|
3913
3977
|
classValidator.IsObject(),
|
|
3914
3978
|
classValidator.IsOptional(),
|
|
3915
|
-
|
|
3979
|
+
_ts_metadata21("design:type", typeof Record === "undefined" ? Object : Record)
|
|
3916
3980
|
], PageBuilderConfigurationAssetDto.prototype, "lock_page_builder", void 0);
|
|
3917
|
-
|
|
3981
|
+
_ts_decorate21([
|
|
3918
3982
|
classValidator.IsString(),
|
|
3919
3983
|
classValidator.IsOptional(),
|
|
3920
|
-
|
|
3984
|
+
_ts_metadata21("design:type", String)
|
|
3921
3985
|
], PageBuilderConfigurationAssetDto.prototype, "status", void 0);
|
|
3922
|
-
|
|
3986
|
+
_ts_decorate21([
|
|
3923
3987
|
classValidator.IsObject(),
|
|
3924
3988
|
classValidator.IsOptional(),
|
|
3925
|
-
|
|
3989
|
+
_ts_metadata21("design:type", typeof Record === "undefined" ? Object : Record)
|
|
3926
3990
|
], PageBuilderConfigurationAssetDto.prototype, "authenticationInfo", void 0);
|
|
3927
|
-
|
|
3991
|
+
_ts_decorate21([
|
|
3928
3992
|
classValidator.IsArray(),
|
|
3929
3993
|
classValidator.IsString({
|
|
3930
3994
|
each: true
|
|
3931
3995
|
}),
|
|
3932
3996
|
classValidator.IsOptional(),
|
|
3933
|
-
|
|
3997
|
+
_ts_metadata21("design:type", Array)
|
|
3934
3998
|
], PageBuilderConfigurationAssetDto.prototype, "processedPagesIdList", void 0);
|
|
3935
|
-
|
|
3999
|
+
_ts_decorate21([
|
|
3936
4000
|
classValidator.IsNumber(),
|
|
3937
4001
|
classValidator.IsOptional(),
|
|
3938
|
-
|
|
4002
|
+
_ts_metadata21("design:type", Number)
|
|
3939
4003
|
], PageBuilderConfigurationAssetDto.prototype, "processedPages", void 0);
|
|
3940
|
-
|
|
4004
|
+
_ts_decorate21([
|
|
3941
4005
|
classValidator.IsString(),
|
|
3942
4006
|
classValidator.IsOptional(),
|
|
3943
|
-
|
|
4007
|
+
_ts_metadata21("design:type", String)
|
|
3944
4008
|
], PageBuilderConfigurationAssetDto.prototype, "homepage", void 0);
|
|
3945
|
-
|
|
4009
|
+
_ts_decorate21([
|
|
3946
4010
|
classValidator.IsNumber(),
|
|
3947
4011
|
classValidator.IsOptional(),
|
|
3948
|
-
|
|
4012
|
+
_ts_metadata21("design:type", Number)
|
|
3949
4013
|
], PageBuilderConfigurationAssetDto.prototype, "counterPages", void 0);
|
|
3950
|
-
|
|
4014
|
+
_ts_decorate21([
|
|
3951
4015
|
classValidator.IsNumber(),
|
|
3952
4016
|
classValidator.IsOptional(),
|
|
3953
|
-
|
|
4017
|
+
_ts_metadata21("design:type", Number)
|
|
3954
4018
|
], PageBuilderConfigurationAssetDto.prototype, "totalPages", void 0);
|
|
3955
|
-
|
|
4019
|
+
_ts_decorate21([
|
|
3956
4020
|
classValidator.IsString(),
|
|
3957
4021
|
classValidator.Matches(ISO_8601_REGEX),
|
|
3958
4022
|
classValidator.IsOptional(),
|
|
3959
|
-
|
|
4023
|
+
_ts_metadata21("design:type", String)
|
|
3960
4024
|
], PageBuilderConfigurationAssetDto.prototype, "createDate", void 0);
|
|
3961
|
-
function
|
|
4025
|
+
function _ts_decorate22(decorators, target, key, desc) {
|
|
3962
4026
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3963
4027
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3964
4028
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
3965
4029
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3966
4030
|
}
|
|
3967
|
-
__name(
|
|
3968
|
-
function
|
|
4031
|
+
__name(_ts_decorate22, "_ts_decorate");
|
|
4032
|
+
function _ts_metadata22(k, v) {
|
|
3969
4033
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
3970
4034
|
}
|
|
3971
|
-
__name(
|
|
4035
|
+
__name(_ts_metadata22, "_ts_metadata");
|
|
3972
4036
|
var _GlobalPreferenceAssetDto = class _GlobalPreferenceAssetDto {
|
|
3973
4037
|
constructor() {
|
|
3974
4038
|
__publicField(this, "userid");
|
|
@@ -3981,47 +4045,47 @@ var _GlobalPreferenceAssetDto = class _GlobalPreferenceAssetDto {
|
|
|
3981
4045
|
};
|
|
3982
4046
|
__name(_GlobalPreferenceAssetDto, "GlobalPreferenceAssetDto");
|
|
3983
4047
|
var GlobalPreferenceAssetDto = _GlobalPreferenceAssetDto;
|
|
3984
|
-
|
|
4048
|
+
_ts_decorate22([
|
|
3985
4049
|
classValidator.IsString(),
|
|
3986
4050
|
classValidator.IsDefined(),
|
|
3987
|
-
|
|
4051
|
+
_ts_metadata22("design:type", String)
|
|
3988
4052
|
], GlobalPreferenceAssetDto.prototype, "userid", void 0);
|
|
3989
|
-
|
|
4053
|
+
_ts_decorate22([
|
|
3990
4054
|
classValidator.IsString(),
|
|
3991
4055
|
classValidator.IsDefined(),
|
|
3992
|
-
|
|
4056
|
+
_ts_metadata22("design:type", String)
|
|
3993
4057
|
], GlobalPreferenceAssetDto.prototype, "appid", void 0);
|
|
3994
|
-
|
|
4058
|
+
_ts_decorate22([
|
|
3995
4059
|
classValidator.IsString(),
|
|
3996
4060
|
classValidator.IsDefined(),
|
|
3997
|
-
|
|
4061
|
+
_ts_metadata22("design:type", String)
|
|
3998
4062
|
], GlobalPreferenceAssetDto.prototype, "qrveyid", void 0);
|
|
3999
|
-
|
|
4063
|
+
_ts_decorate22([
|
|
4000
4064
|
classValidator.IsString(),
|
|
4001
4065
|
classValidator.IsDefined(),
|
|
4002
|
-
|
|
4066
|
+
_ts_metadata22("design:type", String)
|
|
4003
4067
|
], GlobalPreferenceAssetDto.prototype, "preferenceid", void 0);
|
|
4004
|
-
|
|
4068
|
+
_ts_decorate22([
|
|
4005
4069
|
classValidator.IsISO8601(),
|
|
4006
4070
|
classValidator.IsOptional(),
|
|
4007
|
-
|
|
4071
|
+
_ts_metadata22("design:type", String)
|
|
4008
4072
|
], GlobalPreferenceAssetDto.prototype, "createDate", void 0);
|
|
4009
|
-
|
|
4073
|
+
_ts_decorate22([
|
|
4010
4074
|
classValidator.IsISO8601(),
|
|
4011
4075
|
classValidator.IsOptional(),
|
|
4012
|
-
|
|
4076
|
+
_ts_metadata22("design:type", String)
|
|
4013
4077
|
], GlobalPreferenceAssetDto.prototype, "modifyDate", void 0);
|
|
4014
|
-
function
|
|
4078
|
+
function _ts_decorate23(decorators, target, key, desc) {
|
|
4015
4079
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4016
4080
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4017
4081
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4018
4082
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4019
4083
|
}
|
|
4020
|
-
__name(
|
|
4021
|
-
function
|
|
4084
|
+
__name(_ts_decorate23, "_ts_decorate");
|
|
4085
|
+
function _ts_metadata23(k, v) {
|
|
4022
4086
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4023
4087
|
}
|
|
4024
|
-
__name(
|
|
4088
|
+
__name(_ts_metadata23, "_ts_metadata");
|
|
4025
4089
|
var _ChartThemeAssetDto = class _ChartThemeAssetDto {
|
|
4026
4090
|
constructor() {
|
|
4027
4091
|
__publicField(this, "chartThemeId");
|
|
@@ -4036,46 +4100,166 @@ var _ChartThemeAssetDto = class _ChartThemeAssetDto {
|
|
|
4036
4100
|
};
|
|
4037
4101
|
__name(_ChartThemeAssetDto, "ChartThemeAssetDto");
|
|
4038
4102
|
var ChartThemeAssetDto = _ChartThemeAssetDto;
|
|
4039
|
-
|
|
4103
|
+
_ts_decorate23([
|
|
4040
4104
|
classValidator.IsString(),
|
|
4041
4105
|
classValidator.IsNotEmpty(),
|
|
4042
|
-
|
|
4106
|
+
_ts_metadata23("design:type", String)
|
|
4043
4107
|
], ChartThemeAssetDto.prototype, "chartThemeId", void 0);
|
|
4044
|
-
|
|
4108
|
+
_ts_decorate23([
|
|
4045
4109
|
classValidator.IsString(),
|
|
4046
4110
|
classValidator.IsNotEmpty(),
|
|
4047
|
-
|
|
4111
|
+
_ts_metadata23("design:type", String)
|
|
4048
4112
|
], ChartThemeAssetDto.prototype, "name", void 0);
|
|
4049
|
-
|
|
4113
|
+
_ts_decorate23([
|
|
4050
4114
|
classValidator.IsObject(),
|
|
4051
4115
|
classValidator.IsNotEmpty(),
|
|
4052
|
-
|
|
4116
|
+
_ts_metadata23("design:type", typeof Record === "undefined" ? Object : Record)
|
|
4053
4117
|
], ChartThemeAssetDto.prototype, "style", void 0);
|
|
4054
|
-
|
|
4118
|
+
_ts_decorate23([
|
|
4055
4119
|
classValidator.IsString(),
|
|
4056
4120
|
classValidator.IsNotEmpty(),
|
|
4057
|
-
|
|
4121
|
+
_ts_metadata23("design:type", String)
|
|
4058
4122
|
], ChartThemeAssetDto.prototype, "userId", void 0);
|
|
4059
|
-
|
|
4123
|
+
_ts_decorate23([
|
|
4060
4124
|
classValidator.IsISO8601(),
|
|
4061
4125
|
classValidator.IsOptional(),
|
|
4062
|
-
|
|
4126
|
+
_ts_metadata23("design:type", String)
|
|
4063
4127
|
], ChartThemeAssetDto.prototype, "createDate", void 0);
|
|
4064
|
-
|
|
4128
|
+
_ts_decorate23([
|
|
4065
4129
|
classValidator.IsISO8601(),
|
|
4066
4130
|
classValidator.IsOptional(),
|
|
4067
|
-
|
|
4131
|
+
_ts_metadata23("design:type", String)
|
|
4068
4132
|
], ChartThemeAssetDto.prototype, "modifyDate", void 0);
|
|
4069
|
-
|
|
4133
|
+
_ts_decorate23([
|
|
4070
4134
|
classValidator.IsBoolean(),
|
|
4071
4135
|
classValidator.IsOptional(),
|
|
4072
|
-
|
|
4136
|
+
_ts_metadata23("design:type", Boolean)
|
|
4073
4137
|
], ChartThemeAssetDto.prototype, "isDefaultTheme", void 0);
|
|
4074
|
-
|
|
4138
|
+
_ts_decorate23([
|
|
4075
4139
|
classValidator.IsBoolean(),
|
|
4076
4140
|
classValidator.IsOptional(),
|
|
4077
|
-
|
|
4141
|
+
_ts_metadata23("design:type", Boolean)
|
|
4078
4142
|
], ChartThemeAssetDto.prototype, "selected", void 0);
|
|
4143
|
+
function _ts_decorate24(decorators, target, key, desc) {
|
|
4144
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4145
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4146
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4147
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4148
|
+
}
|
|
4149
|
+
__name(_ts_decorate24, "_ts_decorate");
|
|
4150
|
+
function _ts_metadata24(k, v) {
|
|
4151
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4152
|
+
}
|
|
4153
|
+
__name(_ts_metadata24, "_ts_metadata");
|
|
4154
|
+
var _FieldMappingDto = class _FieldMappingDto {
|
|
4155
|
+
constructor() {
|
|
4156
|
+
__publicField(this, "leftColumnId");
|
|
4157
|
+
__publicField(this, "rightColumnId");
|
|
4158
|
+
}
|
|
4159
|
+
};
|
|
4160
|
+
__name(_FieldMappingDto, "FieldMappingDto");
|
|
4161
|
+
var FieldMappingDto = _FieldMappingDto;
|
|
4162
|
+
_ts_decorate24([
|
|
4163
|
+
classValidator.IsString(),
|
|
4164
|
+
_ts_metadata24("design:type", String)
|
|
4165
|
+
], FieldMappingDto.prototype, "leftColumnId", void 0);
|
|
4166
|
+
_ts_decorate24([
|
|
4167
|
+
classValidator.IsString(),
|
|
4168
|
+
_ts_metadata24("design:type", String)
|
|
4169
|
+
], FieldMappingDto.prototype, "rightColumnId", void 0);
|
|
4170
|
+
var _RelationshipAssetDto = class _RelationshipAssetDto extends BaseDto {
|
|
4171
|
+
constructor() {
|
|
4172
|
+
super(...arguments);
|
|
4173
|
+
__publicField(this, "id");
|
|
4174
|
+
__publicField(this, "name");
|
|
4175
|
+
__publicField(this, "leftDatasetId");
|
|
4176
|
+
__publicField(this, "rightDatasetId");
|
|
4177
|
+
__publicField(this, "fieldMappings");
|
|
4178
|
+
}
|
|
4179
|
+
};
|
|
4180
|
+
__name(_RelationshipAssetDto, "RelationshipAssetDto");
|
|
4181
|
+
var RelationshipAssetDto = _RelationshipAssetDto;
|
|
4182
|
+
_ts_decorate24([
|
|
4183
|
+
classValidator.IsString(),
|
|
4184
|
+
_ts_metadata24("design:type", String)
|
|
4185
|
+
], RelationshipAssetDto.prototype, "id", void 0);
|
|
4186
|
+
_ts_decorate24([
|
|
4187
|
+
classValidator.IsString(),
|
|
4188
|
+
_ts_metadata24("design:type", String)
|
|
4189
|
+
], RelationshipAssetDto.prototype, "name", void 0);
|
|
4190
|
+
_ts_decorate24([
|
|
4191
|
+
classValidator.IsOptional(),
|
|
4192
|
+
classValidator.IsString(),
|
|
4193
|
+
_ts_metadata24("design:type", String)
|
|
4194
|
+
], RelationshipAssetDto.prototype, "leftDatasetId", void 0);
|
|
4195
|
+
_ts_decorate24([
|
|
4196
|
+
classValidator.IsOptional(),
|
|
4197
|
+
classValidator.IsString(),
|
|
4198
|
+
_ts_metadata24("design:type", String)
|
|
4199
|
+
], RelationshipAssetDto.prototype, "rightDatasetId", void 0);
|
|
4200
|
+
_ts_decorate24([
|
|
4201
|
+
classValidator.IsOptional(),
|
|
4202
|
+
classValidator.IsArray(),
|
|
4203
|
+
classValidator.ValidateNested({
|
|
4204
|
+
each: true
|
|
4205
|
+
}),
|
|
4206
|
+
classTransformer.Type(() => FieldMappingDto),
|
|
4207
|
+
_ts_metadata24("design:type", Array)
|
|
4208
|
+
], RelationshipAssetDto.prototype, "fieldMappings", void 0);
|
|
4209
|
+
function _ts_decorate25(decorators, target, key, desc) {
|
|
4210
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4211
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4212
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4213
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4214
|
+
}
|
|
4215
|
+
__name(_ts_decorate25, "_ts_decorate");
|
|
4216
|
+
function _ts_metadata25(k, v) {
|
|
4217
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
4218
|
+
}
|
|
4219
|
+
__name(_ts_metadata25, "_ts_metadata");
|
|
4220
|
+
var _DatasetViewFieldDto = class _DatasetViewFieldDto {
|
|
4221
|
+
constructor() {
|
|
4222
|
+
__publicField(this, "datasetId");
|
|
4223
|
+
__publicField(this, "columnId");
|
|
4224
|
+
}
|
|
4225
|
+
};
|
|
4226
|
+
__name(_DatasetViewFieldDto, "DatasetViewFieldDto");
|
|
4227
|
+
var DatasetViewFieldDto = _DatasetViewFieldDto;
|
|
4228
|
+
_ts_decorate25([
|
|
4229
|
+
classValidator.IsString(),
|
|
4230
|
+
_ts_metadata25("design:type", String)
|
|
4231
|
+
], DatasetViewFieldDto.prototype, "datasetId", void 0);
|
|
4232
|
+
_ts_decorate25([
|
|
4233
|
+
classValidator.IsString(),
|
|
4234
|
+
_ts_metadata25("design:type", String)
|
|
4235
|
+
], DatasetViewFieldDto.prototype, "columnId", void 0);
|
|
4236
|
+
var _DatasetViewAssetDto = class _DatasetViewAssetDto extends BaseDto {
|
|
4237
|
+
constructor() {
|
|
4238
|
+
super(...arguments);
|
|
4239
|
+
__publicField(this, "id");
|
|
4240
|
+
__publicField(this, "name");
|
|
4241
|
+
__publicField(this, "fields");
|
|
4242
|
+
}
|
|
4243
|
+
};
|
|
4244
|
+
__name(_DatasetViewAssetDto, "DatasetViewAssetDto");
|
|
4245
|
+
var DatasetViewAssetDto = _DatasetViewAssetDto;
|
|
4246
|
+
_ts_decorate25([
|
|
4247
|
+
classValidator.IsString(),
|
|
4248
|
+
_ts_metadata25("design:type", String)
|
|
4249
|
+
], DatasetViewAssetDto.prototype, "id", void 0);
|
|
4250
|
+
_ts_decorate25([
|
|
4251
|
+
classValidator.IsString(),
|
|
4252
|
+
_ts_metadata25("design:type", String)
|
|
4253
|
+
], DatasetViewAssetDto.prototype, "name", void 0);
|
|
4254
|
+
_ts_decorate25([
|
|
4255
|
+
classValidator.IsOptional(),
|
|
4256
|
+
classValidator.IsArray(),
|
|
4257
|
+
classValidator.ValidateNested({
|
|
4258
|
+
each: true
|
|
4259
|
+
}),
|
|
4260
|
+
classTransformer.Type(() => DatasetViewFieldDto),
|
|
4261
|
+
_ts_metadata25("design:type", Array)
|
|
4262
|
+
], DatasetViewAssetDto.prototype, "fields", void 0);
|
|
4079
4263
|
function validateAssetPayload(dtoClass, payload) {
|
|
4080
4264
|
const instance = classTransformer.plainToInstance(dtoClass, payload);
|
|
4081
4265
|
const cvErrors = classValidator.validateSync(instance, {
|
|
@@ -4137,7 +4321,9 @@ var assetDtoMap = {
|
|
|
4137
4321
|
[AssetType.TOKEN]: TokenAssetDto,
|
|
4138
4322
|
[AssetType.PAGE_BUILDER_CONFIGURATION]: PageBuilderConfigurationAssetDto,
|
|
4139
4323
|
[AssetType.GLOBAL_PREFERENCE]: GlobalPreferenceAssetDto,
|
|
4140
|
-
[AssetType.CHART_THEME]: ChartThemeAssetDto
|
|
4324
|
+
[AssetType.CHART_THEME]: ChartThemeAssetDto,
|
|
4325
|
+
[AssetType.RELATIONSHIP]: RelationshipAssetDto,
|
|
4326
|
+
[AssetType.DATASET_VIEW]: DatasetViewAssetDto
|
|
4141
4327
|
};
|
|
4142
4328
|
function validateAsset(assetType, payload) {
|
|
4143
4329
|
let dtoClass;
|
|
@@ -4377,6 +4563,113 @@ var _DashboardFetchClient = class _DashboardFetchClient extends BaseFetchClient
|
|
|
4377
4563
|
};
|
|
4378
4564
|
__name(_DashboardFetchClient, "DashboardFetchClient");
|
|
4379
4565
|
var DashboardFetchClient = _DashboardFetchClient;
|
|
4566
|
+
var _SmartLayerFetchClient = class _SmartLayerFetchClient extends BaseFetchClient {
|
|
4567
|
+
static getRelationship(args, options) {
|
|
4568
|
+
const fetchOptions = _SmartLayerFetchClient.fetchOptions(options);
|
|
4569
|
+
return fetch.FetchService.get(`/api/smart-layer/v1/relationships/${args.relationshipId}`, fetchOptions);
|
|
4570
|
+
}
|
|
4571
|
+
static getView(args, options) {
|
|
4572
|
+
const fetchOptions = _SmartLayerFetchClient.fetchOptions(options);
|
|
4573
|
+
return fetch.FetchService.get(`/api/smart-layer/v1/views/${args.viewId}`, fetchOptions);
|
|
4574
|
+
}
|
|
4575
|
+
};
|
|
4576
|
+
__name(_SmartLayerFetchClient, "SmartLayerFetchClient");
|
|
4577
|
+
var SmartLayerFetchClient = _SmartLayerFetchClient;
|
|
4578
|
+
|
|
4579
|
+
// src/services/dependency-validators/smart-joins.dependencies.ts
|
|
4580
|
+
async function fetchByIds(ids, fetchOne) {
|
|
4581
|
+
const unique = [
|
|
4582
|
+
...new Set(ids.filter((id) => !!id))
|
|
4583
|
+
];
|
|
4584
|
+
const results = await Promise.allSettled(unique.map(fetchOne));
|
|
4585
|
+
return new Map(unique.map((id, index) => [
|
|
4586
|
+
id,
|
|
4587
|
+
results[index]
|
|
4588
|
+
]).filter(([, result]) => result.status === "fulfilled").map(([id, result]) => [
|
|
4589
|
+
id,
|
|
4590
|
+
result.value
|
|
4591
|
+
]));
|
|
4592
|
+
}
|
|
4593
|
+
__name(fetchByIds, "fetchByIds");
|
|
4594
|
+
var fetchQrveys = /* @__PURE__ */ __name((ids, params, options) => fetchByIds(ids, (qrveyId) => QrveyFetchClient.get(__spreadProps(__spreadValues({}, params), {
|
|
4595
|
+
qrveyId
|
|
4596
|
+
}), options)), "fetchQrveys");
|
|
4597
|
+
var dependsOnKeys = /* @__PURE__ */ __name((dependsOn) => {
|
|
4598
|
+
var _a3, _b, _c;
|
|
4599
|
+
return [
|
|
4600
|
+
...((_a3 = dependsOn == null ? void 0 : dependsOn.datasetIds) != null ? _a3 : []).map((qrveyId) => ({
|
|
4601
|
+
qrveyId
|
|
4602
|
+
})),
|
|
4603
|
+
...((_b = dependsOn == null ? void 0 : dependsOn.viewIds) != null ? _b : []).map((viewId) => ({
|
|
4604
|
+
viewId
|
|
4605
|
+
})),
|
|
4606
|
+
...((_c = dependsOn == null ? void 0 : dependsOn.relationshipIds) != null ? _c : []).map((relationshipId) => ({
|
|
4607
|
+
relationshipId
|
|
4608
|
+
}))
|
|
4609
|
+
];
|
|
4610
|
+
}, "dependsOnKeys");
|
|
4611
|
+
async function fetchSmartLayerDependencies(keys, options) {
|
|
4612
|
+
const [views, relationships] = await Promise.all([
|
|
4613
|
+
fetchByIds(keys.map((key) => key.viewId), (viewId) => SmartLayerFetchClient.getView({
|
|
4614
|
+
viewId
|
|
4615
|
+
}, options)),
|
|
4616
|
+
fetchByIds(keys.map((key) => key.relationshipId), (relationshipId) => SmartLayerFetchClient.getRelationship({
|
|
4617
|
+
relationshipId
|
|
4618
|
+
}, options))
|
|
4619
|
+
]);
|
|
4620
|
+
return {
|
|
4621
|
+
views,
|
|
4622
|
+
relationships
|
|
4623
|
+
};
|
|
4624
|
+
}
|
|
4625
|
+
__name(fetchSmartLayerDependencies, "fetchSmartLayerDependencies");
|
|
4626
|
+
var DEPENDS_ON_KEYS = [
|
|
4627
|
+
{
|
|
4628
|
+
key: "datasetIds",
|
|
4629
|
+
contextKey: "qrveys",
|
|
4630
|
+
label: "dataset"
|
|
4631
|
+
},
|
|
4632
|
+
{
|
|
4633
|
+
key: "viewIds",
|
|
4634
|
+
contextKey: "views",
|
|
4635
|
+
label: "dataset view"
|
|
4636
|
+
},
|
|
4637
|
+
{
|
|
4638
|
+
key: "relationshipIds",
|
|
4639
|
+
contextKey: "relationships",
|
|
4640
|
+
label: "relationship"
|
|
4641
|
+
}
|
|
4642
|
+
];
|
|
4643
|
+
var capitalize = /* @__PURE__ */ __name((text) => text[0].toUpperCase() + text.slice(1), "capitalize");
|
|
4644
|
+
function validateDependsOn(asset, context) {
|
|
4645
|
+
var _a3;
|
|
4646
|
+
const { kind, id, name, dependsOn } = asset;
|
|
4647
|
+
const subject = `The ${kind.toLowerCase()} '${name}'`;
|
|
4648
|
+
if (!((_a3 = dependsOn == null ? void 0 : dependsOn.datasetIds) == null ? void 0 : _a3.length)) {
|
|
4649
|
+
return [
|
|
4650
|
+
{
|
|
4651
|
+
field: "dependsOn",
|
|
4652
|
+
message: `${subject} combines several datasets but does not declare them in dependsOn.datasetIds.`,
|
|
4653
|
+
value: asset,
|
|
4654
|
+
textDetails: `${kind} ID: ${id}`
|
|
4655
|
+
}
|
|
4656
|
+
];
|
|
4657
|
+
}
|
|
4658
|
+
return DEPENDS_ON_KEYS.flatMap(({ key, contextKey, label }) => {
|
|
4659
|
+
var _a4;
|
|
4660
|
+
return ((_a4 = dependsOn[key]) != null ? _a4 : []).filter((dependencyId) => {
|
|
4661
|
+
var _a5;
|
|
4662
|
+
return !((_a5 = context[contextKey]) == null ? void 0 : _a5.has(dependencyId));
|
|
4663
|
+
}).map((dependencyId) => ({
|
|
4664
|
+
field: `dependsOn.${key}`,
|
|
4665
|
+
message: `${subject} references a ${label} that does not exist or is inaccessible. ${capitalize(label)} ID: ${dependencyId}`,
|
|
4666
|
+
value: asset,
|
|
4667
|
+
textDetails: `${kind} ID: ${id}
|
|
4668
|
+
${capitalize(label)} ID: ${dependencyId}`
|
|
4669
|
+
}));
|
|
4670
|
+
});
|
|
4671
|
+
}
|
|
4672
|
+
__name(validateDependsOn, "validateDependsOn");
|
|
4380
4673
|
|
|
4381
4674
|
// src/services/dependency-validators/chart.dependency-validator.ts
|
|
4382
4675
|
var _ChartDependencyValidator = class _ChartDependencyValidator {
|
|
@@ -4387,6 +4680,9 @@ var _ChartDependencyValidator = class _ChartDependencyValidator {
|
|
|
4387
4680
|
this.options = options;
|
|
4388
4681
|
}
|
|
4389
4682
|
getDependencyKeys(input) {
|
|
4683
|
+
if (this.isMultiDataset(input)) return {
|
|
4684
|
+
keys: dependsOnKeys(input.dependsOn)
|
|
4685
|
+
};
|
|
4390
4686
|
return {
|
|
4391
4687
|
keys: [
|
|
4392
4688
|
{
|
|
@@ -4396,17 +4692,26 @@ var _ChartDependencyValidator = class _ChartDependencyValidator {
|
|
|
4396
4692
|
};
|
|
4397
4693
|
}
|
|
4398
4694
|
async fetchDependencies(keys) {
|
|
4399
|
-
const args = uniqueBy(keys != null ? keys : [], "qrveyId");
|
|
4400
|
-
const qrveys = await
|
|
4695
|
+
const args = uniqueBy((keys != null ? keys : []).filter((key) => key.qrveyId), "qrveyId");
|
|
4696
|
+
const [qrveys, smartLayer] = await Promise.all([
|
|
4697
|
+
this.fetchQrveysByIds(args),
|
|
4698
|
+
fetchSmartLayerDependencies(keys != null ? keys : [], this.options)
|
|
4699
|
+
]);
|
|
4401
4700
|
const qrveyMap = new Map(qrveys.map((q) => [
|
|
4402
4701
|
q.qrveyid,
|
|
4403
4702
|
q
|
|
4404
4703
|
]));
|
|
4405
|
-
return {
|
|
4704
|
+
return __spreadValues({
|
|
4406
4705
|
qrveys: qrveyMap
|
|
4407
|
-
};
|
|
4706
|
+
}, smartLayer);
|
|
4408
4707
|
}
|
|
4409
4708
|
validateWithContext(input, context) {
|
|
4709
|
+
if (this.isMultiDataset(input)) return validateDependsOn({
|
|
4710
|
+
kind: "Chart",
|
|
4711
|
+
id: input.chartid,
|
|
4712
|
+
name: input.name,
|
|
4713
|
+
dependsOn: input.dependsOn
|
|
4714
|
+
}, context);
|
|
4410
4715
|
const errors = [];
|
|
4411
4716
|
const qrvey = context.qrveys.get(input.qrveyid);
|
|
4412
4717
|
if (!qrvey) {
|
|
@@ -4421,6 +4726,9 @@ Qrvey ID: ${input.qrveyid}`
|
|
|
4421
4726
|
return errors;
|
|
4422
4727
|
}
|
|
4423
4728
|
//#region Private methods
|
|
4729
|
+
isMultiDataset(input) {
|
|
4730
|
+
return input.qrveyid === this.params.appId;
|
|
4731
|
+
}
|
|
4424
4732
|
async fetchQrveysByIds(args) {
|
|
4425
4733
|
const result = await Promise.allSettled(args.map(({ qrveyId }) => QrveyFetchClient.get({
|
|
4426
4734
|
appId: this.params.appId,
|
|
@@ -4442,6 +4750,9 @@ var _MetricDependencyValidator = class _MetricDependencyValidator {
|
|
|
4442
4750
|
this.options = options;
|
|
4443
4751
|
}
|
|
4444
4752
|
getDependencyKeys(input) {
|
|
4753
|
+
if (this.isMultiDataset(input)) return {
|
|
4754
|
+
keys: dependsOnKeys(input.dependsOn)
|
|
4755
|
+
};
|
|
4445
4756
|
return {
|
|
4446
4757
|
keys: [
|
|
4447
4758
|
{
|
|
@@ -4451,17 +4762,26 @@ var _MetricDependencyValidator = class _MetricDependencyValidator {
|
|
|
4451
4762
|
};
|
|
4452
4763
|
}
|
|
4453
4764
|
async fetchDependencies(keys) {
|
|
4454
|
-
const args = uniqueBy(keys != null ? keys : [], "qrveyId");
|
|
4455
|
-
const qrveys = await
|
|
4765
|
+
const args = uniqueBy((keys != null ? keys : []).filter((key) => key.qrveyId), "qrveyId");
|
|
4766
|
+
const [qrveys, smartLayer] = await Promise.all([
|
|
4767
|
+
this.fetchQrveysByIds(args),
|
|
4768
|
+
fetchSmartLayerDependencies(keys != null ? keys : [], this.options)
|
|
4769
|
+
]);
|
|
4456
4770
|
const qrveyMap = new Map(qrveys.map((q) => [
|
|
4457
4771
|
q.qrveyid,
|
|
4458
4772
|
q
|
|
4459
4773
|
]));
|
|
4460
|
-
return {
|
|
4774
|
+
return __spreadValues({
|
|
4461
4775
|
qrveys: qrveyMap
|
|
4462
|
-
};
|
|
4776
|
+
}, smartLayer);
|
|
4463
4777
|
}
|
|
4464
4778
|
validateWithContext(input, context) {
|
|
4779
|
+
if (this.isMultiDataset(input)) return validateDependsOn({
|
|
4780
|
+
kind: "Metric",
|
|
4781
|
+
id: input.metricid,
|
|
4782
|
+
name: input.name,
|
|
4783
|
+
dependsOn: input.dependsOn
|
|
4784
|
+
}, context);
|
|
4465
4785
|
const errors = [];
|
|
4466
4786
|
const qrvey = context.qrveys.get(input.qrveyid);
|
|
4467
4787
|
if (!qrvey) {
|
|
@@ -4476,6 +4796,15 @@ Qrvey ID: ${input.qrveyid}`
|
|
|
4476
4796
|
return errors;
|
|
4477
4797
|
}
|
|
4478
4798
|
//#region Private methods
|
|
4799
|
+
/**
|
|
4800
|
+
* Every metric is stored with qrveyid = App ID today (Analytics bug), so unlike charts
|
|
4801
|
+
* a metric is multi-dataset only when its dependsOn has at least one key, even an empty
|
|
4802
|
+
* list. Matches the CD worker's `isMultiDatasetMetric` (`!_.isEmpty(metric.dependsOn)`).
|
|
4803
|
+
*/
|
|
4804
|
+
isMultiDataset(input) {
|
|
4805
|
+
var _a3;
|
|
4806
|
+
return Object.keys((_a3 = input.dependsOn) != null ? _a3 : {}).length > 0;
|
|
4807
|
+
}
|
|
4479
4808
|
async fetchQrveysByIds(args) {
|
|
4480
4809
|
const result = await Promise.allSettled(args.map(({ qrveyId }) => QrveyFetchClient.get({
|
|
4481
4810
|
userId: this.params.userId,
|
|
@@ -4734,6 +5063,7 @@ __name(_ConnectionDependencyValidator, "ConnectionDependencyValidator");
|
|
|
4734
5063
|
var ConnectionDependencyValidator = _ConnectionDependencyValidator;
|
|
4735
5064
|
|
|
4736
5065
|
// src/services/dependency-validators/dataset.dependency-validator.ts
|
|
5066
|
+
var isDisabledView = /* @__PURE__ */ __name((input) => input.disableView === true && !!input.publicParentId, "isDisabledView");
|
|
4737
5067
|
var _DatasetDependencyValidator = class _DatasetDependencyValidator {
|
|
4738
5068
|
constructor(params, options) {
|
|
4739
5069
|
__publicField(this, "params");
|
|
@@ -4751,7 +5081,7 @@ var _DatasetDependencyValidator = class _DatasetDependencyValidator {
|
|
|
4751
5081
|
parentDatasetId: input.datasetParentId
|
|
4752
5082
|
});
|
|
4753
5083
|
}
|
|
4754
|
-
if (((_c = input.datasources) == null ? void 0 : _c.length) && input.publicParentId) {
|
|
5084
|
+
if (((_c = input.datasources) == null ? void 0 : _c.length) && input.publicParentId && !isDisabledView(input)) {
|
|
4755
5085
|
keys.push({
|
|
4756
5086
|
parentDatasetId: input.publicParentId
|
|
4757
5087
|
});
|
|
@@ -4808,7 +5138,15 @@ Parent Dataset ID: ${input.datasetParentId}`
|
|
|
4808
5138
|
});
|
|
4809
5139
|
}
|
|
4810
5140
|
}
|
|
4811
|
-
if ((
|
|
5141
|
+
if (isDisabledView(input)) {
|
|
5142
|
+
errors.push({
|
|
5143
|
+
field: "disableView",
|
|
5144
|
+
message: `The dataset view '${input.name}' is disabled because its source dataset was unshared.`,
|
|
5145
|
+
value: input,
|
|
5146
|
+
textDetails: `Dataset ID: ${input.datasetId}
|
|
5147
|
+
Parent Dataset ID: ${input.publicParentId}`
|
|
5148
|
+
});
|
|
5149
|
+
} else if (((_c = input.datasources) == null ? void 0 : _c.length) && input.publicParentId) {
|
|
4812
5150
|
const publicParent = (_d = context.parentDatasets) == null ? void 0 : _d.get(input.publicParentId);
|
|
4813
5151
|
if (!publicParent) {
|
|
4814
5152
|
errors.push({
|
|
@@ -5003,6 +5341,88 @@ Dataset ID: ${datasetId}`
|
|
|
5003
5341
|
__name(_AutomationDependencyValidatorService, "AutomationDependencyValidatorService");
|
|
5004
5342
|
var AutomationDependencyValidatorService = _AutomationDependencyValidatorService;
|
|
5005
5343
|
|
|
5344
|
+
// src/services/dependency-validators/relationship.dependency-validator.ts
|
|
5345
|
+
var SIDES = [
|
|
5346
|
+
"leftDatasetId",
|
|
5347
|
+
"rightDatasetId"
|
|
5348
|
+
];
|
|
5349
|
+
var _RelationshipDependencyValidator = class _RelationshipDependencyValidator {
|
|
5350
|
+
constructor(params, options) {
|
|
5351
|
+
__publicField(this, "params");
|
|
5352
|
+
__publicField(this, "options");
|
|
5353
|
+
this.params = params;
|
|
5354
|
+
this.options = options;
|
|
5355
|
+
}
|
|
5356
|
+
getDependencyKeys(input) {
|
|
5357
|
+
return {
|
|
5358
|
+
keys: SIDES.map((side) => ({
|
|
5359
|
+
qrveyId: input[side]
|
|
5360
|
+
}))
|
|
5361
|
+
};
|
|
5362
|
+
}
|
|
5363
|
+
async fetchDependencies(keys) {
|
|
5364
|
+
return {
|
|
5365
|
+
qrveys: await fetchQrveys((keys != null ? keys : []).map((key) => key.qrveyId), this.params, this.options)
|
|
5366
|
+
};
|
|
5367
|
+
}
|
|
5368
|
+
validateWithContext(input, context) {
|
|
5369
|
+
return SIDES.filter((side) => {
|
|
5370
|
+
var _a3;
|
|
5371
|
+
return !input[side] || !((_a3 = context.qrveys) == null ? void 0 : _a3.has(input[side]));
|
|
5372
|
+
}).map((side) => ({
|
|
5373
|
+
field: side,
|
|
5374
|
+
message: `The relationship '${input.name}' references a dataset that does not exist or is inaccessible. Dataset ID: ${input[side]}`,
|
|
5375
|
+
value: input,
|
|
5376
|
+
textDetails: `Relationship ID: ${input.id}
|
|
5377
|
+
Dataset ID: ${input[side]}`
|
|
5378
|
+
}));
|
|
5379
|
+
}
|
|
5380
|
+
};
|
|
5381
|
+
__name(_RelationshipDependencyValidator, "RelationshipDependencyValidator");
|
|
5382
|
+
var RelationshipDependencyValidator = _RelationshipDependencyValidator;
|
|
5383
|
+
|
|
5384
|
+
// src/services/dependency-validators/dataset-view.dependency-validator.ts
|
|
5385
|
+
var datasetIdsOf = /* @__PURE__ */ __name((input) => {
|
|
5386
|
+
var _a3;
|
|
5387
|
+
return [
|
|
5388
|
+
...new Set(((_a3 = input.fields) != null ? _a3 : []).map((field) => field.datasetId))
|
|
5389
|
+
];
|
|
5390
|
+
}, "datasetIdsOf");
|
|
5391
|
+
var _DatasetViewDependencyValidator = class _DatasetViewDependencyValidator {
|
|
5392
|
+
constructor(params, options) {
|
|
5393
|
+
__publicField(this, "params");
|
|
5394
|
+
__publicField(this, "options");
|
|
5395
|
+
this.params = params;
|
|
5396
|
+
this.options = options;
|
|
5397
|
+
}
|
|
5398
|
+
getDependencyKeys(input) {
|
|
5399
|
+
return {
|
|
5400
|
+
keys: datasetIdsOf(input).map((qrveyId) => ({
|
|
5401
|
+
qrveyId
|
|
5402
|
+
}))
|
|
5403
|
+
};
|
|
5404
|
+
}
|
|
5405
|
+
async fetchDependencies(keys) {
|
|
5406
|
+
return {
|
|
5407
|
+
qrveys: await fetchQrveys((keys != null ? keys : []).map((key) => key.qrveyId), this.params, this.options)
|
|
5408
|
+
};
|
|
5409
|
+
}
|
|
5410
|
+
validateWithContext(input, context) {
|
|
5411
|
+
return datasetIdsOf(input).filter((datasetId) => {
|
|
5412
|
+
var _a3;
|
|
5413
|
+
return !((_a3 = context.qrveys) == null ? void 0 : _a3.has(datasetId));
|
|
5414
|
+
}).map((datasetId) => ({
|
|
5415
|
+
field: "fields.datasetId",
|
|
5416
|
+
message: `The dataset view '${input.name}' references a dataset that does not exist or is inaccessible. Dataset ID: ${datasetId}`,
|
|
5417
|
+
value: input,
|
|
5418
|
+
textDetails: `Dataset View ID: ${input.id}
|
|
5419
|
+
Dataset ID: ${datasetId}`
|
|
5420
|
+
}));
|
|
5421
|
+
}
|
|
5422
|
+
};
|
|
5423
|
+
__name(_DatasetViewDependencyValidator, "DatasetViewDependencyValidator");
|
|
5424
|
+
var DatasetViewDependencyValidator = _DatasetViewDependencyValidator;
|
|
5425
|
+
|
|
5006
5426
|
// src/services/chart-validator.service.ts
|
|
5007
5427
|
var _ChartValidatorService = class _ChartValidatorService extends BaseAssetWithDependenciesService {
|
|
5008
5428
|
constructor(params, options) {
|
|
@@ -5329,6 +5749,44 @@ var _ChartThemeValidatorService = class _ChartThemeValidatorService extends Base
|
|
|
5329
5749
|
__name(_ChartThemeValidatorService, "ChartThemeValidatorService");
|
|
5330
5750
|
__publicField(_ChartThemeValidatorService, "_logger", new telemetry.LoggerService(_ChartThemeValidatorService.name));
|
|
5331
5751
|
var ChartThemeValidatorService = _ChartThemeValidatorService;
|
|
5752
|
+
var _RelationshipValidatorService = class _RelationshipValidatorService extends BaseAssetWithDependenciesService {
|
|
5753
|
+
constructor(params, options) {
|
|
5754
|
+
super();
|
|
5755
|
+
__publicField(this, "dependencyValidator");
|
|
5756
|
+
this.dependencyValidator = new RelationshipDependencyValidator(params, options);
|
|
5757
|
+
}
|
|
5758
|
+
get idKey() {
|
|
5759
|
+
return "id";
|
|
5760
|
+
}
|
|
5761
|
+
get logger() {
|
|
5762
|
+
return _RelationshipValidatorService._logger;
|
|
5763
|
+
}
|
|
5764
|
+
getAssetType() {
|
|
5765
|
+
return AssetType.RELATIONSHIP;
|
|
5766
|
+
}
|
|
5767
|
+
};
|
|
5768
|
+
__name(_RelationshipValidatorService, "RelationshipValidatorService");
|
|
5769
|
+
__publicField(_RelationshipValidatorService, "_logger", new telemetry.LoggerService(_RelationshipValidatorService.name));
|
|
5770
|
+
var RelationshipValidatorService = _RelationshipValidatorService;
|
|
5771
|
+
var _DatasetViewValidatorService = class _DatasetViewValidatorService extends BaseAssetWithDependenciesService {
|
|
5772
|
+
constructor(params, options) {
|
|
5773
|
+
super();
|
|
5774
|
+
__publicField(this, "dependencyValidator");
|
|
5775
|
+
this.dependencyValidator = new DatasetViewDependencyValidator(params, options);
|
|
5776
|
+
}
|
|
5777
|
+
get idKey() {
|
|
5778
|
+
return "id";
|
|
5779
|
+
}
|
|
5780
|
+
get logger() {
|
|
5781
|
+
return _DatasetViewValidatorService._logger;
|
|
5782
|
+
}
|
|
5783
|
+
getAssetType() {
|
|
5784
|
+
return AssetType.DATASET_VIEW;
|
|
5785
|
+
}
|
|
5786
|
+
};
|
|
5787
|
+
__name(_DatasetViewValidatorService, "DatasetViewValidatorService");
|
|
5788
|
+
__publicField(_DatasetViewValidatorService, "_logger", new telemetry.LoggerService(_DatasetViewValidatorService.name));
|
|
5789
|
+
var DatasetViewValidatorService = _DatasetViewValidatorService;
|
|
5332
5790
|
|
|
5333
5791
|
exports.ApplicationAssetDto = ApplicationAssetDto;
|
|
5334
5792
|
exports.ApplicationValidatorService = ApplicationValidatorService;
|
|
@@ -5356,7 +5814,12 @@ exports.DashboardContentElementValidatorService = DashboardContentElementValidat
|
|
|
5356
5814
|
exports.DashboardContentValidatorService = DashboardContentValidatorService;
|
|
5357
5815
|
exports.DatasetAssetDto = DatasetAssetDto;
|
|
5358
5816
|
exports.DatasetValidatorService = DatasetValidatorService;
|
|
5817
|
+
exports.DatasetViewAssetDto = DatasetViewAssetDto;
|
|
5818
|
+
exports.DatasetViewFieldDto = DatasetViewFieldDto;
|
|
5819
|
+
exports.DatasetViewValidatorService = DatasetViewValidatorService;
|
|
5820
|
+
exports.DependsOnDto = DependsOnDto;
|
|
5359
5821
|
exports.EventDto = EventDto;
|
|
5822
|
+
exports.FieldMappingDto = FieldMappingDto;
|
|
5360
5823
|
exports.FlowTypes = FlowTypes;
|
|
5361
5824
|
exports.FormAssetDto = FormAssetDto;
|
|
5362
5825
|
exports.FormulaAssetDto = FormulaAssetDto;
|
|
@@ -5373,6 +5836,8 @@ exports.PageFlowValidatorService = PageFlowValidatorService;
|
|
|
5373
5836
|
exports.PageTabAssetDto = PageTabAssetDto;
|
|
5374
5837
|
exports.PageTabValidatorService = PageTabValidatorService;
|
|
5375
5838
|
exports.PageValidatorService = PageValidatorService;
|
|
5839
|
+
exports.RelationshipAssetDto = RelationshipAssetDto;
|
|
5840
|
+
exports.RelationshipValidatorService = RelationshipValidatorService;
|
|
5376
5841
|
exports.ReportAssetDto = ReportAssetDto;
|
|
5377
5842
|
exports.ReportSectionAssetDto = ReportSectionAssetDto;
|
|
5378
5843
|
exports.ReportSectionValidatorService = ReportSectionValidatorService;
|