@nxtedition/types 23.0.34 → 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.
@@ -1,24 +1,48 @@
1
1
  import __typia from "typia";
2
2
  export const isRenderDomainStatsRecord = input => {
3
- const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status);
3
+ const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && $io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && $io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && $io8(input.netStat));
4
4
  const $io1 = input => Object.keys(input).every(key => {
5
5
  const value = input[key];
6
6
  if (undefined === value)
7
7
  return true;
8
8
  return true;
9
9
  });
10
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
10
+ const $io2 = input => Object.keys(input).every(key => {
11
+ const value = input[key];
12
+ if (undefined === value)
13
+ return true;
14
+ return true;
15
+ });
16
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
17
+ const $io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
18
+ const $io6 = input => null === input.size || "number" === typeof input.size;
19
+ const $io7 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
20
+ const $io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
21
+ const $io9 = input => "number" === typeof input.used;
22
+ return "object" === typeof input && null !== input && $io0(input);
11
23
  };
12
24
  export const assertRenderDomainStatsRecord = (input, errorFactory) => {
13
25
  const __is = input => {
14
- const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status);
26
+ const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && $io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && $io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && $io8(input.netStat));
15
27
  const $io1 = input => Object.keys(input).every(key => {
16
28
  const value = input[key];
17
29
  if (undefined === value)
18
30
  return true;
19
31
  return true;
20
32
  });
21
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
33
+ const $io2 = input => Object.keys(input).every(key => {
34
+ const value = input[key];
35
+ if (undefined === value)
36
+ return true;
37
+ return true;
38
+ });
39
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
40
+ const $io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
41
+ const $io6 = input => null === input.size || "number" === typeof input.size;
42
+ const $io7 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
43
+ const $io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
44
+ const $io9 = input => "number" === typeof input.used;
45
+ return "object" === typeof input && null !== input && $io0(input);
22
46
  };
23
47
  if (false === __is(input))
