shoal-web-sdk 0.0.138 → 0.0.140

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.
@@ -778,14 +778,14 @@ export declare const getEnvironmentVersionsQueryKey: (options: Options<GetEnviro
778
778
  tags?: ReadonlyArray<string>;
779
779
  }];
780
780
  /**
781
- * Get all the environment versions.
781
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
782
782
  */
783
- export declare const getEnvironmentVersionsOptions: (options: Options<GetEnvironmentVersionsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").EnvironmentVersion[], Error, import("../types.gen").EnvironmentVersion[], [Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
783
+ export declare const getEnvironmentVersionsOptions: (options: Options<GetEnvironmentVersionsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaginatedEnvironmentVersions, Error, import("../types.gen").PaginatedEnvironmentVersions, [Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
784
784
  _id: string;
785
785
  _infinite?: boolean;
786
786
  tags?: ReadonlyArray<string>;
787
787
  }]>, "queryFn"> & {
788
- queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").EnvironmentVersion[], [Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
788
+ queryFn?: import("@tanstack/react-query").QueryFunction<import("../types.gen").PaginatedEnvironmentVersions, [Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
789
789
  _id: string;
790
790
  _infinite?: boolean;
791
791
  tags?: ReadonlyArray<string>;
@@ -796,7 +796,31 @@ export declare const getEnvironmentVersionsOptions: (options: Options<GetEnviron
796
796
  _infinite?: boolean;
797
797
  tags?: ReadonlyArray<string>;
798
798
  }] & {
799
- [dataTagSymbol]: import("../types.gen").EnvironmentVersion[];
799
+ [dataTagSymbol]: import("../types.gen").PaginatedEnvironmentVersions;
800
+ [dataTagErrorSymbol]: Error;
801
+ };
802
+ };
803
+ export declare const getEnvironmentVersionsInfiniteQueryKey: (options: Options<GetEnvironmentVersionsData>) => QueryKey<Options<GetEnvironmentVersionsData>>;
804
+ /**
805
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
806
+ */
807
+ export declare const getEnvironmentVersionsInfiniteOptions: (options: Options<GetEnvironmentVersionsData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").PaginatedEnvironmentVersions, Error, InfiniteData<import("../types.gen").PaginatedEnvironmentVersions, unknown>, QueryKey<Options<GetEnvironmentVersionsData>>, number | Pick<Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
808
+ _id: string;
809
+ _infinite?: boolean;
810
+ tags?: ReadonlyArray<string>;
811
+ }, "query" | "body" | "headers" | "path">> & {
812
+ initialData: InfiniteData<import("../types.gen").PaginatedEnvironmentVersions, number | Pick<Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
813
+ _id: string;
814
+ _infinite?: boolean;
815
+ tags?: ReadonlyArray<string>;
816
+ }, "query" | "body" | "headers" | "path">> | (() => InfiniteData<import("../types.gen").PaginatedEnvironmentVersions, number | Pick<Pick<Options<GetEnvironmentVersionsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
817
+ _id: string;
818
+ _infinite?: boolean;
819
+ tags?: ReadonlyArray<string>;
820
+ }, "query" | "body" | "headers" | "path">>) | undefined;
821
+ } & {
822
+ queryKey: QueryKey<Options<GetEnvironmentVersionsData>> & {
823
+ [dataTagSymbol]: InfiniteData<import("../types.gen").PaginatedEnvironmentVersions, unknown>;
800
824
  [dataTagErrorSymbol]: Error;
801
825
  };
802
826
  };
@@ -845,7 +845,7 @@ export const getEnvironmentOverviewOptions = (options) => {
845
845
  };
846
846
  export const getEnvironmentVersionsQueryKey = (options) => createQueryKey('getEnvironmentVersions', options);
847
847
  /**
848
- * Get all the environment versions.
848
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
849
849
  */
