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.4 to 2.0.5-beta.0

2

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

@@ -13,1 +13,16 @@ # amplication-code-gen-types

Run `nx lint amplication-code-gen-types` to execute the lint via [ESLint](https://eslint.org/).
## Publish to npm
In order to publish to npm `@amplication/code-gen-types` run the following:
```sh
# From the monorepo root folder
npm i
npx nx build amplication-code-gen-types
cd ./dist/packages/amplication-code-gen-types
npm publish --access public ....
```

@@ -175,2 +175,5 @@ import type { namedTypes } from "ast-types";

}
export interface CreateConnectMicroservicesParams extends EventParams {
template: namedTypes.File;
}
export interface CreateEntityModuleParams extends EventParams {

@@ -177,0 +180,0 @@ entityName: string;

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

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

[EventNames.CreateServerAppModule]?: PluginEventType<CreateServerAppModuleParams>;
[EventNames.CreateConnectMicroservices]?: PluginEventType<CreateConnectMicroservicesParams>;
[EventNames.CreateEntityModule]?: PluginEventType<CreateEntityModuleParams>;

@@ -29,0 +30,0 @@ [EventNames.CreateEntityResolver]?: PluginEventType<CreateEntityResolverParams>;

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

CreateDTOs = "CreateDTOs",
LoadStaticFiles = "LoadStaticFiles"
LoadStaticFiles = "LoadStaticFiles",
CreateConnectMicroservices = "CreateConnectMicroservices"
}

@@ -90,0 +91,0 @@ export interface AmplicationPlugin {

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

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