@awsless/awsless 0.0.656 → 0.0.657

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/bin.js CHANGED
@@ -2467,16 +2467,19 @@ var TablesSchema = z43.record(
2467
2467
  "You can specify a duration from 1 seconds to 5 minutes."
2468
2468
  ].join("\n")
2469
2469
  ),
2470
- maxRecordAge: DurationSchema.refine(
2471
- durationMin(seconds4(1)),
2472
- "Minimum record age duration is 1 second"
2473
- ).refine(durationMax(minutes5(1)), "Maximum record age duration is 1 minute").default("60 seconds").describe(
2474
- [
2475
- "Discard records older than the specified age.",
2476
- "The maximum valid value for maximum record age is 60s.",
2477
- "The default value is 60s"
2478
- ].join("\n")
2479
- ),
2470
+ // maxRecordAge: DurationSchema.refine(
2471
+ // durationMin(seconds(1)),
2472
+ // 'Minimum record age duration is 1 second'
2473
+ // )
2474
+ // .refine(durationMax(minutes(1)), 'Maximum record age duration is 1 minute')
2475
+ // .default('60 seconds')
2476
+ // .describe(
2477
+ // [
2478
+ // 'Discard records older than the specified age.',
2479
+ // 'The maximum valid value for maximum record age is 60s.',
2480
+ // 'The default value is 60s',
2481
+ // ].join('\n')
2482
+ // ),
2480
2483
  retryAttempts: z43.number().min(-1).max(1e4).default(2).describe(
2481
2484
  [
2482
2485
  "Discard records after the specified number of retries.",
@@ -6164,7 +6167,7 @@ var tableFeature = defineFeature({
6164
6167
  functionName: result.lambda.functionName,
6165
6168
  eventSourceArn: table.streamArn,
6166
6169
  // tumblingWindowInSeconds
6167
- maximumRecordAgeInSeconds: toSeconds8(props.stream.maxRecordAge),
6170
+ // maximumRecordAgeInSeconds: toSeconds(props.stream.maxRecordAge),
6168
6171
  // bisectBatchOnFunctionError: true,
6169
6172
  batchSize: props.stream.batchSize,
6170
6173
  maximumBatchingWindowInSeconds: props.stream.batchWindow ? toSeconds8(props.stream.batchWindow) : void 0,
@@ -1782,16 +1782,19 @@ var TablesSchema = z39.record(
1782
1782
  "You can specify a duration from 1 seconds to 5 minutes."
1783
1783
  ].join("\n")
1784
1784
  ),
1785
- maxRecordAge: DurationSchema.refine(
1786
- durationMin(seconds4(1)),
1787
- "Minimum record age duration is 1 second"
1788
- ).refine(durationMax(minutes5(1)), "Maximum record age duration is 1 minute").default("60 seconds").describe(
1789
- [
1790
- "Discard records older than the specified age.",
1791
- "The maximum valid value for maximum record age is 60s.",
1792
- "The default value is 60s"
1793
- ].join("\n")
1794
- ),
1785
+ // maxRecordAge: DurationSchema.refine(
1786
+ // durationMin(seconds(1)),
1787
+ // 'Minimum record age duration is 1 second'
1788
+ // )
1789
+ // .refine(durationMax(minutes(1)), 'Maximum record age duration is 1 minute')
1790
+ // .default('60 seconds')
1791
+ // .describe(
1792
+ // [
1793
+ // 'Discard records older than the specified age.',
1794
+ // 'The maximum valid value for maximum record age is 60s.',
1795
+ // 'The default value is 60s',
1796
+ // ].join('\n')
1797
+ // ),
1795
1798
  retryAttempts: z39.number().min(-1).max(1e4).default(2).describe(
1796
1799
  [
1797
1800
  "Discard records after the specified number of retries.",
Binary file
Binary file
Binary file
Binary file