@amplication/code-gen-types
Advanced tools
Comparing version 2.0.33-beta.21 to 2.0.33-beta.22
{ | ||
"name": "@amplication/code-gen-types", | ||
"version": "2.0.33-beta.21", | ||
"version": "2.0.33-beta.22", | ||
"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", |
@@ -41,2 +41,6 @@ import { CodeBlock } from "@amplication/csharp-ast"; | ||
} | ||
export interface CreateSeedDevelopmentDataFileParams extends EventParams { | ||
seedFilePath: string; | ||
resourceName: string; | ||
} | ||
export interface CreateEntityGrpcControllerParams extends EventParams { | ||
@@ -43,0 +47,0 @@ entity: Entity; |
@@ -1,2 +0,2 @@ | ||
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 } 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, CreateResourceDbContextFileParams, CreateSeedDevelopmentDataFileParams } from "./dotnet-plugin-events-params.types"; | ||
import { DotnetEventNames, PluginEventType } from "./dotnet-plugins.types"; | ||
@@ -33,2 +33,3 @@ import { CodeBlock, Interface } from "@amplication/csharp-ast"; | ||
[DotnetEventNames.CreateResourceDbContextFile]?: PluginEventType<CreateResourceDbContextFileParams>; | ||
[DotnetEventNames.CreateSeedDevelopmentDataFile]?: PluginEventType<CreateSeedDevelopmentDataFileParams>; | ||
}; |
@@ -103,3 +103,4 @@ import type { Promisable } from "type-fest"; | ||
CreateEntityModel = "CreateEntityModel", | ||
CreateResourceDbContextFile = "CreateResourceDbContextFile" | ||
CreateResourceDbContextFile = "CreateResourceDbContextFile", | ||
CreateSeedDevelopmentDataFile = "CreateSeedDevelopmentDataFile" | ||
} | ||
@@ -106,0 +107,0 @@ export interface AmplicationPlugin { |
@@ -53,3 +53,4 @@ "use strict"; | ||
DotnetEventNames["CreateResourceDbContextFile"] = "CreateResourceDbContextFile"; | ||
DotnetEventNames["CreateSeedDevelopmentDataFile"] = "CreateSeedDevelopmentDataFile"; | ||
})(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
232506
5282