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.6 to 2.0.7

src/build-logger.d.ts

14

package.json
{
"name": "@amplication/code-gen-types",
"version": "2.0.6",
"version": "2.0.7",
"description": "This library supplies all the contracts for Amplication Code Generation. The purpose is to make the contracts available for inclusion in plugins.",

@@ -12,4 +12,12 @@ "main": "src/index.js",

"peerDependencies": {
"type-fest": "^3.11.0"
}
"type-fest": "^3.11.0",
"fast-glob": "3.2.12",
"normalize-path": "3.0.0",
"ast-types": "0.14.2",
"json-schema": "0.4.0",
"prisma-schema-dsl-types": "1.1.2",
"tslib": "2.5.0"
},
"types": "./src/index.d.ts",
"dependencies": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/boolean.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "boolean",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/boolean.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "boolean",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/createdAt.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "createdAt",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/createdAt.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "createdAt",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/dateTime.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "dateTime",
"type": "object",
"additionalProperties": false,
"required": ["timeZone", "dateOnly"],
"properties": {
"timeZone": {
"type": "string",
"enum": ["localTime", "serverTime"],
"default": "localTime"
},
"dateOnly": {
"type": "boolean",
"default": false
"$id": "https://amplication.com/schema/entityfield/properties/dateTime.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "dateTime",
"type": "object",
"additionalProperties": false,
"required": ["timeZone", "dateOnly"],
"properties": {
"timeZone": {
"type": "string",
"enum": ["localTime", "serverTime"],
"default": "localTime"
},
"dateOnly": {
"type": "boolean",
"default": false
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/decimalNumber.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "decimalNumber",
"type": "object",
"additionalProperties": false,
"required": ["minimumValue", "maximumValue", "precision"],
"properties": {
"databaseFieldType": {
"type": "string",
"description": "The database field scalar type",
"enum": ["DECIMAL", "FLOAT"],
"default": "DECIMAL"
},
"minimumValue": {
"type": "integer",
"description": "The minimum value",
"default": 0
},
"maximumValue": {
"type": "integer",
"description": "The maximum value",
"default": 99999999999
},
"precision": {
"type": "integer",
"description": "The number of digits to the right of the decimal point",
"minimum": 0,
"maximum": 8,
"default": 8
"$id": "https://amplication.com/schema/entityfield/properties/decimalNumber.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "decimalNumber",
"type": "object",
"additionalProperties": false,
"required": ["minimumValue", "maximumValue", "precision"],
"properties": {
"databaseFieldType": {
"type": "string",
"description": "The database field scalar type",
"enum": ["DECIMAL", "FLOAT"],
"default": "DECIMAL"
},
"minimumValue": {
"type": "integer",
"description": "The minimum value",
"default": 0
},
"maximumValue": {
"type": "integer",
"description": "The maximum value",
"default": 99999999999
},
"precision": {
"type": "integer",
"description": "The number of digits to the right of the decimal point",
"minimum": 0,
"maximum": 8,
"default": 8
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/email.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "email",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/email.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "email",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/geographicAddress.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "geographicAddress",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/geographicAddress.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "geographicAddress",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/id.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "id",
"type": "object",
"additionalProperties": false,
"required": ["idType"],
"properties": {
"idType": {
"type": "string",
"enum": ["CUID", "UUID", "AUTO_INCREMENT", "AUTO_INCREMENT_BIG_INT"],
"default": "CUID"
"$id": "https://amplication.com/schema/entityfield/properties/id.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "id",
"type": "object",
"additionalProperties": false,
"required": ["idType"],
"properties": {
"idType": {
"type": "string",
"enum": ["CUID", "UUID", "AUTO_INCREMENT", "AUTO_INCREMENT_BIG_INT"],
"default": "CUID"
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/json.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "json",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/json.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "json",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/lookup.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "lookup",
"type": "object",
"additionalProperties": false,
"required": ["relatedEntityId", "relatedFieldId", "allowMultipleSelection"],
"properties": {
"relatedEntityId": {
"title": "Related Entity",
"$ref": "#/definitions/EntityId",
"default": null
"$id": "https://amplication.com/schema/entityfield/properties/lookup.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "lookup",
"type": "object",
"additionalProperties": false,
"required": ["relatedEntityId", "relatedFieldId", "allowMultipleSelection"],
"properties": {
"relatedEntityId": {
"title": "Related Entity",
"$ref": "#/definitions/EntityId",
"default": null
},
"allowMultipleSelection": {
"$ref": "#/definitions/RelationAllowMultiple",
"default": false
},
"fkHolder": {
"title": "Foreign Key Holder",
"$ref": "#/definitions/RelationFkHolder",
"default": null
},
"fkFieldName": {
"title": "Foreign Key Field Name (Optional)",
"type": "string",
"default": null
},
"relatedFieldId": {
"title": "Related Field",
"$ref": "#/definitions/EntityFieldId",
"default": null
}
},
"allowMultipleSelection": {
"$ref": "#/definitions/RelationAllowMultiple",
"default": false
},
"fkHolder": {
"title": "Foreign Key Holder",
"$ref": "#/definitions/RelationFkHolder",
"default": null
},
"fkFieldName": {
"title": "Foreign Key Field Name (Optional)",
"type": "string",
"default": null
},
"relatedFieldId": {
"title": "Related Field",
"$ref": "#/definitions/EntityFieldId",
"default": null
"definitions": {
"EntityId": {
"type": "string"
},
"EntityFieldId": {
"type": "string"
},
"RelationAllowMultiple": {
"type": "boolean"
},
"RelationFkHolder": {
"type": ["string", "null"]
}
}
},
"definitions": {
"EntityId": {
"type": "string"
},
"EntityFieldId": {
"type": "string"
},
"RelationAllowMultiple": {
"type": "boolean"
},
"RelationFkHolder": {
"type": ["string", "null"]
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/multiLineText.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "multiLineText",
"type": "object",
"additionalProperties": false,
"required": ["maxLength"],
"properties": {
"maxLength": {
"type": "integer",
"description": "The maximum length of the field",
"minimum": 1,
"default": 256
"$id": "https://amplication.com/schema/entityfield/properties/multiLineText.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "multiLineText",
"type": "object",
"additionalProperties": false,
"required": ["maxLength"],
"properties": {
"maxLength": {
"type": "integer",
"description": "The maximum length of the field",
"minimum": 1,
"default": 256
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/multiSelectOptionSet.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "multiSelectOptionSet",
"type": "object",
"additionalProperties": false,
"required": ["options"],
"properties": {
"options": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["label", "value"],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(?![0-9])[a-zA-Z0-9$_]+$"
}
"$id": "https://amplication.com/schema/entityfield/properties/multiSelectOptionSet.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "multiSelectOptionSet",
"type": "object",
"additionalProperties": false,
"required": ["options"],
"properties": {
"options": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["label", "value"],
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(?![0-9])[a-zA-Z0-9$_]+$"
}
}
}
}
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/optionSet.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "optionSet",
"type": "object",
"additionalProperties": false,
"required": ["options"],
"properties": {
"options": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"type": "object",
"required": ["label", "value"],
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(?![0-9])[a-zA-Z0-9$_]+$"
}
"$id": "https://amplication.com/schema/entityfield/properties/optionSet.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "optionSet",
"type": "object",
"additionalProperties": false,
"required": ["options"],
"properties": {
"options": {
"type": "array",
"uniqueItems": true,
"minItems": 1,
"items": {
"type": "object",
"required": ["label", "value"],
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "string",
"pattern": "^(?![0-9])[a-zA-Z0-9$_]+$"
}
}
}
}
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/password.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "password",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/password.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "password",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/roles.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "roles",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/roles.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "roles",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/singleLineText.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "singleLineText",
"type": "object",
"required": ["maxLength"],
"additionalProperties": false,
"properties": {
"maxLength": {
"type": "integer",
"description": "The maximum length of the field",
"minimum": 1,
"default": 256
"$id": "https://amplication.com/schema/entityfield/properties/singleLineText.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "singleLineText",
"type": "object",
"required": ["maxLength"],
"additionalProperties": false,
"properties": {
"maxLength": {
"type": "integer",
"description": "The maximum length of the field",
"minimum": 1,
"default": 256
}
}
}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/updatedAt.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "updatedAt",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/updatedAt.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "updatedAt",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/username.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "username",
"type": "object",
"additionalProperties": false,
"properties": {}
"$id": "https://amplication.com/schema/entityfield/properties/username.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "username",
"type": "object",
"additionalProperties": false,
"properties": {}
}
{
"$id": "https://amplication.com/schema/entityfield/properties/wholeNumber.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "wholeNumber",
"type": "object",
"additionalProperties": false,
"required": ["minimumValue", "maximumValue"],
"properties": {
"databaseFieldType": {
"type": "string",
"description": "The database field scalar typee",
"enum": ["INT", "BIG_INT"],
"default": "INT"
},
"minimumValue": {
"type": "integer",
"description": "The minimum value",
"default": 0
},
"maximumValue": {
"type": "integer",
"description": "The maximum value",
"default": 99999999999
"$id": "https://amplication.com/schema/entityfield/properties/wholeNumber.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "wholeNumber",
"type": "object",
"additionalProperties": false,
"required": ["minimumValue", "maximumValue"],
"properties": {
"databaseFieldType": {
"type": "string",
"description": "The database field scalar typee",
"enum": ["INT", "BIG_INT"],
"default": "INT"
},
"minimumValue": {
"type": "integer",
"description": "The minimum value",
"default": 0
},
"maximumValue": {
"type": "integer",
"description": "The maximum value",
"default": 99999999999
}
}
}
}
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