@webiny/project 0.0.0-unstable.ac6ebf63c6 → 0.0.0-unstable.c27f4d8a31
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/ProjectSdk.d.ts +1 -0
- package/ProjectSdk.js +4 -1
- package/ProjectSdk.js.map +1 -1
- package/abstractions/features/GetFeatureFlags.d.ts +8 -0
- package/abstractions/features/GetFeatureFlags.js +4 -0
- package/abstractions/features/GetFeatureFlags.js.map +1 -0
- package/abstractions/features/index.d.ts +1 -0
- package/abstractions/features/index.js +1 -0
- package/abstractions/features/index.js.map +1 -1
- package/abstractions/services/WatchedLambdaFunctionsService.d.ts +12 -7
- package/abstractions/services/WatchedLambdaFunctionsService.js.map +1 -1
- package/components/Wcp.d.ts +2 -0
- package/components/Wcp.js +8 -1
- package/components/Wcp.js.map +1 -1
- package/createProjectSdkContainer.js +4 -1
- package/createProjectSdkContainer.js.map +1 -1
- package/decorators/DeployAppClearWatchedLambdaFunctions.d.ts +3 -2
- package/decorators/DeployAppClearWatchedLambdaFunctions.js +11 -5
- package/decorators/DeployAppClearWatchedLambdaFunctions.js.map +1 -1
- package/decorators/DeployAppWithWatchedLambdaReplacement.d.ts +3 -2
- package/decorators/DeployAppWithWatchedLambdaReplacement.js +16 -7
- package/decorators/DeployAppWithWatchedLambdaReplacement.js.map +1 -1
- package/decorators/GetFeatureFlagsWithLicense.d.ts +13 -0
- package/decorators/GetFeatureFlagsWithLicense.js +71 -0
- package/decorators/GetFeatureFlagsWithLicense.js.map +1 -0
- package/decorators/index.d.ts +1 -0
- package/decorators/index.js +1 -0
- package/decorators/index.js.map +1 -1
- package/defineExtension/createExtensionReactComponent.js +2 -6
- package/defineExtension/createExtensionReactComponent.js.map +1 -1
- package/defineExtension/index.d.ts +0 -1
- package/defineExtension/index.js +0 -1
- package/defineExtension/index.js.map +1 -1
- package/defineExtension/models/ExtensionDefinitionModel.d.ts +4 -4
- package/defineExtension/models/ExtensionDefinitionModel.js.map +1 -1
- package/defineExtension/models/ExtensionInstanceModel.js +1 -1
- package/defineExtension/models/ExtensionInstanceModel.js.map +1 -1
- package/defineExtension/zodTypes/zodSrcPath.d.ts +2 -1
- package/defineExtension/zodTypes/zodSrcPath.js +7 -14
- package/defineExtension/zodTypes/zodSrcPath.js.map +1 -1
- package/exports/infra/index.d.ts +1 -1
- package/exports/infra/index.js +1 -1
- package/exports/infra/index.js.map +1 -1
- package/extensions/AdminBuildParam.d.ts +5 -0
- package/extensions/AdminBuildParam.js +184 -0
- package/extensions/AdminBuildParam.js.map +1 -0
- package/extensions/AdminExtension.d.ts +5 -0
- package/extensions/AdminExtension.js +99 -0
- package/extensions/AdminExtension.js.map +1 -0
- package/extensions/ApiBuildParam.d.ts +5 -0
- package/extensions/ApiBuildParam.js +119 -0
- package/extensions/ApiBuildParam.js.map +1 -0
- package/extensions/ApiExtension.d.ts +5 -0
- package/{defineExtension/defineApiExtension.js → extensions/ApiExtension.js} +14 -22
- package/extensions/ApiExtension.js.map +1 -0
- package/extensions/DatabaseSetup.d.ts +6 -6
- package/extensions/EnvVar.d.ts +1 -7
- package/extensions/ExtensionDefinitions.d.ts +1 -5
- package/extensions/FeatureFlags.d.ts +18 -0
- package/extensions/FeatureFlags.js +43 -0
- package/extensions/FeatureFlags.js.map +1 -0
- package/extensions/Project/EnsureTelemetryEnabledForOss.js +1 -1
- package/extensions/Project/EnsureTelemetryEnabledForOss.js.map +1 -1
- package/extensions/Project/SetAdminAppEnvVarsBeforeBuild.js +1 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeBuild.js.map +1 -1
- package/extensions/Project/SetAdminAppEnvVarsBeforeWatch.js +1 -0
- package/extensions/Project/SetAdminAppEnvVarsBeforeWatch.js.map +1 -1
- package/extensions/ProjectDecorator.d.ts +2 -6
- package/extensions/ProjectId.d.ts +2 -6
- package/extensions/ProjectImplementation.d.ts +2 -8
- package/extensions/Telemetry.d.ts +1 -5
- package/extensions/hooks/AdminAfterBuild.d.ts +2 -6
- package/extensions/hooks/AdminAfterDeploy.d.ts +2 -6
- package/extensions/hooks/AdminBeforeBuild.d.ts +2 -6
- package/extensions/hooks/AdminBeforeDeploy.d.ts +2 -6
- package/extensions/hooks/AdminBeforeWatch.d.ts +2 -6
- package/extensions/hooks/AfterBuild.d.ts +2 -6
- package/extensions/hooks/AfterDeploy.d.ts +2 -6
- package/extensions/hooks/ApiAfterBuild.d.ts +2 -6
- package/extensions/hooks/ApiAfterDeploy.d.ts +2 -6
- package/extensions/hooks/ApiBeforeBuild.d.ts +2 -6
- package/extensions/hooks/ApiBeforeDeploy.d.ts +2 -6
- package/extensions/hooks/ApiBeforeWatch.d.ts +2 -6
- package/extensions/hooks/BeforeBuild.d.ts +2 -6
- package/extensions/hooks/BeforeDeploy.d.ts +2 -6
- package/extensions/hooks/BeforeWatch.d.ts +2 -6
- package/extensions/hooks/CoreAfterBuild.d.ts +2 -6
- package/extensions/hooks/CoreAfterDeploy.d.ts +2 -6
- package/extensions/hooks/CoreBeforeBuild.d.ts +2 -6
- package/extensions/hooks/CoreBeforeDeploy.d.ts +2 -6
- package/extensions/hooks/CoreBeforeWatch.d.ts +2 -6
- package/extensions/index.d.ts +46 -53
- package/extensions/index.js +12 -2
- package/extensions/index.js.map +1 -1
- package/extensions/pulumi/AdminPulumi.d.ts +2 -6
- package/extensions/pulumi/AdminStackOutputValue.d.ts +1 -7
- package/extensions/pulumi/ApiPulumi.d.ts +2 -6
- package/extensions/pulumi/ApiStackOutputValue.d.ts +1 -7
- package/extensions/pulumi/CorePulumi.d.ts +2 -6
- package/extensions/pulumi/CoreStackOutputValue.d.ts +1 -7
- package/extensions/pulumi/ProductionEnvironments.d.ts +2 -6
- package/extensions/pulumi/PulumiResourceNamePrefix.d.ts +1 -5
- package/features/BuildApp/PackagesBuilder/worker.js +1 -1
- package/features/BuildApp/PackagesBuilder/worker.js.map +1 -1
- package/features/GetFeatureFlags/GetFeatureFlags.d.ts +10 -0
- package/features/GetFeatureFlags/GetFeatureFlags.js +29 -0
- package/features/GetFeatureFlags/GetFeatureFlags.js.map +1 -0
- package/features/GetFeatureFlags/index.d.ts +1 -0
- package/features/GetFeatureFlags/index.js +3 -0
- package/features/GetFeatureFlags/index.js.map +1 -0
- package/features/Watch/Watch.js +1 -0
- package/features/Watch/Watch.js.map +1 -1
- package/features/Watch/localInvocationWorker.js +5 -1
- package/features/Watch/localInvocationWorker.js.map +1 -1
- package/features/Watch/replaceLambdaFunctions.d.ts +2 -1
- package/features/Watch/replaceLambdaFunctions.js +5 -1
- package/features/Watch/replaceLambdaFunctions.js.map +1 -1
- package/features/index.d.ts +1 -0
- package/features/index.js +1 -0
- package/features/index.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/index.js.map +1 -1
- package/package.json +22 -20
- package/services/GetProjectConfigService/GetProjectConfigService.js +2 -1
- package/services/GetProjectConfigService/GetProjectConfigService.js.map +1 -1
- package/services/GetProjectConfigService/WcpProjectLicenseContext.d.ts +1 -0
- package/services/GetProjectConfigService/WcpProjectLicenseContext.js +2 -1
- package/services/GetProjectConfigService/WcpProjectLicenseContext.js.map +1 -1
- package/services/GetProjectConfigService/renderConfigWorker.js +12 -3
- package/services/GetProjectConfigService/renderConfigWorker.js.map +1 -1
- package/services/GetProjectIdService/GetProjectIdService.js +1 -1
- package/services/GetProjectIdService/GetProjectIdService.js.map +1 -1
- package/services/InitProjectSdkService/applyWcpEnvVars.js +10 -8
- package/services/InitProjectSdkService/applyWcpEnvVars.js.map +1 -1
- package/services/InitProjectSdkService/registerDecorators.js +2 -2
- package/services/InitProjectSdkService/registerDecorators.js.map +1 -1
- package/services/InitProjectSdkService/registerHooks.js +2 -2
- package/services/InitProjectSdkService/registerHooks.js.map +1 -1
- package/services/InitProjectSdkService/registerImplementations.js +2 -2
- package/services/InitProjectSdkService/registerImplementations.js.map +1 -1
- package/services/InitProjectSdkService/registerPulumiExtensions.js +2 -2
- package/services/InitProjectSdkService/registerPulumiExtensions.js.map +1 -1
- package/services/InstallExtensionService/InstallExtensionService.d.ts +1 -1
- package/services/InstallExtensionService/InstallExtensionService.js +4 -4
- package/services/InstallExtensionService/InstallExtensionService.js.map +1 -1
- package/services/InstallExtensionService/mergePackageJson.js +4 -4
- package/services/InstallExtensionService/mergePackageJson.js.map +1 -1
- package/services/InstallExtensionService/types.d.ts +4 -0
- package/services/InstallExtensionService/types.js.map +1 -1
- package/services/InstallExtensionService/updateWebinyConfig.js +74 -47
- package/services/InstallExtensionService/updateWebinyConfig.js.map +1 -1
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js +1 -1
- package/services/ListAppLambdaFunctionsService/ListAppLambdaFunctionsService.js.map +1 -1
- package/services/ProjectInfoService/ProjectInfoService.js +2 -2
- package/services/ProjectInfoService/ProjectInfoService.js.map +1 -1
- package/services/SetProjectIdService/SetProjectIdService.js +28 -18
- package/services/SetProjectIdService/SetProjectIdService.js.map +1 -1
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.d.ts +4 -4
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js +26 -20
- package/services/WatchedLambdaFunctionsService/WatchedLambdaFunctionsService.js.map +1 -1
- package/utils/ExtensionSrcResolver.d.ts +33 -0
- package/utils/ExtensionSrcResolver.js +120 -0
- package/utils/ExtensionSrcResolver.js.map +1 -0
- package/utils/index.d.ts +2 -1
- package/utils/index.js +2 -1
- package/utils/index.js.map +1 -1
- package/utils/requireConfig.js +9 -5
- package/utils/requireConfig.js.map +1 -1
- package/utils/toImportSpecifier.d.ts +5 -0
- package/utils/toImportSpecifier.js +12 -0
- package/utils/toImportSpecifier.js.map +1 -0
- package/defineExtension/defineApiExtension.d.ts +0 -17
- package/defineExtension/defineApiExtension.js.map +0 -1
- package/exports/extensions.d.ts +0 -1
- package/exports/extensions.js +0 -3
- package/exports/extensions.js.map +0 -1
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.d.ts +0 -18
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.js +0 -15
- package/features/BuildApp/PackagesBuilder/utils/requireConfig.js.map +0 -1
- package/features/Watch/watchers/utils/requireConfig.d.ts +0 -18
- package/features/Watch/watchers/utils/requireConfig.js +0 -15
- package/features/Watch/watchers/utils/requireConfig.js.map +0 -1
- package/utils/ImplPathResolver.d.ts +0 -10
- package/utils/ImplPathResolver.js +0 -27
- package/utils/ImplPathResolver.js.map +0 -1
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ProjectImplementation: import("../defineExtension/defineExtension.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
4
|
singleton: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
5
|
-
},
|
|
6
|
-
src: string;
|
|
7
|
-
singleton: boolean;
|
|
8
|
-
}, {
|
|
9
|
-
src: string;
|
|
10
|
-
singleton?: boolean | undefined;
|
|
11
|
-
}>>;
|
|
5
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const Telemetry: import("../defineExtension/defineExtension.js").ExtensionComponent<z.ZodObject<{
|
|
3
3
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
4
|
-
},
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
}, {
|
|
7
|
-
enabled?: boolean | undefined;
|
|
8
|
-
}>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminAfterBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminAfterDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminBeforeBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminBeforeDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminBeforeWatch: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AfterBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AfterDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiAfterBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiAfterDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiBeforeBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiBeforeDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiBeforeWatch: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BeforeBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BeforeDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BeforeWatch: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CoreAfterBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CoreAfterDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CoreBeforeBuild: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CoreBeforeDeploy: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CoreBeforeWatch: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
package/extensions/index.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ import { ProjectId } from "./ProjectId.js";
|
|
|
5
5
|
import { Telemetry } from "./Telemetry.js";
|
|
6
6
|
import { EnvVar } from "./EnvVar.js";
|
|
7
7
|
import { DatabaseSetup } from "./DatabaseSetup.js";
|
|
8
|
+
import { FeatureFlags } from "./FeatureFlags.js";
|
|
9
|
+
import { BuildParam } from "./ApiBuildParam.js";
|
|
10
|
+
import { AdminBuildParam } from "./AdminBuildParam.js";
|
|
11
|
+
import { AdminExtension } from "./AdminExtension.js";
|
|
12
|
+
import { ApiExtension } from "./ApiExtension.js";
|
|
8
13
|
import { AdminAfterBuild, AdminAfterDeploy, AdminBeforeBuild, AdminBeforeDeploy, AdminBeforeWatch, AfterBuild, AfterDeploy, BeforeDeploy, BeforeWatch, ApiAfterBuild, ApiAfterDeploy, ApiBeforeBuild, ApiBeforeDeploy, ApiBeforeWatch, BeforeBuild, CoreAfterBuild, CoreAfterDeploy, CoreBeforeBuild, CoreBeforeDeploy, CoreBeforeWatch } from "./hooks/index.js";
|
|
9
14
|
import { AdminPulumi, ApiPulumi, CorePulumi, ProductionEnvironments, PulumiResourceNamePrefix, CoreStackOutputValue, ApiStackOutputValue, AdminStackOutputValue } from "./pulumi/index.js";
|
|
10
15
|
export { Telemetry };
|
|
@@ -13,7 +18,12 @@ export { ProjectDecorator };
|
|
|
13
18
|
export { ProjectImplementation };
|
|
14
19
|
export { ExtensionDefinitions };
|
|
15
20
|
export { EnvVar };
|
|
21
|
+
export { FeatureFlags };
|
|
16
22
|
export { DatabaseSetup };
|
|
23
|
+
export { BuildParam };
|
|
24
|
+
export { AdminBuildParam };
|
|
25
|
+
export { AdminExtension };
|
|
26
|
+
export { ApiExtension };
|
|
17
27
|
export { BeforeBuild };
|
|
18
28
|
export { BeforeDeploy };
|
|
19
29
|
export { BeforeWatch };
|
|
@@ -44,64 +54,47 @@ export { ApiStackOutputValue };
|
|
|
44
54
|
export { AdminStackOutputValue };
|
|
45
55
|
export declare const definitions: (import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
46
56
|
src: import("zod").ZodString;
|
|
47
|
-
}, "strip
|
|
48
|
-
src: string
|
|
49
|
-
}, {
|
|
50
|
-
src: string;
|
|
51
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
52
|
-
src: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
|
53
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
54
|
-
src: string;
|
|
55
|
-
}, {
|
|
56
|
-
src: string;
|
|
57
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
57
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
58
|
+
src: import("zod").ZodPipe<import("zod").ZodString, import("zod").ZodTransform<string, string>>;
|
|
59
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
58
60
|
enabled: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
59
|
-
}, "strip
|
|
60
|
-
|
|
61
|
-
}, {
|
|
62
|
-
enabled?: boolean | undefined;
|
|
63
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
64
|
-
id: import("zod").ZodEffects<import("zod").ZodString, string, string>;
|
|
65
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
66
|
-
id: string;
|
|
67
|
-
}, {
|
|
68
|
-
id: string;
|
|
69
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
61
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
62
|
+
id: import("zod").ZodString;
|
|
63
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
70
64
|
varName: import("zod").ZodString;
|
|
71
65
|
value: import("zod").ZodString;
|
|
72
|
-
}, "strip
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
66
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
67
|
+
features: import("zod").ZodObject<{
|
|
68
|
+
multiTenancy: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
69
|
+
advancedPublishingWorkflow: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
70
|
+
advancedAccessControlLayer: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodObject<{
|
|
71
|
+
teams: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
72
|
+
privateFiles: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
73
|
+
folderLevelPermissions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
74
|
+
hcmsFieldPermissions: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
75
|
+
}, import("zod/v4/core").$strip>]>>;
|
|
76
|
+
auditLogs: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
77
|
+
recordLocking: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
78
|
+
fileManager: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
79
|
+
threatDetection: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
80
|
+
}, import("zod/v4/core").$strip>>;
|
|
81
|
+
}, import("zod/v4/core").$strip>;
|
|
82
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
79
83
|
prefix: import("zod").ZodString;
|
|
80
|
-
}, "strip
|
|
81
|
-
|
|
82
|
-
}, {
|
|
83
|
-
prefix: string;
|
|
84
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
85
|
-
environments: import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">;
|
|
86
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
87
|
-
environments: string[];
|
|
88
|
-
}, {
|
|
89
|
-
environments: string[];
|
|
90
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
84
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
85
|
+
environments: import("zod").ZodArray<import("zod").ZodString>;
|
|
86
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
91
87
|
key: import("zod").ZodString;
|
|
92
88
|
value: import("zod").ZodAny;
|
|
93
|
-
}, "strip
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
}, {
|
|
104
|
-
setupName: "ddb" | "ddb+es" | "ddb+os";
|
|
105
|
-
}>>)[];
|
|
89
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
90
|
+
setupName: import("zod").ZodEnum<{
|
|
91
|
+
ddb: "ddb";
|
|
92
|
+
"ddb+es": "ddb+es";
|
|
93
|
+
"ddb+os": "ddb+os";
|
|
94
|
+
}>;
|
|
95
|
+
}, import("zod/v4/core").$strip>> | import("../defineExtension/index.js").ExtensionDefinitionModel<import("zod").ZodObject<{
|
|
96
|
+
paramName: import("zod").ZodString;
|
|
97
|
+
value: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodNumber, import("zod").ZodBoolean]>;
|
|
98
|
+
}, import("zod/v4/core").$strip>>)[];
|
|
106
99
|
export { Project } from "./Project.js";
|
|
107
100
|
export * from "../defineExtension/index.js";
|
package/extensions/index.js
CHANGED
|
@@ -5,6 +5,11 @@ import { ProjectId } from "./ProjectId.js";
|
|
|
5
5
|
import { Telemetry } from "./Telemetry.js";
|
|
6
6
|
import { EnvVar } from "./EnvVar.js";
|
|
7
7
|
import { DatabaseSetup } from "./DatabaseSetup.js";
|
|
8
|
+
import { FeatureFlags } from "./FeatureFlags.js";
|
|
9
|
+
import { BuildParam } from "./ApiBuildParam.js";
|
|
10
|
+
import { AdminBuildParam } from "./AdminBuildParam.js";
|
|
11
|
+
import { AdminExtension } from "./AdminExtension.js";
|
|
12
|
+
import { ApiExtension } from "./ApiExtension.js";
|
|
8
13
|
|
|
9
14
|
// Hooks.
|
|
10
15
|
import { AdminAfterBuild, AdminAfterDeploy, AdminBeforeBuild, AdminBeforeDeploy, AdminBeforeWatch, AfterBuild, AfterDeploy, BeforeDeploy, BeforeWatch, ApiAfterBuild, ApiAfterDeploy, ApiBeforeBuild, ApiBeforeDeploy, ApiBeforeWatch, BeforeBuild, CoreAfterBuild, CoreAfterDeploy, CoreBeforeBuild, CoreBeforeDeploy, CoreBeforeWatch } from "./hooks/index.js";
|
|
@@ -19,7 +24,12 @@ export { ProjectDecorator };
|
|
|
19
24
|
export { ProjectImplementation };
|
|
20
25
|
export { ExtensionDefinitions };
|
|
21
26
|
export { EnvVar };
|
|
27
|
+
export { FeatureFlags };
|
|
22
28
|
export { DatabaseSetup };
|
|
29
|
+
export { BuildParam };
|
|
30
|
+
export { AdminBuildParam };
|
|
31
|
+
export { AdminExtension };
|
|
32
|
+
export { ApiExtension };
|
|
23
33
|
|
|
24
34
|
// Hooks.
|
|
25
35
|
export { BeforeBuild };
|
|
@@ -54,11 +64,11 @@ export { ApiStackOutputValue };
|
|
|
54
64
|
export { AdminStackOutputValue };
|
|
55
65
|
|
|
56
66
|
// Definitions (used internally). 👇
|
|
57
|
-
export const definitions = [Telemetry.def, ProjectId.def, ProjectDecorator.def, ProjectImplementation.def, ExtensionDefinitions.def, EnvVar.def,
|
|
67
|
+
export const definitions = [Telemetry.def, ProjectId.def, ProjectDecorator.def, ProjectImplementation.def, ExtensionDefinitions.def, EnvVar.def, FeatureFlags.def,
|
|
58
68
|
// Hooks.
|
|
59
69
|
AdminAfterBuild.def, AdminAfterDeploy.def, BeforeBuild.def, BeforeDeploy.def, BeforeWatch.def, AfterBuild.def, AfterDeploy.def, AdminBeforeBuild.def, AdminBeforeDeploy.def, AdminBeforeWatch.def, ApiAfterBuild.def, ApiAfterDeploy.def, ApiBeforeBuild.def, ApiBeforeDeploy.def, ApiBeforeWatch.def, CoreAfterBuild.def, CoreAfterDeploy.def, CoreBeforeBuild.def, CoreBeforeDeploy.def, CoreBeforeWatch.def,
|
|
60
70
|
// Pulumi.
|
|
61
|
-
CorePulumi.def, PulumiResourceNamePrefix.def, ProductionEnvironments.def, CoreStackOutputValue.def, ApiStackOutputValue.def, AdminStackOutputValue.def, DatabaseSetup.def];
|
|
71
|
+
AdminPulumi.def, ApiPulumi.def, CorePulumi.def, PulumiResourceNamePrefix.def, ProductionEnvironments.def, CoreStackOutputValue.def, ApiStackOutputValue.def, AdminStackOutputValue.def, DatabaseSetup.def, BuildParam.def, AdminBuildParam.def, AdminExtension.def, ApiExtension.def];
|
|
62
72
|
export { Project } from "./Project.js";
|
|
63
73
|
export * from "../defineExtension/index.js";
|
|
64
74
|
|
package/extensions/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["ExtensionDefinitions","ProjectDecorator","ProjectImplementation","ProjectId","Telemetry","EnvVar","DatabaseSetup","AdminAfterBuild","AdminAfterDeploy","AdminBeforeBuild","AdminBeforeDeploy","AdminBeforeWatch","AfterBuild","AfterDeploy","BeforeDeploy","BeforeWatch","ApiAfterBuild","ApiAfterDeploy","ApiBeforeBuild","ApiBeforeDeploy","ApiBeforeWatch","BeforeBuild","CoreAfterBuild","CoreAfterDeploy","CoreBeforeBuild","CoreBeforeDeploy","CoreBeforeWatch","AdminPulumi","ApiPulumi","CorePulumi","ProductionEnvironments","PulumiResourceNamePrefix","CoreStackOutputValue","ApiStackOutputValue","AdminStackOutputValue","definitions","def","Project"],"sources":["index.ts"],"sourcesContent":["import { ExtensionDefinitions } from \"./ExtensionDefinitions.js\";\nimport { ProjectDecorator } from \"./ProjectDecorator.js\";\nimport { ProjectImplementation } from \"./ProjectImplementation.js\";\nimport { ProjectId } from \"./ProjectId.js\";\nimport { Telemetry } from \"./Telemetry.js\";\nimport { EnvVar } from \"./EnvVar.js\";\nimport { DatabaseSetup } from \"./DatabaseSetup.js\";\n\n// Hooks.\nimport {\n AdminAfterBuild,\n AdminAfterDeploy,\n AdminBeforeBuild,\n AdminBeforeDeploy,\n AdminBeforeWatch,\n AfterBuild,\n AfterDeploy,\n BeforeDeploy,\n BeforeWatch,\n ApiAfterBuild,\n ApiAfterDeploy,\n ApiBeforeBuild,\n ApiBeforeDeploy,\n ApiBeforeWatch,\n BeforeBuild,\n CoreAfterBuild,\n CoreAfterDeploy,\n CoreBeforeBuild,\n CoreBeforeDeploy,\n CoreBeforeWatch\n} from \"./hooks/index.js\";\n\n// Pulumi.\nimport {\n AdminPulumi,\n ApiPulumi,\n CorePulumi,\n ProductionEnvironments,\n PulumiResourceNamePrefix,\n CoreStackOutputValue,\n ApiStackOutputValue,\n AdminStackOutputValue\n} from \"./pulumi/index.js\";\n\n// Exports.\nexport { Telemetry };\nexport { ProjectId };\nexport { ProjectDecorator };\nexport { ProjectImplementation };\nexport { ExtensionDefinitions };\nexport { EnvVar };\nexport { DatabaseSetup };\n\n// Hooks.\nexport { BeforeBuild };\nexport { BeforeDeploy };\nexport { BeforeWatch };\nexport { AfterBuild };\nexport { AfterDeploy };\nexport { AdminBeforeBuild };\nexport { AdminBeforeDeploy };\nexport { AdminBeforeWatch };\nexport { AdminAfterBuild };\nexport { AdminAfterDeploy };\nexport { ApiBeforeBuild };\nexport { ApiBeforeDeploy };\nexport { ApiBeforeWatch };\nexport { ApiAfterBuild };\nexport { ApiAfterDeploy };\nexport { CoreBeforeBuild };\nexport { CoreBeforeDeploy };\nexport { CoreBeforeWatch };\nexport { CoreAfterBuild };\nexport { CoreAfterDeploy };\n\n// Pulumi.\nexport { CorePulumi };\nexport { AdminPulumi };\nexport { ApiPulumi };\nexport { PulumiResourceNamePrefix };\nexport { ProductionEnvironments };\nexport { CoreStackOutputValue };\nexport { ApiStackOutputValue };\nexport { AdminStackOutputValue };\n\n// Definitions (used internally). 👇\nexport const definitions = [\n Telemetry.def,\n ProjectId.def,\n ProjectDecorator.def,\n ProjectImplementation.def,\n ExtensionDefinitions.def,\n EnvVar.def,\n\n // Hooks.\n AdminAfterBuild.def,\n AdminAfterDeploy.def,\n BeforeBuild.def,\n BeforeDeploy.def,\n BeforeWatch.def,\n AfterBuild.def,\n AfterDeploy.def,\n AdminBeforeBuild.def,\n AdminBeforeDeploy.def,\n AdminBeforeWatch.def,\n ApiAfterBuild.def,\n ApiAfterDeploy.def,\n ApiBeforeBuild.def,\n ApiBeforeDeploy.def,\n ApiBeforeWatch.def,\n CoreAfterBuild.def,\n CoreAfterDeploy.def,\n CoreBeforeBuild.def,\n CoreBeforeDeploy.def,\n CoreBeforeWatch.def,\n\n // Pulumi.\n CorePulumi.def,\n PulumiResourceNamePrefix.def,\n ProductionEnvironments.def,\n CoreStackOutputValue.def,\n ApiStackOutputValue.def,\n AdminStackOutputValue.def,\n DatabaseSetup.def\n];\n\nexport { Project } from \"./Project.js\";\n\nexport * from \"../defineExtension/index.js\";\n"],"mappings":"AAAA,SAASA,oBAAoB;AAC7B,SAASC,gBAAgB;AACzB,SAASC,qBAAqB;AAC9B,SAASC,SAAS;AAClB,SAASC,SAAS;AAClB,SAASC,MAAM;AACf,SAASC,aAAa;;
|
|
1
|
+
{"version":3,"names":["ExtensionDefinitions","ProjectDecorator","ProjectImplementation","ProjectId","Telemetry","EnvVar","DatabaseSetup","FeatureFlags","BuildParam","AdminBuildParam","AdminExtension","ApiExtension","AdminAfterBuild","AdminAfterDeploy","AdminBeforeBuild","AdminBeforeDeploy","AdminBeforeWatch","AfterBuild","AfterDeploy","BeforeDeploy","BeforeWatch","ApiAfterBuild","ApiAfterDeploy","ApiBeforeBuild","ApiBeforeDeploy","ApiBeforeWatch","BeforeBuild","CoreAfterBuild","CoreAfterDeploy","CoreBeforeBuild","CoreBeforeDeploy","CoreBeforeWatch","AdminPulumi","ApiPulumi","CorePulumi","ProductionEnvironments","PulumiResourceNamePrefix","CoreStackOutputValue","ApiStackOutputValue","AdminStackOutputValue","definitions","def","Project"],"sources":["index.ts"],"sourcesContent":["import { ExtensionDefinitions } from \"./ExtensionDefinitions.js\";\nimport { ProjectDecorator } from \"./ProjectDecorator.js\";\nimport { ProjectImplementation } from \"./ProjectImplementation.js\";\nimport { ProjectId } from \"./ProjectId.js\";\nimport { Telemetry } from \"./Telemetry.js\";\nimport { EnvVar } from \"./EnvVar.js\";\nimport { DatabaseSetup } from \"./DatabaseSetup.js\";\nimport { FeatureFlags } from \"./FeatureFlags.js\";\nimport { BuildParam } from \"./ApiBuildParam.js\";\nimport { AdminBuildParam } from \"./AdminBuildParam.js\";\nimport { AdminExtension } from \"./AdminExtension.js\";\nimport { ApiExtension } from \"./ApiExtension.js\";\n\n// Hooks.\nimport {\n AdminAfterBuild,\n AdminAfterDeploy,\n AdminBeforeBuild,\n AdminBeforeDeploy,\n AdminBeforeWatch,\n AfterBuild,\n AfterDeploy,\n BeforeDeploy,\n BeforeWatch,\n ApiAfterBuild,\n ApiAfterDeploy,\n ApiBeforeBuild,\n ApiBeforeDeploy,\n ApiBeforeWatch,\n BeforeBuild,\n CoreAfterBuild,\n CoreAfterDeploy,\n CoreBeforeBuild,\n CoreBeforeDeploy,\n CoreBeforeWatch\n} from \"./hooks/index.js\";\n\n// Pulumi.\nimport {\n AdminPulumi,\n ApiPulumi,\n CorePulumi,\n ProductionEnvironments,\n PulumiResourceNamePrefix,\n CoreStackOutputValue,\n ApiStackOutputValue,\n AdminStackOutputValue\n} from \"./pulumi/index.js\";\n\n// Exports.\nexport { Telemetry };\nexport { ProjectId };\nexport { ProjectDecorator };\nexport { ProjectImplementation };\nexport { ExtensionDefinitions };\nexport { EnvVar };\nexport { FeatureFlags };\nexport { DatabaseSetup };\nexport { BuildParam };\nexport { AdminBuildParam };\nexport { AdminExtension };\nexport { ApiExtension };\n\n// Hooks.\nexport { BeforeBuild };\nexport { BeforeDeploy };\nexport { BeforeWatch };\nexport { AfterBuild };\nexport { AfterDeploy };\nexport { AdminBeforeBuild };\nexport { AdminBeforeDeploy };\nexport { AdminBeforeWatch };\nexport { AdminAfterBuild };\nexport { AdminAfterDeploy };\nexport { ApiBeforeBuild };\nexport { ApiBeforeDeploy };\nexport { ApiBeforeWatch };\nexport { ApiAfterBuild };\nexport { ApiAfterDeploy };\nexport { CoreBeforeBuild };\nexport { CoreBeforeDeploy };\nexport { CoreBeforeWatch };\nexport { CoreAfterBuild };\nexport { CoreAfterDeploy };\n\n// Pulumi.\nexport { CorePulumi };\nexport { AdminPulumi };\nexport { ApiPulumi };\nexport { PulumiResourceNamePrefix };\nexport { ProductionEnvironments };\nexport { CoreStackOutputValue };\nexport { ApiStackOutputValue };\nexport { AdminStackOutputValue };\n\n// Definitions (used internally). 👇\nexport const definitions = [\n Telemetry.def,\n ProjectId.def,\n ProjectDecorator.def,\n ProjectImplementation.def,\n ExtensionDefinitions.def,\n EnvVar.def,\n FeatureFlags.def,\n\n // Hooks.\n AdminAfterBuild.def,\n AdminAfterDeploy.def,\n BeforeBuild.def,\n BeforeDeploy.def,\n BeforeWatch.def,\n AfterBuild.def,\n AfterDeploy.def,\n AdminBeforeBuild.def,\n AdminBeforeDeploy.def,\n AdminBeforeWatch.def,\n ApiAfterBuild.def,\n ApiAfterDeploy.def,\n ApiBeforeBuild.def,\n ApiBeforeDeploy.def,\n ApiBeforeWatch.def,\n CoreAfterBuild.def,\n CoreAfterDeploy.def,\n CoreBeforeBuild.def,\n CoreBeforeDeploy.def,\n CoreBeforeWatch.def,\n\n // Pulumi.\n AdminPulumi.def,\n ApiPulumi.def,\n CorePulumi.def,\n PulumiResourceNamePrefix.def,\n ProductionEnvironments.def,\n CoreStackOutputValue.def,\n ApiStackOutputValue.def,\n AdminStackOutputValue.def,\n DatabaseSetup.def,\n BuildParam.def,\n AdminBuildParam.def,\n AdminExtension.def,\n ApiExtension.def\n];\n\nexport { Project } from \"./Project.js\";\n\nexport * from \"../defineExtension/index.js\";\n"],"mappings":"AAAA,SAASA,oBAAoB;AAC7B,SAASC,gBAAgB;AACzB,SAASC,qBAAqB;AAC9B,SAASC,SAAS;AAClB,SAASC,SAAS;AAClB,SAASC,MAAM;AACf,SAASC,aAAa;AACtB,SAASC,YAAY;AACrB,SAASC,UAAU;AACnB,SAASC,eAAe;AACxB,SAASC,cAAc;AACvB,SAASC,YAAY;;AAErB;AACA,SACIC,eAAe,EACfC,gBAAgB,EAChBC,gBAAgB,EAChBC,iBAAiB,EACjBC,gBAAgB,EAChBC,UAAU,EACVC,WAAW,EACXC,YAAY,EACZC,WAAW,EACXC,aAAa,EACbC,cAAc,EACdC,cAAc,EACdC,eAAe,EACfC,cAAc,EACdC,WAAW,EACXC,cAAc,EACdC,eAAe,EACfC,eAAe,EACfC,gBAAgB,EAChBC,eAAe;;AAGnB;AACA,SACIC,WAAW,EACXC,SAAS,EACTC,UAAU,EACVC,sBAAsB,EACtBC,wBAAwB,EACxBC,oBAAoB,EACpBC,mBAAmB,EACnBC,qBAAqB;;AAGzB;AACA,SAASnC,SAAS;AAClB,SAASD,SAAS;AAClB,SAASF,gBAAgB;AACzB,SAASC,qBAAqB;AAC9B,SAASF,oBAAoB;AAC7B,SAASK,MAAM;AACf,SAASE,YAAY;AACrB,SAASD,aAAa;AACtB,SAASE,UAAU;AACnB,SAASC,eAAe;AACxB,SAASC,cAAc;AACvB,SAASC,YAAY;;AAErB;AACA,SAASe,WAAW;AACpB,SAASP,YAAY;AACrB,SAASC,WAAW;AACpB,SAASH,UAAU;AACnB,SAASC,WAAW;AACpB,SAASJ,gBAAgB;AACzB,SAASC,iBAAiB;AAC1B,SAASC,gBAAgB;AACzB,SAASJ,eAAe;AACxB,SAASC,gBAAgB;AACzB,SAASU,cAAc;AACvB,SAASC,eAAe;AACxB,SAASC,cAAc;AACvB,SAASJ,aAAa;AACtB,SAASC,cAAc;AACvB,SAASO,eAAe;AACxB,SAASC,gBAAgB;AACzB,SAASC,eAAe;AACxB,SAASJ,cAAc;AACvB,SAASC,eAAe;;AAExB;AACA,SAASM,UAAU;AACnB,SAASF,WAAW;AACpB,SAASC,SAAS;AAClB,SAASG,wBAAwB;AACjC,SAASD,sBAAsB;AAC/B,SAASE,oBAAoB;AAC7B,SAASC,mBAAmB;AAC5B,SAASC,qBAAqB;;AAE9B;AACA,OAAO,MAAMC,WAAW,GAAG,CACvBpC,SAAS,CAACqC,GAAG,EACbtC,SAAS,CAACsC,GAAG,EACbxC,gBAAgB,CAACwC,GAAG,EACpBvC,qBAAqB,CAACuC,GAAG,EACzBzC,oBAAoB,CAACyC,GAAG,EACxBpC,MAAM,CAACoC,GAAG,EACVlC,YAAY,CAACkC,GAAG;AAEhB;AACA7B,eAAe,CAAC6B,GAAG,EACnB5B,gBAAgB,CAAC4B,GAAG,EACpBf,WAAW,CAACe,GAAG,EACftB,YAAY,CAACsB,GAAG,EAChBrB,WAAW,CAACqB,GAAG,EACfxB,UAAU,CAACwB,GAAG,EACdvB,WAAW,CAACuB,GAAG,EACf3B,gBAAgB,CAAC2B,GAAG,EACpB1B,iBAAiB,CAAC0B,GAAG,EACrBzB,gBAAgB,CAACyB,GAAG,EACpBpB,aAAa,CAACoB,GAAG,EACjBnB,cAAc,CAACmB,GAAG,EAClBlB,cAAc,CAACkB,GAAG,EAClBjB,eAAe,CAACiB,GAAG,EACnBhB,cAAc,CAACgB,GAAG,EAClBd,cAAc,CAACc,GAAG,EAClBb,eAAe,CAACa,GAAG,EACnBZ,eAAe,CAACY,GAAG,EACnBX,gBAAgB,CAACW,GAAG,EACpBV,eAAe,CAACU,GAAG;AAEnB;AACAT,WAAW,CAACS,GAAG,EACfR,SAAS,CAACQ,GAAG,EACbP,UAAU,CAACO,GAAG,EACdL,wBAAwB,CAACK,GAAG,EAC5BN,sBAAsB,CAACM,GAAG,EAC1BJ,oBAAoB,CAACI,GAAG,EACxBH,mBAAmB,CAACG,GAAG,EACvBF,qBAAqB,CAACE,GAAG,EACzBnC,aAAa,CAACmC,GAAG,EACjBjC,UAAU,CAACiC,GAAG,EACdhC,eAAe,CAACgC,GAAG,EACnB/B,cAAc,CAAC+B,GAAG,EAClB9B,YAAY,CAAC8B,GAAG,CACnB;AAED,SAASC,OAAO;AAEhB","ignoreList":[]}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const AdminPulumi: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -2,10 +2,4 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const AdminStackOutputValue: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
3
|
key: z.ZodString;
|
|
4
4
|
value: z.ZodAny;
|
|
5
|
-
},
|
|
6
|
-
key: string;
|
|
7
|
-
value?: any;
|
|
8
|
-
}, {
|
|
9
|
-
key: string;
|
|
10
|
-
value?: any;
|
|
11
|
-
}>>;
|
|
5
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ApiPulumi: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -2,10 +2,4 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const ApiStackOutputValue: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
3
|
key: z.ZodString;
|
|
4
4
|
value: z.ZodAny;
|
|
5
|
-
},
|
|
6
|
-
key: string;
|
|
7
|
-
value?: any;
|
|
8
|
-
}, {
|
|
9
|
-
key: string;
|
|
10
|
-
value?: any;
|
|
11
|
-
}>>;
|
|
5
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const CorePulumi: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
src: z.
|
|
4
|
-
},
|
|
5
|
-
src: string;
|
|
6
|
-
}, {
|
|
7
|
-
src: string;
|
|
8
|
-
}>>;
|
|
3
|
+
src: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -2,10 +2,4 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CoreStackOutputValue: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
3
|
key: z.ZodString;
|
|
4
4
|
value: z.ZodAny;
|
|
5
|
-
},
|
|
6
|
-
key: string;
|
|
7
|
-
value?: any;
|
|
8
|
-
}, {
|
|
9
|
-
key: string;
|
|
10
|
-
value?: any;
|
|
11
|
-
}>>;
|
|
5
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ProductionEnvironments: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
|
-
environments: z.ZodArray<z.
|
|
4
|
-
},
|
|
5
|
-
environments: string[];
|
|
6
|
-
}, {
|
|
7
|
-
environments: string[];
|
|
8
|
-
}>>;
|
|
3
|
+
environments: z.ZodArray<z.ZodString>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const PulumiResourceNamePrefix: import("~/defineExtension/index.js").ExtensionComponent<z.ZodObject<{
|
|
3
3
|
prefix: z.ZodString;
|
|
4
|
-
},
|
|
5
|
-
prefix: string;
|
|
6
|
-
}, {
|
|
7
|
-
prefix: string;
|
|
8
|
-
}>>;
|
|
4
|
+
}, z.core.$strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["requireConfigWithExecute","serializeError","sendError","err","response","type","error","process","send","sendSuccess","on","reason","Error","String","workerData","JSON","parse","argv","package","pkg","env","variant","region","debug","options","cwd","paths","packageFolder","config","webinyConfigFile","hasBuild","commands","build"],"sources":["worker.ts"],"sourcesContent":["import \"tsx/esm\";\nimport { requireConfigWithExecute } from \"
|
|
1
|
+
{"version":3,"names":["requireConfigWithExecute","serializeError","sendError","err","response","type","error","process","send","sendSuccess","on","reason","Error","String","workerData","JSON","parse","argv","package","pkg","env","variant","region","debug","options","cwd","paths","packageFolder","config","webinyConfigFile","hasBuild","commands","build"],"sources":["worker.ts"],"sourcesContent":["import \"tsx/esm\";\nimport { requireConfigWithExecute } from \"~/utils/index.js\";\nimport { serializeError } from \"serialize-error\";\n\nconst sendError = (err: Error) => {\n const response = {\n type: \"error\",\n error: serializeError(err)\n };\n\n process.send!(response);\n};\n\nconst sendSuccess = () => {\n const response = {\n type: \"success\",\n error: null\n };\n\n process.send!(response);\n};\n\nprocess.on(\"uncaughtException\", err => {\n sendError(err);\n});\n\nprocess.on(\"unhandledRejection\", reason => {\n const err = reason instanceof Error ? reason : new Error(String(reason));\n sendError(err);\n});\n\nconst workerData = JSON.parse(process.argv[2]);\n\nconst { package: pkg, env, variant, region, debug } = workerData;\nconst options = {\n cwd: pkg.paths.packageFolder,\n env,\n variant,\n region,\n debug\n};\n\nconst config = await requireConfigWithExecute(pkg.paths.webinyConfigFile, {\n options\n});\n\nconst hasBuild = config.commands && typeof config.commands.build === \"function\";\nif (!hasBuild) {\n throw new Error(\"Build command not found.\");\n}\n\nawait config.commands.build(options);\n\nsendSuccess();\n"],"mappings":"AAAA,OAAO,SAAS;AAChB,SAASA,wBAAwB;AACjC,SAASC,cAAc,QAAQ,iBAAiB;AAEhD,MAAMC,SAAS,GAAIC,GAAU,IAAK;EAC9B,MAAMC,QAAQ,GAAG;IACbC,IAAI,EAAE,OAAO;IACbC,KAAK,EAAEL,cAAc,CAACE,GAAG;EAC7B,CAAC;EAEDI,OAAO,CAACC,IAAI,CAAEJ,QAAQ,CAAC;AAC3B,CAAC;AAED,MAAMK,WAAW,GAAGA,CAAA,KAAM;EACtB,MAAML,QAAQ,GAAG;IACbC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE;EACX,CAAC;EAEDC,OAAO,CAACC,IAAI,CAAEJ,QAAQ,CAAC;AAC3B,CAAC;AAEDG,OAAO,CAACG,EAAE,CAAC,mBAAmB,EAAEP,GAAG,IAAI;EACnCD,SAAS,CAACC,GAAG,CAAC;AAClB,CAAC,CAAC;AAEFI,OAAO,CAACG,EAAE,CAAC,oBAAoB,EAAEC,MAAM,IAAI;EACvC,MAAMR,GAAG,GAAGQ,MAAM,YAAYC,KAAK,GAAGD,MAAM,GAAG,IAAIC,KAAK,CAACC,MAAM,CAACF,MAAM,CAAC,CAAC;EACxET,SAAS,CAACC,GAAG,CAAC;AAClB,CAAC,CAAC;AAEF,MAAMW,UAAU,GAAGC,IAAI,CAACC,KAAK,CAACT,OAAO,CAACU,IAAI,CAAC,CAAC,CAAC,CAAC;AAE9C,MAAM;EAAEC,OAAO,EAAEC,GAAG;EAAEC,GAAG;EAAEC,OAAO;EAAEC,MAAM;EAAEC;AAAM,CAAC,GAAGT,UAAU;AAChE,MAAMU,OAAO,GAAG;EACZC,GAAG,EAAEN,GAAG,CAACO,KAAK,CAACC,aAAa;EAC5BP,GAAG;EACHC,OAAO;EACPC,MAAM;EACNC;AACJ,CAAC;AAED,MAAMK,MAAM,GAAG,MAAM5B,wBAAwB,CAACmB,GAAG,CAACO,KAAK,CAACG,gBAAgB,EAAE;EACtEL;AACJ,CAAC,CAAC;AAEF,MAAMM,QAAQ,GAAGF,MAAM,CAACG,QAAQ,IAAI,OAAOH,MAAM,CAACG,QAAQ,CAACC,KAAK,KAAK,UAAU;AAC/E,IAAI,CAACF,QAAQ,EAAE;EACX,MAAM,IAAIlB,KAAK,CAAC,0BAA0B,CAAC;AAC/C;AAEA,MAAMgB,MAAM,CAACG,QAAQ,CAACC,KAAK,CAACR,OAAO,CAAC;AAEpCf,WAAW,CAAC,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FeatureFlags } from "@webiny/feature-flags";
|
|
2
|
+
import { GetFeatureFlags } from "../../abstractions/index.js";
|
|
3
|
+
import { GetProjectConfig } from "../../abstractions/index.js";
|
|
4
|
+
declare class DefaultGetFeatureFlags implements GetFeatureFlags.Interface {
|
|
5
|
+
private getProjectConfig;
|
|
6
|
+
constructor(getProjectConfig: GetProjectConfig.Interface);
|
|
7
|
+
execute(): Promise<FeatureFlags>;
|
|
8
|
+
}
|
|
9
|
+
export declare const getFeatureFlags: import("@webiny/di").Implementation<typeof DefaultGetFeatureFlags>;
|
|
10
|
+
export {};
|