@hybridcore/ui 1.5.63 → 1.5.64
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/main.d.ts +76 -4
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -936,16 +936,23 @@ export declare interface TemplateFormHandle {
|
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
declare interface TemplateFormProps<
|
|
939
|
-
T extends
|
|
939
|
+
T extends
|
|
940
|
+
| ONTOLOGY.Object
|
|
941
|
+
| ONTOLOGY.Event
|
|
942
|
+
| ONTOLOGY.Agent
|
|
943
|
+
| ONTOLOGY.File
|
|
944
|
+
| ONTOLOGY.System,
|
|
940
945
|
K extends
|
|
941
946
|
| ONTOLOGY.CreateObjectDTO
|
|
942
947
|
| ONTOLOGY.CreateEventDTO
|
|
943
948
|
| ONTOLOGY.CreateFileDTO
|
|
944
949
|
| ONTOLOGY.CreateAgentDTO
|
|
950
|
+
| ONTOLOGY.CreateSystemOntologyDTO
|
|
945
951
|
| ONTOLOGY.UpdateObjectDTO
|
|
946
952
|
| ONTOLOGY.UpdateEventDTO
|
|
947
953
|
| ONTOLOGY.UpdateFileDTO
|
|
948
954
|
| ONTOLOGY.UpdateAgentDTO
|
|
955
|
+
| ONTOLOGY.UpdateSystemOntologyDTO
|
|
949
956
|
> {
|
|
950
957
|
mappedTemplates: Map<string | number, T>;
|
|
951
958
|
|
|
@@ -954,10 +961,12 @@ K extends
|
|
|
954
961
|
ONTOLOGY.CreateEventDTO &
|
|
955
962
|
ONTOLOGY.CreateFileDTO &
|
|
956
963
|
ONTOLOGY.CreateAgentDTO &
|
|
964
|
+
ONTOLOGY.CreateSystemOntologyDTO &
|
|
957
965
|
ONTOLOGY.UpdateObjectDTO &
|
|
958
966
|
ONTOLOGY.UpdateEventDTO &
|
|
959
967
|
ONTOLOGY.UpdateFileDTO &
|
|
960
|
-
ONTOLOGY.UpdateAgentDTO
|
|
968
|
+
ONTOLOGY.UpdateAgentDTO &
|
|
969
|
+
ONTOLOGY.UpdateSystemOntologyDTO
|
|
961
970
|
>;
|
|
962
971
|
loading?: boolean;
|
|
963
972
|
agentTemplates?: Map<string | number, ONTOLOGY.Agent>;
|
|
@@ -1562,11 +1571,40 @@ declare namespace INSTANCE {
|
|
|
1562
1571
|
id: number;
|
|
1563
1572
|
}
|
|
1564
1573
|
|
|
1574
|
+
interface System {
|
|
1575
|
+
id: number;
|
|
1576
|
+
title: string;
|
|
1577
|
+
description: string;
|
|
1578
|
+
template: ONTOLOGY.GenericTemplateView;
|
|
1579
|
+
templateHierarchy: ONTOLOGY.GenericTemplateView[];
|
|
1580
|
+
variables: GroupedVariables;
|
|
1581
|
+
createDate?: string;
|
|
1582
|
+
createUser?: string;
|
|
1583
|
+
updateDate?: string;
|
|
1584
|
+
updateUser?: string;
|
|
1585
|
+
securityLevelId: number;
|
|
1586
|
+
disseminationList: string[];
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
interface CreateSystemDTO {
|
|
1590
|
+
title: string;
|
|
1591
|
+
templateId: number;
|
|
1592
|
+
description?: string;
|
|
1593
|
+
variables: Variable;
|
|
1594
|
+
securityLevelId: number;
|
|
1595
|
+
disseminationList: string[];
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
interface UpdateSystemDTO extends CreateSystemDTO {
|
|
1599
|
+
id: number;
|
|
1600
|
+
}
|
|
1601
|
+
|
|
1565
1602
|
type InstanceType =
|
|
1566
1603
|
| INSTANCE.Object
|
|
1567
1604
|
| INSTANCE.Event
|
|
1568
1605
|
| INSTANCE.File
|
|
1569
|
-
| INSTANCE.Agent
|
|
1606
|
+
| INSTANCE.Agent
|
|
1607
|
+
| INSTANCE.System;
|
|
1570
1608
|
}
|
|
1571
1609
|
|
|
1572
1610
|
declare namespace ONTOLOGY {
|
|
@@ -1767,11 +1805,45 @@ declare namespace ONTOLOGY {
|
|
|
1767
1805
|
id: number;
|
|
1768
1806
|
}
|
|
1769
1807
|
|
|
1808
|
+
interface System {
|
|
1809
|
+
id: number;
|
|
1810
|
+
templateKey: string;
|
|
1811
|
+
name: string;
|
|
1812
|
+
description: string;
|
|
1813
|
+
type: string;
|
|
1814
|
+
ontologyId: number;
|
|
1815
|
+
parent: string;
|
|
1816
|
+
icon: string;
|
|
1817
|
+
properties: Property[];
|
|
1818
|
+
version: any;
|
|
1819
|
+
creatable: boolean;
|
|
1820
|
+
editable: boolean;
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
interface CreateSystemOntologyDTO {
|
|
1824
|
+
templateKey: string;
|
|
1825
|
+
name: string;
|
|
1826
|
+
description: string;
|
|
1827
|
+
type: string;
|
|
1828
|
+
ontologyId: number;
|
|
1829
|
+
parent: string;
|
|
1830
|
+
icon: string;
|
|
1831
|
+
properties: Property[];
|
|
1832
|
+
version: any;
|
|
1833
|
+
creatable: boolean;
|
|
1834
|
+
editable: boolean;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
interface UpdateSystemOntologyDTO extends CreateSystemOntologyDTO {
|
|
1838
|
+
id: number;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1770
1841
|
type TemplateType =
|
|
1771
1842
|
| ONTOLOGY.Object
|
|
1772
1843
|
| ONTOLOGY.Event
|
|
1773
1844
|
| ONTOLOGY.Agent
|
|
1774
|
-
| ONTOLOGY.File
|
|
1845
|
+
| ONTOLOGY.File
|
|
1846
|
+
| ONTOLOGY.System;
|
|
1775
1847
|
}
|
|
1776
1848
|
|
|
1777
1849
|
declare namespace POLICY {
|