New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@amplication/code-gen-types

Package Overview
Dependencies
Maintainers
7
Versions
139
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.33-beta.22 to 2.0.33-beta.23

2

package.json
{
"name": "@amplication/code-gen-types",
"version": "2.0.33-beta.22",
"version": "2.0.33-beta.23",
"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",

import { CodeBlock } from "@amplication/csharp-ast";
import { Entity, EntityLookupField, ModuleContainer, ModuleAction, entityActions } from "./code-gen-types";
import { Entity, EntityLookupField, ModuleContainer, ModuleAction, entityActions, ModuleActionsAndDtos } from "./code-gen-types";
import { EventParams } from "./plugins.types";

@@ -30,2 +30,12 @@ export interface CreateEntityServiceBaseParams extends EventParams {

}
export interface CreateControllerModuleFileParams extends EventParams {
moduleActionsAndDtos: ModuleActionsAndDtos;
resourceName: string;
controllerModuleBasePath: string;
}
export interface CreateControllerBaseModuleFileParams extends EventParams {
moduleActionsAndDtos: ModuleActionsAndDtos;
resourceName: string;
controllerBaseModuleBasePath: string;
}
export interface CreateEntityModelParams extends EventParams {

@@ -32,0 +42,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, CreateSeedDevelopmentDataFileParams } 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, CreateControllerModuleFileParams, CreateControllerBaseModuleFileParams } from "./dotnet-plugin-events-params.types";
import { DotnetEventNames, PluginEventType } from "./dotnet-plugins.types";

@@ -34,2 +34,4 @@ import { CodeBlock, Interface } from "@amplication/csharp-ast";

[DotnetEventNames.CreateSeedDevelopmentDataFile]?: PluginEventType<CreateSeedDevelopmentDataFileParams>;
[DotnetEventNames.CreateControllerModuleFile]?: PluginEventType<CreateControllerModuleFileParams>;
[DotnetEventNames.CreateControllerBaseModuleFile]?: PluginEventType<CreateControllerBaseModuleFileParams>;
};

@@ -104,3 +104,5 @@ import type { Promisable } from "type-fest";

CreateResourceDbContextFile = "CreateResourceDbContextFile",
CreateSeedDevelopmentDataFile = "CreateSeedDevelopmentDataFile"
CreateSeedDevelopmentDataFile = "CreateSeedDevelopmentDataFile",
CreateControllerModuleFile = "CreateControllerModuleFile",
CreateControllerBaseModuleFile = "CreateControllerBaseModuleFile"
}

@@ -107,0 +109,0 @@ export interface AmplicationPlugin {

@@ -54,3 +54,5 @@ "use strict";

DotnetEventNames["CreateSeedDevelopmentDataFile"] = "CreateSeedDevelopmentDataFile";
DotnetEventNames["CreateControllerModuleFile"] = "CreateControllerModuleFile";
DotnetEventNames["CreateControllerBaseModuleFile"] = "CreateControllerBaseModuleFile";
})(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

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