@crosspost/types 0.2.11 → 0.2.12

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.cjs CHANGED
@@ -586,8 +586,12 @@ var FilterSchema = import_zod8.z.object({
586
586
  timeframe: import_zod8.z.nativeEnum(TimePeriod).optional().describe(
587
587
  "Timeframe for filtering (optional)"
588
588
  ),
589
- startDate: import_zod8.z.string().datetime().optional().describe("Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)"),
590
- endDate: import_zod8.z.string().datetime().optional().describe("End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)")
589
+ startDate: import_zod8.z.string().datetime().optional().describe(
590
+ "Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)"
591
+ ),
592
+ endDate: import_zod8.z.string().datetime().optional().describe(
593
+ "End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)"
594
+ )
591
595
  }).describe("Filter parameters");
592
596
  var PaginationSchema = import_zod8.z.object({
593
597
  limit: import_zod8.z.string().optional().transform((val) => val ? parseInt(val, 10) : void 0).pipe(import_zod8.z.number().min(1).max(100).optional()).describe("Maximum number of results to return (1-100)"),
package/dist/index.js CHANGED
@@ -481,8 +481,12 @@ var FilterSchema = z8.object({
481
481
  timeframe: z8.nativeEnum(TimePeriod).optional().describe(
482
482
  "Timeframe for filtering (optional)"
483
483
  ),
484
- startDate: z8.string().datetime().optional().describe("Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)"),
485
- endDate: z8.string().datetime().optional().describe("End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)")
484
+ startDate: z8.string().datetime().optional().describe(
485
+ "Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)"
486
+ ),
487
+ endDate: z8.string().datetime().optional().describe(
488
+ "End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)"
489
+ )
486
490
  }).describe("Filter parameters");
487
491
  var PaginationSchema = z8.object({
488
492
  limit: z8.string().optional().transform((val) => val ? parseInt(val, 10) : void 0).pipe(z8.number().min(1).max(100).optional()).describe("Maximum number of results to return (1-100)"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crosspost/types",
3
- "version": "0.2.11",
3
+ "version": "0.2.12",
4
4
  "description": "Shared type definitions for Crosspost API",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
package/src/activity.ts CHANGED
@@ -63,9 +63,13 @@ export const FilterSchema = z.object({
63
63
  'Timeframe for filtering (optional)',
64
64
  ),
65
65
  startDate: z.string().datetime().optional()
66
- .describe('Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)'),
66
+ .describe(
67
+ 'Start date for custom timeframe (ISO 8601 format, optional - defaults to beginning when timeframe=custom)',
68
+ ),
67
69
  endDate: z.string().datetime().optional()
68
- .describe('End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)'),
70
+ .describe(
71
+ 'End date for custom timeframe (ISO 8601 format, optional - defaults to now when timeframe=custom)',
72
+ ),
69
73
  }).describe('Filter parameters');
70
74
 
71
75
  /**