@awsless/awsless 0.0.163 → 0.0.164

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/json.js CHANGED
@@ -225,6 +225,7 @@ var VPCSchema = z5.boolean().describe("Put the function inside your global VPC."
225
225
  var MinifySchema = z5.boolean().describe("Minify the function code.");
226
226
  var HandlerSchema = z5.string().describe("The name of the exported method within your code that Lambda calls to run your function.");
227
227
  var FileSchema = LocalFileSchema.describe("The file path of the function code.");
228
+ var DescriptionSchema = z5.string().describe("A description of the function.");
228
229
  var LogRetentionSchema = DurationSchema.refine(durationMin(Duration.days(1)), "Minimum log retention is 1 day");
229
230
  var LogSchema = z5.union([
230
231
  z5.boolean(),
@@ -248,6 +249,7 @@ var FunctionSchema = z5.union([
248
249
  LocalFileSchema,
249
250
  z5.object({
250
251
  file: FileSchema,
252
+ description: DescriptionSchema.optional(),
251
253
  handler: HandlerSchema.optional(),
252
254
  minify: MinifySchema.optional(),
253
255
  warm: WarmSchema.optional(),