24
48
  ((input, _path, _exceptionable = true) => {
@@ -44,196 +68,2724 @@ export const assertRenderDomainStatsRecord = (input, errorFactory) => {
44
68
  path: _path + ".error",
45
69
  expected: "(Array<Record<string, unknown>> | null | undefined)",
46
70
  value: input.error
47
- }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
71
+ }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || (Array.isArray(input.status) || $guard(_exceptionable, {
48
72
  path: _path + ".status",
49
- expected: "(null | string | undefined)",
73
+ expected: "(Array<string> | null | string | undefined)",
74
+ value: input.status
75
+ }, errorFactory)) && input.status.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
76
+ path: _path + ".status[" + _index2 + "]",
77
+ expected: "string",
78
+ value: elem
79
+ }, errorFactory)) || $guard(_exceptionable, {
80
+ path: _path + ".status",
81
+ expected: "(Array<string> | null | string | undefined)",
50
82
  value: input.status
83
+ }, errorFactory)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag || $guard(_exceptionable, {
84
+ path: _path + ".lag",
85
+ expected: "(null | number | undefined)",
86
+ value: input.lag
87
+ }, errorFactory)) && (null === input.available || undefined === input.available || "boolean" === typeof input.available || $guard(_exceptionable, {
88
+ path: _path + ".available",
89
+ expected: "(boolean | null | undefined)",
90
+ value: input.available
91
+ }, errorFactory)) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy || $guard(_exceptionable, {
92
+ path: _path + ".toobusy",
93
+ expected: "(boolean | null | undefined)",
94
+ value: input.toobusy
95
+ }, errorFactory)) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable || $guard(_exceptionable, {
96
+ path: _path + ".cpuAvailable",
97
+ expected: "(boolean | null | undefined)",
98
+ value: input.cpuAvailable
99
+ }, errorFactory)) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable || $guard(_exceptionable, {
100
+ path: _path + ".cpuComputeAvailable",
101
+ expected: "(boolean | null | undefined)",
102
+ value: input.cpuComputeAvailable
103
+ }, errorFactory)) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation || $guard(_exceptionable, {
104
+ path: _path + ".cpuComputeReservation",
105
+ expected: "(null | number | undefined)",
106
+ value: input.cpuComputeReservation
107
+ }, errorFactory)) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute || $guard(_exceptionable, {
108
+ path: _path + ".cpuCompute",
109
+ expected: "(null | number | undefined)",
110
+ value: input.cpuCompute
111
+ }, errorFactory)) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit || $guard(_exceptionable, {
112
+ path: _path + ".cpuComputeLimit",
113
+ expected: "(null | number | undefined)",
114
+ value: input.cpuComputeLimit
115
+ }, errorFactory)) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal || $guard(_exceptionable, {
116
+ path: _path + ".cpuComputeTotal",
117
+ expected: "(null | number | undefined)",
118
+ value: input.cpuComputeTotal
119
+ }, errorFactory)) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue || $guard(_exceptionable, {
120
+ path: _path + ".cpuComputeValue",
121
+ expected: "(null | number | undefined)",
122
+ value: input.cpuComputeValue
123
+ }, errorFactory)) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable || $guard(_exceptionable, {
124
+ path: _path + ".cpuMemoryAvailable",
125
+ expected: "(boolean | null | undefined)",
126
+ value: input.cpuMemoryAvailable
127
+ }, errorFactory)) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation || $guard(_exceptionable, {
128
+ path: _path + ".cpuMemoryReservation",
129
+ expected: "(null | number | undefined)",
130
+ value: input.cpuMemoryReservation
131
+ }, errorFactory)) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory || $guard(_exceptionable, {
132
+ path: _path + ".cpuMemory",
133
+ expected: "(null | number | undefined)",
134
+ value: input.cpuMemory
135
+ }, errorFactory)) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit || $guard(_exceptionable, {
136
+ path: _path + ".cpuMemoryLimit",
137
+ expected: "(null | number | undefined)",
138
+ value: input.cpuMemoryLimit
139
+ }, errorFactory)) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue || $guard(_exceptionable, {
140
+ path: _path + ".cpuMemoryValue",
141
+ expected: "(null | number | undefined)",
142
+ value: input.cpuMemoryValue
143
+ }, errorFactory)) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal || $guard(_exceptionable, {
144
+ path: _path + ".cpuMemoryTotal",
145
+ expected: "(null | number | undefined)",
146
+ value: input.cpuMemoryTotal
147
+ }, errorFactory)) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType || $guard(_exceptionable, {
148
+ path: _path + ".gpuType",
149
+ expected: "(null | string | undefined)",
150
+ value: input.gpuType
151
+ }, errorFactory)) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable || $guard(_exceptionable, {
152
+ path: _path + ".gpuAvailable",
153
+ expected: "(boolean | null | undefined)",
154
+ value: input.gpuAvailable
155
+ }, errorFactory)) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable || $guard(_exceptionable, {
156
+ path: _path + ".gpuComputeAvailable",
157
+ expected: "(boolean | null | undefined)",
158
+ value: input.gpuComputeAvailable
159
+ }, errorFactory)) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation || $guard(_exceptionable, {
160
+ path: _path + ".gpuComputeReservation",
161
+ expected: "(null | number | undefined)",
162
+ value: input.gpuComputeReservation
163
+ }, errorFactory)) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute || $guard(_exceptionable, {
164
+ path: _path + ".gpuCompute",
165
+ expected: "(null | number | undefined)",
166
+ value: input.gpuCompute
167
+ }, errorFactory)) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit || $guard(_exceptionable, {
168
+ path: _path + ".gpuComputeLimit",
169
+ expected: "(null | number | undefined)",
170
+ value: input.gpuComputeLimit
171
+ }, errorFactory)) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue || $guard(_exceptionable, {
172
+ path: _path + ".gpuComputeValue",
173
+ expected: "(null | number | undefined)",
174
+ value: input.gpuComputeValue
175
+ }, errorFactory)) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal || $guard(_exceptionable, {
176
+ path: _path + ".gpuComputeTotal",
177
+ expected: "(null | number | undefined)",
178
+ value: input.gpuComputeTotal
179
+ }, errorFactory)) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable || $guard(_exceptionable, {
180
+ path: _path + ".gpuMemoryAvailable",
181
+ expected: "(boolean | null | undefined)",
182
+ value: input.gpuMemoryAvailable
183
+ }, errorFactory)) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation || $guard(_exceptionable, {
184
+ path: _path + ".gpuMemoryReservation",
185
+ expected: "(null | number | undefined)",
186
+ value: input.gpuMemoryReservation
187
+ }, errorFactory)) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory || $guard(_exceptionable, {
188
+ path: _path + ".gpuMemory",
189
+ expected: "(null | number | undefined)",
190
+ value: input.gpuMemory
191
+ }, errorFactory)) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit || $guard(_exceptionable, {
192
+ path: _path + ".gpuMemoryLimit",
193
+ expected: "(null | number | undefined)",
194
+ value: input.gpuMemoryLimit
195
+ }, errorFactory)) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue || $guard(_exceptionable, {
196
+ path: _path + ".gpuMemoryValue",
197
+ expected: "(null | number | undefined)",
198
+ value: input.gpuMemoryValue
199
+ }, errorFactory)) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal || $guard(_exceptionable, {
200
+ path: _path + ".gpuMemoryTotal",
201
+ expected: "(null | number | undefined)",
202
+ value: input.gpuMemoryTotal
203
+ }, errorFactory)) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable || $guard(_exceptionable, {
204
+ path: _path + ".gpuQueueAvailable",
205
+ expected: "(boolean | null | undefined)",
206
+ value: input.gpuQueueAvailable
207
+ }, errorFactory)) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation || $guard(_exceptionable, {
208
+ path: _path + ".gpuQueueReservation",
209
+ expected: "(null | number | undefined)",
210
+ value: input.gpuQueueReservation
211
+ }, errorFactory)) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit || $guard(_exceptionable, {
212
+ path: _path + ".gpuQueueLimit",
213
+ expected: "(null | number | undefined)",
214
+ value: input.gpuQueueLimit
215
+ }, errorFactory)) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue || $guard(_exceptionable, {
216
+ path: _path + ".gpuQueueValue",
217
+ expected: "(null | number | undefined)",
218
+ value: input.gpuQueueValue
219
+ }, errorFactory)) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal || $guard(_exceptionable, {
220
+ path: _path + ".gpuQueueTotal",
221
+ expected: "(null | number | undefined)",
222
+ value: input.gpuQueueTotal
223
+ }, errorFactory)) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder || $guard(_exceptionable, {
224
+ path: _path + ".gpuEncoder",
225
+ expected: "(null | number | undefined)",
226
+ value: input.gpuEncoder
227
+ }, errorFactory)) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit || $guard(_exceptionable, {
228
+ path: _path + ".gpuEncoderLimit",
229
+ expected: "(null | number | undefined)",
230
+ value: input.gpuEncoderLimit
231
+ }, errorFactory)) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue || $guard(_exceptionable, {
232
+ path: _path + ".gpuEncoderValue",
233
+ expected: "(null | number | undefined)",
234
+ value: input.gpuEncoderValue
235
+ }, errorFactory)) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal || $guard(_exceptionable, {
236
+ path: _path + ".gpuEncoderTotal",
237
+ expected: "(null | number | undefined)",
238
+ value: input.gpuEncoderTotal
239
+ }, errorFactory)) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder || $guard(_exceptionable, {
240
+ path: _path + ".gpuDecoder",
241
+ expected: "(null | number | undefined)",
242
+ value: input.gpuDecoder
243
+ }, errorFactory)) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit || $guard(_exceptionable, {
244
+ path: _path + ".gpuDecoderLimit",
245
+ expected: "(null | number | undefined)",
246
+ value: input.gpuDecoderLimit
247
+ }, errorFactory)) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || $guard(_exceptionable, {
248
+ path: _path + ".gpuDecoderValue",
249
+ expected: "(null | undefined)",
250
+ value: input.gpuDecoderValue
251
+ }, errorFactory)) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal || $guard(_exceptionable, {
252
+ path: _path + ".gpuDecoderTotal",
253
+ expected: "(null | number | undefined)",
254
+ value: input.gpuDecoderTotal
255
+ }, errorFactory)) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable || $guard(_exceptionable, {
256
+ path: _path + ".netAvailable",
257
+ expected: "(boolean | null | undefined)",
258
+ value: input.netAvailable
259
+ }, errorFactory)) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable || $guard(_exceptionable, {
260
+ path: _path + ".netTransferAvailable",
261
+ expected: "(boolean | null | undefined)",
262
+ value: input.netTransferAvailable
263
+ }, errorFactory)) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation || $guard(_exceptionable, {
264
+ path: _path + ".netTransferReservation",
265
+ expected: "(null | number | undefined)",
266
+ value: input.netTransferReservation
267
+ }, errorFactory)) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer || $guard(_exceptionable, {
268
+ path: _path + ".netTransfer",
269
+ expected: "(null | number | undefined)",
270
+ value: input.netTransfer
271
+ }, errorFactory)) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit || $guard(_exceptionable, {
272
+ path: _path + ".netTransferLimit",
273
+ expected: "(null | number | undefined)",
274
+ value: input.netTransferLimit
275
+ }, errorFactory)) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue || $guard(_exceptionable, {
276
+ path: _path + ".netTransferValue",
277
+ expected: "(null | number | undefined)",
278
+ value: input.netTransferValue
279
+ }, errorFactory)) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal || $guard(_exceptionable, {
280
+ path: _path + ".netTransferTotal",
281
+ expected: "(null | number | undefined)",
282
+ value: input.netTransferTotal
283
+ }, errorFactory)) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu || $guard(_exceptionable, {
284
+ path: _path + ".cpu",
285
+ expected: "(null | number | undefined)",
286
+ value: input.cpu
287
+ }, errorFactory)) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory || $guard(_exceptionable, {
288
+ path: _path + ".memory",
289
+ expected: "(null | number | undefined)",
290
+ value: input.memory
291
+ }, errorFactory)) && (null === input.activeCount || "number" === typeof input.activeCount || $guard(_exceptionable, {
292
+ path: _path + ".activeCount",
293
+ expected: "(null | number)",
294
+ value: input.activeCount
295
+ }, errorFactory)) && (null === input.totalCount || "number" === typeof input.totalCount || $guard(_exceptionable, {
296
+ path: _path + ".totalCount",
297
+ expected: "(null | number)",
298
+ value: input.totalCount
299
+ }, errorFactory)) && (null === input.gpuStat || undefined === input.gpuStat || ("object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) || $guard(_exceptionable, {
300
+ path: _path + ".gpuStat",
301
+ expected: "(RenderDomainGpuStats | null | undefined)",
302
+ value: input.gpuStat
303
+ }, errorFactory)) && $ao2(input.gpuStat, _path + ".gpuStat", true && _exceptionable) || $guard(_exceptionable, {
304
+ path: _path + ".gpuStat",
305
+ expected: "(RenderDomainGpuStats | null | undefined)",
306
+ value: input.gpuStat
307
+ }, errorFactory)) && (null === input.cpuStat || undefined === input.cpuStat || ("object" === typeof input.cpuStat && null !== input.cpuStat || $guard(_exceptionable, {
308
+ path: _path + ".cpuStat",
309
+ expected: "(RenderDomainCpuStats | null | undefined)",
310
+ value: input.cpuStat
311
+ }, errorFactory)) && $ao3(input.cpuStat, _path + ".cpuStat", true && _exceptionable) || $guard(_exceptionable, {
312
+ path: _path + ".cpuStat",
313
+ expected: "(RenderDomainCpuStats | null | undefined)",
314
+ value: input.cpuStat
315
+ }, errorFactory)) && (null === input.netStat || undefined === input.netStat || ("object" === typeof input.netStat && null !== input.netStat || $guard(_exceptionable, {
316
+ path: _path + ".netStat",
317
+ expected: "(RenderDomainNetStats | null | undefined)",
318
+ value: input.netStat
319
+ }, errorFactory)) && $ao8(input.netStat, _path + ".netStat", true && _exceptionable) || $guard(_exceptionable, {
320
+ path: _path + ".netStat",
321
+ expected: "(RenderDomainNetStats | null | undefined)",
322
+ value: input.netStat
323
+ }, errorFactory));
324
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
325
+ const value = input[key];
326
+ if (undefined === value)
327
+ return true;
328
+ return true;
329
+ });
330
+ const $ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
331
+ const value = input[key];
332
+ if (undefined === value)
333
+ return true;
334
+ return true;
335
+ });
336
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
337
+ path: _path + ".cpu",
338
+ expected: "__type",
339
+ value: input.cpu
340
+ }, errorFactory)) && $ao4(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
341
+ path: _path + ".cpu",
342
+ expected: "__type",
343
+ value: input.cpu
344
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
345
+ path: _path + ".mem",
346
+ expected: "__type.o1",
347
+ value: input.mem
348
+ }, errorFactory)) && $ao5(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
349
+ path: _path + ".mem",
350
+ expected: "__type.o1",
351
+ value: input.mem
352
+ }, errorFactory));
353
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle || $guard(_exceptionable, {
354
+ path: _path + ".idle",
355
+ expected: "number",
356
+ value: input.idle
357
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
358
+ path: _path + ".total",
359
+ expected: "number",
360
+ value: input.total
361
+ }, errorFactory));
362
+ const $ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
363
+ path: _path + ".used",
364
+ expected: "number",
365
+ value: input.used
366
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
367
+ path: _path + ".total",
368
+ expected: "number",
369
+ value: input.total
370
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
371
+ path: _path + ".arcstats",
372
+ expected: "__type.o2",
373
+ value: input.arcstats
374
+ }, errorFactory)) && $ao6(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
375
+ path: _path + ".arcstats",
376
+ expected: "__type.o2",
377
+ value: input.arcstats
378
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
379
+ path: _path + ".meminfo",
380
+ expected: "__type.o3",
381
+ value: input.meminfo
382
+ }, errorFactory)) && $ao7(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
383
+ path: _path + ".meminfo",
384
+ expected: "__type.o3",
385
+ value: input.meminfo
386
+ }, errorFactory));
387
+ const $ao6 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size || $guard(_exceptionable, {
388
+ path: _path + ".size",
389
+ expected: "(null | number)",
390
+ value: input.size
391
+ }, errorFactory);
392
+ const $ao7 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total || $guard(_exceptionable, {
393
+ path: _path + ".total",
394
+ expected: "(null | number)",
395
+ value: input.total
396
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free || $guard(_exceptionable, {
397
+ path: _path + ".free",
398
+ expected: "(null | number)",
399
+ value: input.free
400
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used || $guard(_exceptionable, {
401
+ path: _path + ".used",
402
+ expected: "(null | number)",
403
+ value: input.used
404
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active || $guard(_exceptionable, {
405
+ path: _path + ".active",
406
+ expected: "(null | number)",
407
+ value: input.active
408
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available || $guard(_exceptionable, {
409
+ path: _path + ".available",
410
+ expected: "(null | number)",
411
+ value: input.available
412
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers || $guard(_exceptionable, {
413
+ path: _path + ".buffers",
414
+ expected: "(null | number)",
415
+ value: input.buffers
416
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached || $guard(_exceptionable, {
417
+ path: _path + ".cached",
418
+ expected: "(null | number)",
419
+ value: input.cached
420
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache || $guard(_exceptionable, {
421
+ path: _path + ".buffcache",
422
+ expected: "(null | number)",
423
+ value: input.buffcache
424
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable || $guard(_exceptionable, {
425
+ path: _path + ".reclaimable",
426
+ expected: "(null | number)",
427
+ value: input.reclaimable
428
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal || $guard(_exceptionable, {
429
+ path: _path + ".swaptotal",
430
+ expected: "(null | number)",
431
+ value: input.swaptotal
432
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused || $guard(_exceptionable, {
433
+ path: _path + ".swapused",
434
+ expected: "(null | number)",
435
+ value: input.swapused
436
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree || $guard(_exceptionable, {
437
+ path: _path + ".swapfree",
438
+ expected: "(null | number)",
439
+ value: input.swapfree
440
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab || $guard(_exceptionable, {
441
+ path: _path + ".slab",
442
+ expected: "(null | number)",
443
+ value: input.slab
444
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable || $guard(_exceptionable, {
445
+ path: _path + ".sReclaimable",
446
+ expected: "(null | number)",
447
+ value: input.sReclaimable
448
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack || $guard(_exceptionable, {
449
+ path: _path + ".kernelStack",
450
+ expected: "(null | number)",
451
+ value: input.kernelStack
452
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal || $guard(_exceptionable, {
453
+ path: _path + ".memTotal",
454
+ expected: "(null | number)",
455
+ value: input.memTotal
456
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable || $guard(_exceptionable, {
457
+ path: _path + ".memAvailable",
458
+ expected: "(null | number)",
459
+ value: input.memAvailable
460
+ }, errorFactory));
461
+ const $ao8 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
462
+ path: _path + ".used",
463
+ expected: "number",
464
+ value: input.used
465
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
466
+ path: _path + ".type",
467
+ expected: "(string | undefined)",
468
+ value: input.type
469
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
470
+ path: _path + ".dev",
471
+ expected: "(__type.o4 | undefined)",
472
+ value: input.dev
473
+ }, errorFactory)) && $ao9(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
474
+ path: _path + ".dev",
475
+ expected: "(__type.o4 | undefined)",
476
+ value: input.dev
477
+ }, errorFactory));
478
+ const $ao9 = (input, _path, _exceptionable = true) => "number" === typeof input.used || $guard(_exceptionable, {
479
+ path: _path + ".used",
480
+ expected: "number",
481
+ value: input.used
482
+ }, errorFactory);
483
+ return ("object" === typeof input && null !== input || $guard(true, {
484
+ path: _path + "",
485
+ expected: "RenderDomainStatsRecord",
486
+ value: input
487
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
488
+ path: _path + "",
489
+ expected: "RenderDomainStatsRecord",
490
+ value: input
491
+ }, errorFactory);
492
+ })(input, "$input", true);
493
+ return input;
494
+ };
495
+ export const randomRenderDomainStatsRecord = generator => {
496
+ const $generator = __typia.createRandom.generator;
497
+ const $pick = __typia.createRandom.pick;
498
+ const $ro0 = (_recursive = false, _depth = 0) => ({
499
+ progress: $pick([
500
+ () => undefined,
501
+ () => null,
502
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
503
+ ])(),
504
+ error: $pick([
505
+ () => undefined,
506
+ () => null,
507
+ () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
508
+ ])(),
509
+ status: $pick([
510
+ () => undefined,
511
+ () => null,
512
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)(),
513
+ () => (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)())
514
+ ])(),
515
+ lag: $pick([
516
+ () => undefined,
517
+ () => null,
518
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
519
+ ])(),
520
+ available: $pick([
521
+ () => undefined,
522
+ () => null,
523
+ () => (generator?.boolean ?? $generator.boolean)()
524
+ ])(),
525
+ toobusy: $pick([
526
+ () => undefined,
527
+ () => null,
528
+ () => (generator?.boolean ?? $generator.boolean)()
529
+ ])(),
530
+ cpuAvailable: $pick([
531
+ () => undefined,
532
+ () => null,
533
+ () => (generator?.boolean ?? $generator.boolean)()
534
+ ])(),
535
+ cpuComputeAvailable: $pick([
536
+ () => undefined,
537
+ () => null,
538
+ () => (generator?.boolean ?? $generator.boolean)()
539
+ ])(),
540
+ cpuComputeReservation: $pick([
541
+ () => undefined,
542
+ () => null,
543
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
544
+ ])(),
545
+ cpuCompute: $pick([
546
+ () => undefined,
547
+ () => null,
548
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
549
+ ])(),
550
+ cpuComputeLimit: $pick([
551
+ () => undefined,
552
+ () => null,
553
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
554
+ ])(),
555
+ cpuComputeTotal: $pick([
556
+ () => undefined,
557
+ () => null,
558
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
559
+ ])(),
560
+ cpuComputeValue: $pick([
561
+ () => undefined,
562
+ () => null,
563
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
564
+ ])(),
565
+ cpuMemoryAvailable: $pick([
566
+ () => undefined,
567
+ () => null,
568
+ () => (generator?.boolean ?? $generator.boolean)()
569
+ ])(),
570
+ cpuMemoryReservation: $pick([
571
+ () => undefined,
572
+ () => null,
573
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
574
+ ])(),
575
+ cpuMemory: $pick([
576
+ () => undefined,
577
+ () => null,
578
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
579
+ ])(),
580
+ cpuMemoryLimit: $pick([
581
+ () => undefined,
582
+ () => null,
583
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
584
+ ])(),
585
+ cpuMemoryValue: $pick([
586
+ () => undefined,
587
+ () => null,
588
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
589
+ ])(),
590
+ cpuMemoryTotal: $pick([
591
+ () => undefined,
592
+ () => null,
593
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
594
+ ])(),
595
+ gpuType: $pick([
596
+ () => undefined,
597
+ () => null,
598
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
599
+ ])(),
600
+ gpuAvailable: $pick([
601
+ () => undefined,
602
+ () => null,
603
+ () => (generator?.boolean ?? $generator.boolean)()
604
+ ])(),
605
+ gpuComputeAvailable: $pick([
606
+ () => undefined,
607
+ () => null,
608
+ () => (generator?.boolean ?? $generator.boolean)()
609
+ ])(),
610
+ gpuComputeReservation: $pick([
611
+ () => undefined,
612
+ () => null,
613
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
614
+ ])(),
615
+ gpuCompute: $pick([
616
+ () => undefined,
617
+ () => null,
618
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
619
+ ])(),
620
+ gpuComputeLimit: $pick([
621
+ () => undefined,
622
+ () => null,
623
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
624
+ ])(),
625
+ gpuComputeValue: $pick([
626
+ () => undefined,
627
+ () => null,
628
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
629
+ ])(),
630
+ gpuComputeTotal: $pick([
631
+ () => undefined,
632
+ () => null,
633
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
634
+ ])(),
635
+ gpuMemoryAvailable: $pick([
636
+ () => undefined,
637
+ () => null,
638
+ () => (generator?.boolean ?? $generator.boolean)()
639
+ ])(),
640
+ gpuMemoryReservation: $pick([
641
+ () => undefined,
642
+ () => null,
643
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
644
+ ])(),
645
+ gpuMemory: $pick([
646
+ () => undefined,
647
+ () => null,
648
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
649
+ ])(),
650
+ gpuMemoryLimit: $pick([
651
+ () => undefined,
652
+ () => null,
653
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
654
+ ])(),
655
+ gpuMemoryValue: $pick([
656
+ () => undefined,
657
+ () => null,
658
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
659
+ ])(),
660
+ gpuMemoryTotal: $pick([
661
+ () => undefined,
662
+ () => null,
663
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
664
+ ])(),
665
+ gpuQueueAvailable: $pick([
666
+ () => undefined,
667
+ () => null,
668
+ () => (generator?.boolean ?? $generator.boolean)()
669
+ ])(),
670
+ gpuQueueReservation: $pick([
671
+ () => undefined,
672
+ () => null,
673
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
674
+ ])(),
675
+ gpuQueueLimit: $pick([
676
+ () => undefined,
677
+ () => null,
678
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
679
+ ])(),
680
+ gpuQueueValue: $pick([
681
+ () => undefined,
682
+ () => null,
683
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
684
+ ])(),
685
+ gpuQueueTotal: $pick([
686
+ () => undefined,
687
+ () => null,
688
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
689
+ ])(),
690
+ gpuEncoder: $pick([
691
+ () => undefined,
692
+ () => null,
693
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
694
+ ])(),
695
+ gpuEncoderLimit: $pick([
696
+ () => undefined,
697
+ () => null,
698
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
699
+ ])(),
700
+ gpuEncoderValue: $pick([
701
+ () => undefined,
702
+ () => null,
703
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
704
+ ])(),
705
+ gpuEncoderTotal: $pick([
706
+ () => undefined,
707
+ () => null,
708
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
709
+ ])(),
710
+ gpuDecoder: $pick([
711
+ () => undefined,
712
+ () => null,
713
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
714
+ ])(),
715
+ gpuDecoderLimit: $pick([
716
+ () => undefined,
717
+ () => null,
718
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
719
+ ])(),
720
+ gpuDecoderValue: $pick([
721
+ () => undefined,
722
+ () => null
723
+ ])(),
724
+ gpuDecoderTotal: $pick([
725
+ () => undefined,
726
+ () => null,
727
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
728
+ ])(),
729
+ netAvailable: $pick([
730
+ () => undefined,
731
+ () => null,
732
+ () => (generator?.boolean ?? $generator.boolean)()
733
+ ])(),
734
+ netTransferAvailable: $pick([
735
+ () => undefined,
736
+ () => null,
737
+ () => (generator?.boolean ?? $generator.boolean)()
738
+ ])(),
739
+ netTransferReservation: $pick([
740
+ () => undefined,
741
+ () => null,
742
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
743
+ ])(),
744
+ netTransfer: $pick([
745
+ () => undefined,
746
+ () => null,
747
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
748
+ ])(),
749
+ netTransferLimit: $pick([
750
+ () => undefined,
751
+ () => null,
752
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
753
+ ])(),
754
+ netTransferValue: $pick([
755
+ () => undefined,
756
+ () => null,
757
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
758
+ ])(),
759
+ netTransferTotal: $pick([
760
+ () => undefined,
761
+ () => null,
762
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
763
+ ])(),
764
+ cpu: $pick([
765
+ () => undefined,
766
+ () => null,
767
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
768
+ ])(),
769
+ memory: $pick([
770
+ () => undefined,
771
+ () => null,
772
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
773
+ ])(),
774
+ activeCount: $pick([
775
+ () => null,
776
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
777
+ ])(),
778
+ totalCount: $pick([
779
+ () => null,
780
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
781
+ ])(),
782
+ gpuStat: $pick([
783
+ () => undefined,
784
+ () => null,
785
+ () => $ro2(_recursive, _recursive ? 1 + _depth : _depth)
786
+ ])(),
787
+ cpuStat: $pick([
788
+ () => undefined,
789
+ () => null,
790
+ () => $ro3(_recursive, _recursive ? 1 + _depth : _depth)
791
+ ])(),
792
+ netStat: $pick([
793
+ () => undefined,
794
+ () => null,
795
+ () => $ro8(_recursive, _recursive ? 1 + _depth : _depth)
796
+ ])()
797
+ });
798
+ const $ro1 = (_recursive = false, _depth = 0) => {
799
+ const output = {};
800
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
801
+ return output;
802
+ };
803
+ const $ro2 = (_recursive = false, _depth = 0) => {
804
+ const output = {};
805
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
806
+ return output;
807
+ };
808
+ const $ro3 = (_recursive = false, _depth = 0) => ({
809
+ cpu: $ro4(_recursive, _recursive ? 1 + _depth : _depth),
810
+ mem: $ro5(_recursive, _recursive ? 1 + _depth : _depth)
811
+ });
812
+ const $ro4 = (_recursive = false, _depth = 0) => ({
813
+ idle: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
814
+ total: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
815
+ });
816
+ const $ro5 = (_recursive = false, _depth = 0) => ({
817
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
818
+ total: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
819
+ arcstats: $ro6(_recursive, _recursive ? 1 + _depth : _depth),
820
+ meminfo: $ro7(_recursive, _recursive ? 1 + _depth : _depth)
821
+ });
822
+ const $ro6 = (_recursive = false, _depth = 0) => ({
823
+ size: $pick([
824
+ () => null,
825
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
826
+ ])()
827
+ });
828
+ const $ro7 = (_recursive = false, _depth = 0) => ({
829
+ total: $pick([
830
+ () => null,
831
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
832
+ ])(),
833
+ free: $pick([
834
+ () => null,
835
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
836
+ ])(),
837
+ used: $pick([
838
+ () => null,
839
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
840
+ ])(),
841
+ active: $pick([
842
+ () => null,
843
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
844
+ ])(),
845
+ available: $pick([
846
+ () => null,
847
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
848
+ ])(),
849
+ buffers: $pick([
850
+ () => null,
851
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
852
+ ])(),
853
+ cached: $pick([
854
+ () => null,
855
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
856
+ ])(),
857
+ buffcache: $pick([
858
+ () => null,
859
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
860
+ ])(),
861
+ reclaimable: $pick([
862
+ () => null,
863
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
864
+ ])(),
865
+ swaptotal: $pick([
866
+ () => null,
867
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
868
+ ])(),
869
+ swapused: $pick([
870
+ () => null,
871
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
872
+ ])(),
873
+ swapfree: $pick([
874
+ () => null,
875
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
876
+ ])(),
877
+ slab: $pick([
878
+ () => null,
879
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
880
+ ])(),
881
+ sReclaimable: $pick([
882
+ () => null,
883
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
884
+ ])(),
885
+ kernelStack: $pick([
886
+ () => null,
887
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
888
+ ])(),
889
+ memTotal: $pick([
890
+ () => null,
891
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
892
+ ])(),
893
+ memAvailable: $pick([
894
+ () => null,
895
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
896
+ ])()
897
+ });
898
+ const $ro8 = (_recursive = false, _depth = 0) => ({
899
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
900
+ type: $pick([
901
+ () => undefined,
902
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
903
+ ])(),
904
+ dev: $pick([
905
+ () => undefined,
906
+ () => $ro9(_recursive, _recursive ? 1 + _depth : _depth)
907
+ ])()
908
+ });
909
+ const $ro9 = (_recursive = false, _depth = 0) => ({
910
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
911
+ });
912
+ return $ro0();
913
+ };
914
+ export const assertGuardRenderDomainStatsRecord = (input, errorFactory) => {
915
+ const __is = input => {
916
+ const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory) && (null === input.activeCount || "number" === typeof input.activeCount) && (null === input.totalCount || "number" === typeof input.totalCount) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && $io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && $io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && $io8(input.netStat));
917
+ const $io1 = input => Object.keys(input).every(key => {
918
+ const value = input[key];
919
+ if (undefined === value)
920
+ return true;
921
+ return true;
922
+ });
923
+ const $io2 = input => Object.keys(input).every(key => {
924
+ const value = input[key];
925
+ if (undefined === value)
926
+ return true;
927
+ return true;
928
+ });
929
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
930
+ const $io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
931
+ const $io6 = input => null === input.size || "number" === typeof input.size;
932
+ const $io7 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
933
+ const $io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
934
+ const $io9 = input => "number" === typeof input.used;
935
+ return "object" === typeof input && null !== input && $io0(input);
936
+ };
937
+ if (false === __is(input))
938
+ ((input, _path, _exceptionable = true) => {
939
+ const $guard = __typia.createAssertGuard.guard;
940
+ const $join = __typia.createAssertGuard.join;
941
+ const $ao0 = (input, _path, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress || $guard(_exceptionable, {
942
+ path: _path + ".progress",
943
+ expected: "(null | number | undefined)",
944
+ value: input.progress
945
+ }, errorFactory)) && (null === input.error || undefined === input.error || (Array.isArray(input.error) || $guard(_exceptionable, {
946
+ path: _path + ".error",
947
+ expected: "(Array<Record<string, unknown>> | null | undefined)",
948
+ value: input.error
949
+ }, errorFactory)) && input.error.every((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
950
+ path: _path + ".error[" + _index1 + "]",
951
+ expected: "Record<string, unknown>",
952
+ value: elem
953
+ }, errorFactory)) && $ao1(elem, _path + ".error[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
954
+ path: _path + ".error[" + _index1 + "]",
955
+ expected: "Record<string, unknown>",
956
+ value: elem
957
+ }, errorFactory)) || $guard(_exceptionable, {
958
+ path: _path + ".error",
959
+ expected: "(Array<Record<string, unknown>> | null | undefined)",
960
+ value: input.error
961
+ }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || (Array.isArray(input.status) || $guard(_exceptionable, {
962
+ path: _path + ".status",
963
+ expected: "(Array<string> | null | string | undefined)",
964
+ value: input.status
965
+ }, errorFactory)) && input.status.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
966
+ path: _path + ".status[" + _index2 + "]",
967
+ expected: "string",
968
+ value: elem
969
+ }, errorFactory)) || $guard(_exceptionable, {
970
+ path: _path + ".status",
971
+ expected: "(Array<string> | null | string | undefined)",
972
+ value: input.status
973
+ }, errorFactory)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag || $guard(_exceptionable, {
974
+ path: _path + ".lag",
975
+ expected: "(null | number | undefined)",
976
+ value: input.lag
977
+ }, errorFactory)) && (null === input.available || undefined === input.available || "boolean" === typeof input.available || $guard(_exceptionable, {
978
+ path: _path + ".available",
979
+ expected: "(boolean | null | undefined)",
980
+ value: input.available
981
+ }, errorFactory)) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy || $guard(_exceptionable, {
982
+ path: _path + ".toobusy",
983
+ expected: "(boolean | null | undefined)",
984
+ value: input.toobusy
985
+ }, errorFactory)) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable || $guard(_exceptionable, {
986
+ path: _path + ".cpuAvailable",
987
+ expected: "(boolean | null | undefined)",
988
+ value: input.cpuAvailable
989
+ }, errorFactory)) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable || $guard(_exceptionable, {
990
+ path: _path + ".cpuComputeAvailable",
991
+ expected: "(boolean | null | undefined)",
992
+ value: input.cpuComputeAvailable
993
+ }, errorFactory)) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation || $guard(_exceptionable, {
994
+ path: _path + ".cpuComputeReservation",
995
+ expected: "(null | number | undefined)",
996
+ value: input.cpuComputeReservation
997
+ }, errorFactory)) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute || $guard(_exceptionable, {
998
+ path: _path + ".cpuCompute",
999
+ expected: "(null | number | undefined)",
1000
+ value: input.cpuCompute
1001
+ }, errorFactory)) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit || $guard(_exceptionable, {
1002
+ path: _path + ".cpuComputeLimit",
1003
+ expected: "(null | number | undefined)",
1004
+ value: input.cpuComputeLimit
1005
+ }, errorFactory)) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal || $guard(_exceptionable, {
1006
+ path: _path + ".cpuComputeTotal",
1007
+ expected: "(null | number | undefined)",
1008
+ value: input.cpuComputeTotal
1009
+ }, errorFactory)) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue || $guard(_exceptionable, {
1010
+ path: _path + ".cpuComputeValue",
1011
+ expected: "(null | number | undefined)",
1012
+ value: input.cpuComputeValue
1013
+ }, errorFactory)) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable || $guard(_exceptionable, {
1014
+ path: _path + ".cpuMemoryAvailable",
1015
+ expected: "(boolean | null | undefined)",
1016
+ value: input.cpuMemoryAvailable
1017
+ }, errorFactory)) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation || $guard(_exceptionable, {
1018
+ path: _path + ".cpuMemoryReservation",
1019
+ expected: "(null | number | undefined)",
1020
+ value: input.cpuMemoryReservation
1021
+ }, errorFactory)) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory || $guard(_exceptionable, {
1022
+ path: _path + ".cpuMemory",
1023
+ expected: "(null | number | undefined)",
1024
+ value: input.cpuMemory
1025
+ }, errorFactory)) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit || $guard(_exceptionable, {
1026
+ path: _path + ".cpuMemoryLimit",
1027
+ expected: "(null | number | undefined)",
1028
+ value: input.cpuMemoryLimit
1029
+ }, errorFactory)) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue || $guard(_exceptionable, {
1030
+ path: _path + ".cpuMemoryValue",
1031
+ expected: "(null | number | undefined)",
1032
+ value: input.cpuMemoryValue
1033
+ }, errorFactory)) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal || $guard(_exceptionable, {
1034
+ path: _path + ".cpuMemoryTotal",
1035
+ expected: "(null | number | undefined)",
1036
+ value: input.cpuMemoryTotal
1037
+ }, errorFactory)) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType || $guard(_exceptionable, {
1038
+ path: _path + ".gpuType",
1039
+ expected: "(null | string | undefined)",
1040
+ value: input.gpuType
1041
+ }, errorFactory)) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable || $guard(_exceptionable, {
1042
+ path: _path + ".gpuAvailable",
1043
+ expected: "(boolean | null | undefined)",
1044
+ value: input.gpuAvailable
1045
+ }, errorFactory)) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable || $guard(_exceptionable, {
1046
+ path: _path + ".gpuComputeAvailable",
1047
+ expected: "(boolean | null | undefined)",
1048
+ value: input.gpuComputeAvailable
1049
+ }, errorFactory)) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation || $guard(_exceptionable, {
1050
+ path: _path + ".gpuComputeReservation",
1051
+ expected: "(null | number | undefined)",
1052
+ value: input.gpuComputeReservation
1053
+ }, errorFactory)) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute || $guard(_exceptionable, {
1054
+ path: _path + ".gpuCompute",
1055
+ expected: "(null | number | undefined)",
1056
+ value: input.gpuCompute
1057
+ }, errorFactory)) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit || $guard(_exceptionable, {
1058
+ path: _path + ".gpuComputeLimit",
1059
+ expected: "(null | number | undefined)",
1060
+ value: input.gpuComputeLimit
1061
+ }, errorFactory)) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue || $guard(_exceptionable, {
1062
+ path: _path + ".gpuComputeValue",
1063
+ expected: "(null | number | undefined)",
1064
+ value: input.gpuComputeValue
1065
+ }, errorFactory)) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal || $guard(_exceptionable, {
1066
+ path: _path + ".gpuComputeTotal",
1067
+ expected: "(null | number | undefined)",
1068
+ value: input.gpuComputeTotal
1069
+ }, errorFactory)) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable || $guard(_exceptionable, {
1070
+ path: _path + ".gpuMemoryAvailable",
1071
+ expected: "(boolean | null | undefined)",
1072
+ value: input.gpuMemoryAvailable
1073
+ }, errorFactory)) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation || $guard(_exceptionable, {
1074
+ path: _path + ".gpuMemoryReservation",
1075
+ expected: "(null | number | undefined)",
1076
+ value: input.gpuMemoryReservation
1077
+ }, errorFactory)) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory || $guard(_exceptionable, {
1078
+ path: _path + ".gpuMemory",
1079
+ expected: "(null | number | undefined)",
1080
+ value: input.gpuMemory
1081
+ }, errorFactory)) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit || $guard(_exceptionable, {
1082
+ path: _path + ".gpuMemoryLimit",
1083
+ expected: "(null | number | undefined)",
1084
+ value: input.gpuMemoryLimit
1085
+ }, errorFactory)) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue || $guard(_exceptionable, {
1086
+ path: _path + ".gpuMemoryValue",
1087
+ expected: "(null | number | undefined)",
1088
+ value: input.gpuMemoryValue
1089
+ }, errorFactory)) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal || $guard(_exceptionable, {
1090
+ path: _path + ".gpuMemoryTotal",
1091
+ expected: "(null | number | undefined)",
1092
+ value: input.gpuMemoryTotal
1093
+ }, errorFactory)) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable || $guard(_exceptionable, {
1094
+ path: _path + ".gpuQueueAvailable",
1095
+ expected: "(boolean | null | undefined)",
1096
+ value: input.gpuQueueAvailable
1097
+ }, errorFactory)) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation || $guard(_exceptionable, {
1098
+ path: _path + ".gpuQueueReservation",
1099
+ expected: "(null | number | undefined)",
1100
+ value: input.gpuQueueReservation
1101
+ }, errorFactory)) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit || $guard(_exceptionable, {
1102
+ path: _path + ".gpuQueueLimit",
1103
+ expected: "(null | number | undefined)",
1104
+ value: input.gpuQueueLimit
1105
+ }, errorFactory)) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue || $guard(_exceptionable, {
1106
+ path: _path + ".gpuQueueValue",
1107
+ expected: "(null | number | undefined)",
1108
+ value: input.gpuQueueValue
1109
+ }, errorFactory)) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal || $guard(_exceptionable, {
1110
+ path: _path + ".gpuQueueTotal",
1111
+ expected: "(null | number | undefined)",
1112
+ value: input.gpuQueueTotal
1113
+ }, errorFactory)) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder || $guard(_exceptionable, {
1114
+ path: _path + ".gpuEncoder",
1115
+ expected: "(null | number | undefined)",
1116
+ value: input.gpuEncoder
1117
+ }, errorFactory)) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit || $guard(_exceptionable, {
1118
+ path: _path + ".gpuEncoderLimit",
1119
+ expected: "(null | number | undefined)",
1120
+ value: input.gpuEncoderLimit
1121
+ }, errorFactory)) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue || $guard(_exceptionable, {
1122
+ path: _path + ".gpuEncoderValue",
1123
+ expected: "(null | number | undefined)",
1124
+ value: input.gpuEncoderValue
1125
+ }, errorFactory)) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal || $guard(_exceptionable, {
1126
+ path: _path + ".gpuEncoderTotal",
1127
+ expected: "(null | number | undefined)",
1128
+ value: input.gpuEncoderTotal
1129
+ }, errorFactory)) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder || $guard(_exceptionable, {
1130
+ path: _path + ".gpuDecoder",
1131
+ expected: "(null | number | undefined)",
1132
+ value: input.gpuDecoder
1133
+ }, errorFactory)) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit || $guard(_exceptionable, {
1134
+ path: _path + ".gpuDecoderLimit",
1135
+ expected: "(null | number | undefined)",
1136
+ value: input.gpuDecoderLimit
1137
+ }, errorFactory)) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || $guard(_exceptionable, {
1138
+ path: _path + ".gpuDecoderValue",
1139
+ expected: "(null | undefined)",
1140
+ value: input.gpuDecoderValue
1141
+ }, errorFactory)) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal || $guard(_exceptionable, {
1142
+ path: _path + ".gpuDecoderTotal",
1143
+ expected: "(null | number | undefined)",
1144
+ value: input.gpuDecoderTotal
1145
+ }, errorFactory)) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable || $guard(_exceptionable, {
1146
+ path: _path + ".netAvailable",
1147
+ expected: "(boolean | null | undefined)",
1148
+ value: input.netAvailable
1149
+ }, errorFactory)) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable || $guard(_exceptionable, {
1150
+ path: _path + ".netTransferAvailable",
1151
+ expected: "(boolean | null | undefined)",
1152
+ value: input.netTransferAvailable
1153
+ }, errorFactory)) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation || $guard(_exceptionable, {
1154
+ path: _path + ".netTransferReservation",
1155
+ expected: "(null | number | undefined)",
1156
+ value: input.netTransferReservation
1157
+ }, errorFactory)) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer || $guard(_exceptionable, {
1158
+ path: _path + ".netTransfer",
1159
+ expected: "(null | number | undefined)",
1160
+ value: input.netTransfer
1161
+ }, errorFactory)) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit || $guard(_exceptionable, {
1162
+ path: _path + ".netTransferLimit",
1163
+ expected: "(null | number | undefined)",
1164
+ value: input.netTransferLimit
1165
+ }, errorFactory)) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue || $guard(_exceptionable, {
1166
+ path: _path + ".netTransferValue",
1167
+ expected: "(null | number | undefined)",
1168
+ value: input.netTransferValue
1169
+ }, errorFactory)) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal || $guard(_exceptionable, {
1170
+ path: _path + ".netTransferTotal",
1171
+ expected: "(null | number | undefined)",
1172
+ value: input.netTransferTotal
1173
+ }, errorFactory)) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu || $guard(_exceptionable, {
1174
+ path: _path + ".cpu",
1175
+ expected: "(null | number | undefined)",
1176
+ value: input.cpu
1177
+ }, errorFactory)) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory || $guard(_exceptionable, {
1178
+ path: _path + ".memory",
1179
+ expected: "(null | number | undefined)",
1180
+ value: input.memory
1181
+ }, errorFactory)) && (null === input.activeCount || "number" === typeof input.activeCount || $guard(_exceptionable, {
1182
+ path: _path + ".activeCount",
1183
+ expected: "(null | number)",
1184
+ value: input.activeCount
1185
+ }, errorFactory)) && (null === input.totalCount || "number" === typeof input.totalCount || $guard(_exceptionable, {
1186
+ path: _path + ".totalCount",
1187
+ expected: "(null | number)",
1188
+ value: input.totalCount
1189
+ }, errorFactory)) && (null === input.gpuStat || undefined === input.gpuStat || ("object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) || $guard(_exceptionable, {
1190
+ path: _path + ".gpuStat",
1191
+ expected: "(RenderDomainGpuStats | null | undefined)",
1192
+ value: input.gpuStat
1193
+ }, errorFactory)) && $ao2(input.gpuStat, _path + ".gpuStat", true && _exceptionable) || $guard(_exceptionable, {
1194
+ path: _path + ".gpuStat",
1195
+ expected: "(RenderDomainGpuStats | null | undefined)",
1196
+ value: input.gpuStat
1197
+ }, errorFactory)) && (null === input.cpuStat || undefined === input.cpuStat || ("object" === typeof input.cpuStat && null !== input.cpuStat || $guard(_exceptionable, {
1198
+ path: _path + ".cpuStat",
1199
+ expected: "(RenderDomainCpuStats | null | undefined)",
1200
+ value: input.cpuStat
1201
+ }, errorFactory)) && $ao3(input.cpuStat, _path + ".cpuStat", true && _exceptionable) || $guard(_exceptionable, {
1202
+ path: _path + ".cpuStat",
1203
+ expected: "(RenderDomainCpuStats | null | undefined)",
1204
+ value: input.cpuStat
1205
+ }, errorFactory)) && (null === input.netStat || undefined === input.netStat || ("object" === typeof input.netStat && null !== input.netStat || $guard(_exceptionable, {
1206
+ path: _path + ".netStat",
1207
+ expected: "(RenderDomainNetStats | null | undefined)",
1208
+ value: input.netStat
1209
+ }, errorFactory)) && $ao8(input.netStat, _path + ".netStat", true && _exceptionable) || $guard(_exceptionable, {
1210
+ path: _path + ".netStat",
1211
+ expected: "(RenderDomainNetStats | null | undefined)",
1212
+ value: input.netStat
1213
+ }, errorFactory));
1214
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1215
+ const value = input[key];
1216
+ if (undefined === value)
1217
+ return true;
1218
+ return true;
1219
+ });
1220
+ const $ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1221
+ const value = input[key];
1222
+ if (undefined === value)
1223
+ return true;
1224
+ return true;
1225
+ });
1226
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
1227
+ path: _path + ".cpu",
1228
+ expected: "__type",
1229
+ value: input.cpu
1230
+ }, errorFactory)) && $ao4(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
1231
+ path: _path + ".cpu",
1232
+ expected: "__type",
1233
+ value: input.cpu
1234
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
1235
+ path: _path + ".mem",
1236
+ expected: "__type.o1",
1237
+ value: input.mem
1238
+ }, errorFactory)) && $ao5(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
1239
+ path: _path + ".mem",
1240
+ expected: "__type.o1",
1241
+ value: input.mem
1242
+ }, errorFactory));
1243
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle || $guard(_exceptionable, {
1244
+ path: _path + ".idle",
1245
+ expected: "number",
1246
+ value: input.idle
1247
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
1248
+ path: _path + ".total",
1249
+ expected: "number",
1250
+ value: input.total
1251
+ }, errorFactory));
1252
+ const $ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
1253
+ path: _path + ".used",
1254
+ expected: "number",
1255
+ value: input.used
1256
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
1257
+ path: _path + ".total",
1258
+ expected: "number",
1259
+ value: input.total
1260
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
1261
+ path: _path + ".arcstats",
1262
+ expected: "__type.o2",
1263
+ value: input.arcstats
1264
+ }, errorFactory)) && $ao6(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
1265
+ path: _path + ".arcstats",
1266
+ expected: "__type.o2",
1267
+ value: input.arcstats
1268
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
1269
+ path: _path + ".meminfo",
1270
+ expected: "__type.o3",
1271
+ value: input.meminfo
1272
+ }, errorFactory)) && $ao7(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
1273
+ path: _path + ".meminfo",
1274
+ expected: "__type.o3",
1275
+ value: input.meminfo
1276
+ }, errorFactory));
1277
+ const $ao6 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size || $guard(_exceptionable, {
1278
+ path: _path + ".size",
1279
+ expected: "(null | number)",
1280
+ value: input.size
1281
+ }, errorFactory);
1282
+ const $ao7 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total || $guard(_exceptionable, {
1283
+ path: _path + ".total",
1284
+ expected: "(null | number)",
1285
+ value: input.total
1286
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free || $guard(_exceptionable, {
1287
+ path: _path + ".free",
1288
+ expected: "(null | number)",
1289
+ value: input.free
1290
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used || $guard(_exceptionable, {
1291
+ path: _path + ".used",
1292
+ expected: "(null | number)",
1293
+ value: input.used
1294
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active || $guard(_exceptionable, {
1295
+ path: _path + ".active",
1296
+ expected: "(null | number)",
1297
+ value: input.active
1298
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available || $guard(_exceptionable, {
1299
+ path: _path + ".available",
1300
+ expected: "(null | number)",
1301
+ value: input.available
1302
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers || $guard(_exceptionable, {
1303
+ path: _path + ".buffers",
1304
+ expected: "(null | number)",
1305
+ value: input.buffers
1306
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached || $guard(_exceptionable, {
1307
+ path: _path + ".cached",
1308
+ expected: "(null | number)",
1309
+ value: input.cached
1310
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache || $guard(_exceptionable, {
1311
+ path: _path + ".buffcache",
1312
+ expected: "(null | number)",
1313
+ value: input.buffcache
1314
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable || $guard(_exceptionable, {
1315
+ path: _path + ".reclaimable",
1316
+ expected: "(null | number)",
1317
+ value: input.reclaimable
1318
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal || $guard(_exceptionable, {
1319
+ path: _path + ".swaptotal",
1320
+ expected: "(null | number)",
1321
+ value: input.swaptotal
1322
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused || $guard(_exceptionable, {
1323
+ path: _path + ".swapused",
1324
+ expected: "(null | number)",
1325
+ value: input.swapused
1326
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree || $guard(_exceptionable, {
1327
+ path: _path + ".swapfree",
1328
+ expected: "(null | number)",
1329
+ value: input.swapfree
1330
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab || $guard(_exceptionable, {
1331
+ path: _path + ".slab",
1332
+ expected: "(null | number)",
1333
+ value: input.slab
1334
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable || $guard(_exceptionable, {
1335
+ path: _path + ".sReclaimable",
1336
+ expected: "(null | number)",
1337
+ value: input.sReclaimable
1338
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack || $guard(_exceptionable, {
1339
+ path: _path + ".kernelStack",
1340
+ expected: "(null | number)",
1341
+ value: input.kernelStack
1342
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal || $guard(_exceptionable, {
1343
+ path: _path + ".memTotal",
1344
+ expected: "(null | number)",
1345
+ value: input.memTotal
1346
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable || $guard(_exceptionable, {
1347
+ path: _path + ".memAvailable",
1348
+ expected: "(null | number)",
1349
+ value: input.memAvailable
1350
+ }, errorFactory));
1351
+ const $ao8 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
1352
+ path: _path + ".used",
1353
+ expected: "number",
1354
+ value: input.used
1355
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
1356
+ path: _path + ".type",
1357
+ expected: "(string | undefined)",
1358
+ value: input.type
1359
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
1360
+ path: _path + ".dev",
1361
+ expected: "(__type.o4 | undefined)",
1362
+ value: input.dev
1363
+ }, errorFactory)) && $ao9(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
1364
+ path: _path + ".dev",
1365
+ expected: "(__type.o4 | undefined)",
1366
+ value: input.dev
1367
+ }, errorFactory));
1368
+ const $ao9 = (input, _path, _exceptionable = true) => "number" === typeof input.used || $guard(_exceptionable, {
1369
+ path: _path + ".used",
1370
+ expected: "number",
1371
+ value: input.used
1372
+ }, errorFactory);
1373
+ return ("object" === typeof input && null !== input || $guard(true, {
1374
+ path: _path + "",
1375
+ expected: "RenderDomainStatsRecord",
1376
+ value: input
1377
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1378
+ path: _path + "",
1379
+ expected: "RenderDomainStatsRecord",
1380
+ value: input
1381
+ }, errorFactory);
1382
+ })(input, "$input", true);
1383
+ };
1384
+ export const stringifyRenderDomainStatsRecord = input => {
1385
+ const $io1 = input => Object.keys(input).every(key => {
1386
+ const value = input[key];
1387
+ if (undefined === value)
1388
+ return true;
1389
+ return true;
1390
+ });
1391
+ const $io2 = input => Object.keys(input).every(key => {
1392
+ const value = input[key];
1393
+ if (undefined === value)
1394
+ return true;
1395
+ return true;
1396
+ });
1397
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && $io4(input.cpu) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
1398
+ const $io4 = input => "number" === typeof input.idle && "number" === typeof input.total;
1399
+ const $io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
1400
+ const $io6 = input => null === input.size || "number" === typeof input.size;
1401
+ const $io7 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
1402
+ const $io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
1403
+ const $io9 = input => "number" === typeof input.used;
1404
+ const $string = __typia.json.createStringify.string;
1405
+ const $throws = __typia.json.createStringify.throws;
1406
+ const $so0 = input => `{${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => $so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? (() => {
1407
+ if ("string" === typeof input.status)
1408
+ return $string(input.status);
1409
+ if (Array.isArray(input.status))
1410
+ return `[${input.status.map(elem => $string(elem)).join(",")}]`;
1411
+ $throws({
1412
+ expected: "(Array<string> | null | string | undefined)",
1413
+ value: input.status
1414
+ });
1415
+ })() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? input.lag : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? input.available : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? input.toobusy : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? input.cpuAvailable : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? input.cpuComputeAvailable : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? input.cpuComputeReservation : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? input.cpuCompute : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? input.cpuComputeLimit : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? input.cpuComputeTotal : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? input.cpuComputeValue : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? input.cpuMemoryAvailable : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? input.cpuMemoryReservation : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? input.cpuMemory : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? input.cpuMemoryLimit : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? input.cpuMemoryValue : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? input.cpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuType ? "" : `"gpuType":${undefined !== input.gpuType ? null !== input.gpuType ? $string(input.gpuType) : "null" : undefined},`}${undefined === input.gpuAvailable ? "" : `"gpuAvailable":${undefined !== input.gpuAvailable ? null !== input.gpuAvailable ? input.gpuAvailable : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? input.gpuComputeAvailable : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? input.gpuComputeReservation : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? input.gpuCompute : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? input.gpuComputeLimit : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? input.gpuComputeValue : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? input.gpuComputeTotal : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? input.gpuMemoryAvailable : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? input.gpuMemoryReservation : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? input.gpuMemory : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? input.gpuMemoryLimit : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? input.gpuMemoryValue : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? input.gpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? input.gpuQueueAvailable : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? input.gpuQueueReservation : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? input.gpuQueueLimit : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? input.gpuQueueValue : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? input.gpuQueueTotal : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? input.gpuEncoder : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? input.gpuEncoderLimit : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? input.gpuEncoderValue : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? input.gpuEncoderTotal : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? input.gpuDecoder : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? input.gpuDecoderLimit : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${null === input.gpuDecoderValue ? "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? input.gpuDecoderTotal : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? input.netAvailable : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? input.netTransferAvailable : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? input.netTransferReservation : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? input.netTransfer : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? input.netTransferLimit : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? input.netTransferValue : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? input.netTransferTotal : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? input.cpu : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? input.memory : "null" : undefined},`}${undefined === input.gpuStat ? "" : `"gpuStat":${undefined !== input.gpuStat ? null !== input.gpuStat ? $so2(input.gpuStat) : "null" : undefined},`}${undefined === input.cpuStat ? "" : `"cpuStat":${undefined !== input.cpuStat ? null !== input.cpuStat ? $so3(input.cpuStat) : "null" : undefined},`}${undefined === input.netStat ? "" : `"netStat":${undefined !== input.netStat ? null !== input.netStat ? $so8(input.netStat) : "null" : undefined},`}"activeCount":${null !== input.activeCount ? input.activeCount : "null"},"totalCount":${null !== input.totalCount ? input.totalCount : "null"}}`;
1416
+ const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1417
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
1418
+ const $so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1419
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
1420
+ const $so3 = input => `{"cpu":${`{"idle":${input.cpu.idle},"total":${input.cpu.total}}`},"mem":${$so5(input.mem)}}`;
1421
+ const $so5 = input => `{"used":${input.used},"total":${input.total},"arcstats":${$so6(input.arcstats)},"meminfo":${$so7(input.meminfo)}}`;
1422
+ const $so6 = input => `{"size":${null !== input.size ? input.size : "null"}}`;
1423
+ const $so7 = input => `{"total":${null !== input.total ? input.total : "null"},"free":${null !== input.free ? input.free : "null"},"used":${null !== input.used ? input.used : "null"},"active":${null !== input.active ? input.active : "null"},"available":${null !== input.available ? input.available : "null"},"buffers":${null !== input.buffers ? input.buffers : "null"},"cached":${null !== input.cached ? input.cached : "null"},"buffcache":${null !== input.buffcache ? input.buffcache : "null"},"reclaimable":${null !== input.reclaimable ? input.reclaimable : "null"},"swaptotal":${null !== input.swaptotal ? input.swaptotal : "null"},"swapused":${null !== input.swapused ? input.swapused : "null"},"swapfree":${null !== input.swapfree ? input.swapfree : "null"},"slab":${null !== input.slab ? input.slab : "null"},"sReclaimable":${null !== input.sReclaimable ? input.sReclaimable : "null"},"kernelStack":${null !== input.kernelStack ? input.kernelStack : "null"},"memTotal":${null !== input.memTotal ? input.memTotal : "null"},"memAvailable":${null !== input.memAvailable ? input.memAvailable : "null"}}`;
1424
+ const $so8 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.dev ? "" : `"dev":${undefined !== input.dev ? `{"used":${input.dev.used}}` : undefined},`}"used":${input.used}}`;
1425
+ return $so0(input);
1426
+ };
1427
+ export const assertStringifyRenderDomainStatsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
1428
+ const __is = input => {
1429
+ const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress && !Number.isNaN(input.progress)) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status || Array.isArray(input.status) && input.status.every(elem => "string" === typeof elem)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag && !Number.isNaN(input.lag)) && (null === input.available || undefined === input.available || "boolean" === typeof input.available) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation && !Number.isNaN(input.cpuComputeReservation)) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute && !Number.isNaN(input.cpuCompute)) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit && !Number.isNaN(input.cpuComputeLimit)) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal && !Number.isNaN(input.cpuComputeTotal)) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue && !Number.isNaN(input.cpuComputeValue)) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation && !Number.isNaN(input.cpuMemoryReservation)) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory && !Number.isNaN(input.cpuMemory)) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit && !Number.isNaN(input.cpuMemoryLimit)) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue && !Number.isNaN(input.cpuMemoryValue)) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal && !Number.isNaN(input.cpuMemoryTotal)) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation && !Number.isNaN(input.gpuComputeReservation)) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute && !Number.isNaN(input.gpuCompute)) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit && !Number.isNaN(input.gpuComputeLimit)) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue && !Number.isNaN(input.gpuComputeValue)) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal && !Number.isNaN(input.gpuComputeTotal)) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation && !Number.isNaN(input.gpuMemoryReservation)) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory && !Number.isNaN(input.gpuMemory)) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit && !Number.isNaN(input.gpuMemoryLimit)) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue && !Number.isNaN(input.gpuMemoryValue)) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal && !Number.isNaN(input.gpuMemoryTotal)) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation && !Number.isNaN(input.gpuQueueReservation)) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit && !Number.isNaN(input.gpuQueueLimit)) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue && !Number.isNaN(input.gpuQueueValue)) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal && !Number.isNaN(input.gpuQueueTotal)) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder && !Number.isNaN(input.gpuEncoder)) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit && !Number.isNaN(input.gpuEncoderLimit)) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue && !Number.isNaN(input.gpuEncoderValue)) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal && !Number.isNaN(input.gpuEncoderTotal)) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder && !Number.isNaN(input.gpuDecoder)) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit && !Number.isNaN(input.gpuDecoderLimit)) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal && !Number.isNaN(input.gpuDecoderTotal)) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation && !Number.isNaN(input.netTransferReservation)) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer && !Number.isNaN(input.netTransfer)) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit && !Number.isNaN(input.netTransferLimit)) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue && !Number.isNaN(input.netTransferValue)) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal && !Number.isNaN(input.netTransferTotal)) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu && !Number.isNaN(input.cpu)) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory && !Number.isNaN(input.memory)) && (null === input.activeCount || "number" === typeof input.activeCount && !Number.isNaN(input.activeCount)) && (null === input.totalCount || "number" === typeof input.totalCount && !Number.isNaN(input.totalCount)) && (null === input.gpuStat || undefined === input.gpuStat || "object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) && $io2(input.gpuStat)) && (null === input.cpuStat || undefined === input.cpuStat || "object" === typeof input.cpuStat && null !== input.cpuStat && $io3(input.cpuStat)) && (null === input.netStat || undefined === input.netStat || "object" === typeof input.netStat && null !== input.netStat && $io8(input.netStat));
1430
+ const $io1 = input => Object.keys(input).every(key => {
1431
+ const value = input[key];
1432
+ if (undefined === value)
1433
+ return true;
1434
+ return true;
1435
+ });
1436
+ const $io2 = input => Object.keys(input).every(key => {
1437
+ const value = input[key];
1438
+ if (undefined === value)
1439
+ return true;
1440
+ return true;
1441
+ });
1442
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && !Number.isNaN(input.cpu.idle) && ("number" === typeof input.cpu.total && !Number.isNaN(input.cpu.total))) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
1443
+ const $io5 = input => "number" === typeof input.used && !Number.isNaN(input.used) && ("number" === typeof input.total && !Number.isNaN(input.total)) && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
1444
+ const $io6 = input => null === input.size || "number" === typeof input.size && !Number.isNaN(input.size);
1445
+ const $io7 = input => (null === input.total || "number" === typeof input.total && !Number.isNaN(input.total)) && (null === input.free || "number" === typeof input.free && !Number.isNaN(input.free)) && (null === input.used || "number" === typeof input.used && !Number.isNaN(input.used)) && (null === input.active || "number" === typeof input.active && !Number.isNaN(input.active)) && (null === input.available || "number" === typeof input.available && !Number.isNaN(input.available)) && (null === input.buffers || "number" === typeof input.buffers && !Number.isNaN(input.buffers)) && (null === input.cached || "number" === typeof input.cached && !Number.isNaN(input.cached)) && (null === input.buffcache || "number" === typeof input.buffcache && !Number.isNaN(input.buffcache)) && (null === input.reclaimable || "number" === typeof input.reclaimable && !Number.isNaN(input.reclaimable)) && (null === input.swaptotal || "number" === typeof input.swaptotal && !Number.isNaN(input.swaptotal)) && (null === input.swapused || "number" === typeof input.swapused && !Number.isNaN(input.swapused)) && (null === input.swapfree || "number" === typeof input.swapfree && !Number.isNaN(input.swapfree)) && (null === input.slab || "number" === typeof input.slab && !Number.isNaN(input.slab)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable && !Number.isNaN(input.sReclaimable)) && (null === input.kernelStack || "number" === typeof input.kernelStack && !Number.isNaN(input.kernelStack)) && (null === input.memTotal || "number" === typeof input.memTotal && !Number.isNaN(input.memTotal)) && (null === input.memAvailable || "number" === typeof input.memAvailable && !Number.isNaN(input.memAvailable));
1446
+ const $io8 = input => "number" === typeof input.used && !Number.isNaN(input.used) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
1447
+ const $io9 = input => "number" === typeof input.used && !Number.isNaN(input.used);
1448
+ return "object" === typeof input && null !== input && $io0(input);
1449
+ };
1450
+ if (false === __is(input))
1451
+ ((input, _path, _exceptionable = true) => {
1452
+ const $guard = __typia.json.createAssertStringify.guard;
1453
+ const $join = __typia.json.createAssertStringify.join;
1454
+ const $ao0 = (input, _path, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress && !Number.isNaN(input.progress) || $guard(_exceptionable, {
1455
+ path: _path + ".progress",
1456
+ expected: "(null | number | undefined)",
1457
+ value: input.progress
1458
+ }, errorFactory)) && (null === input.error || undefined === input.error || (Array.isArray(input.error) || $guard(_exceptionable, {
1459
+ path: _path + ".error",
1460
+ expected: "(Array<Record<string, unknown>> | null | undefined)",
1461
+ value: input.error
1462
+ }, errorFactory)) && input.error.every((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
1463
+ path: _path + ".error[" + _index1 + "]",
1464
+ expected: "Record<string, unknown>",
1465
+ value: elem
1466
+ }, errorFactory)) && $ao1(elem, _path + ".error[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
1467
+ path: _path + ".error[" + _index1 + "]",
1468
+ expected: "Record<string, unknown>",
1469
+ value: elem
1470
+ }, errorFactory)) || $guard(_exceptionable, {
1471
+ path: _path + ".error",
1472
+ expected: "(Array<Record<string, unknown>> | null | undefined)",
1473
+ value: input.error
1474
+ }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || (Array.isArray(input.status) || $guard(_exceptionable, {
1475
+ path: _path + ".status",
1476
+ expected: "(Array<string> | null | string | undefined)",
1477
+ value: input.status
1478
+ }, errorFactory)) && input.status.every((elem, _index2) => "string" === typeof elem || $guard(_exceptionable, {
1479
+ path: _path + ".status[" + _index2 + "]",
1480
+ expected: "string",
1481
+ value: elem
1482
+ }, errorFactory)) || $guard(_exceptionable, {
1483
+ path: _path + ".status",
1484
+ expected: "(Array<string> | null | string | undefined)",
1485
+ value: input.status
1486
+ }, errorFactory)) && (null === input.lag || undefined === input.lag || "number" === typeof input.lag && !Number.isNaN(input.lag) || $guard(_exceptionable, {
1487
+ path: _path + ".lag",
1488
+ expected: "(null | number | undefined)",
1489
+ value: input.lag
1490
+ }, errorFactory)) && (null === input.available || undefined === input.available || "boolean" === typeof input.available || $guard(_exceptionable, {
1491
+ path: _path + ".available",
1492
+ expected: "(boolean | null | undefined)",
1493
+ value: input.available
1494
+ }, errorFactory)) && (null === input.toobusy || undefined === input.toobusy || "boolean" === typeof input.toobusy || $guard(_exceptionable, {
1495
+ path: _path + ".toobusy",
1496
+ expected: "(boolean | null | undefined)",
1497
+ value: input.toobusy
1498
+ }, errorFactory)) && (null === input.cpuAvailable || undefined === input.cpuAvailable || "boolean" === typeof input.cpuAvailable || $guard(_exceptionable, {
1499
+ path: _path + ".cpuAvailable",
1500
+ expected: "(boolean | null | undefined)",
1501
+ value: input.cpuAvailable
1502
+ }, errorFactory)) && (null === input.cpuComputeAvailable || undefined === input.cpuComputeAvailable || "boolean" === typeof input.cpuComputeAvailable || $guard(_exceptionable, {
1503
+ path: _path + ".cpuComputeAvailable",
1504
+ expected: "(boolean | null | undefined)",
1505
+ value: input.cpuComputeAvailable
1506
+ }, errorFactory)) && (null === input.cpuComputeReservation || undefined === input.cpuComputeReservation || "number" === typeof input.cpuComputeReservation && !Number.isNaN(input.cpuComputeReservation) || $guard(_exceptionable, {
1507
+ path: _path + ".cpuComputeReservation",
1508
+ expected: "(null | number | undefined)",
1509
+ value: input.cpuComputeReservation
1510
+ }, errorFactory)) && (null === input.cpuCompute || undefined === input.cpuCompute || "number" === typeof input.cpuCompute && !Number.isNaN(input.cpuCompute) || $guard(_exceptionable, {
1511
+ path: _path + ".cpuCompute",
1512
+ expected: "(null | number | undefined)",
1513
+ value: input.cpuCompute
1514
+ }, errorFactory)) && (null === input.cpuComputeLimit || undefined === input.cpuComputeLimit || "number" === typeof input.cpuComputeLimit && !Number.isNaN(input.cpuComputeLimit) || $guard(_exceptionable, {
1515
+ path: _path + ".cpuComputeLimit",
1516
+ expected: "(null | number | undefined)",
1517
+ value: input.cpuComputeLimit
1518
+ }, errorFactory)) && (null === input.cpuComputeTotal || undefined === input.cpuComputeTotal || "number" === typeof input.cpuComputeTotal && !Number.isNaN(input.cpuComputeTotal) || $guard(_exceptionable, {
1519
+ path: _path + ".cpuComputeTotal",
1520
+ expected: "(null | number | undefined)",
1521
+ value: input.cpuComputeTotal
1522
+ }, errorFactory)) && (null === input.cpuComputeValue || undefined === input.cpuComputeValue || "number" === typeof input.cpuComputeValue && !Number.isNaN(input.cpuComputeValue) || $guard(_exceptionable, {
1523
+ path: _path + ".cpuComputeValue",
1524
+ expected: "(null | number | undefined)",
1525
+ value: input.cpuComputeValue
1526
+ }, errorFactory)) && (null === input.cpuMemoryAvailable || undefined === input.cpuMemoryAvailable || "boolean" === typeof input.cpuMemoryAvailable || $guard(_exceptionable, {
1527
+ path: _path + ".cpuMemoryAvailable",
1528
+ expected: "(boolean | null | undefined)",
1529
+ value: input.cpuMemoryAvailable
1530
+ }, errorFactory)) && (null === input.cpuMemoryReservation || undefined === input.cpuMemoryReservation || "number" === typeof input.cpuMemoryReservation && !Number.isNaN(input.cpuMemoryReservation) || $guard(_exceptionable, {
1531
+ path: _path + ".cpuMemoryReservation",
1532
+ expected: "(null | number | undefined)",
1533
+ value: input.cpuMemoryReservation
1534
+ }, errorFactory)) && (null === input.cpuMemory || undefined === input.cpuMemory || "number" === typeof input.cpuMemory && !Number.isNaN(input.cpuMemory) || $guard(_exceptionable, {
1535
+ path: _path + ".cpuMemory",
1536
+ expected: "(null | number | undefined)",
1537
+ value: input.cpuMemory
1538
+ }, errorFactory)) && (null === input.cpuMemoryLimit || undefined === input.cpuMemoryLimit || "number" === typeof input.cpuMemoryLimit && !Number.isNaN(input.cpuMemoryLimit) || $guard(_exceptionable, {
1539
+ path: _path + ".cpuMemoryLimit",
1540
+ expected: "(null | number | undefined)",
1541
+ value: input.cpuMemoryLimit
1542
+ }, errorFactory)) && (null === input.cpuMemoryValue || undefined === input.cpuMemoryValue || "number" === typeof input.cpuMemoryValue && !Number.isNaN(input.cpuMemoryValue) || $guard(_exceptionable, {
1543
+ path: _path + ".cpuMemoryValue",
1544
+ expected: "(null | number | undefined)",
1545
+ value: input.cpuMemoryValue
1546
+ }, errorFactory)) && (null === input.cpuMemoryTotal || undefined === input.cpuMemoryTotal || "number" === typeof input.cpuMemoryTotal && !Number.isNaN(input.cpuMemoryTotal) || $guard(_exceptionable, {
1547
+ path: _path + ".cpuMemoryTotal",
1548
+ expected: "(null | number | undefined)",
1549
+ value: input.cpuMemoryTotal
1550
+ }, errorFactory)) && (null === input.gpuType || undefined === input.gpuType || "string" === typeof input.gpuType || $guard(_exceptionable, {
1551
+ path: _path + ".gpuType",
1552
+ expected: "(null | string | undefined)",
1553
+ value: input.gpuType
1554
+ }, errorFactory)) && (null === input.gpuAvailable || undefined === input.gpuAvailable || "boolean" === typeof input.gpuAvailable || $guard(_exceptionable, {
1555
+ path: _path + ".gpuAvailable",
1556
+ expected: "(boolean | null | undefined)",
1557
+ value: input.gpuAvailable
1558
+ }, errorFactory)) && (null === input.gpuComputeAvailable || undefined === input.gpuComputeAvailable || "boolean" === typeof input.gpuComputeAvailable || $guard(_exceptionable, {
1559
+ path: _path + ".gpuComputeAvailable",
1560
+ expected: "(boolean | null | undefined)",
1561
+ value: input.gpuComputeAvailable
1562
+ }, errorFactory)) && (null === input.gpuComputeReservation || undefined === input.gpuComputeReservation || "number" === typeof input.gpuComputeReservation && !Number.isNaN(input.gpuComputeReservation) || $guard(_exceptionable, {
1563
+ path: _path + ".gpuComputeReservation",
1564
+ expected: "(null | number | undefined)",
1565
+ value: input.gpuComputeReservation
1566
+ }, errorFactory)) && (null === input.gpuCompute || undefined === input.gpuCompute || "number" === typeof input.gpuCompute && !Number.isNaN(input.gpuCompute) || $guard(_exceptionable, {
1567
+ path: _path + ".gpuCompute",
1568
+ expected: "(null | number | undefined)",
1569
+ value: input.gpuCompute
1570
+ }, errorFactory)) && (null === input.gpuComputeLimit || undefined === input.gpuComputeLimit || "number" === typeof input.gpuComputeLimit && !Number.isNaN(input.gpuComputeLimit) || $guard(_exceptionable, {
1571
+ path: _path + ".gpuComputeLimit",
1572
+ expected: "(null | number | undefined)",
1573
+ value: input.gpuComputeLimit
1574
+ }, errorFactory)) && (null === input.gpuComputeValue || undefined === input.gpuComputeValue || "number" === typeof input.gpuComputeValue && !Number.isNaN(input.gpuComputeValue) || $guard(_exceptionable, {
1575
+ path: _path + ".gpuComputeValue",
1576
+ expected: "(null | number | undefined)",
1577
+ value: input.gpuComputeValue
1578
+ }, errorFactory)) && (null === input.gpuComputeTotal || undefined === input.gpuComputeTotal || "number" === typeof input.gpuComputeTotal && !Number.isNaN(input.gpuComputeTotal) || $guard(_exceptionable, {
1579
+ path: _path + ".gpuComputeTotal",
1580
+ expected: "(null | number | undefined)",
1581
+ value: input.gpuComputeTotal
1582
+ }, errorFactory)) && (null === input.gpuMemoryAvailable || undefined === input.gpuMemoryAvailable || "boolean" === typeof input.gpuMemoryAvailable || $guard(_exceptionable, {
1583
+ path: _path + ".gpuMemoryAvailable",
1584
+ expected: "(boolean | null | undefined)",
1585
+ value: input.gpuMemoryAvailable
1586
+ }, errorFactory)) && (null === input.gpuMemoryReservation || undefined === input.gpuMemoryReservation || "number" === typeof input.gpuMemoryReservation && !Number.isNaN(input.gpuMemoryReservation) || $guard(_exceptionable, {
1587
+ path: _path + ".gpuMemoryReservation",
1588
+ expected: "(null | number | undefined)",
1589
+ value: input.gpuMemoryReservation
1590
+ }, errorFactory)) && (null === input.gpuMemory || undefined === input.gpuMemory || "number" === typeof input.gpuMemory && !Number.isNaN(input.gpuMemory) || $guard(_exceptionable, {
1591
+ path: _path + ".gpuMemory",
1592
+ expected: "(null | number | undefined)",
1593
+ value: input.gpuMemory
1594
+ }, errorFactory)) && (null === input.gpuMemoryLimit || undefined === input.gpuMemoryLimit || "number" === typeof input.gpuMemoryLimit && !Number.isNaN(input.gpuMemoryLimit) || $guard(_exceptionable, {
1595
+ path: _path + ".gpuMemoryLimit",
1596
+ expected: "(null | number | undefined)",
1597
+ value: input.gpuMemoryLimit
1598
+ }, errorFactory)) && (null === input.gpuMemoryValue || undefined === input.gpuMemoryValue || "number" === typeof input.gpuMemoryValue && !Number.isNaN(input.gpuMemoryValue) || $guard(_exceptionable, {
1599
+ path: _path + ".gpuMemoryValue",
1600
+ expected: "(null | number | undefined)",
1601
+ value: input.gpuMemoryValue
1602
+ }, errorFactory)) && (null === input.gpuMemoryTotal || undefined === input.gpuMemoryTotal || "number" === typeof input.gpuMemoryTotal && !Number.isNaN(input.gpuMemoryTotal) || $guard(_exceptionable, {
1603
+ path: _path + ".gpuMemoryTotal",
1604
+ expected: "(null | number | undefined)",
1605
+ value: input.gpuMemoryTotal
1606
+ }, errorFactory)) && (null === input.gpuQueueAvailable || undefined === input.gpuQueueAvailable || "boolean" === typeof input.gpuQueueAvailable || $guard(_exceptionable, {
1607
+ path: _path + ".gpuQueueAvailable",
1608
+ expected: "(boolean | null | undefined)",
1609
+ value: input.gpuQueueAvailable
1610
+ }, errorFactory)) && (null === input.gpuQueueReservation || undefined === input.gpuQueueReservation || "number" === typeof input.gpuQueueReservation && !Number.isNaN(input.gpuQueueReservation) || $guard(_exceptionable, {
1611
+ path: _path + ".gpuQueueReservation",
1612
+ expected: "(null | number | undefined)",
1613
+ value: input.gpuQueueReservation
1614
+ }, errorFactory)) && (null === input.gpuQueueLimit || undefined === input.gpuQueueLimit || "number" === typeof input.gpuQueueLimit && !Number.isNaN(input.gpuQueueLimit) || $guard(_exceptionable, {
1615
+ path: _path + ".gpuQueueLimit",
1616
+ expected: "(null | number | undefined)",
1617
+ value: input.gpuQueueLimit
1618
+ }, errorFactory)) && (null === input.gpuQueueValue || undefined === input.gpuQueueValue || "number" === typeof input.gpuQueueValue && !Number.isNaN(input.gpuQueueValue) || $guard(_exceptionable, {
1619
+ path: _path + ".gpuQueueValue",
1620
+ expected: "(null | number | undefined)",
1621
+ value: input.gpuQueueValue
1622
+ }, errorFactory)) && (null === input.gpuQueueTotal || undefined === input.gpuQueueTotal || "number" === typeof input.gpuQueueTotal && !Number.isNaN(input.gpuQueueTotal) || $guard(_exceptionable, {
1623
+ path: _path + ".gpuQueueTotal",
1624
+ expected: "(null | number | undefined)",
1625
+ value: input.gpuQueueTotal
1626
+ }, errorFactory)) && (null === input.gpuEncoder || undefined === input.gpuEncoder || "number" === typeof input.gpuEncoder && !Number.isNaN(input.gpuEncoder) || $guard(_exceptionable, {
1627
+ path: _path + ".gpuEncoder",
1628
+ expected: "(null | number | undefined)",
1629
+ value: input.gpuEncoder
1630
+ }, errorFactory)) && (null === input.gpuEncoderLimit || undefined === input.gpuEncoderLimit || "number" === typeof input.gpuEncoderLimit && !Number.isNaN(input.gpuEncoderLimit) || $guard(_exceptionable, {
1631
+ path: _path + ".gpuEncoderLimit",
1632
+ expected: "(null | number | undefined)",
1633
+ value: input.gpuEncoderLimit
1634
+ }, errorFactory)) && (null === input.gpuEncoderValue || undefined === input.gpuEncoderValue || "number" === typeof input.gpuEncoderValue && !Number.isNaN(input.gpuEncoderValue) || $guard(_exceptionable, {
1635
+ path: _path + ".gpuEncoderValue",
1636
+ expected: "(null | number | undefined)",
1637
+ value: input.gpuEncoderValue
1638
+ }, errorFactory)) && (null === input.gpuEncoderTotal || undefined === input.gpuEncoderTotal || "number" === typeof input.gpuEncoderTotal && !Number.isNaN(input.gpuEncoderTotal) || $guard(_exceptionable, {
1639
+ path: _path + ".gpuEncoderTotal",
1640
+ expected: "(null | number | undefined)",
1641
+ value: input.gpuEncoderTotal
1642
+ }, errorFactory)) && (null === input.gpuDecoder || undefined === input.gpuDecoder || "number" === typeof input.gpuDecoder && !Number.isNaN(input.gpuDecoder) || $guard(_exceptionable, {
1643
+ path: _path + ".gpuDecoder",
1644
+ expected: "(null | number | undefined)",
1645
+ value: input.gpuDecoder
1646
+ }, errorFactory)) && (null === input.gpuDecoderLimit || undefined === input.gpuDecoderLimit || "number" === typeof input.gpuDecoderLimit && !Number.isNaN(input.gpuDecoderLimit) || $guard(_exceptionable, {
1647
+ path: _path + ".gpuDecoderLimit",
1648
+ expected: "(null | number | undefined)",
1649
+ value: input.gpuDecoderLimit
1650
+ }, errorFactory)) && (null === input.gpuDecoderValue || undefined === input.gpuDecoderValue || $guard(_exceptionable, {
1651
+ path: _path + ".gpuDecoderValue",
1652
+ expected: "(null | undefined)",
1653
+ value: input.gpuDecoderValue
1654
+ }, errorFactory)) && (null === input.gpuDecoderTotal || undefined === input.gpuDecoderTotal || "number" === typeof input.gpuDecoderTotal && !Number.isNaN(input.gpuDecoderTotal) || $guard(_exceptionable, {
1655
+ path: _path + ".gpuDecoderTotal",
1656
+ expected: "(null | number | undefined)",
1657
+ value: input.gpuDecoderTotal
1658
+ }, errorFactory)) && (null === input.netAvailable || undefined === input.netAvailable || "boolean" === typeof input.netAvailable || $guard(_exceptionable, {
1659
+ path: _path + ".netAvailable",
1660
+ expected: "(boolean | null | undefined)",
1661
+ value: input.netAvailable
1662
+ }, errorFactory)) && (null === input.netTransferAvailable || undefined === input.netTransferAvailable || "boolean" === typeof input.netTransferAvailable || $guard(_exceptionable, {
1663
+ path: _path + ".netTransferAvailable",
1664
+ expected: "(boolean | null | undefined)",
1665
+ value: input.netTransferAvailable
1666
+ }, errorFactory)) && (null === input.netTransferReservation || undefined === input.netTransferReservation || "number" === typeof input.netTransferReservation && !Number.isNaN(input.netTransferReservation) || $guard(_exceptionable, {
1667
+ path: _path + ".netTransferReservation",
1668
+ expected: "(null | number | undefined)",
1669
+ value: input.netTransferReservation
1670
+ }, errorFactory)) && (null === input.netTransfer || undefined === input.netTransfer || "number" === typeof input.netTransfer && !Number.isNaN(input.netTransfer) || $guard(_exceptionable, {
1671
+ path: _path + ".netTransfer",
1672
+ expected: "(null | number | undefined)",
1673
+ value: input.netTransfer
1674
+ }, errorFactory)) && (null === input.netTransferLimit || undefined === input.netTransferLimit || "number" === typeof input.netTransferLimit && !Number.isNaN(input.netTransferLimit) || $guard(_exceptionable, {
1675
+ path: _path + ".netTransferLimit",
1676
+ expected: "(null | number | undefined)",
1677
+ value: input.netTransferLimit
1678
+ }, errorFactory)) && (null === input.netTransferValue || undefined === input.netTransferValue || "number" === typeof input.netTransferValue && !Number.isNaN(input.netTransferValue) || $guard(_exceptionable, {
1679
+ path: _path + ".netTransferValue",
1680
+ expected: "(null | number | undefined)",
1681
+ value: input.netTransferValue
1682
+ }, errorFactory)) && (null === input.netTransferTotal || undefined === input.netTransferTotal || "number" === typeof input.netTransferTotal && !Number.isNaN(input.netTransferTotal) || $guard(_exceptionable, {
1683
+ path: _path + ".netTransferTotal",
1684
+ expected: "(null | number | undefined)",
1685
+ value: input.netTransferTotal
1686
+ }, errorFactory)) && (null === input.cpu || undefined === input.cpu || "number" === typeof input.cpu && !Number.isNaN(input.cpu) || $guard(_exceptionable, {
1687
+ path: _path + ".cpu",
1688
+ expected: "(null | number | undefined)",
1689
+ value: input.cpu
1690
+ }, errorFactory)) && (null === input.memory || undefined === input.memory || "number" === typeof input.memory && !Number.isNaN(input.memory) || $guard(_exceptionable, {
1691
+ path: _path + ".memory",
1692
+ expected: "(null | number | undefined)",
1693
+ value: input.memory
1694
+ }, errorFactory)) && (null === input.activeCount || "number" === typeof input.activeCount && !Number.isNaN(input.activeCount) || $guard(_exceptionable, {
1695
+ path: _path + ".activeCount",
1696
+ expected: "(null | number)",
1697
+ value: input.activeCount
1698
+ }, errorFactory)) && (null === input.totalCount || "number" === typeof input.totalCount && !Number.isNaN(input.totalCount) || $guard(_exceptionable, {
1699
+ path: _path + ".totalCount",
1700
+ expected: "(null | number)",
1701
+ value: input.totalCount
1702
+ }, errorFactory)) && (null === input.gpuStat || undefined === input.gpuStat || ("object" === typeof input.gpuStat && null !== input.gpuStat && false === Array.isArray(input.gpuStat) || $guard(_exceptionable, {
1703
+ path: _path + ".gpuStat",
1704
+ expected: "(RenderDomainGpuStats | null | undefined)",
1705
+ value: input.gpuStat
1706
+ }, errorFactory)) && $ao2(input.gpuStat, _path + ".gpuStat", true && _exceptionable) || $guard(_exceptionable, {
1707
+ path: _path + ".gpuStat",
1708
+ expected: "(RenderDomainGpuStats | null | undefined)",
1709
+ value: input.gpuStat
1710
+ }, errorFactory)) && (null === input.cpuStat || undefined === input.cpuStat || ("object" === typeof input.cpuStat && null !== input.cpuStat || $guard(_exceptionable, {
1711
+ path: _path + ".cpuStat",
1712
+ expected: "(RenderDomainCpuStats | null | undefined)",
1713
+ value: input.cpuStat
1714
+ }, errorFactory)) && $ao3(input.cpuStat, _path + ".cpuStat", true && _exceptionable) || $guard(_exceptionable, {
1715
+ path: _path + ".cpuStat",
1716
+ expected: "(RenderDomainCpuStats | null | undefined)",
1717
+ value: input.cpuStat
1718
+ }, errorFactory)) && (null === input.netStat || undefined === input.netStat || ("object" === typeof input.netStat && null !== input.netStat || $guard(_exceptionable, {
1719
+ path: _path + ".netStat",
1720
+ expected: "(RenderDomainNetStats | null | undefined)",
1721
+ value: input.netStat
1722
+ }, errorFactory)) && $ao8(input.netStat, _path + ".netStat", true && _exceptionable) || $guard(_exceptionable, {
1723
+ path: _path + ".netStat",
1724
+ expected: "(RenderDomainNetStats | null | undefined)",
1725
+ value: input.netStat
1726
+ }, errorFactory));
1727
+ const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1728
+ const value = input[key];
1729
+ if (undefined === value)
1730
+ return true;
1731
+ return true;
1732
+ });
1733
+ const $ao2 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1734
+ const value = input[key];
1735
+ if (undefined === value)
1736
+ return true;
1737
+ return true;
1738
+ });
1739
+ const $ao3 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
1740
+ path: _path + ".cpu",
1741
+ expected: "__type",
1742
+ value: input.cpu
1743
+ }, errorFactory)) && $ao4(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
1744
+ path: _path + ".cpu",
1745
+ expected: "__type",
1746
+ value: input.cpu
1747
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
1748
+ path: _path + ".mem",
1749
+ expected: "__type.o1",
1750
+ value: input.mem
1751
+ }, errorFactory)) && $ao5(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
1752
+ path: _path + ".mem",
1753
+ expected: "__type.o1",
1754
+ value: input.mem
1755
+ }, errorFactory));
1756
+ const $ao4 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle && !Number.isNaN(input.idle) || $guard(_exceptionable, {
1757
+ path: _path + ".idle",
1758
+ expected: "number",
1759
+ value: input.idle
1760
+ }, errorFactory)) && ("number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
1761
+ path: _path + ".total",
1762
+ expected: "number",
1763
+ value: input.total
1764
+ }, errorFactory));
1765
+ const $ao5 = (input, _path, _exceptionable = true) => ("number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
1766
+ path: _path + ".used",
1767
+ expected: "number",
1768
+ value: input.used
1769
+ }, errorFactory)) && ("number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
1770
+ path: _path + ".total",
1771
+ expected: "number",
1772
+ value: input.total
1773
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
1774
+ path: _path + ".arcstats",
1775
+ expected: "__type.o2",
1776
+ value: input.arcstats
1777
+ }, errorFactory)) && $ao6(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
1778
+ path: _path + ".arcstats",
1779
+ expected: "__type.o2",
1780
+ value: input.arcstats
1781
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
1782
+ path: _path + ".meminfo",
1783
+ expected: "__type.o3",
1784
+ value: input.meminfo
1785
+ }, errorFactory)) && $ao7(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
1786
+ path: _path + ".meminfo",
1787
+ expected: "__type.o3",
1788
+ value: input.meminfo
1789
+ }, errorFactory));
1790
+ const $ao6 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size && !Number.isNaN(input.size) || $guard(_exceptionable, {
1791
+ path: _path + ".size",
1792
+ expected: "(null | number)",
1793
+ value: input.size
1794
+ }, errorFactory);
1795
+ const $ao7 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
1796
+ path: _path + ".total",
1797
+ expected: "(null | number)",
1798
+ value: input.total
1799
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free && !Number.isNaN(input.free) || $guard(_exceptionable, {
1800
+ path: _path + ".free",
1801
+ expected: "(null | number)",
1802
+ value: input.free
1803
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
1804
+ path: _path + ".used",
1805
+ expected: "(null | number)",
1806
+ value: input.used
1807
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active && !Number.isNaN(input.active) || $guard(_exceptionable, {
1808
+ path: _path + ".active",
1809
+ expected: "(null | number)",
1810
+ value: input.active
1811
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available && !Number.isNaN(input.available) || $guard(_exceptionable, {
1812
+ path: _path + ".available",
1813
+ expected: "(null | number)",
1814
+ value: input.available
1815
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers && !Number.isNaN(input.buffers) || $guard(_exceptionable, {
1816
+ path: _path + ".buffers",
1817
+ expected: "(null | number)",
1818
+ value: input.buffers
1819
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached && !Number.isNaN(input.cached) || $guard(_exceptionable, {
1820
+ path: _path + ".cached",
1821
+ expected: "(null | number)",
1822
+ value: input.cached
1823
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache && !Number.isNaN(input.buffcache) || $guard(_exceptionable, {
1824
+ path: _path + ".buffcache",
1825
+ expected: "(null | number)",
1826
+ value: input.buffcache
1827
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable && !Number.isNaN(input.reclaimable) || $guard(_exceptionable, {
1828
+ path: _path + ".reclaimable",
1829
+ expected: "(null | number)",
1830
+ value: input.reclaimable
1831
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal && !Number.isNaN(input.swaptotal) || $guard(_exceptionable, {
1832
+ path: _path + ".swaptotal",
1833
+ expected: "(null | number)",
1834
+ value: input.swaptotal
1835
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused && !Number.isNaN(input.swapused) || $guard(_exceptionable, {
1836
+ path: _path + ".swapused",
1837
+ expected: "(null | number)",
1838
+ value: input.swapused
1839
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree && !Number.isNaN(input.swapfree) || $guard(_exceptionable, {
1840
+ path: _path + ".swapfree",
1841
+ expected: "(null | number)",
1842
+ value: input.swapfree
1843
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab && !Number.isNaN(input.slab) || $guard(_exceptionable, {
1844
+ path: _path + ".slab",
1845
+ expected: "(null | number)",
1846
+ value: input.slab
1847
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable && !Number.isNaN(input.sReclaimable) || $guard(_exceptionable, {
1848
+ path: _path + ".sReclaimable",
1849
+ expected: "(null | number)",
1850
+ value: input.sReclaimable
1851
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack && !Number.isNaN(input.kernelStack) || $guard(_exceptionable, {
1852
+ path: _path + ".kernelStack",
1853
+ expected: "(null | number)",
1854
+ value: input.kernelStack
1855
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal && !Number.isNaN(input.memTotal) || $guard(_exceptionable, {
1856
+ path: _path + ".memTotal",
1857
+ expected: "(null | number)",
1858
+ value: input.memTotal
1859
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable && !Number.isNaN(input.memAvailable) || $guard(_exceptionable, {
1860
+ path: _path + ".memAvailable",
1861
+ expected: "(null | number)",
1862
+ value: input.memAvailable
1863
+ }, errorFactory));
1864
+ const $ao8 = (input, _path, _exceptionable = true) => ("number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
1865
+ path: _path + ".used",
1866
+ expected: "number",
1867
+ value: input.used
1868
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
1869
+ path: _path + ".type",
1870
+ expected: "(string | undefined)",
1871
+ value: input.type
1872
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
1873
+ path: _path + ".dev",
1874
+ expected: "(__type.o4 | undefined)",
1875
+ value: input.dev
1876
+ }, errorFactory)) && $ao9(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
1877
+ path: _path + ".dev",
1878
+ expected: "(__type.o4 | undefined)",
1879
+ value: input.dev
1880
+ }, errorFactory));
1881
+ const $ao9 = (input, _path, _exceptionable = true) => "number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
1882
+ path: _path + ".used",
1883
+ expected: "number",
1884
+ value: input.used
1885
+ }, errorFactory);
1886
+ return ("object" === typeof input && null !== input || $guard(true, {
1887
+ path: _path + "",
1888
+ expected: "RenderDomainStatsRecord",
1889
+ value: input
1890
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1891
+ path: _path + "",
1892
+ expected: "RenderDomainStatsRecord",
1893
+ value: input
1894
+ }, errorFactory);
1895
+ })(input, "$input", true);
1896
+ return input;
1897
+ }; const stringify = input => {
1898
+ const $io1 = input => Object.keys(input).every(key => {
1899
+ const value = input[key];
1900
+ if (undefined === value)
1901
+ return true;
1902
+ return true;
1903
+ });
1904
+ const $io2 = input => Object.keys(input).every(key => {
1905
+ const value = input[key];
1906
+ if (undefined === value)
1907
+ return true;
1908
+ return true;
1909
+ });
1910
+ const $io3 = input => "object" === typeof input.cpu && null !== input.cpu && $io4(input.cpu) && ("object" === typeof input.mem && null !== input.mem && $io5(input.mem));
1911
+ const $io4 = input => "number" === typeof input.idle && "number" === typeof input.total;
1912
+ const $io5 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io6(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io7(input.meminfo));
1913
+ const $io6 = input => null === input.size || "number" === typeof input.size;
1914
+ const $io7 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
1915
+ const $io8 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io9(input.dev));
1916
+ const $io9 = input => "number" === typeof input.used;
1917
+ const $string = __typia.json.createAssertStringify.string;
1918
+ const $throws = __typia.json.createAssertStringify.throws;
1919
+ const $so0 = input => `{${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => $so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? (() => {
1920
+ if ("string" === typeof input.status)
1921
+ return $string(input.status);
1922
+ if (Array.isArray(input.status))
1923
+ return `[${input.status.map(elem => $string(elem)).join(",")}]`;
1924
+ $throws({
1925
+ expected: "(Array<string> | null | string | undefined)",
1926
+ value: input.status
1927
+ });
1928
+ })() : "null" : undefined},`}${undefined === input.lag ? "" : `"lag":${undefined !== input.lag ? null !== input.lag ? input.lag : "null" : undefined},`}${undefined === input.available ? "" : `"available":${undefined !== input.available ? null !== input.available ? input.available : "null" : undefined},`}${undefined === input.toobusy ? "" : `"toobusy":${undefined !== input.toobusy ? null !== input.toobusy ? input.toobusy : "null" : undefined},`}${undefined === input.cpuAvailable ? "" : `"cpuAvailable":${undefined !== input.cpuAvailable ? null !== input.cpuAvailable ? input.cpuAvailable : "null" : undefined},`}${undefined === input.cpuComputeAvailable ? "" : `"cpuComputeAvailable":${undefined !== input.cpuComputeAvailable ? null !== input.cpuComputeAvailable ? input.cpuComputeAvailable : "null" : undefined},`}${undefined === input.cpuComputeReservation ? "" : `"cpuComputeReservation":${undefined !== input.cpuComputeReservation ? null !== input.cpuComputeReservation ? input.cpuComputeReservation : "null" : undefined},`}${undefined === input.cpuCompute ? "" : `"cpuCompute":${undefined !== input.cpuCompute ? null !== input.cpuCompute ? input.cpuCompute : "null" : undefined},`}${undefined === input.cpuComputeLimit ? "" : `"cpuComputeLimit":${undefined !== input.cpuComputeLimit ? null !== input.cpuComputeLimit ? input.cpuComputeLimit : "null" : undefined},`}${undefined === input.cpuComputeTotal ? "" : `"cpuComputeTotal":${undefined !== input.cpuComputeTotal ? null !== input.cpuComputeTotal ? input.cpuComputeTotal : "null" : undefined},`}${undefined === input.cpuComputeValue ? "" : `"cpuComputeValue":${undefined !== input.cpuComputeValue ? null !== input.cpuComputeValue ? input.cpuComputeValue : "null" : undefined},`}${undefined === input.cpuMemoryAvailable ? "" : `"cpuMemoryAvailable":${undefined !== input.cpuMemoryAvailable ? null !== input.cpuMemoryAvailable ? input.cpuMemoryAvailable : "null" : undefined},`}${undefined === input.cpuMemoryReservation ? "" : `"cpuMemoryReservation":${undefined !== input.cpuMemoryReservation ? null !== input.cpuMemoryReservation ? input.cpuMemoryReservation : "null" : undefined},`}${undefined === input.cpuMemory ? "" : `"cpuMemory":${undefined !== input.cpuMemory ? null !== input.cpuMemory ? input.cpuMemory : "null" : undefined},`}${undefined === input.cpuMemoryLimit ? "" : `"cpuMemoryLimit":${undefined !== input.cpuMemoryLimit ? null !== input.cpuMemoryLimit ? input.cpuMemoryLimit : "null" : undefined},`}${undefined === input.cpuMemoryValue ? "" : `"cpuMemoryValue":${undefined !== input.cpuMemoryValue ? null !== input.cpuMemoryValue ? input.cpuMemoryValue : "null" : undefined},`}${undefined === input.cpuMemoryTotal ? "" : `"cpuMemoryTotal":${undefined !== input.cpuMemoryTotal ? null !== input.cpuMemoryTotal ? input.cpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuType ? "" : `"gpuType":${undefined !== input.gpuType ? null !== input.gpuType ? $string(input.gpuType) : "null" : undefined},`}${undefined === input.gpuAvailable ? "" : `"gpuAvailable":${undefined !== input.gpuAvailable ? null !== input.gpuAvailable ? input.gpuAvailable : "null" : undefined},`}${undefined === input.gpuComputeAvailable ? "" : `"gpuComputeAvailable":${undefined !== input.gpuComputeAvailable ? null !== input.gpuComputeAvailable ? input.gpuComputeAvailable : "null" : undefined},`}${undefined === input.gpuComputeReservation ? "" : `"gpuComputeReservation":${undefined !== input.gpuComputeReservation ? null !== input.gpuComputeReservation ? input.gpuComputeReservation : "null" : undefined},`}${undefined === input.gpuCompute ? "" : `"gpuCompute":${undefined !== input.gpuCompute ? null !== input.gpuCompute ? input.gpuCompute : "null" : undefined},`}${undefined === input.gpuComputeLimit ? "" : `"gpuComputeLimit":${undefined !== input.gpuComputeLimit ? null !== input.gpuComputeLimit ? input.gpuComputeLimit : "null" : undefined},`}${undefined === input.gpuComputeValue ? "" : `"gpuComputeValue":${undefined !== input.gpuComputeValue ? null !== input.gpuComputeValue ? input.gpuComputeValue : "null" : undefined},`}${undefined === input.gpuComputeTotal ? "" : `"gpuComputeTotal":${undefined !== input.gpuComputeTotal ? null !== input.gpuComputeTotal ? input.gpuComputeTotal : "null" : undefined},`}${undefined === input.gpuMemoryAvailable ? "" : `"gpuMemoryAvailable":${undefined !== input.gpuMemoryAvailable ? null !== input.gpuMemoryAvailable ? input.gpuMemoryAvailable : "null" : undefined},`}${undefined === input.gpuMemoryReservation ? "" : `"gpuMemoryReservation":${undefined !== input.gpuMemoryReservation ? null !== input.gpuMemoryReservation ? input.gpuMemoryReservation : "null" : undefined},`}${undefined === input.gpuMemory ? "" : `"gpuMemory":${undefined !== input.gpuMemory ? null !== input.gpuMemory ? input.gpuMemory : "null" : undefined},`}${undefined === input.gpuMemoryLimit ? "" : `"gpuMemoryLimit":${undefined !== input.gpuMemoryLimit ? null !== input.gpuMemoryLimit ? input.gpuMemoryLimit : "null" : undefined},`}${undefined === input.gpuMemoryValue ? "" : `"gpuMemoryValue":${undefined !== input.gpuMemoryValue ? null !== input.gpuMemoryValue ? input.gpuMemoryValue : "null" : undefined},`}${undefined === input.gpuMemoryTotal ? "" : `"gpuMemoryTotal":${undefined !== input.gpuMemoryTotal ? null !== input.gpuMemoryTotal ? input.gpuMemoryTotal : "null" : undefined},`}${undefined === input.gpuQueueAvailable ? "" : `"gpuQueueAvailable":${undefined !== input.gpuQueueAvailable ? null !== input.gpuQueueAvailable ? input.gpuQueueAvailable : "null" : undefined},`}${undefined === input.gpuQueueReservation ? "" : `"gpuQueueReservation":${undefined !== input.gpuQueueReservation ? null !== input.gpuQueueReservation ? input.gpuQueueReservation : "null" : undefined},`}${undefined === input.gpuQueueLimit ? "" : `"gpuQueueLimit":${undefined !== input.gpuQueueLimit ? null !== input.gpuQueueLimit ? input.gpuQueueLimit : "null" : undefined},`}${undefined === input.gpuQueueValue ? "" : `"gpuQueueValue":${undefined !== input.gpuQueueValue ? null !== input.gpuQueueValue ? input.gpuQueueValue : "null" : undefined},`}${undefined === input.gpuQueueTotal ? "" : `"gpuQueueTotal":${undefined !== input.gpuQueueTotal ? null !== input.gpuQueueTotal ? input.gpuQueueTotal : "null" : undefined},`}${undefined === input.gpuEncoder ? "" : `"gpuEncoder":${undefined !== input.gpuEncoder ? null !== input.gpuEncoder ? input.gpuEncoder : "null" : undefined},`}${undefined === input.gpuEncoderLimit ? "" : `"gpuEncoderLimit":${undefined !== input.gpuEncoderLimit ? null !== input.gpuEncoderLimit ? input.gpuEncoderLimit : "null" : undefined},`}${undefined === input.gpuEncoderValue ? "" : `"gpuEncoderValue":${undefined !== input.gpuEncoderValue ? null !== input.gpuEncoderValue ? input.gpuEncoderValue : "null" : undefined},`}${undefined === input.gpuEncoderTotal ? "" : `"gpuEncoderTotal":${undefined !== input.gpuEncoderTotal ? null !== input.gpuEncoderTotal ? input.gpuEncoderTotal : "null" : undefined},`}${undefined === input.gpuDecoder ? "" : `"gpuDecoder":${undefined !== input.gpuDecoder ? null !== input.gpuDecoder ? input.gpuDecoder : "null" : undefined},`}${undefined === input.gpuDecoderLimit ? "" : `"gpuDecoderLimit":${undefined !== input.gpuDecoderLimit ? null !== input.gpuDecoderLimit ? input.gpuDecoderLimit : "null" : undefined},`}${undefined === input.gpuDecoderValue ? "" : `"gpuDecoderValue":${null === input.gpuDecoderValue ? "null" : undefined},`}${undefined === input.gpuDecoderTotal ? "" : `"gpuDecoderTotal":${undefined !== input.gpuDecoderTotal ? null !== input.gpuDecoderTotal ? input.gpuDecoderTotal : "null" : undefined},`}${undefined === input.netAvailable ? "" : `"netAvailable":${undefined !== input.netAvailable ? null !== input.netAvailable ? input.netAvailable : "null" : undefined},`}${undefined === input.netTransferAvailable ? "" : `"netTransferAvailable":${undefined !== input.netTransferAvailable ? null !== input.netTransferAvailable ? input.netTransferAvailable : "null" : undefined},`}${undefined === input.netTransferReservation ? "" : `"netTransferReservation":${undefined !== input.netTransferReservation ? null !== input.netTransferReservation ? input.netTransferReservation : "null" : undefined},`}${undefined === input.netTransfer ? "" : `"netTransfer":${undefined !== input.netTransfer ? null !== input.netTransfer ? input.netTransfer : "null" : undefined},`}${undefined === input.netTransferLimit ? "" : `"netTransferLimit":${undefined !== input.netTransferLimit ? null !== input.netTransferLimit ? input.netTransferLimit : "null" : undefined},`}${undefined === input.netTransferValue ? "" : `"netTransferValue":${undefined !== input.netTransferValue ? null !== input.netTransferValue ? input.netTransferValue : "null" : undefined},`}${undefined === input.netTransferTotal ? "" : `"netTransferTotal":${undefined !== input.netTransferTotal ? null !== input.netTransferTotal ? input.netTransferTotal : "null" : undefined},`}${undefined === input.cpu ? "" : `"cpu":${undefined !== input.cpu ? null !== input.cpu ? input.cpu : "null" : undefined},`}${undefined === input.memory ? "" : `"memory":${undefined !== input.memory ? null !== input.memory ? input.memory : "null" : undefined},`}${undefined === input.gpuStat ? "" : `"gpuStat":${undefined !== input.gpuStat ? null !== input.gpuStat ? $so2(input.gpuStat) : "null" : undefined},`}${undefined === input.cpuStat ? "" : `"cpuStat":${undefined !== input.cpuStat ? null !== input.cpuStat ? $so3(input.cpuStat) : "null" : undefined},`}${undefined === input.netStat ? "" : `"netStat":${undefined !== input.netStat ? null !== input.netStat ? $so8(input.netStat) : "null" : undefined},`}"activeCount":${null !== input.activeCount ? input.activeCount : "null"},"totalCount":${null !== input.totalCount ? input.totalCount : "null"}}`;
1929
+ const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1930
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
1931
+ const $so2 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
1932
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
1933
+ const $so3 = input => `{"cpu":${`{"idle":${input.cpu.idle},"total":${input.cpu.total}}`},"mem":${$so5(input.mem)}}`;
1934
+ const $so5 = input => `{"used":${input.used},"total":${input.total},"arcstats":${$so6(input.arcstats)},"meminfo":${$so7(input.meminfo)}}`;
1935
+ const $so6 = input => `{"size":${null !== input.size ? input.size : "null"}}`;
1936
+ const $so7 = input => `{"total":${null !== input.total ? input.total : "null"},"free":${null !== input.free ? input.free : "null"},"used":${null !== input.used ? input.used : "null"},"active":${null !== input.active ? input.active : "null"},"available":${null !== input.available ? input.available : "null"},"buffers":${null !== input.buffers ? input.buffers : "null"},"cached":${null !== input.cached ? input.cached : "null"},"buffcache":${null !== input.buffcache ? input.buffcache : "null"},"reclaimable":${null !== input.reclaimable ? input.reclaimable : "null"},"swaptotal":${null !== input.swaptotal ? input.swaptotal : "null"},"swapused":${null !== input.swapused ? input.swapused : "null"},"swapfree":${null !== input.swapfree ? input.swapfree : "null"},"slab":${null !== input.slab ? input.slab : "null"},"sReclaimable":${null !== input.sReclaimable ? input.sReclaimable : "null"},"kernelStack":${null !== input.kernelStack ? input.kernelStack : "null"},"memTotal":${null !== input.memTotal ? input.memTotal : "null"},"memAvailable":${null !== input.memAvailable ? input.memAvailable : "null"}}`;
1937
+ const $so8 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.dev ? "" : `"dev":${undefined !== input.dev ? `{"used":${input.dev.used}}` : undefined},`}"used":${input.used}}`;
1938
+ return $so0(input);
1939
+ }; return stringify(assert(input, errorFactory)); };
1940
+ export const isRenderDomainGpuStats = input => {
1941
+ const $io0 = input => Object.keys(input).every(key => {
1942
+ const value = input[key];
1943
+ if (undefined === value)
1944
+ return true;
1945
+ return true;
1946
+ });
1947
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1948
+ };
1949
+ export const assertRenderDomainGpuStats = (input, errorFactory) => {
1950
+ const __is = input => {
1951
+ const $io0 = input => Object.keys(input).every(key => {
1952
+ const value = input[key];
1953
+ if (undefined === value)
1954
+ return true;
1955
+ return true;
1956
+ });
1957
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1958
+ };
1959
+ if (false === __is(input))
1960
+ ((input, _path, _exceptionable = true) => {
1961
+ const $guard = __typia.createAssert.guard;
1962
+ const $join = __typia.createAssert.join;
1963
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
1964
+ const value = input[key];
1965
+ if (undefined === value)
1966
+ return true;
1967
+ return true;
1968
+ });
1969
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
1970
+ path: _path + "",
1971
+ expected: "RenderDomainGpuStats",
1972
+ value: input
1973
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
1974
+ path: _path + "",
1975
+ expected: "RenderDomainGpuStats",
1976
+ value: input
1977
+ }, errorFactory);
1978
+ })(input, "$input", true);
1979
+ return input;
1980
+ };
1981
+ export const randomRenderDomainGpuStats = generator => {
1982
+ const $generator = __typia.createRandom.generator;
1983
+ const $ro0 = (_recursive = false, _depth = 0) => {
1984
+ const output = {};
1985
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
1986
+ return output;
1987
+ };
1988
+ return $ro0();
1989
+ };
1990
+ export const assertGuardRenderDomainGpuStats = (input, errorFactory) => {
1991
+ const __is = input => {
1992
+ const $io0 = input => Object.keys(input).every(key => {
1993
+ const value = input[key];
1994
+ if (undefined === value)
1995
+ return true;
1996
+ return true;
1997
+ });
1998
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1999
+ };
2000
+ if (false === __is(input))
2001
+ ((input, _path, _exceptionable = true) => {
2002
+ const $guard = __typia.createAssertGuard.guard;
2003
+ const $join = __typia.createAssertGuard.join;
2004
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2005
+ const value = input[key];
2006
+ if (undefined === value)
2007
+ return true;
2008
+ return true;
2009
+ });
2010
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2011
+ path: _path + "",
2012
+ expected: "RenderDomainGpuStats",
2013
+ value: input
2014
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2015
+ path: _path + "",
2016
+ expected: "RenderDomainGpuStats",
2017
+ value: input
2018
+ }, errorFactory);
2019
+ })(input, "$input", true);
2020
+ };
2021
+ export const stringifyRenderDomainGpuStats = input => {
2022
+ const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2023
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2024
+ return $so0(input);
2025
+ };
2026
+ export const assertStringifyRenderDomainGpuStats = (input, errorFactory) => { const assert = (input, errorFactory) => {
2027
+ const __is = input => {
2028
+ const $io0 = input => Object.keys(input).every(key => {
2029
+ const value = input[key];
2030
+ if (undefined === value)
2031
+ return true;
2032
+ return true;
2033
+ });
2034
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2035
+ };
2036
+ if (false === __is(input))
2037
+ ((input, _path, _exceptionable = true) => {
2038
+ const $guard = __typia.json.createAssertStringify.guard;
2039
+ const $join = __typia.json.createAssertStringify.join;
2040
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
2041
+ const value = input[key];
2042
+ if (undefined === value)
2043
+ return true;
2044
+ return true;
2045
+ });
2046
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2047
+ path: _path + "",
2048
+ expected: "RenderDomainGpuStats",
2049
+ value: input
2050
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2051
+ path: _path + "",
2052
+ expected: "RenderDomainGpuStats",
2053
+ value: input
2054
+ }, errorFactory);
2055
+ })(input, "$input", true);
2056
+ return input;
2057
+ }; const stringify = input => {
2058
+ const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
2059
+ return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2060
+ return $so0(input);
2061
+ }; return stringify(assert(input, errorFactory)); };
2062
+ export const isRenderDomainCpuStats = input => {
2063
+ const $io0 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io2(input.mem));
2064
+ const $io2 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2065
+ const $io3 = input => null === input.size || "number" === typeof input.size;
2066
+ const $io4 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
2067
+ return "object" === typeof input && null !== input && $io0(input);
2068
+ };
2069
+ export const assertRenderDomainCpuStats = (input, errorFactory) => {
2070
+ const __is = input => {
2071
+ const $io0 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io2(input.mem));
2072
+ const $io2 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2073
+ const $io3 = input => null === input.size || "number" === typeof input.size;
2074
+ const $io4 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
2075
+ return "object" === typeof input && null !== input && $io0(input);
2076
+ };
2077
+ if (false === __is(input))
2078
+ ((input, _path, _exceptionable = true) => {
2079
+ const $guard = __typia.createAssert.guard;
2080
+ const $ao0 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
2081
+ path: _path + ".cpu",
2082
+ expected: "__type",
2083
+ value: input.cpu
2084
+ }, errorFactory)) && $ao1(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
2085
+ path: _path + ".cpu",
2086
+ expected: "__type",
2087
+ value: input.cpu
2088
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
2089
+ path: _path + ".mem",
2090
+ expected: "__type.o1",
2091
+ value: input.mem
2092
+ }, errorFactory)) && $ao2(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
2093
+ path: _path + ".mem",
2094
+ expected: "__type.o1",
2095
+ value: input.mem
2096
+ }, errorFactory));
2097
+ const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle || $guard(_exceptionable, {
2098
+ path: _path + ".idle",
2099
+ expected: "number",
2100
+ value: input.idle
2101
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
2102
+ path: _path + ".total",
2103
+ expected: "number",
2104
+ value: input.total
2105
+ }, errorFactory));
2106
+ const $ao2 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
2107
+ path: _path + ".used",
2108
+ expected: "number",
2109
+ value: input.used
2110
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
2111
+ path: _path + ".total",
2112
+ expected: "number",
2113
+ value: input.total
2114
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
2115
+ path: _path + ".arcstats",
2116
+ expected: "__type.o2",
2117
+ value: input.arcstats
2118
+ }, errorFactory)) && $ao3(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
2119
+ path: _path + ".arcstats",
2120
+ expected: "__type.o2",
2121
+ value: input.arcstats
2122
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
2123
+ path: _path + ".meminfo",
2124
+ expected: "__type.o3",
2125
+ value: input.meminfo
2126
+ }, errorFactory)) && $ao4(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
2127
+ path: _path + ".meminfo",
2128
+ expected: "__type.o3",
2129
+ value: input.meminfo
2130
+ }, errorFactory));
2131
+ const $ao3 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size || $guard(_exceptionable, {
2132
+ path: _path + ".size",
2133
+ expected: "(null | number)",
2134
+ value: input.size
2135
+ }, errorFactory);
2136
+ const $ao4 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total || $guard(_exceptionable, {
2137
+ path: _path + ".total",
2138
+ expected: "(null | number)",
2139
+ value: input.total
2140
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free || $guard(_exceptionable, {
2141
+ path: _path + ".free",
2142
+ expected: "(null | number)",
2143
+ value: input.free
2144
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used || $guard(_exceptionable, {
2145
+ path: _path + ".used",
2146
+ expected: "(null | number)",
2147
+ value: input.used
2148
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active || $guard(_exceptionable, {
2149
+ path: _path + ".active",
2150
+ expected: "(null | number)",
2151
+ value: input.active
2152
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available || $guard(_exceptionable, {
2153
+ path: _path + ".available",
2154
+ expected: "(null | number)",
2155
+ value: input.available
2156
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers || $guard(_exceptionable, {
2157
+ path: _path + ".buffers",
2158
+ expected: "(null | number)",
2159
+ value: input.buffers
2160
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached || $guard(_exceptionable, {
2161
+ path: _path + ".cached",
2162
+ expected: "(null | number)",
2163
+ value: input.cached
2164
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache || $guard(_exceptionable, {
2165
+ path: _path + ".buffcache",
2166
+ expected: "(null | number)",
2167
+ value: input.buffcache
2168
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable || $guard(_exceptionable, {
2169
+ path: _path + ".reclaimable",
2170
+ expected: "(null | number)",
2171
+ value: input.reclaimable
2172
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal || $guard(_exceptionable, {
2173
+ path: _path + ".swaptotal",
2174
+ expected: "(null | number)",
2175
+ value: input.swaptotal
2176
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused || $guard(_exceptionable, {
2177
+ path: _path + ".swapused",
2178
+ expected: "(null | number)",
2179
+ value: input.swapused
2180
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree || $guard(_exceptionable, {
2181
+ path: _path + ".swapfree",
2182
+ expected: "(null | number)",
2183
+ value: input.swapfree
2184
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab || $guard(_exceptionable, {
2185
+ path: _path + ".slab",
2186
+ expected: "(null | number)",
2187
+ value: input.slab
2188
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable || $guard(_exceptionable, {
2189
+ path: _path + ".sReclaimable",
2190
+ expected: "(null | number)",
2191
+ value: input.sReclaimable
2192
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack || $guard(_exceptionable, {
2193
+ path: _path + ".kernelStack",
2194
+ expected: "(null | number)",
2195
+ value: input.kernelStack
2196
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal || $guard(_exceptionable, {
2197
+ path: _path + ".memTotal",
2198
+ expected: "(null | number)",
2199
+ value: input.memTotal
2200
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable || $guard(_exceptionable, {
2201
+ path: _path + ".memAvailable",
2202
+ expected: "(null | number)",
2203
+ value: input.memAvailable
2204
+ }, errorFactory));
2205
+ return ("object" === typeof input && null !== input || $guard(true, {
2206
+ path: _path + "",
2207
+ expected: "RenderDomainCpuStats",
2208
+ value: input
2209
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2210
+ path: _path + "",
2211
+ expected: "RenderDomainCpuStats",
2212
+ value: input
2213
+ }, errorFactory);
2214
+ })(input, "$input", true);
2215
+ return input;
2216
+ };
2217
+ export const randomRenderDomainCpuStats = generator => {
2218
+ const $generator = __typia.createRandom.generator;
2219
+ const $pick = __typia.createRandom.pick;
2220
+ const $ro0 = (_recursive = false, _depth = 0) => ({
2221
+ cpu: $ro1(_recursive, _recursive ? 1 + _depth : _depth),
2222
+ mem: $ro2(_recursive, _recursive ? 1 + _depth : _depth)
2223
+ });
2224
+ const $ro1 = (_recursive = false, _depth = 0) => ({
2225
+ idle: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
2226
+ total: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2227
+ });
2228
+ const $ro2 = (_recursive = false, _depth = 0) => ({
2229
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
2230
+ total: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
2231
+ arcstats: $ro3(_recursive, _recursive ? 1 + _depth : _depth),
2232
+ meminfo: $ro4(_recursive, _recursive ? 1 + _depth : _depth)
2233
+ });
2234
+ const $ro3 = (_recursive = false, _depth = 0) => ({
2235
+ size: $pick([
2236
+ () => null,
2237
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2238
+ ])()
2239
+ });
2240
+ const $ro4 = (_recursive = false, _depth = 0) => ({
2241
+ total: $pick([
2242
+ () => null,
2243
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2244
+ ])(),
2245
+ free: $pick([
2246
+ () => null,
2247
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2248
+ ])(),
2249
+ used: $pick([
2250
+ () => null,
2251
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2252
+ ])(),
2253
+ active: $pick([
2254
+ () => null,
2255
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2256
+ ])(),
2257
+ available: $pick([
2258
+ () => null,
2259
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2260
+ ])(),
2261
+ buffers: $pick([
2262
+ () => null,
2263
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2264
+ ])(),
2265
+ cached: $pick([
2266
+ () => null,
2267
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2268
+ ])(),
2269
+ buffcache: $pick([
2270
+ () => null,
2271
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2272
+ ])(),
2273
+ reclaimable: $pick([
2274
+ () => null,
2275
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2276
+ ])(),
2277
+ swaptotal: $pick([
2278
+ () => null,
2279
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2280
+ ])(),
2281
+ swapused: $pick([
2282
+ () => null,
2283
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2284
+ ])(),
2285
+ swapfree: $pick([
2286
+ () => null,
2287
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2288
+ ])(),
2289
+ slab: $pick([
2290
+ () => null,
2291
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2292
+ ])(),
2293
+ sReclaimable: $pick([
2294
+ () => null,
2295
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2296
+ ])(),
2297
+ kernelStack: $pick([
2298
+ () => null,
2299
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2300
+ ])(),
2301
+ memTotal: $pick([
2302
+ () => null,
2303
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2304
+ ])(),
2305
+ memAvailable: $pick([
2306
+ () => null,
2307
+ () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2308
+ ])()
2309
+ });
2310
+ return $ro0();
2311
+ };
2312
+ export const assertGuardRenderDomainCpuStats = (input, errorFactory) => {
2313
+ const __is = input => {
2314
+ const $io0 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && "number" === typeof input.cpu.total) && ("object" === typeof input.mem && null !== input.mem && $io2(input.mem));
2315
+ const $io2 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2316
+ const $io3 = input => null === input.size || "number" === typeof input.size;
2317
+ const $io4 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
2318
+ return "object" === typeof input && null !== input && $io0(input);
2319
+ };
2320
+ if (false === __is(input))
2321
+ ((input, _path, _exceptionable = true) => {
2322
+ const $guard = __typia.createAssertGuard.guard;
2323
+ const $ao0 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
2324
+ path: _path + ".cpu",
2325
+ expected: "__type",
2326
+ value: input.cpu
2327
+ }, errorFactory)) && $ao1(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
2328
+ path: _path + ".cpu",
2329
+ expected: "__type",
2330
+ value: input.cpu
2331
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
2332
+ path: _path + ".mem",
2333
+ expected: "__type.o1",
2334
+ value: input.mem
2335
+ }, errorFactory)) && $ao2(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
2336
+ path: _path + ".mem",
2337
+ expected: "__type.o1",
2338
+ value: input.mem
2339
+ }, errorFactory));
2340
+ const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle || $guard(_exceptionable, {
2341
+ path: _path + ".idle",
2342
+ expected: "number",
2343
+ value: input.idle
2344
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
2345
+ path: _path + ".total",
2346
+ expected: "number",
2347
+ value: input.total
2348
+ }, errorFactory));
2349
+ const $ao2 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
2350
+ path: _path + ".used",
2351
+ expected: "number",
2352
+ value: input.used
2353
+ }, errorFactory)) && ("number" === typeof input.total || $guard(_exceptionable, {
2354
+ path: _path + ".total",
2355
+ expected: "number",
2356
+ value: input.total
2357
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
2358
+ path: _path + ".arcstats",
2359
+ expected: "__type.o2",
2360
+ value: input.arcstats
2361
+ }, errorFactory)) && $ao3(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
2362
+ path: _path + ".arcstats",
2363
+ expected: "__type.o2",
2364
+ value: input.arcstats
2365
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
2366
+ path: _path + ".meminfo",
2367
+ expected: "__type.o3",
2368
+ value: input.meminfo
2369
+ }, errorFactory)) && $ao4(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
2370
+ path: _path + ".meminfo",
2371
+ expected: "__type.o3",
2372
+ value: input.meminfo
2373
+ }, errorFactory));
2374
+ const $ao3 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size || $guard(_exceptionable, {
2375
+ path: _path + ".size",
2376
+ expected: "(null | number)",
2377
+ value: input.size
2378
+ }, errorFactory);
2379
+ const $ao4 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total || $guard(_exceptionable, {
2380
+ path: _path + ".total",
2381
+ expected: "(null | number)",
2382
+ value: input.total
2383
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free || $guard(_exceptionable, {
2384
+ path: _path + ".free",
2385
+ expected: "(null | number)",
2386
+ value: input.free
2387
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used || $guard(_exceptionable, {
2388
+ path: _path + ".used",
2389
+ expected: "(null | number)",
2390
+ value: input.used
2391
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active || $guard(_exceptionable, {
2392
+ path: _path + ".active",
2393
+ expected: "(null | number)",
2394
+ value: input.active
2395
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available || $guard(_exceptionable, {
2396
+ path: _path + ".available",
2397
+ expected: "(null | number)",
2398
+ value: input.available
2399
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers || $guard(_exceptionable, {
2400
+ path: _path + ".buffers",
2401
+ expected: "(null | number)",
2402
+ value: input.buffers
2403
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached || $guard(_exceptionable, {
2404
+ path: _path + ".cached",
2405
+ expected: "(null | number)",
2406
+ value: input.cached
2407
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache || $guard(_exceptionable, {
2408
+ path: _path + ".buffcache",
2409
+ expected: "(null | number)",
2410
+ value: input.buffcache
2411
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable || $guard(_exceptionable, {
2412
+ path: _path + ".reclaimable",
2413
+ expected: "(null | number)",
2414
+ value: input.reclaimable
2415
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal || $guard(_exceptionable, {
2416
+ path: _path + ".swaptotal",
2417
+ expected: "(null | number)",
2418
+ value: input.swaptotal
2419
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused || $guard(_exceptionable, {
2420
+ path: _path + ".swapused",
2421
+ expected: "(null | number)",
2422
+ value: input.swapused
2423
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree || $guard(_exceptionable, {
2424
+ path: _path + ".swapfree",
2425
+ expected: "(null | number)",
2426
+ value: input.swapfree
2427
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab || $guard(_exceptionable, {
2428
+ path: _path + ".slab",
2429
+ expected: "(null | number)",
2430
+ value: input.slab
2431
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable || $guard(_exceptionable, {
2432
+ path: _path + ".sReclaimable",
2433
+ expected: "(null | number)",
2434
+ value: input.sReclaimable
2435
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack || $guard(_exceptionable, {
2436
+ path: _path + ".kernelStack",
2437
+ expected: "(null | number)",
2438
+ value: input.kernelStack
2439
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal || $guard(_exceptionable, {
2440
+ path: _path + ".memTotal",
2441
+ expected: "(null | number)",
2442
+ value: input.memTotal
2443
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable || $guard(_exceptionable, {
2444
+ path: _path + ".memAvailable",
2445
+ expected: "(null | number)",
2446
+ value: input.memAvailable
2447
+ }, errorFactory));
2448
+ return ("object" === typeof input && null !== input || $guard(true, {
2449
+ path: _path + "",
2450
+ expected: "RenderDomainCpuStats",
2451
+ value: input
2452
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2453
+ path: _path + "",
2454
+ expected: "RenderDomainCpuStats",
2455
+ value: input
2456
+ }, errorFactory);
2457
+ })(input, "$input", true);
2458
+ };
2459
+ export const stringifyRenderDomainCpuStats = input => {
2460
+ const $io1 = input => "number" === typeof input.idle && "number" === typeof input.total;
2461
+ const $io2 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2462
+ const $io3 = input => null === input.size || "number" === typeof input.size;
2463
+ const $io4 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
2464
+ const $so0 = input => `{"cpu":${`{"idle":${input.cpu.idle},"total":${input.cpu.total}}`},"mem":${$so2(input.mem)}}`;
2465
+ const $so2 = input => `{"used":${input.used},"total":${input.total},"arcstats":${$so3(input.arcstats)},"meminfo":${$so4(input.meminfo)}}`;
2466
+ const $so3 = input => `{"size":${null !== input.size ? input.size : "null"}}`;
2467
+ const $so4 = input => `{"total":${null !== input.total ? input.total : "null"},"free":${null !== input.free ? input.free : "null"},"used":${null !== input.used ? input.used : "null"},"active":${null !== input.active ? input.active : "null"},"available":${null !== input.available ? input.available : "null"},"buffers":${null !== input.buffers ? input.buffers : "null"},"cached":${null !== input.cached ? input.cached : "null"},"buffcache":${null !== input.buffcache ? input.buffcache : "null"},"reclaimable":${null !== input.reclaimable ? input.reclaimable : "null"},"swaptotal":${null !== input.swaptotal ? input.swaptotal : "null"},"swapused":${null !== input.swapused ? input.swapused : "null"},"swapfree":${null !== input.swapfree ? input.swapfree : "null"},"slab":${null !== input.slab ? input.slab : "null"},"sReclaimable":${null !== input.sReclaimable ? input.sReclaimable : "null"},"kernelStack":${null !== input.kernelStack ? input.kernelStack : "null"},"memTotal":${null !== input.memTotal ? input.memTotal : "null"},"memAvailable":${null !== input.memAvailable ? input.memAvailable : "null"}}`;
2468
+ return $so0(input);
2469
+ };
2470
+ export const assertStringifyRenderDomainCpuStats = (input, errorFactory) => { const assert = (input, errorFactory) => {
2471
+ const __is = input => {
2472
+ const $io0 = input => "object" === typeof input.cpu && null !== input.cpu && ("number" === typeof input.cpu.idle && !Number.isNaN(input.cpu.idle) && ("number" === typeof input.cpu.total && !Number.isNaN(input.cpu.total))) && ("object" === typeof input.mem && null !== input.mem && $io2(input.mem));
2473
+ const $io2 = input => "number" === typeof input.used && !Number.isNaN(input.used) && ("number" === typeof input.total && !Number.isNaN(input.total)) && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2474
+ const $io3 = input => null === input.size || "number" === typeof input.size && !Number.isNaN(input.size);
2475
+ const $io4 = input => (null === input.total || "number" === typeof input.total && !Number.isNaN(input.total)) && (null === input.free || "number" === typeof input.free && !Number.isNaN(input.free)) && (null === input.used || "number" === typeof input.used && !Number.isNaN(input.used)) && (null === input.active || "number" === typeof input.active && !Number.isNaN(input.active)) && (null === input.available || "number" === typeof input.available && !Number.isNaN(input.available)) && (null === input.buffers || "number" === typeof input.buffers && !Number.isNaN(input.buffers)) && (null === input.cached || "number" === typeof input.cached && !Number.isNaN(input.cached)) && (null === input.buffcache || "number" === typeof input.buffcache && !Number.isNaN(input.buffcache)) && (null === input.reclaimable || "number" === typeof input.reclaimable && !Number.isNaN(input.reclaimable)) && (null === input.swaptotal || "number" === typeof input.swaptotal && !Number.isNaN(input.swaptotal)) && (null === input.swapused || "number" === typeof input.swapused && !Number.isNaN(input.swapused)) && (null === input.swapfree || "number" === typeof input.swapfree && !Number.isNaN(input.swapfree)) && (null === input.slab || "number" === typeof input.slab && !Number.isNaN(input.slab)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable && !Number.isNaN(input.sReclaimable)) && (null === input.kernelStack || "number" === typeof input.kernelStack && !Number.isNaN(input.kernelStack)) && (null === input.memTotal || "number" === typeof input.memTotal && !Number.isNaN(input.memTotal)) && (null === input.memAvailable || "number" === typeof input.memAvailable && !Number.isNaN(input.memAvailable));
2476
+ return "object" === typeof input && null !== input && $io0(input);
2477
+ };
2478
+ if (false === __is(input))
2479
+ ((input, _path, _exceptionable = true) => {
2480
+ const $guard = __typia.json.createAssertStringify.guard;
2481
+ const $ao0 = (input, _path, _exceptionable = true) => (("object" === typeof input.cpu && null !== input.cpu || $guard(_exceptionable, {
2482
+ path: _path + ".cpu",
2483
+ expected: "__type",
2484
+ value: input.cpu
2485
+ }, errorFactory)) && $ao1(input.cpu, _path + ".cpu", true && _exceptionable) || $guard(_exceptionable, {
2486
+ path: _path + ".cpu",
2487
+ expected: "__type",
2488
+ value: input.cpu
2489
+ }, errorFactory)) && (("object" === typeof input.mem && null !== input.mem || $guard(_exceptionable, {
2490
+ path: _path + ".mem",
2491
+ expected: "__type.o1",
2492
+ value: input.mem
2493
+ }, errorFactory)) && $ao2(input.mem, _path + ".mem", true && _exceptionable) || $guard(_exceptionable, {
2494
+ path: _path + ".mem",
2495
+ expected: "__type.o1",
2496
+ value: input.mem
2497
+ }, errorFactory));
2498
+ const $ao1 = (input, _path, _exceptionable = true) => ("number" === typeof input.idle && !Number.isNaN(input.idle) || $guard(_exceptionable, {
2499
+ path: _path + ".idle",
2500
+ expected: "number",
2501
+ value: input.idle
2502
+ }, errorFactory)) && ("number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
2503
+ path: _path + ".total",
2504
+ expected: "number",
2505
+ value: input.total
2506
+ }, errorFactory));
2507
+ const $ao2 = (input, _path, _exceptionable = true) => ("number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
2508
+ path: _path + ".used",
2509
+ expected: "number",
2510
+ value: input.used
2511
+ }, errorFactory)) && ("number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
2512
+ path: _path + ".total",
2513
+ expected: "number",
2514
+ value: input.total
2515
+ }, errorFactory)) && (("object" === typeof input.arcstats && null !== input.arcstats || $guard(_exceptionable, {
2516
+ path: _path + ".arcstats",
2517
+ expected: "__type.o2",
2518
+ value: input.arcstats
2519
+ }, errorFactory)) && $ao3(input.arcstats, _path + ".arcstats", true && _exceptionable) || $guard(_exceptionable, {
2520
+ path: _path + ".arcstats",
2521
+ expected: "__type.o2",
2522
+ value: input.arcstats
2523
+ }, errorFactory)) && (("object" === typeof input.meminfo && null !== input.meminfo || $guard(_exceptionable, {
2524
+ path: _path + ".meminfo",
2525
+ expected: "__type.o3",
2526
+ value: input.meminfo
2527
+ }, errorFactory)) && $ao4(input.meminfo, _path + ".meminfo", true && _exceptionable) || $guard(_exceptionable, {
2528
+ path: _path + ".meminfo",
2529
+ expected: "__type.o3",
2530
+ value: input.meminfo
2531
+ }, errorFactory));
2532
+ const $ao3 = (input, _path, _exceptionable = true) => null === input.size || "number" === typeof input.size && !Number.isNaN(input.size) || $guard(_exceptionable, {
2533
+ path: _path + ".size",
2534
+ expected: "(null | number)",
2535
+ value: input.size
2536
+ }, errorFactory);
2537
+ const $ao4 = (input, _path, _exceptionable = true) => (null === input.total || "number" === typeof input.total && !Number.isNaN(input.total) || $guard(_exceptionable, {
2538
+ path: _path + ".total",
2539
+ expected: "(null | number)",
2540
+ value: input.total
2541
+ }, errorFactory)) && (null === input.free || "number" === typeof input.free && !Number.isNaN(input.free) || $guard(_exceptionable, {
2542
+ path: _path + ".free",
2543
+ expected: "(null | number)",
2544
+ value: input.free
2545
+ }, errorFactory)) && (null === input.used || "number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
2546
+ path: _path + ".used",
2547
+ expected: "(null | number)",
2548
+ value: input.used
2549
+ }, errorFactory)) && (null === input.active || "number" === typeof input.active && !Number.isNaN(input.active) || $guard(_exceptionable, {
2550
+ path: _path + ".active",
2551
+ expected: "(null | number)",
2552
+ value: input.active
2553
+ }, errorFactory)) && (null === input.available || "number" === typeof input.available && !Number.isNaN(input.available) || $guard(_exceptionable, {
2554
+ path: _path + ".available",
2555
+ expected: "(null | number)",
2556
+ value: input.available
2557
+ }, errorFactory)) && (null === input.buffers || "number" === typeof input.buffers && !Number.isNaN(input.buffers) || $guard(_exceptionable, {
2558
+ path: _path + ".buffers",
2559
+ expected: "(null | number)",
2560
+ value: input.buffers
2561
+ }, errorFactory)) && (null === input.cached || "number" === typeof input.cached && !Number.isNaN(input.cached) || $guard(_exceptionable, {
2562
+ path: _path + ".cached",
2563
+ expected: "(null | number)",
2564
+ value: input.cached
2565
+ }, errorFactory)) && (null === input.buffcache || "number" === typeof input.buffcache && !Number.isNaN(input.buffcache) || $guard(_exceptionable, {
2566
+ path: _path + ".buffcache",
2567
+ expected: "(null | number)",
2568
+ value: input.buffcache
2569
+ }, errorFactory)) && (null === input.reclaimable || "number" === typeof input.reclaimable && !Number.isNaN(input.reclaimable) || $guard(_exceptionable, {
2570
+ path: _path + ".reclaimable",
2571
+ expected: "(null | number)",
2572
+ value: input.reclaimable
2573
+ }, errorFactory)) && (null === input.swaptotal || "number" === typeof input.swaptotal && !Number.isNaN(input.swaptotal) || $guard(_exceptionable, {
2574
+ path: _path + ".swaptotal",
2575
+ expected: "(null | number)",
2576
+ value: input.swaptotal
2577
+ }, errorFactory)) && (null === input.swapused || "number" === typeof input.swapused && !Number.isNaN(input.swapused) || $guard(_exceptionable, {
2578
+ path: _path + ".swapused",
2579
+ expected: "(null | number)",
2580
+ value: input.swapused
2581
+ }, errorFactory)) && (null === input.swapfree || "number" === typeof input.swapfree && !Number.isNaN(input.swapfree) || $guard(_exceptionable, {
2582
+ path: _path + ".swapfree",
2583
+ expected: "(null | number)",
2584
+ value: input.swapfree
2585
+ }, errorFactory)) && (null === input.slab || "number" === typeof input.slab && !Number.isNaN(input.slab) || $guard(_exceptionable, {
2586
+ path: _path + ".slab",
2587
+ expected: "(null | number)",
2588
+ value: input.slab
2589
+ }, errorFactory)) && (null === input.sReclaimable || "number" === typeof input.sReclaimable && !Number.isNaN(input.sReclaimable) || $guard(_exceptionable, {
2590
+ path: _path + ".sReclaimable",
2591
+ expected: "(null | number)",
2592
+ value: input.sReclaimable
2593
+ }, errorFactory)) && (null === input.kernelStack || "number" === typeof input.kernelStack && !Number.isNaN(input.kernelStack) || $guard(_exceptionable, {
2594
+ path: _path + ".kernelStack",
2595
+ expected: "(null | number)",
2596
+ value: input.kernelStack
2597
+ }, errorFactory)) && (null === input.memTotal || "number" === typeof input.memTotal && !Number.isNaN(input.memTotal) || $guard(_exceptionable, {
2598
+ path: _path + ".memTotal",
2599
+ expected: "(null | number)",
2600
+ value: input.memTotal
2601
+ }, errorFactory)) && (null === input.memAvailable || "number" === typeof input.memAvailable && !Number.isNaN(input.memAvailable) || $guard(_exceptionable, {
2602
+ path: _path + ".memAvailable",
2603
+ expected: "(null | number)",
2604
+ value: input.memAvailable
2605
+ }, errorFactory));
2606
+ return ("object" === typeof input && null !== input || $guard(true, {
2607
+ path: _path + "",
2608
+ expected: "RenderDomainCpuStats",
2609
+ value: input
2610
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
2611
+ path: _path + "",
2612
+ expected: "RenderDomainCpuStats",
2613
+ value: input
2614
+ }, errorFactory);
2615
+ })(input, "$input", true);
2616
+ return input;
2617
+ }; const stringify = input => {
2618
+ const $io1 = input => "number" === typeof input.idle && "number" === typeof input.total;
2619
+ const $io2 = input => "number" === typeof input.used && "number" === typeof input.total && ("object" === typeof input.arcstats && null !== input.arcstats && $io3(input.arcstats)) && ("object" === typeof input.meminfo && null !== input.meminfo && $io4(input.meminfo));
2620
+ const $io3 = input => null === input.size || "number" === typeof input.size;
2621
+ const $io4 = input => (null === input.total || "number" === typeof input.total) && (null === input.free || "number" === typeof input.free) && (null === input.used || "number" === typeof input.used) && (null === input.active || "number" === typeof input.active) && (null === input.available || "number" === typeof input.available) && (null === input.buffers || "number" === typeof input.buffers) && (null === input.cached || "number" === typeof input.cached) && (null === input.buffcache || "number" === typeof input.buffcache) && (null === input.reclaimable || "number" === typeof input.reclaimable) && (null === input.swaptotal || "number" === typeof input.swaptotal) && (null === input.swapused || "number" === typeof input.swapused) && (null === input.swapfree || "number" === typeof input.swapfree) && (null === input.slab || "number" === typeof input.slab) && (null === input.sReclaimable || "number" === typeof input.sReclaimable) && (null === input.kernelStack || "number" === typeof input.kernelStack) && (null === input.memTotal || "number" === typeof input.memTotal) && (null === input.memAvailable || "number" === typeof input.memAvailable);
2622
+ const $so0 = input => `{"cpu":${`{"idle":${input.cpu.idle},"total":${input.cpu.total}}`},"mem":${$so2(input.mem)}}`;
2623
+ const $so2 = input => `{"used":${input.used},"total":${input.total},"arcstats":${$so3(input.arcstats)},"meminfo":${$so4(input.meminfo)}}`;
2624
+ const $so3 = input => `{"size":${null !== input.size ? input.size : "null"}}`;
2625
+ const $so4 = input => `{"total":${null !== input.total ? input.total : "null"},"free":${null !== input.free ? input.free : "null"},"used":${null !== input.used ? input.used : "null"},"active":${null !== input.active ? input.active : "null"},"available":${null !== input.available ? input.available : "null"},"buffers":${null !== input.buffers ? input.buffers : "null"},"cached":${null !== input.cached ? input.cached : "null"},"buffcache":${null !== input.buffcache ? input.buffcache : "null"},"reclaimable":${null !== input.reclaimable ? input.reclaimable : "null"},"swaptotal":${null !== input.swaptotal ? input.swaptotal : "null"},"swapused":${null !== input.swapused ? input.swapused : "null"},"swapfree":${null !== input.swapfree ? input.swapfree : "null"},"slab":${null !== input.slab ? input.slab : "null"},"sReclaimable":${null !== input.sReclaimable ? input.sReclaimable : "null"},"kernelStack":${null !== input.kernelStack ? input.kernelStack : "null"},"memTotal":${null !== input.memTotal ? input.memTotal : "null"},"memAvailable":${null !== input.memAvailable ? input.memAvailable : "null"}}`;
2626
+ return $so0(input);
2627
+ }; return stringify(assert(input, errorFactory)); };
2628
+ export const isRenderDomainNetStats = input => {
2629
+ const $io0 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io1(input.dev));
2630
+ const $io1 = input => "number" === typeof input.used;
2631
+ return "object" === typeof input && null !== input && $io0(input);
2632
+ };
2633
+ export const assertRenderDomainNetStats = (input, errorFactory) => {
2634
+ const __is = input => {
2635
+ const $io0 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io1(input.dev));
2636
+ const $io1 = input => "number" === typeof input.used;
2637
+ return "object" === typeof input && null !== input && $io0(input);
2638
+ };
2639
+ if (false === __is(input))
2640
+ ((input, _path, _exceptionable = true) => {
2641
+ const $guard = __typia.createAssert.guard;
2642
+ const $ao0 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
2643
+ path: _path + ".used",
2644
+ expected: "number",
2645
+ value: input.used
2646
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
2647
+ path: _path + ".type",
2648
+ expected: "(string | undefined)",
2649
+ value: input.type
2650
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
2651
+ path: _path + ".dev",
2652
+ expected: "(__type | undefined)",
2653
+ value: input.dev
2654
+ }, errorFactory)) && $ao1(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
2655
+ path: _path + ".dev",
2656
+ expected: "(__type | undefined)",
2657
+ value: input.dev
51
2658
  }, errorFactory));
52
- const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
53
- const value = input[key];
54
- if (undefined === value)
55
- return true;
56
- return true;
57
- });
58
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2659
+ const $ao1 = (input, _path, _exceptionable = true) => "number" === typeof input.used || $guard(_exceptionable, {
2660
+ path: _path + ".used",
2661
+ expected: "number",
2662
+ value: input.used
2663
+ }, errorFactory);
2664
+ return ("object" === typeof input && null !== input || $guard(true, {
59
2665
  path: _path + "",
60
- expected: "RenderDomainStatsRecord",
2666
+ expected: "RenderDomainNetStats",
61
2667
  value: input
62
2668
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
63
2669
  path: _path + "",
64
- expected: "RenderDomainStatsRecord",
2670
+ expected: "RenderDomainNetStats",
65
2671
  value: input
66
2672
  }, errorFactory);
67
2673
  })(input, "$input", true);
68
2674
  return input;
69
2675
  };
70
- export const randomRenderDomainStatsRecord = generator => {
2676
+ export const randomRenderDomainNetStats = generator => {
71
2677
  const $generator = __typia.createRandom.generator;
72
2678
  const $pick = __typia.createRandom.pick;
73
2679
  const $ro0 = (_recursive = false, _depth = 0) => ({
74
- progress: $pick([
75
- () => undefined,
76
- () => null,
77
- () => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
78
- ])(),
79
- error: $pick([
2680
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100),
2681
+ type: $pick([
80
2682
  () => undefined,
81
- () => null,
82
- () => (generator?.array ?? $generator.array)(() => $ro1(_recursive, _recursive ? 1 + _depth : _depth))
2683
+ () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
83
2684
  ])(),
84
- status: $pick([
2685
+ dev: $pick([
85
2686
  () => undefined,
86
- () => null,
87
- () => (generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()
2687
+ () => $ro1(_recursive, _recursive ? 1 + _depth : _depth)
88
2688
  ])()
89
2689
  });
90
- const $ro1 = (_recursive = false, _depth = 0) => {
91
- const output = {};
92
- (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = "any type used...", (generator?.integer ?? $generator.integer)(0, 3));
93
- return output;
94
- };
2690
+ const $ro1 = (_recursive = false, _depth = 0) => ({
2691
+ used: (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)
2692
+ });
95
2693
  return $ro0();
96
2694
  };
97
- export const assertGuardRenderDomainStatsRecord = (input, errorFactory) => {
2695
+ export const assertGuardRenderDomainNetStats = (input, errorFactory) => {
98
2696
  const __is = input => {
99
- const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status);
100
- const $io1 = input => Object.keys(input).every(key => {
101
- const value = input[key];
102
- if (undefined === value)
103
- return true;
104
- return true;
105
- });
106
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2697
+ const $io0 = input => "number" === typeof input.used && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io1(input.dev));
2698
+ const $io1 = input => "number" === typeof input.used;
2699
+ return "object" === typeof input && null !== input && $io0(input);
107
2700
  };
108
2701
  if (false === __is(input))
109
2702
  ((input, _path, _exceptionable = true) => {
110
2703
  const $guard = __typia.createAssertGuard.guard;
111
- const $join = __typia.createAssertGuard.join;
112
- const $ao0 = (input, _path, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress || $guard(_exceptionable, {
113
- path: _path + ".progress",
114
- expected: "(null | number | undefined)",
115
- value: input.progress
116
- }, errorFactory)) && (null === input.error || undefined === input.error || (Array.isArray(input.error) || $guard(_exceptionable, {
117
- path: _path + ".error",
118
- expected: "(Array<Record<string, unknown>> | null | undefined)",
119
- value: input.error
120
- }, errorFactory)) && input.error.every((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
121
- path: _path + ".error[" + _index1 + "]",
122
- expected: "Record<string, unknown>",
123
- value: elem
124
- }, errorFactory)) && $ao1(elem, _path + ".error[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
125
- path: _path + ".error[" + _index1 + "]",
126
- expected: "Record<string, unknown>",
127
- value: elem
128
- }, errorFactory)) || $guard(_exceptionable, {
129
- path: _path + ".error",
130
- expected: "(Array<Record<string, unknown>> | null | undefined)",
131
- value: input.error
132
- }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
133
- path: _path + ".status",
134
- expected: "(null | string | undefined)",
135
- value: input.status
2704
+ const $ao0 = (input, _path, _exceptionable = true) => ("number" === typeof input.used || $guard(_exceptionable, {
2705
+ path: _path + ".used",
2706
+ expected: "number",
2707
+ value: input.used
2708
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
2709
+ path: _path + ".type",
2710
+ expected: "(string | undefined)",
2711
+ value: input.type
2712
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
2713
+ path: _path + ".dev",
2714
+ expected: "(__type | undefined)",
2715
+ value: input.dev
2716
+ }, errorFactory)) && $ao1(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
2717
+ path: _path + ".dev",
2718
+ expected: "(__type | undefined)",
2719
+ value: input.dev
136
2720
  }, errorFactory));
137
- const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
138
- const value = input[key];
139
- if (undefined === value)
140
- return true;
141
- return true;
142
- });
143
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2721
+ const $ao1 = (input, _path, _exceptionable = true) => "number" === typeof input.used || $guard(_exceptionable, {
2722
+ path: _path + ".used",
2723
+ expected: "number",
2724
+ value: input.used
2725
+ }, errorFactory);
2726
+ return ("object" === typeof input && null !== input || $guard(true, {
144
2727
  path: _path + "",
145
- expected: "RenderDomainStatsRecord",
2728
+ expected: "RenderDomainNetStats",
146
2729
  value: input
147
2730
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
148
2731
  path: _path + "",
149
- expected: "RenderDomainStatsRecord",
2732
+ expected: "RenderDomainNetStats",
150
2733
  value: input
151
2734
  }, errorFactory);
152
2735
  })(input, "$input", true);
153
2736
  };
154
- export const stringifyRenderDomainStatsRecord = input => {
155
- const $io1 = input => Object.keys(input).every(key => {
156
- const value = input[key];
157
- if (undefined === value)
158
- return true;
159
- return true;
160
- });
2737
+ export const stringifyRenderDomainNetStats = input => {
2738
+ const $io1 = input => "number" === typeof input.used;
161
2739
  const $string = __typia.json.createStringify.string;
162
- const $tail = __typia.json.createStringify.tail;
163
- const $so0 = input => `{${$tail(`${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => $so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? $string(input.status) : "null" : undefined}`}`)}}`;
164
- const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
165
- return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2740
+ const $so0 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.dev ? "" : `"dev":${undefined !== input.dev ? `{"used":${input.dev.used}}` : undefined},`}"used":${input.used}}`;
166
2741
  return $so0(input);
167
2742
  };
168
- export const assertStringifyRenderDomainStatsRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
2743
+ export const assertStringifyRenderDomainNetStats = (input, errorFactory) => { const assert = (input, errorFactory) => {
169
2744
  const __is = input => {
170
- const $io0 = input => (null === input.progress || undefined === input.progress || "number" === typeof input.progress && !Number.isNaN(input.progress)) && (null === input.error || undefined === input.error || Array.isArray(input.error) && input.error.every(elem => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io1(elem))) && (null === input.status || undefined === input.status || "string" === typeof input.status);
171
- const $io1 = input => Object.keys(input).every(key => {
172
- const value = input[key];
173
- if (undefined === value)
174
- return true;
175
- return true;
176
- });
177
- return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
2745
+ const $io0 = input => "number" === typeof input.used && !Number.isNaN(input.used) && (undefined === input.type || "string" === typeof input.type) && (undefined === input.dev || "object" === typeof input.dev && null !== input.dev && $io1(input.dev));
2746
+ const $io1 = input => "number" === typeof input.used && !Number.isNaN(input.used);
2747
+ return "object" === typeof input && null !== input && $io0(input);
178
2748
  };
179
2749
  if (false === __is(input))
180
2750
  ((input, _path, _exceptionable = true) => {
181
2751
  const $guard = __typia.json.createAssertStringify.guard;
182
- const $join = __typia.json.createAssertStringify.join;
183
- const $ao0 = (input, _path, _exceptionable = true) => (null === input.progress || undefined === input.progress || "number" === typeof input.progress && !Number.isNaN(input.progress) || $guard(_exceptionable, {
184
- path: _path + ".progress",
185
- expected: "(null | number | undefined)",
186
- value: input.progress
187
- }, errorFactory)) && (null === input.error || undefined === input.error || (Array.isArray(input.error) || $guard(_exceptionable, {
188
- path: _path + ".error",
189
- expected: "(Array<Record<string, unknown>> | null | undefined)",
190
- value: input.error
191
- }, errorFactory)) && input.error.every((elem, _index1) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $guard(_exceptionable, {
192
- path: _path + ".error[" + _index1 + "]",
193
- expected: "Record<string, unknown>",
194
- value: elem
195
- }, errorFactory)) && $ao1(elem, _path + ".error[" + _index1 + "]", true && _exceptionable) || $guard(_exceptionable, {
196
- path: _path + ".error[" + _index1 + "]",
197
- expected: "Record<string, unknown>",
198
- value: elem
199
- }, errorFactory)) || $guard(_exceptionable, {
200
- path: _path + ".error",
201
- expected: "(Array<Record<string, unknown>> | null | undefined)",
202
- value: input.error
203
- }, errorFactory)) && (null === input.status || undefined === input.status || "string" === typeof input.status || $guard(_exceptionable, {
204
- path: _path + ".status",
205
- expected: "(null | string | undefined)",
206
- value: input.status
2752
+ const $ao0 = (input, _path, _exceptionable = true) => ("number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
2753
+ path: _path + ".used",
2754
+ expected: "number",
2755
+ value: input.used
2756
+ }, errorFactory)) && (undefined === input.type || "string" === typeof input.type || $guard(_exceptionable, {
2757
+ path: _path + ".type",
2758
+ expected: "(string | undefined)",
2759
+ value: input.type
2760
+ }, errorFactory)) && (undefined === input.dev || ("object" === typeof input.dev && null !== input.dev || $guard(_exceptionable, {
2761
+ path: _path + ".dev",
2762
+ expected: "(__type | undefined)",
2763
+ value: input.dev
2764
+ }, errorFactory)) && $ao1(input.dev, _path + ".dev", true && _exceptionable) || $guard(_exceptionable, {
2765
+ path: _path + ".dev",
2766
+ expected: "(__type | undefined)",
2767
+ value: input.dev
207
2768
  }, errorFactory));
208
- const $ao1 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
209
- const value = input[key];
210
- if (undefined === value)
211
- return true;
212
- return true;
213
- });
214
- return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
2769
+ const $ao1 = (input, _path, _exceptionable = true) => "number" === typeof input.used && !Number.isNaN(input.used) || $guard(_exceptionable, {
2770
+ path: _path + ".used",
2771
+ expected: "number",
2772
+ value: input.used
2773
+ }, errorFactory);
2774
+ return ("object" === typeof input && null !== input || $guard(true, {
215
2775
  path: _path + "",
216
- expected: "RenderDomainStatsRecord",
2776
+ expected: "RenderDomainNetStats",
217
2777
  value: input
218
2778
  }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
219
2779
  path: _path + "",
220
- expected: "RenderDomainStatsRecord",
2780
+ expected: "RenderDomainNetStats",
221
2781
  value: input
222
2782
  }, errorFactory);
223
2783
  })(input, "$input", true);
224
2784
  return input;
225
2785
  }; const stringify = input => {
226
- const $io1 = input => Object.keys(input).every(key => {
227
- const value = input[key];
228
- if (undefined === value)
229
- return true;
230
- return true;
231
- });
2786
+ const $io1 = input => "number" === typeof input.used;
232
2787
  const $string = __typia.json.createAssertStringify.string;
233
- const $tail = __typia.json.createAssertStringify.tail;
234
- const $so0 = input => `{${$tail(`${undefined === input.progress ? "" : `"progress":${undefined !== input.progress ? null !== input.progress ? input.progress : "null" : undefined},`}${undefined === input.error ? "" : `"error":${undefined !== input.error ? null !== input.error ? `[${input.error.map(elem => $so1(elem)).join(",")}]` : "null" : undefined},`}${undefined === input.status ? "" : `"status":${undefined !== input.status ? null !== input.status ? $string(input.status) : "null" : undefined}`}`)}}`;
235
- const $so1 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
236
- return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2788
+ const $so0 = input => `{${undefined === input.type ? "" : `"type":${undefined !== input.type ? $string(input.type) : undefined},`}${undefined === input.dev ? "" : `"dev":${undefined !== input.dev ? `{"used":${input.dev.used}}` : undefined},`}"used":${input.used}}`;
237
2789
  return $so0(input);
238
2790
  }; return stringify(assert(input, errorFactory)); };
239
2791
  export const isRenderDomainQueryRecord = input => {
@@ -2071,3 +4623,161 @@ export const assertStringifyRenderDomainResultRecord = (input, errorFactory) =>
2071
4623
  return ""; return `${JSON.stringify(key)}:${undefined !== value ? JSON.stringify(value) : undefined}`; }).filter(str => "" !== str).join(",")}}`;
2072
4624
  return $so0(input);
2073
4625
  }; return stringify(assert(input, errorFactory)); };
4626
+ export const isRenderDomainSchedulersRecord = input => {
4627
+ const $io0 = input => Object.keys(input).every(key => {
4628
+ const value = input[key];
4629
+ if (undefined === value)
4630
+ return true;
4631
+ return Array.isArray(value) && value.every(elem => "number" === typeof elem);
4632
+ });
4633
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
4634
+ };
4635
+ export const assertRenderDomainSchedulersRecord = (input, errorFactory) => {
4636
+ const __is = input => {
4637
+ const $io0 = input => Object.keys(input).every(key => {
4638
+ const value = input[key];
4639
+ if (undefined === value)
4640
+ return true;
4641
+ return Array.isArray(value) && value.every(elem => "number" === typeof elem);
4642
+ });
4643
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
4644
+ };
4645
+ if (false === __is(input))
4646
+ ((input, _path, _exceptionable = true) => {
4647
+ const $guard = __typia.createAssert.guard;
4648
+ const $join = __typia.createAssert.join;
4649
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
4650
+ const value = input[key];
4651
+ if (undefined === value)
4652
+ return true;
4653
+ return (Array.isArray(value) || $guard(_exceptionable, {
4654
+ path: _path + $join(key),
4655
+ expected: "Array<number>",
4656
+ value: value
4657
+ }, errorFactory)) && value.every((elem, _index1) => "number" === typeof elem || $guard(_exceptionable, {
4658
+ path: _path + $join(key) + "[" + _index1 + "]",
4659
+ expected: "number",
4660
+ value: elem
4661
+ }, errorFactory)) || $guard(_exceptionable, {
4662
+ path: _path + $join(key),
4663
+ expected: "Array<number>",
4664
+ value: value
4665
+ }, errorFactory);
4666
+ });
4667
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4668
+ path: _path + "",
4669
+ expected: "RenderDomainSchedulersRecord",
4670
+ value: input
4671
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4672
+ path: _path + "",
4673
+ expected: "RenderDomainSchedulersRecord",
4674
+ value: input
4675
+ }, errorFactory);
4676
+ })(input, "$input", true);
4677
+ return input;
4678
+ };
4679
+ export const randomRenderDomainSchedulersRecord = generator => {
4680
+ const $generator = __typia.createRandom.generator;
4681
+ const $ro0 = (_recursive = false, _depth = 0) => {
4682
+ const output = {};
4683
+ (generator?.array ?? $generator.array)(() => output[(generator?.customs ?? $generator.customs)?.string?.([]) ?? (generator?.string ?? $generator.string)()] = (generator?.array ?? $generator.array)(() => (generator?.customs ?? $generator.customs)?.number?.([]) ?? (generator?.number ?? $generator.number)(0, 100)), (generator?.integer ?? $generator.integer)(0, 3));
4684
+ return output;
4685
+ };
4686
+ return $ro0();
4687
+ };
4688
+ export const assertGuardRenderDomainSchedulersRecord = (input, errorFactory) => {
4689
+ const __is = input => {
4690
+ const $io0 = input => Object.keys(input).every(key => {
4691
+ const value = input[key];
4692
+ if (undefined === value)
4693
+ return true;
4694
+ return Array.isArray(value) && value.every(elem => "number" === typeof elem);
4695
+ });
4696
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
4697
+ };
4698
+ if (false === __is(input))
4699
+ ((input, _path, _exceptionable = true) => {
4700
+ const $guard = __typia.createAssertGuard.guard;
4701
+ const $join = __typia.createAssertGuard.join;
4702
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
4703
+ const value = input[key];
4704
+ if (undefined === value)
4705
+ return true;
4706
+ return (Array.isArray(value) || $guard(_exceptionable, {
4707
+ path: _path + $join(key),
4708
+ expected: "Array<number>",
4709
+ value: value
4710
+ }, errorFactory)) && value.every((elem, _index1) => "number" === typeof elem || $guard(_exceptionable, {
4711
+ path: _path + $join(key) + "[" + _index1 + "]",
4712
+ expected: "number",
4713
+ value: elem
4714
+ }, errorFactory)) || $guard(_exceptionable, {
4715
+ path: _path + $join(key),
4716
+ expected: "Array<number>",
4717
+ value: value
4718
+ }, errorFactory);
4719
+ });
4720
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4721
+ path: _path + "",
4722
+ expected: "RenderDomainSchedulersRecord",
4723
+ value: input
4724
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4725
+ path: _path + "",
4726
+ expected: "RenderDomainSchedulersRecord",
4727
+ value: input
4728
+ }, errorFactory);
4729
+ })(input, "$input", true);
4730
+ };
4731
+ export const stringifyRenderDomainSchedulersRecord = input => {
4732
+ const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
4733
+ return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => elem).join(",")}]`}`; }).filter(str => "" !== str).join(",")}}`;
4734
+ return $so0(input);
4735
+ };
4736
+ export const assertStringifyRenderDomainSchedulersRecord = (input, errorFactory) => { const assert = (input, errorFactory) => {
4737
+ const __is = input => {
4738
+ const $io0 = input => Object.keys(input).every(key => {
4739
+ const value = input[key];
4740
+ if (undefined === value)
4741
+ return true;
4742
+ return Array.isArray(value) && value.every(elem => "number" === typeof elem && !Number.isNaN(elem));
4743
+ });
4744
+ return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
4745
+ };
4746
+ if (false === __is(input))
4747
+ ((input, _path, _exceptionable = true) => {
4748
+ const $guard = __typia.json.createAssertStringify.guard;
4749
+ const $join = __typia.json.createAssertStringify.join;
4750
+ const $ao0 = (input, _path, _exceptionable = true) => false === _exceptionable || Object.keys(input).every(key => {
4751
+ const value = input[key];
4752
+ if (undefined === value)
4753
+ return true;
4754
+ return (Array.isArray(value) || $guard(_exceptionable, {
4755
+ path: _path + $join(key),
4756
+ expected: "Array<number>",
4757
+ value: value
4758
+ }, errorFactory)) && value.every((elem, _index1) => "number" === typeof elem && !Number.isNaN(elem) || $guard(_exceptionable, {
4759
+ path: _path + $join(key) + "[" + _index1 + "]",
4760
+ expected: "number",
4761
+ value: elem
4762
+ }, errorFactory)) || $guard(_exceptionable, {
4763
+ path: _path + $join(key),
4764
+ expected: "Array<number>",
4765
+ value: value
4766
+ }, errorFactory);
4767
+ });
4768
+ return ("object" === typeof input && null !== input && false === Array.isArray(input) || $guard(true, {
4769
+ path: _path + "",
4770
+ expected: "RenderDomainSchedulersRecord",
4771
+ value: input
4772
+ }, errorFactory)) && $ao0(input, _path + "", true) || $guard(true, {
4773
+ path: _path + "",
4774
+ expected: "RenderDomainSchedulersRecord",
4775
+ value: input
4776
+ }, errorFactory);
4777
+ })(input, "$input", true);
4778
+ return input;
4779
+ }; const stringify = input => {
4780
+ const $so0 = input => `{${Object.entries(input).map(([key, value]) => { if (undefined === value)
4781
+ return ""; return `${JSON.stringify(key)}:${`[${value.map(elem => elem).join(",")}]`}`; }).filter(str => "" !== str).join(",")}}`;
4782
+ return $so0(input);
4783
+ }; return stringify(assert(input, errorFactory)); };