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.0-beta.2 to 2.0.0-beta.3

2

package.json
{
"name": "@amplication/code-gen-types",
"version": "2.0.0-beta.2",
"version": "2.0.0-beta.3",
"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",

@@ -88,3 +88,3 @@ import { namedTypes } from "ast-types";

*/
values(): Module[];
modules(): Module[];
}

@@ -91,0 +91,0 @@ export type ClassDeclaration = namedTypes.ClassDeclaration & {

@@ -22,8 +22,8 @@ "use strict";

try {
for (var _d = true, _e = tslib_1.__asyncValues(Object.entries(anotherMap)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
for (var _d = true, _e = tslib_1.__asyncValues(anotherMap.modules()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
_c = _f.value;
_d = false;
try {
const [path, module] = _c;
yield this.set(path, module);
const module = _c;
yield this.set(module.path, module);
}

@@ -151,3 +151,3 @@ finally {

*/
values() {
modules() {
return Object.values(this.map);

@@ -154,0 +154,0 @@ }

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

@@ -102,3 +102,3 @@ import { Generator, DataSource, ScalarField, ObjectField } from "prisma-schema-dsl-types";

[variable: string]: string;
}[];
};
export interface CreateServerDotEnvParams extends EventParams {

@@ -117,3 +117,3 @@ envVariables: VariableDictionary;

[key: string]: any;
}[];
};
outputFileName: string;

@@ -125,3 +125,3 @@ }

[key: string]: any;
}[];
};
outputFileName: string;

@@ -165,3 +165,3 @@ }

export interface CreateServerAppModuleParams extends EventParams {
modulesFiles: Module[];
modulesFiles: ModuleMap;
template: namedTypes.File;

@@ -168,0 +168,0 @@ templateMapping: {

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