@amplication/code-gen-types
Advanced tools
Comparing version 2.0.4 to 2.0.5-beta.0
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155859
3646
27
2