Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 420dd12c2f | |||
| 91a25c792a | |||
| d0ce66b5cc | |||
| bfaf01aac8 | |||
| 54ac075623 | |||
| 7105c818c2 | |||
| 0247c85f81 | |||
| 67fb57f377 | |||
| 0aae85c50c | |||
| d3ec84d8d8 | |||
| ee6136771f |
+9
-3
@@ -2,10 +2,16 @@ const path = require('path');
|
||||
|
||||
module.exports = ({ env }) => ({
|
||||
connection: {
|
||||
client: 'sqlite',
|
||||
client: 'mysql',
|
||||
connection: {
|
||||
filename: path.join(__dirname, '..', env('DATABASE_FILENAME', '.tmp/data.db')),
|
||||
host: env('DATABASE_HOST', '127.0.0.1'),
|
||||
port: env.int('DATABASE_PORT', 3306),
|
||||
database: env('DATABASE_NAME', 'strapi'),
|
||||
user: env('DATABASE_USERNAME', 'strapi'),
|
||||
password: env('DATABASE_PASSWORD', '123'),
|
||||
ssl: false,
|
||||
},
|
||||
useNullAsDefault: true,
|
||||
debug: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Generated
+64
@@ -13,6 +13,7 @@
|
||||
"@strapi/plugin-i18n": "4.1.0",
|
||||
"@strapi/plugin-users-permissions": "4.1.0",
|
||||
"@strapi/strapi": "4.1.0",
|
||||
"mysql": "^2.18.1",
|
||||
"sqlite3": "5.0.2"
|
||||
},
|
||||
"engines": {
|
||||
@@ -4627,6 +4628,14 @@
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/bignumber.js": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
|
||||
"integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==",
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/binary-extensions": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
||||
@@ -11078,6 +11087,25 @@
|
||||
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
|
||||
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
|
||||
},
|
||||
"node_modules/mysql": {
|
||||
"version": "2.18.1",
|
||||
"resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
|
||||
"integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
|
||||
"dependencies": {
|
||||
"bignumber.js": "9.0.0",
|
||||
"readable-stream": "2.3.7",
|
||||
"safe-buffer": "5.1.2",
|
||||
"sqlstring": "2.3.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/mysql/node_modules/safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
},
|
||||
"node_modules/mz": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
||||
@@ -15103,6 +15131,14 @@
|
||||
"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
|
||||
"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
|
||||
},
|
||||
"node_modules/sqlstring": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
|
||||
"integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A=",
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
}
|
||||
},
|
||||
"node_modules/sshpk": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
|
||||
@@ -20490,6 +20526,11 @@
|
||||
"resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz",
|
||||
"integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
|
||||
},
|
||||
"bignumber.js": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.0.tgz",
|
||||
"integrity": "sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A=="
|
||||
},
|
||||
"binary-extensions": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
||||
@@ -25501,6 +25542,24 @@
|
||||
"resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
|
||||
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
|
||||
},
|
||||
"mysql": {
|
||||
"version": "2.18.1",
|
||||
"resolved": "https://registry.npmjs.org/mysql/-/mysql-2.18.1.tgz",
|
||||
"integrity": "sha512-Bca+gk2YWmqp2Uf6k5NFEurwY/0td0cpebAucFpY/3jhrwrVGuxU2uQFCHjU19SJfje0yQvi+rVWdq78hR5lig==",
|
||||
"requires": {
|
||||
"bignumber.js": "9.0.0",
|
||||
"readable-stream": "2.3.7",
|
||||
"safe-buffer": "5.1.2",
|
||||
"sqlstring": "2.3.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"mz": {
|
||||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",
|
||||
@@ -28636,6 +28695,11 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"sqlstring": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.1.tgz",
|
||||
"integrity": "sha1-R1OT/56RR5rqYtyvDKPRSYOn+0A="
|
||||
},
|
||||
"sshpk": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.17.0.tgz",
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
"@strapi/plugin-i18n": "4.1.0",
|
||||
"@strapi/plugin-users-permissions": "4.1.0",
|
||||
"@strapi/strapi": "4.1.0",
|
||||
"mysql": "^2.18.1",
|
||||
"sqlite3": "5.0.2"
|
||||
},
|
||||
"author": {
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
"relation": "manyToMany",
|
||||
"target": "api::cuestionario.cuestionario",
|
||||
"inversedBy": "atencion_juridicas"
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -674,9 +669,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -897,6 +889,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -950,9 +948,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1307,11 +1302,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1936,9 +1926,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2159,6 +2146,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2212,9 +2205,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2449,9 +2439,6 @@
|
||||
"example": "string or id"
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2538,11 +2525,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3167,9 +3149,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3390,6 +3369,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3443,9 +3428,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3709,11 +3691,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4338,9 +4315,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4561,6 +4535,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4614,9 +4594,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4862,9 +4839,6 @@
|
||||
"example": "string or id"
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "colonias",
|
||||
"info": {
|
||||
"singularName": "colonia",
|
||||
"pluralName": "colonias",
|
||||
"displayName": "colonia"
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"colonia": {
|
||||
"type": "string"
|
||||
},
|
||||
"cp": {
|
||||
"type": "integer"
|
||||
},
|
||||
"municipio": {
|
||||
"type": "relation",
|
||||
"relation": "manyToOne",
|
||||
"target": "api::municipio.municipio",
|
||||
"inversedBy": "colonias"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* colonia controller
|
||||
*/
|
||||
|
||||
const { createCoreController } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreController('api::colonia.colonia');
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* colonia router.
|
||||
*/
|
||||
|
||||
const { createCoreRouter } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreRouter('api::colonia.colonia');
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* colonia service.
|
||||
*/
|
||||
|
||||
const { createCoreService } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreService('api::colonia.colonia');
|
||||
@@ -24,10 +24,6 @@
|
||||
"type": "string",
|
||||
"required": true
|
||||
},
|
||||
"folio": {
|
||||
"type": "biginteger",
|
||||
"required": true
|
||||
},
|
||||
"genero": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
@@ -212,6 +208,12 @@
|
||||
},
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,11 +28,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -139,11 +134,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -698,9 +688,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -921,6 +908,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1184,6 +1177,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1521,11 +1520,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1632,11 +1626,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -2191,9 +2180,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2414,6 +2400,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2677,6 +2669,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2903,11 +2901,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3038,11 +3031,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3149,11 +3137,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3708,9 +3691,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3931,6 +3911,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4194,6 +4180,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4440,11 +4432,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4551,11 +4538,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -5110,9 +5092,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -5333,6 +5312,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -5596,6 +5581,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -5833,11 +5824,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -6045,6 +6031,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -674,9 +669,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -897,6 +889,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1304,11 +1302,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1933,9 +1926,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2156,6 +2146,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2529,11 +2525,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3158,9 +3149,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3381,6 +3369,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3697,11 +3691,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4326,9 +4315,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4549,6 +4535,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -674,9 +669,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -897,6 +889,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1304,11 +1302,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1933,9 +1926,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2156,6 +2146,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2529,11 +2525,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3158,9 +3149,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3381,6 +3369,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3697,11 +3691,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4326,9 +4315,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4549,6 +4535,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"kind": "collectionType",
|
||||
"collectionName": "municipios",
|
||||
"info": {
|
||||
"singularName": "municipio",
|
||||
"pluralName": "municipios",
|
||||
"displayName": "municipio",
|
||||
"description": ""
|
||||
},
|
||||
"options": {
|
||||
"draftAndPublish": true
|
||||
},
|
||||
"pluginOptions": {},
|
||||
"attributes": {
|
||||
"municipio": {
|
||||
"type": "string"
|
||||
},
|
||||
"colonias": {
|
||||
"type": "relation",
|
||||
"relation": "oneToMany",
|
||||
"target": "api::colonia.colonia",
|
||||
"mappedBy": "municipio"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* municipio controller
|
||||
*/
|
||||
|
||||
const { createCoreController } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreController('api::municipio.municipio');
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* municipio router.
|
||||
*/
|
||||
|
||||
const { createCoreRouter } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreRouter('api::municipio.municipio');
|
||||
@@ -0,0 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* municipio service.
|
||||
*/
|
||||
|
||||
const { createCoreService } = require('@strapi/strapi').factories;
|
||||
|
||||
module.exports = createCoreService('api::municipio.municipio');
|
||||
@@ -45,11 +45,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -674,9 +669,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -897,6 +889,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1304,11 +1302,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1933,9 +1926,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2156,6 +2146,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2529,11 +2525,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3158,9 +3149,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3381,6 +3369,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3697,11 +3691,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4326,9 +4315,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4549,6 +4535,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
@@ -45,11 +45,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -674,9 +669,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -897,6 +889,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -1304,11 +1302,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -1933,9 +1926,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2156,6 +2146,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -2529,11 +2525,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -3158,9 +3149,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3381,6 +3369,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -3697,11 +3691,6 @@
|
||||
"apellidoM": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d*$",
|
||||
"example": "123456789"
|
||||
},
|
||||
"genero": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -4326,9 +4315,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"cual": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -4549,6 +4535,12 @@
|
||||
"edades": {
|
||||
"type": "string"
|
||||
},
|
||||
"atencionJuridicaOtro": {
|
||||
"type": "string"
|
||||
},
|
||||
"folio": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -62,6 +62,28 @@
|
||||
"target": "plugin::users-permissions.role",
|
||||
"inversedBy": "users",
|
||||
"configurable": false
|
||||
},
|
||||
"tipo": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"operador",
|
||||
"reportes"
|
||||
]
|
||||
},
|
||||
"instancia": {
|
||||
"type": "enumeration",
|
||||
"enum": [
|
||||
"DM",
|
||||
"CEDEIM",
|
||||
"CSPTM",
|
||||
"CJC",
|
||||
"DMDH",
|
||||
"PG",
|
||||
"PDyAC",
|
||||
"PMPNNA",
|
||||
"PAM",
|
||||
"SMDIF"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user