tonightpass 0.0.236 → 0.0.237

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.mts CHANGED
@@ -1030,7 +1030,14 @@ type ArrayFilterOptions = {
1030
1030
  */
1031
1031
  operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "in" | "nin";
1032
1032
  };
1033
- type ArrayOptions<_T> = {} & ArrayPaginationOptions;
1033
+ type ArrayOptions<_T> = {
1034
+ /**
1035
+ * Select only specific fields to return (e.g. ["slug", "organization.slug", "updatedAt"])
1036
+ * When provided, only the specified fields will be included in the response.
1037
+ * Supports dot notation for nested relations (e.g. "organization.slug").
1038
+ */
1039
+ select?: string[];
1040
+ } & ArrayPaginationOptions;
1034
1041
  type ArrayResult<T> = {
1035
1042
  items: T[];
1036
1043
  total: number;
package/dist/index.d.ts CHANGED
@@ -1030,7 +1030,14 @@ type ArrayFilterOptions = {
1030
1030
  */
1031
1031
  operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "in" | "nin";
1032
1032
  };
1033
- type ArrayOptions<_T> = {} & ArrayPaginationOptions;
1033
+ type ArrayOptions<_T> = {
1034
+ /**
1035
+ * Select only specific fields to return (e.g. ["slug", "organization.slug", "updatedAt"])
1036
+ * When provided, only the specified fields will be included in the response.
1037
+ * Supports dot notation for nested relations (e.g. "organization.slug").
1038
+ */
1039
+ select?: string[];
1040
+ } & ArrayPaginationOptions;
1034
1041
  type ArrayResult<T> = {
1035
1042
  items: T[];
1036
1043
  total: number;