@amplication/code-gen-types
Advanced tools
Comparing version 2.0.12 to 2.0.13-beta.0
{ | ||
"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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
158604
3729
2
1