@zgeoff/imp-client 0.19.0 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12099,6 +12099,7 @@ declare const impContract: {
|
|
|
12099
12099
|
ramUsedMib: z.ZodInt;
|
|
12100
12100
|
ramReservedMib: z.ZodInt;
|
|
12101
12101
|
ramCommittedMib: z.ZodInt;
|
|
12102
|
+
ramSleepingMib: z.ZodOptional<z.ZodInt>;
|
|
12102
12103
|
awakeCount: z.ZodInt;
|
|
12103
12104
|
impCount: z.ZodInt;
|
|
12104
12105
|
sessionCount: z.ZodInt;
|
|
@@ -12144,10 +12145,25 @@ declare const impContract: {
|
|
|
12144
12145
|
}, z.core.$strip>>>;
|
|
12145
12146
|
}, z.core.$strip>>;
|
|
12146
12147
|
}, z.core.$strip>;
|
|
12148
|
+
ksm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12149
|
+
running: z.ZodBoolean;
|
|
12150
|
+
sharedMib: z.ZodInt;
|
|
12151
|
+
profitMib: z.ZodInt;
|
|
12152
|
+
zeroMib: z.ZodInt;
|
|
12153
|
+
headroomMib: z.ZodInt;
|
|
12154
|
+
unmergeable: z.ZodInt;
|
|
12155
|
+
}, z.core.$strip>>>;
|
|
12147
12156
|
cpu: z.ZodOptional<z.ZodObject<{
|
|
12148
12157
|
hostCpus: z.ZodInt;
|
|
12149
12158
|
limitsEnforced: z.ZodBoolean;
|
|
12150
12159
|
}, z.core.$strip>>;
|
|
12160
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
12161
|
+
memoryMib: z.ZodInt;
|
|
12162
|
+
image: z.ZodNullable<z.ZodString>;
|
|
12163
|
+
}, z.core.$strip>>;
|
|
12164
|
+
egress: z.ZodOptional<z.ZodObject<{
|
|
12165
|
+
isEnforced: z.ZodBoolean;
|
|
12166
|
+
}, z.core.$strip>>;
|
|
12151
12167
|
public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12152
12168
|
ip: z.ZodIPv4;
|
|
12153
12169
|
imps: z.ZodInt;
|
|
@@ -13675,6 +13691,7 @@ declare const SystemInfoSchema: z.ZodObject<{
|
|
|
13675
13691
|
ramUsedMib: z.ZodInt;
|
|
13676
13692
|
ramReservedMib: z.ZodInt;
|
|
13677
13693
|
ramCommittedMib: z.ZodInt;
|
|
13694
|
+
ramSleepingMib: z.ZodOptional<z.ZodInt>;
|
|
13678
13695
|
awakeCount: z.ZodInt;
|
|
13679
13696
|
impCount: z.ZodInt;
|
|
13680
13697
|
sessionCount: z.ZodInt;
|
|
@@ -13720,10 +13737,25 @@ declare const SystemInfoSchema: z.ZodObject<{
|
|
|
13720
13737
|
}, z.core.$strip>>>;
|
|
13721
13738
|
}, z.core.$strip>>;
|
|
13722
13739
|
}, z.core.$strip>;
|
|
13740
|
+
ksm: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13741
|
+
running: z.ZodBoolean;
|
|
13742
|
+
sharedMib: z.ZodInt;
|
|
13743
|
+
profitMib: z.ZodInt;
|
|
13744
|
+
zeroMib: z.ZodInt;
|
|
13745
|
+
headroomMib: z.ZodInt;
|
|
13746
|
+
unmergeable: z.ZodInt;
|
|
13747
|
+
}, z.core.$strip>>>;
|
|
13723
13748
|
cpu: z.ZodOptional<z.ZodObject<{
|
|
13724
13749
|
hostCpus: z.ZodInt;
|
|
13725
13750
|
limitsEnforced: z.ZodBoolean;
|
|
13726
13751
|
}, z.core.$strip>>;
|
|
13752
|
+
defaults: z.ZodOptional<z.ZodObject<{
|
|
13753
|
+
memoryMib: z.ZodInt;
|
|
13754
|
+
image: z.ZodNullable<z.ZodString>;
|
|
13755
|
+
}, z.core.$strip>>;
|
|
13756
|
+
egress: z.ZodOptional<z.ZodObject<{
|
|
13757
|
+
isEnforced: z.ZodBoolean;
|
|
13758
|
+
}, z.core.$strip>>;
|
|
13727
13759
|
public: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13728
13760
|
ip: z.ZodIPv4;
|
|
13729
13761
|
imps: z.ZodInt;
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { RPCLink } from "@orpc/client/fetch";
|
|
|
3
3
|
import * as z from "zod";
|
|
4
4
|
//#endregion
|
|
5
5
|
//#region src/check-server.ts
|
|
6
|
-
const CLIENT_VERSION = "0.
|
|
6
|
+
const CLIENT_VERSION = "0.21.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|