@amplication/code-gen-types
Advanced tools
Comparing version 2.0.32 to 2.0.33-beta.1
{ | ||
"name": "@amplication/code-gen-types", | ||
"version": "2.0.32", | ||
"version": "2.0.33-beta.1", | ||
"description": "This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -22,7 +22,7 @@ # amplication-code-gen-types | ||
npx nx build amplication-code-gen-types | ||
npx nx build code-gen-types | ||
cd ./dist/packages/amplication-code-gen-types | ||
cd ./dist/libs/util/code-gen-types | ||
npm publish --access public .... | ||
``` |
@@ -75,2 +75,8 @@ import { Entity, EntityLookupField, ModuleContainer, ModuleAction, entityActions } from "./code-gen-types"; | ||
} | ||
export interface CreateServerCsprojParams extends EventParams { | ||
updateProperties: { | ||
[key: string]: any; | ||
}[]; | ||
outputFileName: string; | ||
} | ||
export interface CreateMessageBrokerParams extends EventParams { | ||
@@ -97,2 +103,7 @@ } | ||
} | ||
export interface CreateDTOsParams extends EventParams { | ||
entity: Entity; | ||
dtoName: string; | ||
dtoBasePath: string; | ||
} | ||
export interface LoadStaticFilesParams extends EventParams { | ||
@@ -99,0 +110,0 @@ source: string; |
@@ -1,2 +0,2 @@ | ||
import { CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityGrpcControllerBaseParams, CreateEntityGrpcControllerParams, CreateEntityInterfaceParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateMainFileParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreateSeedParams, CreateServerAuthParams, CreateServerDockerComposeDBParams, CreateServerDockerComposeParams, CreateServerDotEnvParams, CreateServerGitIgnoreParams, CreateServerParams, CreateServerSecretsManagerParams, CreateSwaggerParams, LoadStaticFilesParams } from "./dotnet-plugin-events-params.types"; | ||
import { CreateDTOsParams, CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityGrpcControllerBaseParams, CreateEntityGrpcControllerParams, CreateEntityInterfaceParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateMainFileParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreateSeedParams, CreateServerAuthParams, CreateServerCsprojParams, CreateServerDockerComposeDBParams, CreateServerDockerComposeParams, CreateServerDotEnvParams, CreateServerGitIgnoreParams, CreateServerParams, CreateServerSecretsManagerParams, CreateSwaggerParams, LoadStaticFilesParams } from "./dotnet-plugin-events-params.types"; | ||
import { DotnetEventNames, PluginEventType } from "./dotnet-plugins.types"; | ||
@@ -9,2 +9,3 @@ import { CodeBlock, Interface } from "@amplication/csharp-ast"; | ||
[DotnetEventNames.CreateServerGitIgnore]?: PluginEventType<CreateServerGitIgnoreParams, CodeBlock>; | ||
[DotnetEventNames.CreateServerCsproj]?: PluginEventType<CreateServerCsprojParams>; | ||
[DotnetEventNames.CreateEntityService]?: PluginEventType<CreateEntityServiceParams>; | ||
@@ -27,2 +28,3 @@ [DotnetEventNames.CreateEntityServiceBase]?: PluginEventType<CreateEntityServiceBaseParams>; | ||
[DotnetEventNames.CreateEntityControllerToManyRelationMethods]?: PluginEventType<CreateEntityControllerToManyRelationMethodsParams>; | ||
[DotnetEventNames.CreateDTOs]?: PluginEventType<CreateDTOsParams>; | ||
[DotnetEventNames.LoadStaticFiles]?: PluginEventType<LoadStaticFilesParams>; | ||
@@ -29,0 +31,0 @@ [DotnetEventNames.CreateServerSecretsManager]?: PluginEventType<CreateServerSecretsManagerParams>; |
@@ -83,3 +83,3 @@ import type { Promisable } from "type-fest"; | ||
CreatePrismaSchema = "CreatePrismaSchema", | ||
CreateServerPackageJson = "CreateServerPackageJson", | ||
CreateServerCsproj = "CreateServerCsproj", | ||
CreateAdminUIPackageJson = "CreateAdminUIPackageJson", | ||
@@ -86,0 +86,0 @@ CreateEntityModule = "CreateEntityModule", |
@@ -32,3 +32,3 @@ "use strict"; | ||
DotnetEventNames["CreatePrismaSchema"] = "CreatePrismaSchema"; | ||
DotnetEventNames["CreateServerPackageJson"] = "CreateServerPackageJson"; | ||
DotnetEventNames["CreateServerCsproj"] = "CreateServerCsproj"; | ||
DotnetEventNames["CreateAdminUIPackageJson"] = "CreateAdminUIPackageJson"; | ||
@@ -35,0 +35,0 @@ DotnetEventNames["CreateEntityModule"] = "CreateEntityModule"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229969
5224
2