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
7
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 1.1.15 to 1.1.16

2

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

@@ -71,2 +71,12 @@ import { namedTypes } from "ast-types";

}
export interface CreateToOneRelationMethodsParams extends EventParams {
field: EntityLookupField;
entityType: string;
serviceId: namedTypes.Identifier;
methods: namedTypes.ClassMethod[];
toOneFile: namedTypes.File;
toOneMapping: {
[key: string]: any;
};
}
export interface CreateEntityControllerSpecParams extends EventParams {

@@ -73,0 +83,0 @@ entity: Entity;

@@ -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, CreateUserInfoParams, CreateTokenPayloadInterfaceParams, CreateAdminUIPackageJsonParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityResolverToManyRelationMethodsParams } 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, CreateUserInfoParams, CreateTokenPayloadInterfaceParams, CreateAdminUIPackageJsonParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityResolverToManyRelationMethodsParams, CreateToOneRelationMethodsParams } from "./plugin-events-params";
import { EventNames, PluginEventType } from "./plugins-types";

@@ -35,2 +35,3 @@ export type Events = {

[EventNames.CreateEntityResolverToManyRelationMethods]?: PluginEventType<CreateEntityResolverToManyRelationMethodsParams>;
[EventNames.CreateToOneRelationMethods]?: PluginEventType<CreateToOneRelationMethodsParams>;
};

@@ -77,3 +77,4 @@ import type { Promisable } from "type-fest";

CreateEntityControllerToManyRelationMethods = "CreateEntityControllerToManyRelationMethods",
CreateEntityResolverToManyRelationMethods = "CreateEntityResolverToManyRelationMethods"
CreateEntityResolverToManyRelationMethods = "CreateEntityResolverToManyRelationMethods",
CreateToOneRelationMethods = "CreateToOneRelationMethods"
}

@@ -80,0 +81,0 @@ export interface AmplicationPlugin {

@@ -37,3 +37,4 @@ "use strict";

EventNames["CreateEntityResolverToManyRelationMethods"] = "CreateEntityResolverToManyRelationMethods";
EventNames["CreateToOneRelationMethods"] = "CreateToOneRelationMethods";
})(EventNames = exports.EventNames || (exports.EventNames = {}));
//# sourceMappingURL=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