@amplication/code-gen-types
Advanced tools
Comparing version 2.0.36 to 2.0.37-beta.0
{ | ||
"name": "@amplication/code-gen-types", | ||
"version": "2.0.36", | ||
"version": "2.0.37-beta.0", | ||
"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", |
@@ -1,2 +0,1 @@ | ||
import { CodeBlock } from "@amplication/csharp-ast"; | ||
import { Entity, EntityLookupField, ModuleContainer, ModuleAction, entityActions, ModuleActionsAndDtos } from "./code-gen-types"; | ||
@@ -115,16 +114,2 @@ import { EventParams } from "./plugins.types"; | ||
export interface CreateProgramFileParams extends EventParams { | ||
/** | ||
* List of code blocks that will be added to the program file. | ||
* The code blocks will be added to the `builder` object, before builder.Build() gets called. | ||
* i.e. `builder.services.AddControllers();` | ||
* @type {CodeBlock[]} | ||
*/ | ||
builderServicesBlocks: CodeBlock[]; | ||
/** | ||
* List of code blocks that will be added to the program file. | ||
* The code blocks will be added to the `app` object after builder.Build() gets called. | ||
* i.e. `app.UseCors();` | ||
* @type {CodeBlock[]} | ||
*/ | ||
appBlocks: CodeBlock[]; | ||
} | ||
@@ -131,0 +116,0 @@ export interface CreateSwaggerParams extends EventParams { |
import { CreateDTOsParams, CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityExtensionsParams, CreateEntityGrpcControllerBaseParams, CreateEntityGrpcControllerParams, CreateEntityInterfaceParams, CreateEntityModelParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreateProgramFileParams, CreateSeedParams, CreateServerAppsettingsParams, CreateServerAuthParams, CreateServerCsprojParams, CreateServerDockerComposeParams, CreateServerGitIgnoreParams, CreateServerParams, CreateServerSecretsManagerParams, CreateSwaggerParams, LoadStaticFilesParams, CreateResourceDbContextFileParams, CreateSeedDevelopmentDataFileParams, CreateControllerModuleFileParams, CreateControllerBaseModuleFileParams } from "./dotnet-plugin-events-params.types"; | ||
import { DotnetEventNames, PluginEventType } from "./dotnet-plugins.types"; | ||
import { CodeBlock, Interface } from "@amplication/csharp-ast"; | ||
import { CodeBlock, Interface, ProgramClass } from "@amplication/csharp-ast"; | ||
export type DotnetEvents = { | ||
@@ -22,3 +22,3 @@ [DotnetEventNames.CreateServerAuth]?: PluginEventType<CreateServerAuthParams>; | ||
[DotnetEventNames.CreateMessageBrokerServiceBase]?: PluginEventType<CreateMessageBrokerServiceBaseParams>; | ||
[DotnetEventNames.CreateProgramFile]?: PluginEventType<CreateProgramFileParams, CodeBlock>; | ||
[DotnetEventNames.CreateProgramFile]?: PluginEventType<CreateProgramFileParams, ProgramClass>; | ||
[DotnetEventNames.CreateSwagger]?: PluginEventType<CreateSwaggerParams>; | ||
@@ -25,0 +25,0 @@ [DotnetEventNames.CreateSeed]?: PluginEventType<CreateSeedParams>; |
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
241733
5496
2