Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplication/code-gen-types

Package Overview
Dependencies
Maintainers
0
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplication/code-gen-types - npm Package Compare versions

Comparing version 2.0.36 to 2.0.37-beta.0

2

package.json
{
"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>;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc