Socket
Socket
Sign inDemoInstall

prisma-datamodel

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-datamodel - npm Package Compare versions

Comparing version 1.36.0-alpha.6 to 1.36.0-test.1

13

dist/util/isdlToDmmf.js

@@ -22,3 +22,7 @@ "use strict";

function mapIdType(type) {
return type === 'ID' ? 'String' : type;
var map = {
ID: 'String',
UUID: 'String',
};
return map[type] || type;
}

@@ -59,2 +63,9 @@ function getType(field) {

}
if (field.type === 'UUID') {
defaultValue = {
name: 'uuid',
returnType: 'String',
args: [],
};
}
if (field.isCreatedAt) {

@@ -61,0 +72,0 @@ defaultValue = {

2

package.json
{
"name": "prisma-datamodel",
"version": "1.36.0-alpha.6",
"version": "1.36.0-test.1",
"description": "Transform prisma datamodel SDL into graphql-js SDL",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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