@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 +6 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
- package/src/activity.ts +6 -2
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(
|
590
|
-
|
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(
|
485
|
-
|
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
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(
|
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(
|
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
|
/**
|