tonightpass 0.0.235 → 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
@@ -973,6 +973,8 @@ type AddRoadmapReactionBody = {
973
973
  };
974
974
  type RoadmapEndpoints = Endpoint<"GET", "/roadmap/reactions/:featureId", RoadmapReactionCounts, {
975
975
  featureId: string;
976
+ }> | Endpoint<"GET", "/roadmap/reactions/stream/:featureId", void, {
977
+ featureId: string;
976
978
  }> | Endpoint<"POST", "/roadmap/reactions/:featureId", RoadmapReactionCounts, AddRoadmapReactionBody>;
977
979
 
978
980
  type WebhookEndpoints = Endpoint<"POST", "/webhooks/stripe", boolean, Stripe__default.Event>;
@@ -1028,7 +1030,14 @@ type ArrayFilterOptions = {
1028
1030
  */
1029
1031
  operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "in" | "nin";
1030
1032
  };
1031
- 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;
1032
1041
  type ArrayResult<T> = {
1033
1042
  items: T[];
1034
1043
  total: number;
package/dist/index.d.ts CHANGED
@@ -973,6 +973,8 @@ type AddRoadmapReactionBody = {
973
973
  };
974
974
  type RoadmapEndpoints = Endpoint<"GET", "/roadmap/reactions/:featureId", RoadmapReactionCounts, {
975
975
  featureId: string;
976
+ }> | Endpoint<"GET", "/roadmap/reactions/stream/:featureId", void, {
977
+ featureId: string;
976
978
  }> | Endpoint<"POST", "/roadmap/reactions/:featureId", RoadmapReactionCounts, AddRoadmapReactionBody>;
977
979
 
978
980
  type WebhookEndpoints = Endpoint<"POST", "/webhooks/stripe", boolean, Stripe__default.Event>;
@@ -1028,7 +1030,14 @@ type ArrayFilterOptions = {
1028
1030
  */
1029
1031
  operator: "eq" | "ne" | "gt" | "lt" | "gte" | "lte" | "in" | "nin";
1030
1032
  };
1031
- 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;
1032
1041
  type ArrayResult<T> = {
1033
1042
  items: T[];
1034
1043
  total: number;