@zgeoff/imp-client 0.13.1 → 0.14.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 CHANGED
@@ -7022,6 +7022,7 @@ declare const impContract: {
7022
7022
  }>, Record<never, never>>;
7023
7023
  gc: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
7024
7024
  dryRun: z.ZodOptional<z.ZodBoolean>;
7025
+ orphans: z.ZodOptional<z.ZodBoolean>;
7025
7026
  }, z.core.$strip>, z.ZodReadonly<z.ZodObject<{
7026
7027
  dryRun: z.ZodBoolean;
7027
7028
  dropped: z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
@@ -7034,6 +7035,19 @@ declare const impContract: {
7034
7035
  }>;
7035
7036
  id: z.ZodString;
7036
7037
  }, z.core.$strip>>>>;
7038
+ kept: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodReadonly<z.ZodObject<{
7039
+ kind: z.ZodEnum<{
7040
+ checkpoint: "checkpoint";
7041
+ image: "image";
7042
+ imp: "imp";
7043
+ memory: "memory";
7044
+ }>;
7045
+ id: z.ZodString;
7046
+ location: z.ZodString;
7047
+ bytes: z.ZodInt;
7048
+ createdAt: z.ZodNullable<z.ZodDate>;
7049
+ snapshots: z.ZodReadonly<z.ZodArray<z.ZodString>>;
7050
+ }, z.core.$strip>>>>>;
7037
7051
  }, z.core.$strip>>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
7038
7052
  NOT_FOUND: {
7039
7053
  readonly message: "Not found";
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.13.1";
6
+ const CLIENT_VERSION = "0.14.0";
7
7
  async function checkServer(rpc) {
8
8
  const info = await rpc.system.info();
9
9
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgeoff/imp-client",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "Typed client for impd, the imp host daemon: imps, checkpoints, images and exec",
5
5
  "license": "MIT",
6
6
  "repository": {