shoal-web-sdk 1.0.70 → 1.0.71

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.
@@ -1527,7 +1527,7 @@ export declare const getProjectEnvironmentsQueryKey: (options: Options<GetProjec
1527
1527
  tags?: ReadonlyArray<string>;
1528
1528
  }];
1529
1529
  /**
1530
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
1530
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
1531
1531
  */
1532
1532
  export declare const getProjectEnvironmentsOptions: (options: Options<GetProjectEnvironmentsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen").PaginatedEnvironments, Error, import("../types.gen").PaginatedEnvironments, [Pick<Options<GetProjectEnvironmentsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
1533
1533
  _id: string;
@@ -1551,7 +1551,7 @@ export declare const getProjectEnvironmentsOptions: (options: Options<GetProject
1551
1551
  };
1552
1552
  export declare const getProjectEnvironmentsInfiniteQueryKey: (options: Options<GetProjectEnvironmentsData>) => QueryKey<Options<GetProjectEnvironmentsData>>;
1553
1553
  /**
1554
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
1554
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
1555
1555
  */
1556
1556
  export declare const getProjectEnvironmentsInfiniteOptions: (options: Options<GetProjectEnvironmentsData>) => import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen").PaginatedEnvironments, import("../types.gen").ErrorResponse, InfiniteData<import("../types.gen").PaginatedEnvironments, unknown>, QueryKey<Options<GetProjectEnvironmentsData>>, number | Pick<Pick<Options<GetProjectEnvironmentsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
1557
1557
  _id: string;
@@ -1517,7 +1517,7 @@ export const getProjectOverviewOptions = (options) => {
1517
1517
  };
1518
1518
  export const getProjectEnvironmentsQueryKey = (options) => createQueryKey('getProjectEnvironments', options);
1519
1519
  /**
1520
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
1520
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
1521
1521
  */
1522
1522
  export const getProjectEnvironmentsOptions = (options) => {
1523
1523
  return queryOptions({
@@ -1535,7 +1535,7 @@ export const getProjectEnvironmentsOptions = (options) => {
1535
1535
  };
1536
1536
  export const getProjectEnvironmentsInfiniteQueryKey = (options) => createQueryKey('getProjectEnvironments', options, true);
1537
1537
  /**
1538
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
1538
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
1539
1539
  */
1540
1540
  export const getProjectEnvironmentsInfiniteOptions = (options) => {
1541
1541
  return infiniteQueryOptions(
@@ -279,7 +279,7 @@ export declare const createProject: <ThrowOnError extends boolean = false>(optio
279
279
  */
280
280
  export declare const getProjectOverview: <ThrowOnError extends boolean = false>(options: Options<GetProjectOverviewData, ThrowOnError>) => import("./client").RequestResult<GetProjectOverviewResponses, GetProjectOverviewErrors, ThrowOnError, "fields">;
281
281
  /**
282
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
282
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
283
283
  */
284
284
  export declare const getProjectEnvironments: <ThrowOnError extends boolean = false>(options: Options<GetProjectEnvironmentsData, ThrowOnError>) => import("./client").RequestResult<GetProjectEnvironmentsResponses, GetProjectEnvironmentsErrors, ThrowOnError, "fields">;
285
285
  /**
@@ -1354,7 +1354,7 @@ export const getProjectOverview = (options) => {
1354
1354
  });
1355
1355
  };
1356
1356
  /**
1357
- * Get paginated environments for a project, optionally filtered by status, ordered with active environments first and soft deleted environments last.
1357
+ * Get paginated environments for a project, optionally filtered by status and searched by name or handle, ordered with active environments first and soft deleted environments last.
1358
1358
  */
1359
1359
  export const getProjectEnvironments = (options) => {
1360
1360
  return (options.client ?? client).get({
@@ -3999,6 +3999,10 @@ export type GetProjectEnvironmentsData = {
3999
3999
  * Filter environments by lifecycle state.
4000
4000
  */
4001
4001
  status?: EnvironmentStatus;
4002
+ /**
4003
+ * Search value for a searchable field on an endpoint.
4004
+ */
4005
+ search?: string;
4002
4006
  /**
4003
4007
  * Page number (1-based).
4004
4008
  */
@@ -5181,6 +5181,7 @@ export declare const zGetProjectEnvironmentsData: z.ZodObject<{
5181
5181
  inactive: "inactive";
5182
5182
  all: "all";
5183
5183
  }>>;
5184
+ search: z.ZodOptional<z.ZodString>;
5184
5185
  page: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
5185
5186
  limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
5186
5187
  }, z.core.$strip>>;
@@ -1976,6 +1976,7 @@ export const zGetProjectEnvironmentsData = z.object({
1976
1976
  }),
1977
1977
  query: z.optional(z.object({
1978
1978
  status: z.optional(zEnvironmentStatus),
1979
+ search: z.optional(z.string()),
1979
1980
  page: z.optional(z.int().gte(1)).default(1),
1980
1981
  limit: z.optional(z.int().gte(1).lte(100)).default(10)
1981
1982
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",