850
850
  export const getEnvironmentVersionsOptions = (options) => {
851
851
  return queryOptions({
@@ -861,6 +861,33 @@ export const getEnvironmentVersionsOptions = (options) => {
861
861
  queryKey: getEnvironmentVersionsQueryKey(options)
862
862
  });
863
863
  };
864
+ export const getEnvironmentVersionsInfiniteQueryKey = (options) => createQueryKey('getEnvironmentVersions', options, true);
865
+ /**
866
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
867
+ */
868
+ export const getEnvironmentVersionsInfiniteOptions = (options) => {
869
+ return infiniteQueryOptions(
870
+ // @ts-ignore
871
+ {
872
+ queryFn: async ({ pageParam, queryKey, signal }) => {
873
+ // @ts-ignore
874
+ const page = typeof pageParam === 'object' ? pageParam : {
875
+ query: {
876
+ page: pageParam
877
+ }
878
+ };
879
+ const params = createInfiniteParams(queryKey, page);
880
+ const { data } = await getEnvironmentVersions({
881
+ ...options,
882
+ ...params,
883
+ signal,
884
+ throwOnError: true
885
+ });
886
+ return data;
887
+ },
888
+ queryKey: getEnvironmentVersionsInfiniteQueryKey(options)
889
+ });
890
+ };
864
891
  /**
865
892
  * Delete an environment variable.
866
893
  */
@@ -154,7 +154,7 @@ export declare const createEnvironment: <ThrowOnError extends boolean = false>(o
154
154
  */
155
155
  export declare const getEnvironmentOverview: <ThrowOnError extends boolean = false>(options: Options<GetEnvironmentOverviewData, ThrowOnError>) => import("./client").RequestResult<GetEnvironmentOverviewResponses, GetEnvironmentOverviewErrors, ThrowOnError, "fields">;
156
156
  /**
157
- * Get all the environment versions.
157
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
158
158
  */
159
159
  export declare const getEnvironmentVersions: <ThrowOnError extends boolean = false>(options: Options<GetEnvironmentVersionsData, ThrowOnError>) => import("./client").RequestResult<GetEnvironmentVersionsResponses, unknown, ThrowOnError, "fields">;
160
160
  /**
@@ -562,7 +562,7 @@ export const getEnvironmentOverview = (options) => {
562
562
  });
563
563
  };
564
564
  /**
565
- * Get all the environment versions.
565
+ * Get paginated environment versions ordered by latest version first, optionally excluding a version UUID and filtering by status.
566
566
  */
567
567
  export const getEnvironmentVersions = (options) => {
568
568
  return (options.client ?? client).get({
@@ -40,12 +40,17 @@ export type ProjectOverview = {
40
40
  updatedAt: string;
41
41
  environments: Array<EnvironmentOverview>;
42
42
  };
43
- export type PaginatedInvites = {
44
- invites: Array<Invite>;
43
+ export type Pagination = {
45
44
  page: number;
46
45
  limit: number;
47
46
  total: number;
48
47
  };
48
+ export type PaginatedInvites = Pagination & {
49
+ invites: Array<Invite>;
50
+ };
51
+ export type PaginatedEnvironmentVersions = Pagination & {
52
+ versions: Array<EnvironmentVersion>;
53
+ };
49
54
  export type Invite = {
50
55
  id: string;
51
56
  spaceName: string;
@@ -548,6 +553,14 @@ export type NodeId = string;
548
553
  * A version UUID.
549
554
  */
550
555
  export type VersionUuid = string;
556
+ /**
557
+ * Optional version UUID to exclude from the environment versions response.
558
+ */
559
+ export type ExcludeVersionUuidQuery = string;
560
+ /**
561
+ * Optional version status to filter the environment versions response.
562
+ */
563
+ export type VersionStatusQuery = VersionStatus;
551
564
  /**
552
565
  * A version number with in an environment.
553
566
  */
@@ -1982,14 +1995,31 @@ export type GetEnvironmentVersionsData = {
1982
1995
  */
1983
1996
  environmentHandle: string;
1984
1997
  };
1985
- query?: never;
1998
+ query?: {
1999
+ /**
2000
+ * Page number (1-based).
2001
+ */
2002
+ page?: number;
2003
+ /**
2004
+ * Page size (max 100).
2005
+ */
2006
+ limit?: number;
2007
+ /**
2008
+ * Optional version UUID to exclude from the environment versions response.
2009
+ */
2010
+ excludeVersionUUID?: string;
2011
+ /**
2012
+ * Optional version status to filter the environment versions response.
2013
+ */
2014
+ status?: VersionStatus;
2015
+ };
1986
2016
  url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/versions';
1987
2017
  };
1988
2018
  export type GetEnvironmentVersionsResponses = {
1989
2019
  /**
1990
2020
  * Environment versions.
1991
2021
  */
1992
- 200: Array<EnvironmentVersion>;
2022
+ 200: PaginatedEnvironmentVersions;
1993
2023
  };
1994
2024
  export type GetEnvironmentVersionsResponse = GetEnvironmentVersionsResponses[keyof GetEnvironmentVersionsResponses];
1995
2025
  export type DeleteEnvironmentVariableData = {
@@ -86,6 +86,11 @@ export declare const zCreateProject: z.ZodObject<{
86
86
  handle: z.ZodString;
87
87
  description: z.ZodOptional<z.ZodString>;
88
88
  }, z.core.$strip>;
89
+ export declare const zPagination: z.ZodObject<{
90
+ page: z.ZodInt;
91
+ limit: z.ZodInt;
92
+ total: z.ZodInt;
93
+ }, z.core.$strip>;
89
94
  export declare const zInvite: z.ZodObject<{
90
95
  id: z.ZodUUID;
91
96
  spaceName: z.ZodString;
@@ -96,7 +101,11 @@ export declare const zInvite: z.ZodObject<{
96
101
  expiry: z.ZodISODateTime;
97
102
  expired: z.ZodBoolean;
98
103
  }, z.core.$strip>;
99
- export declare const zPaginatedInvites: z.ZodObject<{
104
+ export declare const zPaginatedInvites: z.ZodIntersection<z.ZodObject<{
105
+ page: z.ZodInt;
106
+ limit: z.ZodInt;
107
+ total: z.ZodInt;
108
+ }, z.core.$strip>, z.ZodObject<{
100
109
  invites: z.ZodArray<z.ZodObject<{
101
110
  id: z.ZodUUID;
102
111
  spaceName: z.ZodString;
@@ -107,10 +116,7 @@ export declare const zPaginatedInvites: z.ZodObject<{
107
116
  expiry: z.ZodISODateTime;
108
117
  expired: z.ZodBoolean;
109
118
  }, z.core.$strip>>;
110
- page: z.ZodInt;
111
- limit: z.ZodInt;
112
- total: z.ZodInt;
113
- }, z.core.$strip>;
119
+ }, z.core.$strip>>;
114
120
  export declare const zCreateInvite: z.ZodObject<{
115
121
  to: z.ZodString;
116
122
  role: z.ZodString;
@@ -456,6 +462,25 @@ export declare const zEnvironmentVersion: z.ZodObject<{
456
462
  retries: z.ZodOptional<z.ZodInt>;
457
463
  version: z.ZodInt;
458
464
  }, z.core.$strip>;
465
+ export declare const zPaginatedEnvironmentVersions: z.ZodIntersection<z.ZodObject<{
466
+ page: z.ZodInt;
467
+ limit: z.ZodInt;
468
+ total: z.ZodInt;
469
+ }, z.core.$strip>, z.ZodObject<{
470
+ versions: z.ZodArray<z.ZodObject<{
471
+ id: z.ZodUUID;
472
+ created_at: z.ZodOptional<z.ZodISODateTime>;
473
+ last_updated_at: z.ZodISODateTime;
474
+ deployment_id: z.ZodOptional<z.ZodUUID>;
475
+ deployment_name: z.ZodOptional<z.ZodString>;
476
+ status: z.ZodString;
477
+ deployment_started_at: z.ZodOptional<z.ZodISODateTime>;
478
+ deployment_completed_at: z.ZodOptional<z.ZodISODateTime>;
479
+ message: z.ZodOptional<z.ZodString>;
480
+ retries: z.ZodOptional<z.ZodInt>;
481
+ version: z.ZodInt;
482
+ }, z.core.$strip>>;
483
+ }, z.core.$strip>>;
459
484
  export declare const zNetworkEdgeProps: z.ZodObject<{
460
485
  a: z.ZodOptional<z.ZodString>;
461
486
  }, z.core.$strip>;
@@ -1233,6 +1258,23 @@ export declare const zNodeId: z.ZodUUID;
1233
1258
  * A version UUID.
1234
1259
  */
1235
1260
  export declare const zVersionUuid: z.ZodUUID;
1261
+ /**
1262
+ * Optional version UUID to exclude from the environment versions response.
1263
+ */
1264
+ export declare const zExcludeVersionUuidQuery: z.ZodUUID;
1265
+ /**
1266
+ * Optional version status to filter the environment versions response.
1267
+ */
1268
+ export declare const zVersionStatusQuery: z.ZodEnum<{
1269
+ pending: "pending";
1270
+ queued: "queued";
1271
+ building: "building";
1272
+ deploying: "deploying";
1273
+ "post-deploy-steps": "post-deploy-steps";
1274
+ succeeded: "succeeded";
1275
+ failed: "failed";
1276
+ cancelled: "cancelled";
1277
+ }>;
1236
1278
  /**
1237
1279
  * A version number with in an environment.
1238
1280
  */
@@ -2078,7 +2120,11 @@ export declare const zGetUserInvitesData: z.ZodObject<{
2078
2120
  /**
2079
2121
  * A paginated list of invites assigned to the user.
2080
2122
  */
2081
- export declare const zGetUserInvitesResponse: z.ZodObject<{
2123
+ export declare const zGetUserInvitesResponse: z.ZodIntersection<z.ZodObject<{
2124
+ page: z.ZodInt;
2125
+ limit: z.ZodInt;
2126
+ total: z.ZodInt;
2127
+ }, z.core.$strip>, z.ZodObject<{
2082
2128
  invites: z.ZodArray<z.ZodObject<{
2083
2129
  id: z.ZodUUID;
2084
2130
  spaceName: z.ZodString;
@@ -2089,10 +2135,7 @@ export declare const zGetUserInvitesResponse: z.ZodObject<{
2089
2135
  expiry: z.ZodISODateTime;
2090
2136
  expired: z.ZodBoolean;
2091
2137
  }, z.core.$strip>>;
2092
- page: z.ZodInt;
2093
- limit: z.ZodInt;
2094
- total: z.ZodInt;
2095
- }, z.core.$strip>;
2138
+ }, z.core.$strip>>;
2096
2139
  export declare const zJoinSpaceData: z.ZodObject<{
2097
2140
  body: z.ZodOptional<z.ZodNever>;
2098
2141
  path: z.ZodObject<{
@@ -2178,7 +2221,11 @@ export declare const zGetSpaceInvitesData: z.ZodObject<{
2178
2221
  /**
2179
2222
  * A paginated list of invites for a space.
2180
2223
  */
2181
- export declare const zGetSpaceInvitesResponse: z.ZodObject<{
2224
+ export declare const zGetSpaceInvitesResponse: z.ZodIntersection<z.ZodObject<{
2225
+ page: z.ZodInt;
2226
+ limit: z.ZodInt;
2227
+ total: z.ZodInt;
2228
+ }, z.core.$strip>, z.ZodObject<{
2182
2229
  invites: z.ZodArray<z.ZodObject<{
2183
2230
  id: z.ZodUUID;
2184
2231
  spaceName: z.ZodString;
@@ -2189,10 +2236,7 @@ export declare const zGetSpaceInvitesResponse: z.ZodObject<{
2189
2236
  expiry: z.ZodISODateTime;
2190
2237
  expired: z.ZodBoolean;
2191
2238
  }, z.core.$strip>>;
2192
- page: z.ZodInt;
2193
- limit: z.ZodInt;
2194
- total: z.ZodInt;
2195
- }, z.core.$strip>;
2239
+ }, z.core.$strip>>;
2196
2240
  export declare const zCreateSpaceInviteData: z.ZodObject<{
2197
2241
  body: z.ZodObject<{
2198
2242
  to: z.ZodString;
@@ -2394,23 +2438,43 @@ export declare const zGetEnvironmentVersionsData: z.ZodObject<{
2394
2438
  projectHandle: z.ZodString;
2395
2439
  environmentHandle: z.ZodString;
2396
2440
  }, z.core.$strip>;
2397
- query: z.ZodOptional<z.ZodNever>;
2441
+ query: z.ZodOptional<z.ZodObject<{
2442
+ page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2443
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
2444
+ excludeVersionUUID: z.ZodOptional<z.ZodUUID>;
2445
+ status: z.ZodOptional<z.ZodEnum<{
2446
+ pending: "pending";
2447
+ queued: "queued";
2448
+ building: "building";
2449
+ deploying: "deploying";
2450
+ "post-deploy-steps": "post-deploy-steps";
2451
+ succeeded: "succeeded";
2452
+ failed: "failed";
2453
+ cancelled: "cancelled";
2454
+ }>>;
2455
+ }, z.core.$strip>>;
2398
2456
  }, z.core.$strip>;
2399
2457
  /**
2400
2458
  * Environment versions.
2401
2459
  */
2402
- export declare const zGetEnvironmentVersionsResponse: z.ZodArray<z.ZodObject<{
2403
- id: z.ZodUUID;
2404
- created_at: z.ZodOptional<z.ZodISODateTime>;
2405
- last_updated_at: z.ZodISODateTime;
2406
- deployment_id: z.ZodOptional<z.ZodUUID>;
2407
- deployment_name: z.ZodOptional<z.ZodString>;
2408
- status: z.ZodString;
2409
- deployment_started_at: z.ZodOptional<z.ZodISODateTime>;
2410
- deployment_completed_at: z.ZodOptional<z.ZodISODateTime>;
2411
- message: z.ZodOptional<z.ZodString>;
2412
- retries: z.ZodOptional<z.ZodInt>;
2413
- version: z.ZodInt;
2460
+ export declare const zGetEnvironmentVersionsResponse: z.ZodIntersection<z.ZodObject<{
2461
+ page: z.ZodInt;
2462
+ limit: z.ZodInt;
2463
+ total: z.ZodInt;
2464
+ }, z.core.$strip>, z.ZodObject<{
2465
+ versions: z.ZodArray<z.ZodObject<{
2466
+ id: z.ZodUUID;
2467
+ created_at: z.ZodOptional<z.ZodISODateTime>;
2468
+ last_updated_at: z.ZodISODateTime;
2469
+ deployment_id: z.ZodOptional<z.ZodUUID>;
2470
+ deployment_name: z.ZodOptional<z.ZodString>;
2471
+ status: z.ZodString;
2472
+ deployment_started_at: z.ZodOptional<z.ZodISODateTime>;
2473
+ deployment_completed_at: z.ZodOptional<z.ZodISODateTime>;
2474
+ message: z.ZodOptional<z.ZodString>;
2475
+ retries: z.ZodOptional<z.ZodInt>;
2476
+ version: z.ZodInt;
2477
+ }, z.core.$strip>>;
2414
2478
  }, z.core.$strip>>;
2415
2479
  export declare const zDeleteEnvironmentVariableData: z.ZodObject<{
2416
2480
  body: z.ZodOptional<z.ZodNever>;
@@ -62,6 +62,11 @@ export const zCreateProject = z.object({
62
62
  handle: z.string(),
63
63
  description: z.optional(z.string())
64
64
  });
65
+ export const zPagination = z.object({
66
+ page: z.int(),
67
+ limit: z.int(),
68
+ total: z.int()
69
+ });
65
70
  export const zInvite = z.object({
66
71
  id: z.uuid(),
67
72
  spaceName: z.string(),
@@ -72,12 +77,9 @@ export const zInvite = z.object({
72
77
  expiry: z.iso.datetime(),
73
78
  expired: z.boolean()
74
79
  });
75
- export const zPaginatedInvites = z.object({
76
- invites: z.array(zInvite),
77
- page: z.int(),
78
- limit: z.int(),
79
- total: z.int()
80
- });
80
+ export const zPaginatedInvites = zPagination.and(z.object({
81
+ invites: z.array(zInvite)
82
+ }));
81
83
  export const zCreateInvite = z.object({
82
84
  to: z.string(),
83
85
  role: z.string()
@@ -298,6 +300,9 @@ export const zEnvironmentVersion = z.object({
298
300
  retries: z.optional(z.int()),
299
301
  version: z.int()
300
302
  });
303
+ export const zPaginatedEnvironmentVersions = zPagination.and(z.object({
304
+ versions: z.array(zEnvironmentVersion)
305
+ }));
301
306
  export const zNetworkEdgeProps = z.object({
302
307
  a: z.optional(z.string())
303
308
  });
@@ -578,6 +583,14 @@ export const zNodeId = z.uuid();
578
583
  * A version UUID.
579
584
  */
580
585
  export const zVersionUuid = z.uuid();
586
+ /**
587
+ * Optional version UUID to exclude from the environment versions response.
588
+ */
589
+ export const zExcludeVersionUuidQuery = z.uuid();
590
+ /**
591
+ * Optional version status to filter the environment versions response.
592
+ */
593
+ export const zVersionStatusQuery = zVersionStatus;
581
594
  /**
582
595
  * A version number with in an environment.
583
596
  */
@@ -1009,12 +1022,17 @@ export const zGetEnvironmentVersionsData = z.object({
1009
1022
  projectHandle: z.string(),
1010
1023
  environmentHandle: z.string()
1011
1024
  }),
1012
- query: z.optional(z.never())
1025
+ query: z.optional(z.object({
1026
+ page: z.optional(z.int().gte(1)).default(1),
1027
+ limit: z.optional(z.int().gte(1).lte(100)).default(10),
1028
+ excludeVersionUUID: z.optional(z.uuid()),
1029
+ status: z.optional(zVersionStatus)
1030
+ }))
1013
1031
  });
1014
1032
  /**
1015
1033
  * Environment versions.
1016
1034
  */
1017
- export const zGetEnvironmentVersionsResponse = z.array(zEnvironmentVersion);
1035
+ export const zGetEnvironmentVersionsResponse = zPaginatedEnvironmentVersions;
1018
1036
  export const zDeleteEnvironmentVariableData = z.object({
1019
1037
  body: z.optional(z.never()),
1020
1038
  path: z.object({
@@ -140,7 +140,7 @@ export declare const useGetEnvironmentOverview: (options: Omit<GetEnvironmentOve
140
140
  }) => import("@tanstack/react-query").UseQueryResult<import("../../sdk/types.gen").EnvironmentOverview | undefined, Error>;
141
141
  export declare const useGetEnvironmentVersions: (options: Omit<GetEnvironmentVersionsData, "url"> & {
142
142
  enabled?: boolean;
143
- }) => import("@tanstack/react-query").UseQueryResult<import("../../sdk/types.gen").EnvironmentVersion[] | undefined, Error>;
143
+ }) => import("@tanstack/react-query").UseQueryResult<import("../../sdk/types.gen").PaginatedEnvironmentVersions | undefined, Error>;
144
144
  export declare const useDeleteEnvironmentVariable: (config?: {
145
145
  onSuccess?: (data: GetSuccessResponse<DeleteEnvironmentVariableResponses>) => void;
146
146
  onError?: Parameters<typeof useMutation>["0"]["onError"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.138",
3
+ "version": "0.0.140",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",