@awsless/awsless 0.0.245 → 0.0.247
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 +10 -11
- package/dist/build-json-schema.js +10 -11
- package/dist/stack.json +1 -1
- package/package.json +5 -5
package/dist/bin.js
CHANGED
|
@@ -682,34 +682,33 @@ var StoresSchema = z18.union([
|
|
|
682
682
|
z18.record(
|
|
683
683
|
ResourceIdSchema,
|
|
684
684
|
z18.object({
|
|
685
|
-
// lambdaConfigs: LambdaConfigsSchema,
|
|
686
685
|
// cors: CorsSchema,
|
|
687
686
|
versioning: z18.boolean().default(false).describe("Enable versioning of your store."),
|
|
688
687
|
events: z18.object({
|
|
689
688
|
// create
|
|
690
|
-
"created:*": FunctionSchema.describe(
|
|
689
|
+
"created:*": FunctionSchema.optional().describe(
|
|
691
690
|
"Subscribe to notifications regardless of the API that was used to create an object."
|
|
692
691
|
),
|
|
693
|
-
"created:put": FunctionSchema.describe(
|
|
692
|
+
"created:put": FunctionSchema.optional().describe(
|
|
694
693
|
"Subscribe to notifications when an object is created using the PUT API operation."
|
|
695
694
|
),
|
|
696
|
-
"created:post": FunctionSchema.describe(
|
|
695
|
+
"created:post": FunctionSchema.optional().describe(
|
|
697
696
|
"Subscribe to notifications when an object is created using the POST API operation."
|
|
698
697
|
),
|
|
699
|
-
"created:copy": FunctionSchema.describe(
|
|
698
|
+
"created:copy": FunctionSchema.optional().describe(
|
|
700
699
|
"Subscribe to notifications when an object is created using the COPY API operation."
|
|
701
700
|
),
|
|
702
|
-
"created:upload": FunctionSchema.describe(
|
|
701
|
+
"created:upload": FunctionSchema.optional().describe(
|
|
703
702
|
"Subscribe to notifications when an object multipart upload has been completed."
|
|
704
703
|
),
|
|
705
704
|
// remove
|
|
706
|
-
"removed:*": FunctionSchema.describe(
|
|
705
|
+
"removed:*": FunctionSchema.optional().describe(
|
|
707
706
|
"Subscribe to notifications when an object is deleted or a delete marker for a versioned object is created."
|
|
708
707
|
),
|
|
709
|
-
"removed:delete": FunctionSchema.describe(
|
|
708
|
+
"removed:delete": FunctionSchema.optional().describe(
|
|
710
709
|
"Subscribe to notifications when an object is deleted"
|
|
711
710
|
),
|
|
712
|
-
"removed:marker": FunctionSchema.describe(
|
|
711
|
+
"removed:marker": FunctionSchema.optional().describe(
|
|
713
712
|
"Subscribe to notifications when a delete marker for a versioned object is created."
|
|
714
713
|
)
|
|
715
714
|
}).optional().describe("Describes the store events you want to subscribe too.")
|
|
@@ -854,7 +853,7 @@ var CachesSchema = z25.record(
|
|
|
854
853
|
// src/feature/search/schema.ts
|
|
855
854
|
import { z as z26 } from "zod";
|
|
856
855
|
import { gibibytes as gibibytes2 } from "@awsless/size";
|
|
857
|
-
var VersionSchema = z26.enum(["2.11", "2.9", "2.7", "2.5", "2.3", "1.3"]);
|
|
856
|
+
var VersionSchema = z26.enum(["2.13", "2.11", "2.9", "2.7", "2.5", "2.3", "1.3"]);
|
|
858
857
|
var TypeSchema2 = z26.enum([
|
|
859
858
|
"t3.small",
|
|
860
859
|
"t3.medium",
|
|
@@ -961,7 +960,7 @@ var SearchsSchema = z26.record(
|
|
|
961
960
|
z26.object({
|
|
962
961
|
type: TypeSchema2.default("t3.small"),
|
|
963
962
|
count: z26.number().int().min(1).default(1),
|
|
964
|
-
version: VersionSchema.default("2.
|
|
963
|
+
version: VersionSchema.default("2.13"),
|
|
965
964
|
storage: StorageSizeSchema.default("10 GB"),
|
|
966
965
|
vpc: z26.boolean().default(false)
|
|
967
966
|
})
|
|
@@ -320,34 +320,33 @@ var StoresSchema = z9.union([
|
|
|
320
320
|
z9.record(
|
|
321
321
|
ResourceIdSchema,
|
|
322
322
|
z9.object({
|
|
323
|
-
// lambdaConfigs: LambdaConfigsSchema,
|
|
324
323
|
// cors: CorsSchema,
|
|
325
324
|
versioning: z9.boolean().default(false).describe("Enable versioning of your store."),
|
|
326
325
|
events: z9.object({
|
|
327
326
|
// create
|
|
328
|
-
"created:*": FunctionSchema.describe(
|
|
327
|
+
"created:*": FunctionSchema.optional().describe(
|
|
329
328
|
"Subscribe to notifications regardless of the API that was used to create an object."
|
|
330
329
|
),
|
|
331
|
-
"created:put": FunctionSchema.describe(
|
|
330
|
+
"created:put": FunctionSchema.optional().describe(
|
|
332
331
|
"Subscribe to notifications when an object is created using the PUT API operation."
|
|
333
332
|
),
|
|
334
|
-
"created:post": FunctionSchema.describe(
|
|
333
|
+
"created:post": FunctionSchema.optional().describe(
|
|
335
334
|
"Subscribe to notifications when an object is created using the POST API operation."
|
|
336
335
|
),
|
|
337
|
-
"created:copy": FunctionSchema.describe(
|
|
336
|
+
"created:copy": FunctionSchema.optional().describe(
|
|
338
337
|
"Subscribe to notifications when an object is created using the COPY API operation."
|
|
339
338
|
),
|
|
340
|
-
"created:upload": FunctionSchema.describe(
|
|
339
|
+
"created:upload": FunctionSchema.optional().describe(
|
|
341
340
|
"Subscribe to notifications when an object multipart upload has been completed."
|
|
342
341
|
),
|
|
343
342
|
// remove
|
|
344
|
-
"removed:*": FunctionSchema.describe(
|
|
343
|
+
"removed:*": FunctionSchema.optional().describe(
|
|
345
344
|
"Subscribe to notifications when an object is deleted or a delete marker for a versioned object is created."
|
|
346
345
|
),
|
|
347
|
-
"removed:delete": FunctionSchema.describe(
|
|
346
|
+
"removed:delete": FunctionSchema.optional().describe(
|
|
348
347
|
"Subscribe to notifications when an object is deleted"
|
|
349
348
|
),
|
|
350
|
-
"removed:marker": FunctionSchema.describe(
|
|
349
|
+
"removed:marker": FunctionSchema.optional().describe(
|
|
351
350
|
"Subscribe to notifications when a delete marker for a versioned object is created."
|
|
352
351
|
)
|
|
353
352
|
}).optional().describe("Describes the store events you want to subscribe too.")
|
|
@@ -671,7 +670,7 @@ var HttpSchema = z22.record(ResourceIdSchema, z22.record(RouteSchema2, FunctionS
|
|
|
671
670
|
// src/feature/search/schema.ts
|
|
672
671
|
import { z as z23 } from "zod";
|
|
673
672
|
import { gibibytes as gibibytes2 } from "@awsless/size";
|
|
674
|
-
var VersionSchema = z23.enum(["2.11", "2.9", "2.7", "2.5", "2.3", "1.3"]);
|
|
673
|
+
var VersionSchema = z23.enum(["2.13", "2.11", "2.9", "2.7", "2.5", "2.3", "1.3"]);
|
|
675
674
|
var TypeSchema2 = z23.enum([
|
|
676
675
|
"t3.small",
|
|
677
676
|
"t3.medium",
|
|
@@ -778,7 +777,7 @@ var SearchsSchema = z23.record(
|
|
|
778
777
|
z23.object({
|
|
779
778
|
type: TypeSchema2.default("t3.small"),
|
|
780
779
|
count: z23.number().int().min(1).default(1),
|
|
781
|
-
version: VersionSchema.default("2.
|
|
780
|
+
version: VersionSchema.default("2.13"),
|
|
782
781
|
storage: StorageSizeSchema.default("10 GB"),
|
|
783
782
|
vpc: z23.boolean().default(false)
|
|
784
783
|
})
|