@awsless/awsless 0.0.429 → 0.0.431
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/app.json +1 -1
- package/dist/bin.js +3 -4
- package/dist/build-json-schema.js +3 -4
- package/dist/prebuild/rpc/bundle.zip +0 -0
- package/dist/stack.json +1 -1
- package/package.json +9 -9
package/dist/bin.js
CHANGED
|
@@ -7594,7 +7594,6 @@ import { z as z8 } from "zod";
|
|
|
7594
7594
|
import { paramCase as paramCase2 } from "change-case";
|
|
7595
7595
|
import { z as z3 } from "zod";
|
|
7596
7596
|
var ResourceIdSchema = z3.string().min(3).max(24).regex(/^[a-z0-9\-]+$/i, "Invalid resource ID").transform((value) => paramCase2(value));
|
|
7597
|
-
var LayerIdSchema = z3.string().min(2).max(214).transform((value) => paramCase2(value));
|
|
7598
7597
|
|
|
7599
7598
|
// src/feature/function/schema.ts
|
|
7600
7599
|
import { days, minutes as minutes2, seconds, toDays } from "@awsless/duration";
|
|
@@ -7734,8 +7733,8 @@ var LogSchema = z7.union([
|
|
|
7734
7733
|
).optional()
|
|
7735
7734
|
})
|
|
7736
7735
|
]).describe("Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.");
|
|
7737
|
-
var LayersSchema =
|
|
7738
|
-
`A list of function layers to add to the function's execution environment
|
|
7736
|
+
var LayersSchema = z7.string().array().describe(
|
|
7737
|
+
`A list of function layers to add to the function's execution environment..`
|
|
7739
7738
|
// `A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.`
|
|
7740
7739
|
);
|
|
7741
7740
|
var BuildSchema = z7.object({
|
|
@@ -8032,7 +8031,7 @@ var Schema = z15.object({
|
|
|
8032
8031
|
)
|
|
8033
8032
|
});
|
|
8034
8033
|
var LayerSchema = z15.record(
|
|
8035
|
-
|
|
8034
|
+
z15.string(),
|
|
8036
8035
|
z15.union([
|
|
8037
8036
|
LocalFileSchema.transform((file) => ({
|
|
8038
8037
|
file,
|
|
@@ -11,7 +11,6 @@ import { z as z7 } from "zod";
|
|
|
11
11
|
import { paramCase } from "change-case";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
var ResourceIdSchema = z.string().min(3).max(24).regex(/^[a-z0-9\-]+$/i, "Invalid resource ID").transform((value) => paramCase(value));
|
|
14
|
-
var LayerIdSchema = z.string().min(2).max(214).transform((value) => paramCase(value));
|
|
15
14
|
|
|
16
15
|
// src/feature/function/schema.ts
|
|
17
16
|
import { days, minutes, seconds, toDays } from "@awsless/duration";
|
|
@@ -181,8 +180,8 @@ var LogSchema = z5.union([
|
|
|
181
180
|
).optional()
|
|
182
181
|
})
|
|
183
182
|
]).describe("Enable logging to a CloudWatch log group. Providing a duration value will set the log retention time.");
|
|
184
|
-
var LayersSchema =
|
|
185
|
-
`A list of function layers to add to the function's execution environment
|
|
183
|
+
var LayersSchema = z5.string().array().describe(
|
|
184
|
+
`A list of function layers to add to the function's execution environment..`
|
|
186
185
|
// `A list of function layers to add to the function's execution environment. Specify each layer by its ARN, including the version.`
|
|
187
186
|
);
|
|
188
187
|
var BuildSchema = z5.object({
|
|
@@ -1162,7 +1161,7 @@ var Schema = z34.object({
|
|
|
1162
1161
|
)
|
|
1163
1162
|
});
|
|
1164
1163
|
var LayerSchema = z34.record(
|
|
1165
|
-
|
|
1164
|
+
z34.string(),
|
|
1166
1165
|
z34.union([
|
|
1167
1166
|
LocalFileSchema.transform((file) => ({
|
|
1168
1167
|
file,
|
|
Binary file
|