@heynixie/contract 0.82.0 → 0.83.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.
@@ -2194,6 +2194,34 @@ export declare function buildQueryUtils(client: ContractClient): {
2194
2194
  }>>> & import("@orpc/tanstack-query").GeneralUtils<{
2195
2195
  file: string;
2196
2196
  }>;
2197
+ list: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, {
2198
+ cursor?: string | undefined;
2199
+ kind?: "image" | "other" | undefined;
2200
+ }, {
2201
+ files: {
2202
+ file: string;
2203
+ name: string;
2204
+ bytes: number;
2205
+ mediaType: string;
2206
+ recordedAt: Date;
2207
+ thread: string;
2208
+ sequence: number;
2209
+ position: number;
2210
+ isSent: boolean;
2211
+ runFileCount: number;
2212
+ taskID: string | null;
2213
+ taskName: string | null;
2214
+ }[];
2215
+ nextCursor: string | null;
2216
+ }, import("@orpc/contract").ErrorFromErrorMap<import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2217
+ UNAUTHORIZED: {
2218
+ message: string;
2219
+ status: number;
2220
+ };
2221
+ }>>> & import("@orpc/tanstack-query").GeneralUtils<{
2222
+ cursor?: string | undefined;
2223
+ kind?: "image" | "other" | undefined;
2224
+ }>;
2197
2225
  } & import("@orpc/tanstack-query").GeneralUtils<unknown>;
2198
2226
  nixie: {
2199
2227
  read: import("@orpc/tanstack-query").ProcedureUtils<Record<never, never>, unknown, {
@@ -2551,6 +2551,34 @@ export declare const contract: {
2551
2551
  status: number;
2552
2552
  };
2553
2553
  }>, Record<never, never>>;
2554
+ list: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2555
+ cursor: z.ZodOptional<z.ZodString>;
2556
+ kind: z.ZodOptional<z.ZodEnum<{
2557
+ image: "image";
2558
+ other: "other";
2559
+ }>>;
2560
+ }, z.core.$strip>, z.ZodObject<{
2561
+ files: z.ZodArray<z.ZodObject<{
2562
+ file: z.ZodString;
2563
+ name: z.ZodString;
2564
+ bytes: z.ZodInt;
2565
+ mediaType: z.ZodString;
2566
+ recordedAt: z.ZodDate;
2567
+ thread: z.ZodString;
2568
+ sequence: z.ZodInt;
2569
+ position: z.ZodInt;
2570
+ isSent: z.ZodBoolean;
2571
+ runFileCount: z.ZodInt;
2572
+ taskID: z.ZodNullable<z.ZodString>;
2573
+ taskName: z.ZodNullable<z.ZodString>;
2574
+ }, z.core.$strip>>;
2575
+ nextCursor: z.ZodNullable<z.ZodString>;
2576
+ }, z.core.$strip>, import("@orpc/contract").MergedErrorMap<Record<never, never>, {
2577
+ UNAUTHORIZED: {
2578
+ message: string;
2579
+ status: number;
2580
+ };
2581
+ }>, Record<never, never>>;
2554
2582
  };
2555
2583
  nixie: {
2556
2584
  read: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const codeFileSchema: z.ZodObject<{
3
+ file: z.ZodString;
4
+ name: z.ZodString;
5
+ bytes: z.ZodInt;
6
+ mediaType: z.ZodString;
7
+ recordedAt: z.ZodDate;
8
+ thread: z.ZodString;
9
+ sequence: z.ZodInt;
10
+ position: z.ZodInt;
11
+ isSent: z.ZodBoolean;
12
+ runFileCount: z.ZodInt;
13
+ taskID: z.ZodNullable<z.ZodString>;
14
+ taskName: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>;