mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
1 line
22 KiB
JSON
1 line
22 KiB
JSON
{"ast":null,"code":"import { FieldType } from '../../sql/query/interface.js';\nimport { field } from './field.js';\nexport class AutoField extends field {\n constructor(data) {\n super();\n this.fieldName = 'AutoField';\n this.unique = true;\n this.autoIncrement = true;\n this.type = FieldType.BIGINT;\n this.blank = true;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'bigint' || typeof value == 'number')) {\n return false;\n } else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\n return false;\n }\n return false;\n }\n}\nexport class BigIntegerField extends field {\n constructor(data) {\n super();\n this.fieldName = 'BigIntegerField';\n this.type = FieldType.BIGINT;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'bigint' || typeof value == 'number')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n } else if (!(value === null || value === undefined)) {\n return false;\n }\n } else if (!this.rules(this, value)) {\n return false;\n }\n return true;\n }\n}\nexport class BooleanField extends field {\n constructor(data) {\n super();\n this.fieldName = 'BooleanField';\n Object.assign(this, data);\n }\n valid(value) {\n if (typeof value != 'boolean') {\n return false;\n }\n return true;\n }\n}\nexport class CharField extends field {\n constructor(data) {\n super();\n this.fieldName = 'CharField';\n this.type = FieldType.DATE;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'string')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n } else if (!(value === null || value === undefined)) {\n return false;\n }\n } else if (!this.rules(this, value)) {\n return false;\n }\n return true;\n }\n}\nexport class DateField extends field {\n constructor(data) {\n super();\n this.fieldName = 'DateField';\n this.type = FieldType.DATE;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'string')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n }\n } else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\n return true;\n }\n return false;\n }\n}\nexport class DateTimeField extends field {\n constructor(data) {\n super();\n this.fieldName = 'DateTimeField';\n this.type = FieldType.DATE;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'string')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n }\n } else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\n return false;\n }\n return true;\n }\n}\nexport class indexedDBArrayField extends field {\n constructor(data) {\n super();\n this.fieldName = 'indexedDBArrayField';\n this.type = FieldType.ARRAY;\n Object.assign(this, data);\n }\n get field() {\n return this._field;\n }\n set field(value) {\n this._field = value;\n }\n valid(value) {\n if (!Array.isArray(value)) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n }\n } else if (this.isNull(value) == true) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n }\n } else if (this.size) {\n if (value.length != this.size) {\n return false;\n }\n }\n if (this.field) {\n for (const e of value) {\n if (!this.field.valid(e)) {\n return false;\n }\n }\n }\n return true;\n }\n}\nexport class indexedDBJsonField extends field {\n constructor(data) {\n super();\n this.fieldName = 'indexedDBJsonField';\n this.type = FieldType.JSON;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'object' && Array.isArray(value) == false)) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n }\n } else if (this.isNull(value) == true) {}\n return true;\n }\n}\nexport class TextField extends field {\n constructor(data) {\n super();\n this.fieldName = 'TextField';\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'string')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n } else if (!(value === null || value === undefined)) {\n return false;\n }\n } else if (!this.rules(this, value)) {\n return false;\n }\n return true;\n }\n}\nexport class IntegerField extends field {\n constructor(data) {\n super();\n this.fieldName = 'IntegerField';\n this.type = FieldType.INT;\n Object.assign(this, data);\n }\n valid(value) {\n if (!(typeof value == 'number')) {\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\n return false;\n } else if (!(value === null || value === undefined)) {\n return false;\n }\n } else if (!this.rules(this, value)) {\n return false;\n }\n return true;\n }\n}\nexport class ForeignKey extends field {\n constructor(data) {\n super();\n this.fieldName = 'ForeignKey';\n this.foreignKey = true;\n Object.assign(this, data);\n }\n valid(value) {\n return !this.isNull(value);\n }\n}\nexport class OneToOneField extends field {\n constructor(data) {\n super();\n this.fieldName = 'ManyToManyField';\n this.foreignKey = true;\n Object.assign(this, data);\n }\n contractor(contractor) {\n throw new Error('Method not implemented.');\n }\n valid(value) {\n return !this.isNull(value);\n }\n}\nexport class ManyToManyField extends field {\n constructor(data) {\n super();\n this.fieldName = 'ManyToManyField';\n this.foreignKey = true;\n Object.assign(this, data);\n }\n valid(value) {\n return !this.isNull(value);\n }\n}","map":{"version":3,"names":["FieldType","field","AutoField","constructor","data","fieldName","unique","autoIncrement","type","BIGINT","blank","Object","assign","valid","value","undefined","isNull","BigIntegerField","rules","BooleanField","CharField","DATE","DateField","DateTimeField","indexedDBArrayField","ARRAY","_field","Array","isArray","size","length","e","indexedDBJsonField","JSON","TextField","IntegerField","INT","ForeignKey","foreignKey","OneToOneField","contractor","Error","ManyToManyField"],"sources":["C:/Users/eudes.inacio/GabineteDigital/gabinete-digital-fo/node_modules/beast-orm/dist/src/models/field/allFields.js"],"sourcesContent":["import { FieldType } from '../../sql/query/interface.js';\r\nimport { field } from './field.js';\r\nexport class AutoField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'AutoField';\r\n this.unique = true;\r\n this.autoIncrement = true;\r\n this.type = FieldType.BIGINT;\r\n this.blank = true;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'bigint' || typeof value == 'number')) {\r\n return false;\r\n }\r\n else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\r\n return false;\r\n }\r\n return false;\r\n }\r\n}\r\nexport class BigIntegerField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'BigIntegerField';\r\n this.type = FieldType.BIGINT;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'bigint' || typeof value == 'number')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n else if (!(value === null || value === undefined)) {\r\n return false;\r\n }\r\n }\r\n else if (!this.rules(this, value)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class BooleanField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'BooleanField';\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (typeof value != 'boolean') {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class CharField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'CharField';\r\n this.type = FieldType.DATE;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'string')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n else if (!(value === null || value === undefined)) {\r\n return false;\r\n }\r\n }\r\n else if (!this.rules(this, value)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class DateField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'DateField';\r\n this.type = FieldType.DATE;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'string')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n }\r\n else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n}\r\nexport class DateTimeField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'DateTimeField';\r\n this.type = FieldType.DATE;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'string')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n }\r\n else if (!((this === null || this === void 0 ? void 0 : this.blank) == undefined && this.isNull(value) == false)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class indexedDBArrayField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'indexedDBArrayField';\r\n this.type = FieldType.ARRAY;\r\n Object.assign(this, data);\r\n }\r\n get field() {\r\n return this._field;\r\n }\r\n set field(value) {\r\n this._field = value;\r\n }\r\n valid(value) {\r\n if (!(Array.isArray(value))) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n }\r\n else if (this.isNull(value) == true) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n }\r\n else if (this.size) {\r\n if (value.length != this.size) {\r\n return false;\r\n }\r\n }\r\n if (this.field) {\r\n for (const e of value) {\r\n if (!this.field.valid(e)) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n }\r\n}\r\nexport class indexedDBJsonField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'indexedDBJsonField';\r\n this.type = FieldType.JSON;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'object' && Array.isArray(value) == false)) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n }\r\n else if (this.isNull(value) == true) {\r\n }\r\n return true;\r\n }\r\n}\r\nexport class TextField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'TextField';\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'string')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n else if (!(value === null || value === undefined)) {\r\n return false;\r\n }\r\n }\r\n else if (!this.rules(this, value)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class IntegerField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'IntegerField';\r\n this.type = FieldType.INT;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n if (!(typeof value == 'number')) {\r\n if ((this === null || this === void 0 ? void 0 : this.blank) != true) {\r\n return false;\r\n }\r\n else if (!(value === null || value === undefined)) {\r\n return false;\r\n }\r\n }\r\n else if (!this.rules(this, value)) {\r\n return false;\r\n }\r\n return true;\r\n }\r\n}\r\nexport class ForeignKey extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'ForeignKey';\r\n this.foreignKey = true;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n return !this.isNull(value);\r\n }\r\n}\r\nexport class OneToOneField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'ManyToManyField';\r\n this.foreignKey = true;\r\n Object.assign(this, data);\r\n }\r\n contractor(contractor) {\r\n throw new Error('Method not implemented.');\r\n }\r\n valid(value) {\r\n return !this.isNull(value);\r\n }\r\n}\r\nexport class ManyToManyField extends field {\r\n constructor(data) {\r\n super();\r\n this.fieldName = 'ManyToManyField';\r\n this.foreignKey = true;\r\n Object.assign(this, data);\r\n }\r\n valid(value) {\r\n return !this.isNull(value);\r\n }\r\n}\r\n"],"mappings":"AAAA,SAASA,SAAS,QAAQ,8BAA8B;AACxD,SAASC,KAAK,QAAQ,YAAY;AAClC,OAAO,MAAMC,SAAS,SAASD,KAAK,CAAC;EACjCE,WAAWA,CAACC,IAAI,EAAE;IACd,KAAK,CAAC,CAAC;IACP,IAAI,CAACC,SAAS,GAAG,WAAW;IAC5B,IAAI,CAACC,MAAM,GAAG,IAAI;IAClB,IAAI,CAACC,aAAa,GAAG,IAAI;IACzB,IAAI,CAACC,IAAI,GAAGR,SAAS,CAACS,MAAM;IAC5B,IAAI,CAACC,KAAK,GAAG,IAAI;IACjBC,MAAM,CAACC,MAAM,CAAC,IAAI,EAAER,IAAI,CAAC;EAC7B;EACAS,KAAKA,CAACC,KAAK,EAAE;IACT,IAAI,EAAE,OAAOA,KAAK,IAAI,QAAQ,IA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