@zgeoff/imp-client 0.25.0 → 0.26.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 +17 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4642,6 +4642,7 @@ declare const impContract: {
|
|
|
4642
4642
|
prepare: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
4643
4643
|
name: z.ZodString;
|
|
4644
4644
|
stop: z.ZodOptional<z.ZodBoolean>;
|
|
4645
|
+
force: z.ZodOptional<z.ZodBoolean>;
|
|
4645
4646
|
targetStorage: z.ZodOptional<z.ZodEnum<{
|
|
4646
4647
|
xfs: "xfs";
|
|
4647
4648
|
zfs: "zfs";
|
|
@@ -12223,6 +12224,14 @@ declare const impContract: {
|
|
|
12223
12224
|
at: z.ZodDate;
|
|
12224
12225
|
}, z.core.$strip>>;
|
|
12225
12226
|
}, z.core.$strip>>>;
|
|
12227
|
+
https: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12228
|
+
domain: z.ZodString;
|
|
12229
|
+
dnsToken: z.ZodNullable<z.ZodObject<{
|
|
12230
|
+
isOk: z.ZodBoolean;
|
|
12231
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12232
|
+
at: z.ZodDate;
|
|
12233
|
+
}, z.core.$strip>>;
|
|
12234
|
+
}, z.core.$strip>>>;
|
|
12226
12235
|
features: z.ZodOptional<z.ZodObject<{
|
|
12227
12236
|
sessionOffsets: z.ZodBoolean;
|
|
12228
12237
|
leases: z.ZodBoolean;
|
|
@@ -13817,6 +13826,14 @@ declare const SystemInfoSchema: z.ZodObject<{
|
|
|
13817
13826
|
at: z.ZodDate;
|
|
13818
13827
|
}, z.core.$strip>>;
|
|
13819
13828
|
}, z.core.$strip>>>;
|
|
13829
|
+
https: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
13830
|
+
domain: z.ZodString;
|
|
13831
|
+
dnsToken: z.ZodNullable<z.ZodObject<{
|
|
13832
|
+
isOk: z.ZodBoolean;
|
|
13833
|
+
error: z.ZodNullable<z.ZodString>;
|
|
13834
|
+
at: z.ZodDate;
|
|
13835
|
+
}, z.core.$strip>>;
|
|
13836
|
+
}, z.core.$strip>>>;
|
|
13820
13837
|
features: z.ZodOptional<z.ZodObject<{
|
|
13821
13838
|
sessionOffsets: z.ZodBoolean;
|
|
13822
13839
|
leases: z.ZodBoolean;
|
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.26.0";
|
|
7
7
|
async function checkServer(rpc) {
|
|
8
8
|
const info = await rpc.system.info();
|
|
9
9
|
return {
|