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
8
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.12 to 2.0.13-beta.0

2

package.json
{
"name": "@amplication/code-gen-types",
"version": "2.0.12",
"version": "2.0.13-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",

@@ -49,2 +49,24 @@ import type { namedTypes } from "ast-types";

}
export interface CreateEntityControllerGrpcParams extends EventParams {
template: namedTypes.File;
entityName: string;
entityServiceModule: string;
templateMapping: {
[key: string]: any;
};
controllerBaseId: namedTypes.Identifier;
serviceId: namedTypes.Identifier;
}
export interface CreateEntityControllerGrpcBaseParams extends EventParams {
template: namedTypes.File;
entity: Entity;
entityName: string;
entityType: string;
entityServiceModule: string;
templateMapping: {
[key: string]: any;
};
controllerBaseId: namedTypes.Identifier;
serviceId: namedTypes.Identifier;
}
export interface CreateEntityControllerToManyRelationMethodsParams extends EventParams {

@@ -51,0 +73,0 @@ field: EntityLookupField;

@@ -1,2 +0,2 @@

import { CreateAdminUIParams, CreateServerAuthParams, CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateEntityResolverBaseParams, CreateEntityResolverParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerNestJSModuleParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreatePrismaSchemaParams, CreateServerAppModuleParams, CreateServerDockerComposeDBParams, CreateServerDockerComposeParams, CreateServerDotEnvParams, CreateServerPackageJsonParams, CreateServerParams, CreateEntityModuleParams, CreateEntityModuleBaseParams, CreateSwaggerParams, CreateSeedParams, CreateEntityControllerSpecParams, CreateAdminUIPackageJsonParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityResolverToManyRelationMethodsParams, CreateEntityResolverToOneRelationMethodsParams, CreateServerGitIgnoreParams, CreateAdminGitIgnoreParams, CreateDTOsParams, LoadStaticFilesParams, CreateServerDockerComposeDevParams, CreateConnectMicroservicesParams, CreateAdminAppModuleParams, CreateAdminDotEnvParams } from "./plugin-events-params";
import { CreateAdminUIParams, CreateServerAuthParams, CreateEntityControllerBaseParams, CreateEntityControllerParams, CreateEntityServiceBaseParams, CreateEntityServiceParams, CreateEntityResolverBaseParams, CreateEntityResolverParams, CreateMessageBrokerClientOptionsFactoryParams, CreateMessageBrokerNestJSModuleParams, CreateMessageBrokerParams, CreateMessageBrokerServiceBaseParams, CreateMessageBrokerServiceParams, CreateMessageBrokerTopicsEnumParams, CreatePrismaSchemaParams, CreateServerAppModuleParams, CreateServerDockerComposeDBParams, CreateServerDockerComposeParams, CreateServerDotEnvParams, CreateServerPackageJsonParams, CreateServerParams, CreateEntityModuleParams, CreateEntityModuleBaseParams, CreateSwaggerParams, CreateSeedParams, CreateEntityControllerSpecParams, CreateAdminUIPackageJsonParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityResolverToManyRelationMethodsParams, CreateEntityResolverToOneRelationMethodsParams, CreateServerGitIgnoreParams, CreateAdminGitIgnoreParams, CreateDTOsParams, LoadStaticFilesParams, CreateServerDockerComposeDevParams, CreateConnectMicroservicesParams, CreateAdminAppModuleParams, CreateAdminDotEnvParams, CreateEntityControllerGrpcParams, CreateEntityControllerGrpcBaseParams } from "./plugin-events-params";
import { EventNames, PluginEventType } from "./plugins-types";

@@ -15,2 +15,4 @@ export type Events = {

[EventNames.CreateEntityControllerBase]?: PluginEventType<CreateEntityControllerBaseParams>;
[EventNames.CreateEntityControllerGrpc]?: PluginEventType<CreateEntityControllerGrpcParams>;
[EventNames.CreateEntityControllerGrpcBase]?: PluginEventType<CreateEntityControllerGrpcBaseParams>;
[EventNames.CreateServerDockerCompose]?: PluginEventType<CreateServerDockerComposeParams>;

@@ -17,0 +19,0 @@ [EventNames.CreateServerDockerComposeDB]?: PluginEventType<CreateServerDockerComposeDBParams>;

@@ -55,2 +55,4 @@ import type { Promisable } from "type-fest";

CreateEntityControllerBase = "CreateEntityControllerBase",
CreateEntityControllerGrpc = "CreateEntityControllerGrpc",
CreateEntityControllerGrpcBase = "CreateEntityControllerGrpcBase",
CreateEntityControllerSpec = "CreateEntityControllerSpec",

@@ -57,0 +59,0 @@ CreateServerAuth = "CreateServerAuth",

@@ -8,2 +8,4 @@ "use strict";

EventNames["CreateEntityControllerBase"] = "CreateEntityControllerBase";
EventNames["CreateEntityControllerGrpc"] = "CreateEntityControllerGrpc";
EventNames["CreateEntityControllerGrpcBase"] = "CreateEntityControllerGrpcBase";
EventNames["CreateEntityControllerSpec"] = "CreateEntityControllerSpec";

@@ -10,0 +12,0 @@ EventNames["CreateServerAuth"] = "CreateServerAuth";

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