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.22-beta.4 to 1.1.22-beta.5

4

package.json
{
"name": "@amplication/code-gen-types",
"version": "1.1.22-beta.4",
"version": "1.1.22-beta.5",
"description": "This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.",

@@ -22,4 +22,4 @@ "main": "src/index.js",

"peerDependencies": {
"tslib": "2.4.1"
"tslib": "2.5.0"
}
}
import { namedTypes } from "ast-types";
import { DTOs, Entity, EntityField, EntityLookupField, EnumDataType, Module, NamedClassDeclaration } from "./code-gen-types";
import { Entity, EntityField, EntityLookupField, EnumDataType, Module, NamedClassDeclaration } from "./code-gen-types";
import { EventParams } from "./plugins-types";

@@ -61,6 +61,2 @@ import { Generator, DataSource, ScalarField, ObjectField } from "prisma-schema-dsl-types";

}
export interface CreateDTOsParams extends EventParams {
entities: Entity[];
dtos: DTOs;
}
export interface CreateEntityResolverToManyRelationMethodsParams extends EventParams {

@@ -67,0 +63,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, CreateUserInfoParams, CreateTokenPayloadInterfaceParams, CreateAdminUIPackageJsonParams, CreateEntityControllerToManyRelationMethodsParams, CreateEntityResolverToManyRelationMethodsParams, CreateEntityResolverToOneRelationMethodsParams, CreateServerGitIgnoreParams, CreateAdminGitIgnoreParams, CreateDTOsParams } 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, CreateEntityResolverToOneRelationMethodsParams, CreateServerGitIgnoreParams, CreateAdminGitIgnoreParams } from "./plugin-events-params";
import { EventNames, PluginEventType } from "./plugins-types";

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

[EventNames.CreateEntityResolverToOneRelationMethods]?: PluginEventType<CreateEntityResolverToOneRelationMethodsParams>;
[EventNames.CreateDTOs]?: PluginEventType<CreateDTOsParams>;
};

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

CreateEntityResolverToManyRelationMethods = "CreateEntityResolverToManyRelationMethods",
CreateEntityResolverToOneRelationMethods = "CreateEntityResolverToOneRelationMethods",
CreateDTOs = "CreateDTOs"
CreateEntityResolverToOneRelationMethods = "CreateEntityResolverToOneRelationMethods"
}

@@ -84,0 +83,0 @@ export interface AmplicationPlugin {

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

EventNames["CreateEntityResolverToOneRelationMethods"] = "CreateEntityResolverToOneRelationMethods";
EventNames["CreateDTOs"] = "CreateDTOs";
})(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