@amplication/code-gen-types
Advanced tools
Comparing version 2.0.33-beta.12 to 2.0.33-beta.13
{ | ||
"name": "@amplication/code-gen-types", | ||
"version": "2.0.33-beta.12", | ||
"version": "2.0.33-beta.13", | ||
"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", |
@@ -30,2 +30,8 @@ import { CodeBlock } from "@amplication/csharp-ast"; | ||
} | ||
export interface CreateEntityModelParams extends EventParams { | ||
entity: Entity; | ||
entities: Entity[]; | ||
resourceName: string; | ||
apisDir: string; | ||
} | ||
export interface CreateEntityGrpcControllerParams extends EventParams { | ||
@@ -32,0 +38,0 @@ entity: Entity; |
@@ -1,2 +0,2 @@ | ||
import { CreateDTOsParams, CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityExtensionsParams, CreateEntityGrpcControllerBaseParams, CreateEntityGrpcControllerParams, CreateEntityInterfaceParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreateProgramFileParams, CreateSeedParams, CreateServerAppsettingsParams, CreateServerAuthParams, CreateServerCsprojParams, CreateServerDockerComposeParams, CreateServerGitIgnoreParams, CreateServerParams, CreateServerSecretsManagerParams, CreateSwaggerParams, LoadStaticFilesParams } from "./dotnet-plugin-events-params.types"; | ||
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 } from "./dotnet-plugin-events-params.types"; | ||
import { DotnetEventNames, PluginEventType } from "./dotnet-plugins.types"; | ||
@@ -31,2 +31,3 @@ import { CodeBlock, Interface } from "@amplication/csharp-ast"; | ||
[DotnetEventNames.CreateEntityExtensions]?: PluginEventType<CreateEntityExtensionsParams>; | ||
[DotnetEventNames.CreateEntityModel]?: PluginEventType<CreateEntityModelParams>; | ||
}; |
@@ -101,3 +101,4 @@ import type { Promisable } from "type-fest"; | ||
CreateEntityInterface = "CreateEntityInterface", | ||
CreateEntityExtensions = "CreateEntityExtensions" | ||
CreateEntityExtensions = "CreateEntityExtensions", | ||
CreateEntityModel = "CreateEntityModel" | ||
} | ||
@@ -104,0 +105,0 @@ export interface AmplicationPlugin { |
@@ -51,3 +51,4 @@ "use strict"; | ||
DotnetEventNames["CreateEntityExtensions"] = "CreateEntityExtensions"; | ||
DotnetEventNames["CreateEntityModel"] = "CreateEntityModel"; | ||
})(DotnetEventNames || (exports.DotnetEventNames = DotnetEventNames = {})); | ||
//# sourceMappingURL=dotnet-plugins.types.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
231510
5266