@nxtedition/types 23.0.35 → 23.0.37
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/domains/index.d.ts +3 -1
- package/dist/domains/index.js +1 -0
- package/dist/domains/monitor.d.ts +416 -0
- package/dist/domains/monitor.js +6382 -0
- package/dist/domains/render.d.ts +128 -1
- package/dist/domains/render.js +2849 -139
- package/dist/index.d.ts +5 -1
- package/dist/index.js +16 -12
- package/dist/monitor.d.ts +71 -0
- package/dist/monitor.js +1942 -0
- package/dist/nxtpression.d.ts +321 -3
- package/dist/schema.json +682 -2
- package/dist/storage.d.ts +51 -0
- package/dist/storage.js +1036 -0
- package/package.json +1 -1
package/dist/nxtpression.d.ts
CHANGED
|
@@ -387,7 +387,7 @@ declare interface DesignViewRow<Id = string, Key = string, Value = void> {
|
|
|
387
387
|
value: Value;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
declare type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
|
390
|
+
declare type DomainRecords = AssetDomainRecords & BundleDomainRecords & CloneDomainRecords & CommentReactionDomainRecords & CommentReadMarkDomainRecords & CommentDomainRecords & ConnectionDomainRecords & ContactDomainRecords & DeepstreamDomainRecords & DesignDomainRecords & EditDomainRecords & EventDomainRecords & FileDomainRecords & GeneralDomainRecords & MediaDomainRecords & MonitorDomainRecords & PanelDomainRecords & PermissionDomainRecords & PipelinePresetDomainRecords & PipelineDomainRecords & PlanningDomainRecords & PublishDomainRecords & PublishedDomainRecords & RenderPresetDomainRecords & RenderDomainRecords & RevsDomainRecords & RoleDomainRecords & ScriptDomainRecords & SearchDomainRecords & SettingsDomainRecords & StoryboardDomainRecords & SubtitleStyleDomainRecords & SubtitleDomainRecords & TemplateDomainRecords & UserNotificationStatusDomainRecords & UserNotificationDomainRecords & UserDomainRecords;
|
|
391
391
|
|
|
392
392
|
declare interface DomainRows {
|
|
393
393
|
rows: string[];
|
|
@@ -806,12 +806,140 @@ declare interface ModuleTabsSettingsValue {
|
|
|
806
806
|
activeTab: string;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
|
+
declare interface MonitorDomainRecords {
|
|
810
|
+
":monitor.stats?": Record<string, MonitorStatsRecord>;
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
declare interface MonitorRecords {
|
|
814
|
+
"nxt.status?": NxtStatusRecord | null;
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
declare interface MonitorStatsBuddyInfo {
|
|
818
|
+
normal?: number[];
|
|
819
|
+
high?: number[];
|
|
820
|
+
timestamp: number;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
declare interface MonitorStatsMemInfo {
|
|
824
|
+
[key: string]: string | number | boolean | null;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
declare interface MonitorStatsNetworkInfo {
|
|
828
|
+
softnet: {
|
|
829
|
+
timestamp: number;
|
|
830
|
+
squeezed?: number;
|
|
831
|
+
squeezedDay?: number;
|
|
832
|
+
squeezedHour?: number;
|
|
833
|
+
processed?: number;
|
|
834
|
+
processedDay?: number;
|
|
835
|
+
processedHour?: number;
|
|
836
|
+
processedMinute?: number;
|
|
837
|
+
cpus: Array<{
|
|
838
|
+
cpu: number;
|
|
839
|
+
processed?: number;
|
|
840
|
+
dropped?: number;
|
|
841
|
+
squeezed?: number;
|
|
842
|
+
}>;
|
|
843
|
+
};
|
|
844
|
+
sockstat: {
|
|
845
|
+
timestamp: number;
|
|
846
|
+
sockets?: Record<string, unknown>;
|
|
847
|
+
tcp?: Record<string, unknown>;
|
|
848
|
+
udp?: Record<string, unknown>;
|
|
849
|
+
udplite?: Record<string, unknown>;
|
|
850
|
+
raw?: Record<string, unknown>;
|
|
851
|
+
frag?: Record<string, unknown>;
|
|
852
|
+
};
|
|
853
|
+
bonding: Array<NetworkInterfaceInfo & {
|
|
854
|
+
slaves: string[];
|
|
855
|
+
name: string;
|
|
856
|
+
[key: string]: unknown;
|
|
857
|
+
}>;
|
|
858
|
+
eth: Array<NetworkInterfaceInfo & {
|
|
859
|
+
speed?: number;
|
|
860
|
+
rxUnicastBytes?: number;
|
|
861
|
+
rxMulticastBytes?: number;
|
|
862
|
+
rxBroadcastBytes?: number;
|
|
863
|
+
[key: string]: unknown;
|
|
864
|
+
}>;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
declare interface MonitorStatsProcInfo {
|
|
868
|
+
cpu: MonitorStatsProcInfoCpu | null;
|
|
869
|
+
cpus?: MonitorStatsProcInfoCpu[];
|
|
870
|
+
threads: number;
|
|
871
|
+
load: number[] | null;
|
|
872
|
+
interrupts?: number[] | null;
|
|
873
|
+
contextSwitches: number | null;
|
|
874
|
+
bootTime: number | null;
|
|
875
|
+
processes: number | null;
|
|
876
|
+
running: number | null;
|
|
877
|
+
blocked: number | null;
|
|
878
|
+
softirqs: unknown;
|
|
879
|
+
cmdline: unknown;
|
|
880
|
+
timestamp: number;
|
|
881
|
+
total: number | null;
|
|
882
|
+
idle: number | null;
|
|
883
|
+
active: number | null;
|
|
884
|
+
utilization: number | null;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
declare interface MonitorStatsProcInfoCpu {
|
|
888
|
+
[key: string]: string | number | boolean | null;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
declare interface MonitorStatsRecord {
|
|
892
|
+
gpu: unknown;
|
|
893
|
+
proc: MonitorStatsProcInfo;
|
|
894
|
+
buddyinfo: MonitorStatsBuddyInfo;
|
|
895
|
+
meminfo: MonitorStatsMemInfo;
|
|
896
|
+
net: MonitorStatsNetworkInfo;
|
|
897
|
+
var: {
|
|
898
|
+
used: number;
|
|
899
|
+
available: number;
|
|
900
|
+
timestamp: number;
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
|
|
809
904
|
declare interface MoveOperation {
|
|
810
905
|
op: 'move';
|
|
811
906
|
from: string;
|
|
812
907
|
path: string;
|
|
813
908
|
}
|
|
814
909
|
|
|
910
|
+
declare interface NetworkInterfaceInfo {
|
|
911
|
+
name: string;
|
|
912
|
+
timestamp?: number;
|
|
913
|
+
rxBytes?: number;
|
|
914
|
+
rxBytesOrigin?: number;
|
|
915
|
+
rxBytesSec?: number;
|
|
916
|
+
rxBytesValue?: number;
|
|
917
|
+
rxDropped?: number;
|
|
918
|
+
rxDroppedOrigin?: number;
|
|
919
|
+
rxDroppedSec?: number;
|
|
920
|
+
rxDroppedValue?: number;
|
|
921
|
+
rxErrors?: number;
|
|
922
|
+
rxErrorsOrigin?: number;
|
|
923
|
+
rxErrorsSec?: number;
|
|
924
|
+
rxErrorsValue?: number;
|
|
925
|
+
rxPackets?: number;
|
|
926
|
+
rxPacketsOrigin?: number;
|
|
927
|
+
rxPacketsSec?: number;
|
|
928
|
+
rxPacketsValue?: number;
|
|
929
|
+
txBytes?: number;
|
|
930
|
+
txBytesOrigin?: number;
|
|
931
|
+
txBytesSec?: number;
|
|
932
|
+
txBytesValue?: number;
|
|
933
|
+
txDropped?: number;
|
|
934
|
+
txDroppedOrigin?: number;
|
|
935
|
+
txDroppedSec?: number;
|
|
936
|
+
txDroppedValue?: number;
|
|
937
|
+
txErrors?: number;
|
|
938
|
+
txErrorsOrigin?: number;
|
|
939
|
+
txErrorsSec?: number;
|
|
940
|
+
txErrorsValue?: number;
|
|
941
|
+
}
|
|
942
|
+
|
|
815
943
|
declare type NotificationReason = "mentioned" | "assigned" | "author" | "participated" | "always";
|
|
816
944
|
|
|
817
945
|
declare type Numeric<Value extends number | bigint> = Value extends number ? Value : `BigInt(${Value})`;
|
|
@@ -881,6 +1009,53 @@ export declare interface NxtpressionNxt {
|
|
|
881
1009
|
hash(value: unknown): string;
|
|
882
1010
|
}
|
|
883
1011
|
|
|
1012
|
+
declare interface NxtStatusNode extends NxtStatusObject {
|
|
1013
|
+
state?: string;
|
|
1014
|
+
role?: string;
|
|
1015
|
+
leader?: boolean;
|
|
1016
|
+
availability?: string;
|
|
1017
|
+
classes?: string[];
|
|
1018
|
+
address?: string;
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
declare interface NxtStatusObject {
|
|
1022
|
+
level: number;
|
|
1023
|
+
status: string;
|
|
1024
|
+
messages: Array<{
|
|
1025
|
+
msg: string;
|
|
1026
|
+
level: number;
|
|
1027
|
+
}>;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
declare interface NxtStatusRecord {
|
|
1031
|
+
nodes: {
|
|
1032
|
+
[k: string]: NxtStatusNode;
|
|
1033
|
+
};
|
|
1034
|
+
services: {
|
|
1035
|
+
[k: string]: NxtStatusService;
|
|
1036
|
+
};
|
|
1037
|
+
level: number;
|
|
1038
|
+
status: string;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
declare interface NxtStatusService extends NxtStatusObject {
|
|
1042
|
+
image?: string;
|
|
1043
|
+
running?: number;
|
|
1044
|
+
mode?: string;
|
|
1045
|
+
total?: number;
|
|
1046
|
+
tasks?: Array<{
|
|
1047
|
+
id: string;
|
|
1048
|
+
node: string;
|
|
1049
|
+
container: string;
|
|
1050
|
+
level?: number;
|
|
1051
|
+
status?: string;
|
|
1052
|
+
messages: Array<{
|
|
1053
|
+
msg: string;
|
|
1054
|
+
level: number;
|
|
1055
|
+
}>;
|
|
1056
|
+
}>;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
884
1059
|
/**
|
|
885
1060
|
* A representation of any set of values over any amount of time. This is the most basic building block
|
|
886
1061
|
* of RxJS.
|
|
@@ -1326,7 +1501,7 @@ declare type Records = {
|
|
|
1326
1501
|
}>;
|
|
1327
1502
|
synced?: boolean;
|
|
1328
1503
|
};
|
|
1329
|
-
};
|
|
1504
|
+
} & MonitorRecords & StorageRecords;
|
|
1330
1505
|
|
|
1331
1506
|
declare type RecordState = RecordStateNumber | RecordStateString;
|
|
1332
1507
|
|
|
@@ -1339,6 +1514,51 @@ declare interface RemoveOperation {
|
|
|
1339
1514
|
path: string;
|
|
1340
1515
|
}
|
|
1341
1516
|
|
|
1517
|
+
declare interface RenderDomainCpuStats {
|
|
1518
|
+
cpu: {
|
|
1519
|
+
idle: number;
|
|
1520
|
+
total: number;
|
|
1521
|
+
};
|
|
1522
|
+
mem: {
|
|
1523
|
+
used: number;
|
|
1524
|
+
total: number;
|
|
1525
|
+
arcstats: {
|
|
1526
|
+
size: number | null;
|
|
1527
|
+
};
|
|
1528
|
+
meminfo: {
|
|
1529
|
+
total: number | null;
|
|
1530
|
+
free: number | null;
|
|
1531
|
+
used: number | null;
|
|
1532
|
+
active: number | null;
|
|
1533
|
+
available: number | null;
|
|
1534
|
+
buffers: number | null;
|
|
1535
|
+
cached: number | null;
|
|
1536
|
+
buffcache: number | null;
|
|
1537
|
+
reclaimable: number | null;
|
|
1538
|
+
swaptotal: number | null;
|
|
1539
|
+
swapused: number | null;
|
|
1540
|
+
swapfree: number | null;
|
|
1541
|
+
slab: number | null;
|
|
1542
|
+
sReclaimable: number | null;
|
|
1543
|
+
kernelStack: number | null;
|
|
1544
|
+
memTotal: number | null;
|
|
1545
|
+
memAvailable: number | null;
|
|
1546
|
+
};
|
|
1547
|
+
};
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
declare interface RenderDomainGpuStats {
|
|
1551
|
+
[key: string]: unknown;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
declare interface RenderDomainNetStats {
|
|
1555
|
+
used: number;
|
|
1556
|
+
type?: string;
|
|
1557
|
+
dev?: {
|
|
1558
|
+
used: number;
|
|
1559
|
+
};
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1342
1562
|
declare interface RenderDomainQueryRecord {
|
|
1343
1563
|
type: string;
|
|
1344
1564
|
title: string;
|
|
@@ -1353,6 +1573,7 @@ declare interface RenderDomainRecords {
|
|
|
1353
1573
|
":render.stats?": RenderDomainStatsRecord;
|
|
1354
1574
|
":render.query?": RenderDomainQueryRecord;
|
|
1355
1575
|
":render.result?": RenderDomainResultRecord;
|
|
1576
|
+
":render.schedulers?": RenderDomainSchedulersRecord;
|
|
1356
1577
|
}
|
|
1357
1578
|
|
|
1358
1579
|
declare interface RenderDomainResultRecord {
|
|
@@ -1362,10 +1583,71 @@ declare interface RenderDomainResultRecord {
|
|
|
1362
1583
|
error?: null | Record<string, unknown> | Array<Record<string, unknown>>;
|
|
1363
1584
|
}
|
|
1364
1585
|
|
|
1586
|
+
declare interface RenderDomainSchedulersRecord {
|
|
1587
|
+
[key: string]: number[];
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1365
1590
|
declare interface RenderDomainStatsRecord {
|
|
1366
1591
|
progress?: number | null;
|
|
1367
1592
|
error?: Array<Record<string, unknown>> | null;
|
|
1368
|
-
status?: string | null;
|
|
1593
|
+
status?: string | string[] | null;
|
|
1594
|
+
lag?: number | null;
|
|
1595
|
+
available?: boolean | null;
|
|
1596
|
+
toobusy?: boolean | null;
|
|
1597
|
+
cpuAvailable?: boolean | null;
|
|
1598
|
+
cpuComputeAvailable?: boolean | null;
|
|
1599
|
+
cpuComputeReservation?: number | null;
|
|
1600
|
+
cpuCompute?: number | null;
|
|
1601
|
+
cpuComputeLimit?: number | null;
|
|
1602
|
+
cpuComputeTotal?: number | null;
|
|
1603
|
+
cpuComputeValue?: number | null;
|
|
1604
|
+
cpuMemoryAvailable?: boolean | null;
|
|
1605
|
+
cpuMemoryReservation?: number | null;
|
|
1606
|
+
cpuMemory?: number | null;
|
|
1607
|
+
cpuMemoryLimit?: number | null;
|
|
1608
|
+
cpuMemoryValue?: number | null;
|
|
1609
|
+
cpuMemoryTotal?: number | null;
|
|
1610
|
+
gpuType?: string | null;
|
|
1611
|
+
gpuAvailable?: boolean | null;
|
|
1612
|
+
gpuComputeAvailable?: boolean | null;
|
|
1613
|
+
gpuComputeReservation?: number | null;
|
|
1614
|
+
gpuCompute?: number | null;
|
|
1615
|
+
gpuComputeLimit?: number | null;
|
|
1616
|
+
gpuComputeValue?: number | null;
|
|
1617
|
+
gpuComputeTotal?: number | null;
|
|
1618
|
+
gpuMemoryAvailable?: boolean | null;
|
|
1619
|
+
gpuMemoryReservation?: number | null;
|
|
1620
|
+
gpuMemory?: number | null;
|
|
1621
|
+
gpuMemoryLimit?: number | null;
|
|
1622
|
+
gpuMemoryValue?: number | null;
|
|
1623
|
+
gpuMemoryTotal?: number | null;
|
|
1624
|
+
gpuQueueAvailable?: boolean | null;
|
|
1625
|
+
gpuQueueReservation?: number | null;
|
|
1626
|
+
gpuQueueLimit?: number | null;
|
|
1627
|
+
gpuQueueValue?: number | null;
|
|
1628
|
+
gpuQueueTotal?: number | null;
|
|
1629
|
+
gpuEncoder?: number | null;
|
|
1630
|
+
gpuEncoderLimit?: number | null;
|
|
1631
|
+
gpuEncoderValue?: number | null;
|
|
1632
|
+
gpuEncoderTotal?: number | null;
|
|
1633
|
+
gpuDecoder?: number | null;
|
|
1634
|
+
gpuDecoderLimit?: number | null;
|
|
1635
|
+
gpuDecoderValue?: null;
|
|
1636
|
+
gpuDecoderTotal?: number | null;
|
|
1637
|
+
netAvailable?: boolean | null;
|
|
1638
|
+
netTransferAvailable?: boolean | null;
|
|
1639
|
+
netTransferReservation?: number | null;
|
|
1640
|
+
netTransfer?: number | null;
|
|
1641
|
+
netTransferLimit?: number | null;
|
|
1642
|
+
netTransferValue?: number | null;
|
|
1643
|
+
netTransferTotal?: number | null;
|
|
1644
|
+
cpu?: number | null;
|
|
1645
|
+
memory?: number | null;
|
|
1646
|
+
activeCount: number | null;
|
|
1647
|
+
totalCount: number | null;
|
|
1648
|
+
gpuStat?: RenderDomainGpuStats | null;
|
|
1649
|
+
cpuStat?: RenderDomainCpuStats | null;
|
|
1650
|
+
netStat?: RenderDomainNetStats | null;
|
|
1369
1651
|
}
|
|
1370
1652
|
|
|
1371
1653
|
declare type RenderPreset = RenderPresetObject | string;
|
|
@@ -1847,6 +2129,42 @@ declare interface SettingsPanelStoreTab extends ModuleTabsSettingsValue {
|
|
|
1847
2129
|
activeSectionIndex: number;
|
|
1848
2130
|
}
|
|
1849
2131
|
|
|
2132
|
+
declare interface StorageLocationsRecord {
|
|
2133
|
+
[key: string]: StorageLocationsRecordEntry;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
declare interface StorageLocationsRecordEntry {
|
|
2137
|
+
id: string;
|
|
2138
|
+
location: string;
|
|
2139
|
+
timestamp: string;
|
|
2140
|
+
type: string;
|
|
2141
|
+
zone: string;
|
|
2142
|
+
free: number | null;
|
|
2143
|
+
size: number | null;
|
|
2144
|
+
available: number | null;
|
|
2145
|
+
cache: boolean | null;
|
|
2146
|
+
capacity: number | null;
|
|
2147
|
+
origin: string;
|
|
2148
|
+
allows: ("get" | "put" | "del")[];
|
|
2149
|
+
net: {
|
|
2150
|
+
rx: number;
|
|
2151
|
+
tx: number;
|
|
2152
|
+
};
|
|
2153
|
+
latency: number;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
declare interface StorageRecords {
|
|
2157
|
+
"storage.locations?": StorageLocationsRecord;
|
|
2158
|
+
"storage.zones?": StorageZonesRecord;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
declare interface StorageZonesRecord {
|
|
2162
|
+
[key: string]: {
|
|
2163
|
+
priority: number;
|
|
2164
|
+
locations: string[];
|
|
2165
|
+
};
|
|
2166
|
+
}
|
|
2167
|
+
|
|
1850
2168
|
declare interface StoryboardDomainPipelinesRecord {
|
|
1851
2169
|
value?: string[];
|
|
1852
2170
|
}
|