@forestadmin/datasource-customizer
Advanced tools
Comparing version 1.41.0 to 1.41.1
@@ -25,4 +25,5 @@ import type { Logger } from '@forestadmin/datasource-toolkit'; | ||
private getFieldsOnCollection; | ||
private getStrictType; | ||
private getType; | ||
} | ||
//# sourceMappingURL=typing-generator.d.ts.map |
@@ -87,3 +87,3 @@ "use strict"; | ||
return field.type === 'Column' | ||
? [...memo, ` '${name}': ${this.getType(field)};`] | ||
? [...memo, ` '${name}': ${this.getStrictType(field)};`] | ||
: memo; | ||
@@ -121,3 +121,3 @@ }, []); | ||
.filter(([, schema]) => schema.type === 'Column') | ||
.map(([name, schema]) => `'${prefix}:${name}': ${this.getType(schema)};`)); | ||
.map(([name, schema]) => `'${prefix}:${name}': ${this.getStrictType(schema)};`)); | ||
} | ||
@@ -155,2 +155,9 @@ if (depth < maxDepth) { | ||
} | ||
getStrictType(columnSchema) { | ||
const isRequired = (columnSchema.validation?.some(v => v.operator === 'Present') || | ||
columnSchema.isPrimaryKey || | ||
columnSchema.allowNull === false) ?? | ||
false; | ||
return `${this.getType(columnSchema)}${isRequired ? '' : ' | null'}`; | ||
} | ||
getType(field) { | ||
@@ -191,2 +198,2 @@ if (Array.isArray(field.columnType)) { | ||
exports.default = TypingGenerator; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwaW5nLWdlbmVyYXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy90eXBpbmctZ2VuZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsd0VBTXlDO0FBQ3pDLDBDQUFrRDtBQUVsRCxNQUFxQixlQUFlO0lBS2xDLFlBQTZCLE1BQWMsRUFBRSxVQUF1QyxFQUFFO1FBQXpELFdBQU0sR0FBTixNQUFNLENBQVE7UUFKMUIsWUFBTyxHQUFHO1lBQ3pCLGNBQWMsRUFBRSxLQUFNO1NBQ3ZCLENBQUM7UUF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BQUMsVUFBVSxDQUFDLENBQUM7U0FDckI7UUFFRCxPQUFPLElBQUksZUFBZSxDQUFDLGFBQWEsQ0FBQyxLQUFLLENBQUMsVUFBVSxDQUFDO2FBQ3ZELEdBQUcsQ0FBQyxDQUFDLENBQUMsR0FBRyxFQUFFLE9BQU8sQ0FBQyxFQUFFLEVBQUUsQ0FBQyxJQUFJLEdBQUcsTUFBTSxJQUFJLENBQUMsT0FBTyxDQUFDLEVBQUUsVUFBVSxFQUFFLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQzthQUM3RSxJQUFJLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQztJQUNuQixDQUFDO0NBQ0Y7QUFsUEQsa0NBa1BDIn0= |
{ | ||
"name": "@forestadmin/datasource-customizer", | ||
"version": "1.41.0", | ||
"version": "1.41.1", | ||
"main": "dist/index.js", | ||
@@ -32,3 +32,3 @@ "license": "GPL-3.0", | ||
"dependencies": { | ||
"@forestadmin/datasource-toolkit": "1.30.0", | ||
"@forestadmin/datasource-toolkit": "1.30.1", | ||
"antlr4": "^4.13.1-patch-1", | ||
@@ -35,0 +35,0 @@ "file-type": "^16.5.4", |
678240
8024
+ Added@forestadmin/datasource-toolkit@1.30.1(transitive)
- Removed@forestadmin/datasource-toolkit@1.30.0(transitive)