@asapjs/sequelize 0.3.14 → 0.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/cache/@asapjs-core-npm-0.0.9-12cd56a7e9-ef1ef42553.zip +0 -0
- package/.yarn/cache/@asapjs-router-npm-0.2.3-f0a1269c82-7d83fd3b49.zip +0 -0
- package/.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-d64d5260be.zip +0 -0
- package/.yarn/cache/@dabh-diagnostics-npm-2.0.3-0f2cd64f24-4879600c55.zip +0 -0
- package/.yarn/cache/@sentry-core-npm-6.19.7-4cbb62d040-d212e8ef07.zip +0 -0
- package/.yarn/cache/@sentry-hub-npm-6.19.7-6469362c23-10bb1c5cba.zip +0 -0
- package/.yarn/cache/@sentry-minimal-npm-6.19.7-7527a9814c-9153ac426e.zip +0 -0
- package/.yarn/cache/@sentry-node-npm-6.19.7-edcd5da482-2293b0d1d1.zip +0 -0
- package/.yarn/cache/@sentry-types-npm-6.19.7-f75535a9f4-f46ef74a33.zip +0 -0
- package/.yarn/cache/@sentry-utils-npm-6.19.7-d61c6c8632-a000223b9c.zip +0 -0
- package/.yarn/cache/@types-bluebird-npm-3.5.36-c27785104b-efe7484e1f.zip +0 -0
- package/.yarn/cache/@types-body-parser-npm-1.19.2-f845b7b538-e17840c7d7.zip +0 -0
- package/.yarn/cache/@types-connect-npm-3.4.35-7337eee0a3-fe81351470.zip +0 -0
- package/.yarn/cache/@types-continuation-local-storage-npm-3.2.4-c6c35d3399-c61e1dce54.zip +0 -0
- package/.yarn/cache/@types-cors-npm-2.8.12-ff52e8e514-8c45f112c7.zip +0 -0
- package/.yarn/cache/@types-debug-npm-4.1.7-f54c81f8db-0a7b89d8ed.zip +0 -0
- package/.yarn/cache/@types-express-npm-4.17.13-0e12fe9c24-12a2a0e6c4.zip +0 -0
- package/.yarn/cache/@types-express-serve-static-core-npm-4.17.28-608d4aa166-826489811a.zip +0 -0
- package/.yarn/cache/@types-lodash-npm-4.14.181-a4e20bcfaf-0d1863d838.zip +0 -0
- package/.yarn/cache/@types-mime-npm-1.3.2-ea71878ab3-0493368244.zip +0 -0
- package/.yarn/cache/@types-ms-npm-0.7.31-ea3b89342b-daadd354ae.zip +0 -0
- package/.yarn/cache/@types-node-npm-17.0.21-7d68eb6a13-89dcd2fe82.zip +0 -0
- package/.yarn/cache/@types-qs-npm-6.9.7-4a3e6ca0d0-7fd6f9c250.zip +0 -0
- package/.yarn/cache/@types-range-parser-npm-1.2.4-23d797fbde-b7c0dfd508.zip +0 -0
- package/.yarn/cache/@types-sequelize-npm-4.28.11-9551d8e358-46f17678fd.zip +0 -0
- package/.yarn/cache/@types-serve-static-npm-1.13.10-5434e2c519-eaca858739.zip +0 -0
- package/.yarn/cache/@types-validator-npm-13.7.1-8282515ec6-810649a23b.zip +0 -0
- package/.yarn/cache/@types-validator-npm-13.7.2-a51e56b9bb-e679261dd5.zip +0 -0
- package/.yarn/cache/accepts-npm-1.3.8-9a812371c9-50c43d32e7.zip +0 -0
- package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
- package/.yarn/cache/array-flatten-npm-1.1.1-9d94ad5f1d-a9925bf351.zip +0 -0
- package/.yarn/cache/async-npm-3.2.3-e9d6b79c88-c4bee57ab2.zip +0 -0
- package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
- package/.yarn/cache/body-parser-npm-1.19.2-33c5bfcb21-7f777ea656.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
- package/.yarn/cache/buffer-equal-constant-time-npm-1.0.1-41826f3419-80bb945f5d.zip +0 -0
- package/.yarn/cache/bytes-npm-3.1.2-28b8643004-e4bcd3948d.zip +0 -0
- package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
- package/.yarn/cache/color-npm-3.2.1-568cf1014f-f81220e8b7.zip +0 -0
- package/.yarn/cache/color-string-npm-1.9.0-75382c0441-93c6678b84.zip +0 -0
- package/.yarn/cache/colorspace-npm-1.1.4-f01655548a-bb3934ef3c.zip +0 -0
- package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
- package/.yarn/cache/content-disposition-npm-0.5.4-2d93678616-afb9d545e2.zip +0 -0
- package/.yarn/cache/content-type-npm-1.0.4-3b1a5ca16b-3d93585fda.zip +0 -0
- package/.yarn/cache/cookie-npm-0.4.2-7761894d5f-a00833c998.zip +0 -0
- package/.yarn/cache/cookie-signature-npm-1.0.6-93f325f7f0-f4e1b0a98a.zip +0 -0
- package/.yarn/cache/cors-npm-2.8.5-c9935a2d12-ced838404c.zip +0 -0
- package/.yarn/cache/debug-npm-2.6.9-7d4cb597dc-d2f51589ca.zip +0 -0
- package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
- package/.yarn/cache/depd-npm-1.1.2-b0c8414da7-6b406620d2.zip +0 -0
- package/.yarn/cache/destroy-npm-1.0.4-a2203e01cb-da9ab4961d.zip +0 -0
- package/.yarn/cache/dottie-npm-2.0.2-ef16765a8f-046a581803.zip +0 -0
- package/.yarn/cache/ecdsa-sig-formatter-npm-1.0.11-b6784e7852-207f9ab1c2.zip +0 -0
- package/.yarn/cache/ee-first-npm-1.1.1-33f8535b39-1b4cac778d.zip +0 -0
- package/.yarn/cache/enabled-npm-2.0.0-bf5d96c9d8-9d256d89f4.zip +0 -0
- package/.yarn/cache/encodeurl-npm-1.0.2-f8c8454c41-e50e3d508c.zip +0 -0
- package/.yarn/cache/escape-html-npm-1.0.3-376c22ee74-6213ca9ae0.zip +0 -0
- package/.yarn/cache/etag-npm-1.8.1-54a3b989d9-571aeb3dbe.zip +0 -0
- package/.yarn/cache/express-npm-4.17.3-889f836f0d-967e53b74a.zip +0 -0
- package/.yarn/cache/fecha-npm-4.2.1-40d84f7733-2699347494.zip +0 -0
- package/.yarn/cache/finalhandler-npm-1.1.2-55a75d6b53-617880460c.zip +0 -0
- package/.yarn/cache/fn.name-npm-1.1.0-b472333184-e357144f48.zip +0 -0
- package/.yarn/cache/forwarded-npm-0.2.0-6473dabe35-fd27e2394d.zip +0 -0
- package/.yarn/cache/fresh-npm-0.5.2-ad2bb4c0a2-13ea8b08f9.zip +0 -0
- package/.yarn/cache/fs-npm-0.0.1-security-5060b47e87-53c6230e1f.zip +0 -0
- package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
- package/.yarn/cache/glob-npm-7.2.0-bb4644d239-78a8ea9423.zip +0 -0
- package/.yarn/cache/http-errors-npm-1.8.1-fb60d9f6ae-d3c7e7e776.zip +0 -0
- package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
- package/.yarn/cache/iconv-lite-npm-0.4.24-c5c4ac6695-bd9f120f5a.zip +0 -0
- package/.yarn/cache/inflection-npm-1.13.2-85fd80437c-e7ad055938.zip +0 -0
- package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
- package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
- package/.yarn/cache/ipaddr.js-npm-1.9.1-19ae7878b4-f88d382598.zip +0 -0
- package/.yarn/cache/is-arrayish-npm-0.3.2-f856180f79-977e64f54d.zip +0 -0
- package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
- package/.yarn/cache/jsonwebtoken-npm-8.5.1-c007670b76-93c9e3f23c.zip +0 -0
- package/.yarn/cache/jwa-npm-1.4.1-4f19d6572c-ff30ea7c2d.zip +0 -0
- package/.yarn/cache/jws-npm-3.2.2-c1ae59c7af-f0213fe5b7.zip +0 -0
- package/.yarn/cache/kuler-npm-2.0.0-19e74c9695-9e10b5a165.zip +0 -0
- package/.yarn/cache/lodash-npm-4.17.21-6382451519-eb835a2e51.zip +0 -0
- package/.yarn/cache/lodash.includes-npm-4.3.0-3a2f6fa22c-71092c1305.zip +0 -0
- package/.yarn/cache/lodash.isboolean-npm-3.0.3-b575b41488-b70068b4a8.zip +0 -0
- package/.yarn/cache/lodash.isinteger-npm-4.0.4-42add9f4e1-6034821b3f.zip +0 -0
- package/.yarn/cache/lodash.isnumber-npm-3.0.3-b3bb5f7347-913784275b.zip +0 -0
- package/.yarn/cache/lodash.isplainobject-npm-4.0.6-d73937742f-29c6351f28.zip +0 -0
- package/.yarn/cache/lodash.isstring-npm-4.0.1-721fee791c-eaac87ae96.zip +0 -0
- package/.yarn/cache/lodash.once-npm-4.1.1-d8ba329ead-d768fa9f9b.zip +0 -0
- package/.yarn/cache/logform-npm-2.4.0-8b1d55d47a-e75ccccc1a.zip +0 -0
- package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
- package/.yarn/cache/lru_map-npm-0.3.3-a038bb3418-ca9dd43c65.zip +0 -0
- package/.yarn/cache/media-typer-npm-0.3.0-8674f8f0f5-af1b38516c.zip +0 -0
- package/.yarn/cache/merge-descriptors-npm-1.0.1-615287aaa8-5abc259d2a.zip +0 -0
- package/.yarn/cache/methods-npm-1.1.2-92f6fdb39b-0917ff4041.zip +0 -0
- package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
- package/.yarn/cache/mime-npm-1.6.0-60ae95038a-fef25e3926.zip +0 -0
- package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
- package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
- package/.yarn/cache/moment-npm-2.29.1-787d9fdafd-1e14d5f422.zip +0 -0
- package/.yarn/cache/moment-timezone-npm-0.5.34-e4fe2d01f6-12a1d3d52e.zip +0 -0
- package/.yarn/cache/ms-npm-2.0.0-9e1101a471-0e6a22b8b7.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
- package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
- package/.yarn/cache/object-assign-npm-4.1.1-1004ad6dec-fcc6e4ea8c.zip +0 -0
- package/.yarn/cache/on-finished-npm-2.3.0-4ce92f72c6-1db595bd96.zip +0 -0
- package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
- package/.yarn/cache/one-time-npm-1.0.0-aeaad5e524-fd008d7e99.zip +0 -0
- package/.yarn/cache/parseurl-npm-1.3.3-1542397e00-407cee8e0a.zip +0 -0
- package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
- package/.yarn/cache/path-to-regexp-npm-0.1.7-2605347373-69a14ea24d.zip +0 -0
- package/.yarn/cache/pg-connection-string-npm-2.5.0-1ee5de9ab9-a6f3a068f7.zip +0 -0
- package/.yarn/cache/proxy-addr-npm-2.0.7-dae6552872-29c6990ce9.zip +0 -0
- package/.yarn/cache/qs-npm-6.9.7-3f3fa3ac7b-5bbd263332.zip +0 -0
- package/.yarn/cache/range-parser-npm-1.2.1-1a470fa390-0a268d4fea.zip +0 -0
- package/.yarn/cache/raw-body-npm-2.4.3-8e0a306e17-d2961fa3c7.zip +0 -0
- package/.yarn/cache/readable-stream-npm-3.6.0-23a4a5eb56-d4ea81502d.zip +0 -0
- package/.yarn/cache/reflect-metadata-npm-0.1.13-c525998e20-798d379a7b.zip +0 -0
- package/.yarn/cache/retry-as-promised-npm-5.0.0-305d61b9d1-4d17e0597f.zip +0 -0
- package/.yarn/cache/retry-as-promised-npm-7.0.3-5438c20bb4-0dd0ed5f25.zip +0 -0
- package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
- package/.yarn/cache/safe-stable-stringify-npm-2.3.1-5e1888c3a7-a0a0bad029.zip +0 -0
- package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
- package/.yarn/cache/semver-npm-5.7.1-40bcea106b-57fd0acfd0.zip +0 -0
- package/.yarn/cache/semver-npm-7.3.5-618cf5db6a-5eafe6102b.zip +0 -0
- package/.yarn/cache/send-npm-0.17.2-73a3dbeba6-c28f36deb4.zip +0 -0
- package/.yarn/cache/sequelize-npm-6.17.0-495aefbf59-54bef508cf.zip +0 -0
- package/.yarn/cache/sequelize-npm-6.28.0-e045b0e857-7e10ba4eba.zip +0 -0
- package/.yarn/cache/sequelize-pool-npm-7.1.0-670df81ecb-b11d06d02d.zip +0 -0
- package/.yarn/cache/sequelize-typescript-npm-2.1.3-512be8fd59-e6e2757600.zip +0 -0
- package/.yarn/cache/sequelize-typescript-npm-2.1.5-1041bf4a95-017abffa55.zip +0 -0
- package/.yarn/cache/serve-static-npm-1.14.2-3ce50bb5ff-d97f3183b1.zip +0 -0
- package/.yarn/cache/setprototypeof-npm-1.2.0-0fedbdcd3a-be18cbbf70.zip +0 -0
- package/.yarn/cache/simple-swizzle-npm-0.2.2-8dee37fad1-a7f3f2ab5c.zip +0 -0
- package/.yarn/cache/stack-trace-npm-0.0.10-9460b173e1-473036ad32.zip +0 -0
- package/.yarn/cache/statuses-npm-1.5.0-f88f91b2e9-c469b9519d.zip +0 -0
- package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
- package/.yarn/cache/swagger-ui-dist-npm-4.15.5-9e0c8d56dd-b032ecc124.zip +0 -0
- package/.yarn/cache/swagger-ui-express-npm-4.6.0-e6d70a5883-8e5e2bf431.zip +0 -0
- package/.yarn/cache/text-hex-npm-1.0.0-22389e4d56-1138f68adc.zip +0 -0
- package/.yarn/cache/toidentifier-npm-1.0.1-f759712599-952c29e2a8.zip +0 -0
- package/.yarn/cache/toposort-class-npm-1.0.1-aefabde69e-c5e3229d48.zip +0 -0
- package/.yarn/cache/triple-beam-npm-1.3.0-eda4e2a46c-7d7b77d862.zip +0 -0
- package/.yarn/cache/tslib-npm-1.14.1-102499115e-dbe628ef87.zip +0 -0
- package/.yarn/cache/type-is-npm-1.6.18-6dee4d4961-2c8e47675d.zip +0 -0
- package/.yarn/cache/typescript-npm-4.6.2-1d0ebc9cf1-8a44ed7e6f.zip +0 -0
- package/.yarn/cache/typescript-patch-a9c67d205f-40b493a717.zip +0 -0
- package/.yarn/cache/unpipe-npm-1.0.0-2ed2a3c2bf-4fa18d8d8d.zip +0 -0
- package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
- package/.yarn/cache/utils-merge-npm-1.0.1-363bbdfbca-c810954932.zip +0 -0
- package/.yarn/cache/uuid-npm-8.3.2-eca0baba53-5575a8a75c.zip +0 -0
- package/.yarn/cache/validator-npm-13.7.0-624277e841-2b83283de1.zip +0 -0
- package/.yarn/cache/vary-npm-1.1.2-b49f70ae63-ae0123222c.zip +0 -0
- package/.yarn/cache/winston-npm-3.6.0-2b486d9bc3-5641837781.zip +0 -0
- package/.yarn/cache/winston-transport-npm-4.5.0-e10bfb2169-a56e5678a8.zip +0 -0
- package/.yarn/cache/wkx-npm-0.5.0-fca5152cd8-47b27387de.zip +0 -0
- package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
- package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/.yarnrc.yml +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/array.d.ts +2 -2
- package/dist/types/array.d.ts.map +1 -1
- package/dist/types/dto.d.ts +2 -2
- package/dist/types/dto.d.ts.map +1 -1
- package/dist/types/generators/typeGenerator.d.ts +3 -0
- package/dist/types/generators/typeGenerator.d.ts.map +1 -1
- package/dist/types/generators/typeGenerator.js +5 -1
- package/dist/types/generators/typeGenerator.js.map +1 -1
- package/dist/types/index.d.ts +20 -20
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/paging.d.ts +2 -2
- package/dist/types/paging.d.ts.map +1 -1
- package/dist/types/query.d.ts +2 -2
- package/dist/types/query.d.ts.map +1 -1
- package/package.json +3 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.yarnrc.yml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nodeLinker: node-modules
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { ExtendableDto, PaginationQueryDto, Dto } from './dto';
|
|
|
2
2
|
export { initSequelizeModule, getSequelize, modelsSync, generateDBML } from './sequelize';
|
|
3
3
|
export { default as Repository } from './repository';
|
|
4
4
|
export { Table } from './table';
|
|
5
|
-
export { TypeIs, DtoOrTypeIs } from './types';
|
|
5
|
+
export { TypeIs, DtoOrTypeIs, getData, TypeIsData } from './types';
|
|
6
6
|
export { getUserIdInQuery } from './utils/getUserIdInQuery';
|
|
7
7
|
export { getDBMLData } from './dbml';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getDBMLData = exports.getUserIdInQuery = exports.TypeIs = exports.Table = exports.Repository = exports.generateDBML = exports.modelsSync = exports.getSequelize = exports.initSequelizeModule = exports.Dto = exports.PaginationQueryDto = exports.ExtendableDto = void 0;
|
|
6
|
+
exports.getDBMLData = exports.getUserIdInQuery = exports.getData = exports.TypeIs = exports.Table = exports.Repository = exports.generateDBML = exports.modelsSync = exports.getSequelize = exports.initSequelizeModule = exports.Dto = exports.PaginationQueryDto = exports.ExtendableDto = void 0;
|
|
7
7
|
var dto_1 = require("./dto");
|
|
8
8
|
Object.defineProperty(exports, "ExtendableDto", { enumerable: true, get: function () { return dto_1.ExtendableDto; } });
|
|
9
9
|
Object.defineProperty(exports, "PaginationQueryDto", { enumerable: true, get: function () { return dto_1.PaginationQueryDto; } });
|
|
@@ -19,6 +19,7 @@ var table_1 = require("./table");
|
|
|
19
19
|
Object.defineProperty(exports, "Table", { enumerable: true, get: function () { return table_1.Table; } });
|
|
20
20
|
var types_1 = require("./types");
|
|
21
21
|
Object.defineProperty(exports, "TypeIs", { enumerable: true, get: function () { return types_1.TypeIs; } });
|
|
22
|
+
Object.defineProperty(exports, "getData", { enumerable: true, get: function () { return types_1.getData; } });
|
|
22
23
|
var getUserIdInQuery_1 = require("./utils/getUserIdInQuery");
|
|
23
24
|
Object.defineProperty(exports, "getUserIdInQuery", { enumerable: true, get: function () { return getUserIdInQuery_1.getUserIdInQuery; } });
|
|
24
25
|
var dbml_1 = require("./dbml");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,6BAA+D;AAAtD,oGAAA,aAAa,OAAA;AAAE,yGAAA,kBAAkB,OAAA;AAAE,0FAAA,GAAG,OAAA;AAC/C,yCAA0F;AAAjF,gHAAA,mBAAmB,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,uGAAA,UAAU,OAAA;AAAE,yGAAA,YAAY,OAAA;AACpE,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,6BAA+D;AAAtD,oGAAA,aAAa,OAAA;AAAE,yGAAA,kBAAkB,OAAA;AAAE,0FAAA,GAAG,OAAA;AAC/C,yCAA0F;AAAjF,gHAAA,mBAAmB,OAAA;AAAE,yGAAA,YAAY,OAAA;AAAE,uGAAA,UAAU,OAAA;AAAE,yGAAA,YAAY,OAAA;AACpE,2CAAqD;AAA5C,yHAAA,OAAO,OAAc;AAC9B,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,iCAAmE;AAA1D,+FAAA,MAAM,OAAA;AAAe,gGAAA,OAAO,OAAA;AACrC,6DAA4D;AAAnD,oHAAA,gBAAgB,OAAA;AACzB,+BAAqC;AAA5B,mGAAA,WAAW,OAAA"}
|
package/dist/types/array.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DtoOrTypeIs } from './index';
|
|
2
2
|
import { TypeIsData } from './generators/typeGenerator';
|
|
3
|
-
export declare const TypeIsArrayToSwagger: (options?: (DtoOrTypeIs & import("sequelize
|
|
3
|
+
export declare const TypeIsArrayToSwagger: (options?: (DtoOrTypeIs & import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>>) | undefined) => import("./generators/toSwaggerGenerator").ISwaggerData;
|
|
4
4
|
export declare const TypeIsArrayFixValue: (o: any) => any;
|
|
5
|
-
declare const TypeIsArray: (...options: (import("sequelize
|
|
5
|
+
declare const TypeIsArray: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | DtoOrTypeIs)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & TypeIsData;
|
|
6
6
|
export default TypeIsArray;
|
|
7
7
|
//# sourceMappingURL=array.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/types/array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMvE,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/types/array.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMvE,eAAO,MAAM,oBAAoB,wLA+B/B,CAAC;AAEH,eAAO,MAAM,mBAAmB,MAAO,GAAG,QAOzC,CAAC;AAEF,QAAA,MAAM,WAAW,qPAId,CAAC;AAEJ,eAAe,WAAW,CAAC"}
|
package/dist/types/dto.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface TypeIsDtoOption {
|
|
|
4
4
|
as: string;
|
|
5
5
|
comment?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const TypeIsDtoToSwagger: (options?: (TypeIsDtoOption & import("sequelize
|
|
8
|
-
declare const TypeIsDto: (...options: (import("sequelize
|
|
7
|
+
export declare const TypeIsDtoToSwagger: (options?: (TypeIsDtoOption & import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>>) | undefined) => import("./generators/toSwaggerGenerator").ISwaggerData;
|
|
8
|
+
declare const TypeIsDto: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | TypeIsDtoOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
9
9
|
export default TypeIsDto;
|
|
10
10
|
//# sourceMappingURL=dto.d.ts.map
|
package/dist/types/dto.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dto.d.ts","sourceRoot":"","sources":["../../src/types/dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,OAAO,aAAa,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"dto.d.ts","sourceRoot":"","sources":["../../src/types/dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,OAAO,aAAa,CAAC;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,kBAAkB,4LAW7B,CAAC;AAEH,QAAA,MAAM,SAAS,8RAIZ,CAAC;AAEJ,eAAe,SAAS,CAAC"}
|
|
@@ -5,6 +5,9 @@ export declare type TypeIsData = {
|
|
|
5
5
|
toSequelize?: (...args: any[]) => any;
|
|
6
6
|
fixValue?: (o: any) => any;
|
|
7
7
|
};
|
|
8
|
+
export declare const getData: () => {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
8
11
|
export declare const getTypesData: (target: any) => {
|
|
9
12
|
[key: string]: TypeIsData;
|
|
10
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGenerator.d.ts","sourceRoot":"","sources":["../../../src/types/generators/typeGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;IACpC,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;CAC5B,CAAC;AAIF,eAAO,MAAM,YAAY,WAAY,GAAG;;CAIvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,GAAG,UAAU,GAAG,SAE5D,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAMvE,CAAC;AAEF,oBAAY,2BAA2B,CAAC,CAAC,IAAI,CAAC,GAAG,2BAA2B,CAAC;AAE7E,eAAO,MAAM,aAAa,2DACiC,UAAU,yGAEhD,GAAG,6FAAmE,IAAI,GAAG,UAa/F,CAAC"}
|
|
1
|
+
{"version":3,"file":"typeGenerator.d.ts","sourceRoot":"","sources":["../../../src/types/generators/typeGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,UAAU,GAAG;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;IACpC,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;IACtC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,GAAG,CAAC;CAC5B,CAAC;AAIF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,YAAY,WAAY,GAAG;;CAIvC,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,GAAG,UAAU,GAAG,SAE5D,CAAC;AAEF,eAAO,MAAM,aAAa,WAAY,GAAG,gBAAgB,GAAG,SAAS,GAAG,SAMvE,CAAC;AAEF,oBAAY,2BAA2B,CAAC,CAAC,IAAI,CAAC,GAAG,2BAA2B,CAAC;AAE7E,eAAO,MAAM,aAAa,2DACiC,UAAU,yGAEhD,GAAG,6FAAmE,IAAI,GAAG,UAa/F,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.typeGenerator = exports.saveTypesData = exports.saveNewTypesData = exports.getTypesData = void 0;
|
|
3
|
+
exports.typeGenerator = exports.saveTypesData = exports.saveNewTypesData = exports.getTypesData = exports.getData = void 0;
|
|
4
4
|
const data = {};
|
|
5
|
+
const getData = () => {
|
|
6
|
+
return data;
|
|
7
|
+
};
|
|
8
|
+
exports.getData = getData;
|
|
5
9
|
const getTypesData = (target) => {
|
|
6
10
|
var _a;
|
|
7
11
|
const values = data[(target === null || target === void 0 ? void 0 : target.name) || ((_a = target === null || target === void 0 ? void 0 : target.constructor) === null || _a === void 0 ? void 0 : _a.name)];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeGenerator.js","sourceRoot":"","sources":["../../../src/types/generators/typeGenerator.ts"],"names":[],"mappings":";;;AASA,MAAM,IAAI,GAA2B,EAAE,CAAC;AAEjC,MAAM,YAAY,GAAG,CAAC,MAAW,EAAiC,EAAE;;IACzE,MAAM,MAAM,GAAG,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAI,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,0CAAE,IAAI,CAAA,CAAC,CAAC;IAC/D,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,CAAC;IACvB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAJW,QAAA,YAAY,gBAIvB;AAEK,MAAM,gBAAgB,GAAG,CAAC,UAAe,EAAE,MAAW,EAAE,EAAE;IAC/D,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC;AAC7C,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEK,MAAM,aAAa,GAAG,CAAC,MAAW,EAAE,YAAiB,EAAE,KAAU,EAAE,EAAE;IAC1E,MAAM,KAAK,GAAG,IAAA,oBAAY,EAAC,MAAM,CAAC,CAAC;IAEnC,KAAK,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;IAE5B,IAAA,wBAAgB,EAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAClC,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB;AAIK,MAAM,aAAa,GACxB,CAAI,IAA+D,EAAE,EAAE,CACvE,CAAC,GAAG,OAA4C,EAAE,EAAE;IAClD,OAAO,CAAC,MAAY,EAAE,YAAqB,EAAE,kBAAuC,EAAqB,EAAE;QACzG,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,OAA4C,CAAC,CAAC;YAEpE,IAAA,qBAAa,EAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;YAE1C,IAAI,kBAAkB,EAAE;gBACtB,kBAAkB,CAAC,KAAK,GAAG,IAAI,CAAC;aACjC;SACF;aAAM;YACL,OAAO,IAAI,CAAC,GAAI,OAA4C,CAAQ,CAAC;SACtE;IACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAhBS,QAAA,aAAa,iBAgBtB"}
|
|
1
|
+
{"version":3,"file":"typeGenerator.js","sourceRoot":"","sources":["../../../src/types/generators/typeGenerator.ts"],"names":[],"mappings":";;;AASA,MAAM,IAAI,GAA2B,EAAE,CAAC;AAEjC,MAAM,OAAO,GAAG,GAAG,EAAE;IAC1B,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAFW,QAAA,OAAO,WAElB;AAEK,MAAM,YAAY,GAAG,CAAC,MAAW,EAAiC,EAAE;;IACzE,MAAM,MAAM,GAAG,IAAI,CAAC,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,MAAI,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,WAAW,0CAAE,IAAI,CAAA,CAAC,CAAC;IAC/D,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,CAAC;IACvB,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAJW,QAAA,YAAY,gBAIvB;AAEK,MAAM,gBAAgB,GAAG,CAAC,UAAe,EAAE,MAAW,EAAE,EAAE;IAC/D,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,GAAG,UAAU,CAAC;AAC7C,CAAC,CAAC;AAFW,QAAA,gBAAgB,oBAE3B;AAEK,MAAM,aAAa,GAAG,CAAC,MAAW,EAAE,YAAiB,EAAE,KAAU,EAAE,EAAE;IAC1E,MAAM,KAAK,GAAG,IAAA,oBAAY,EAAC,MAAM,CAAC,CAAC;IAEnC,KAAK,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC;IAE5B,IAAA,wBAAgB,EAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AAClC,CAAC,CAAC;AANW,QAAA,aAAa,iBAMxB;AAIK,MAAM,aAAa,GACxB,CAAI,IAA+D,EAAE,EAAE,CACvE,CAAC,GAAG,OAA4C,EAAE,EAAE;IAClD,OAAO,CAAC,MAAY,EAAE,YAAqB,EAAE,kBAAuC,EAAqB,EAAE;QACzG,IAAI,MAAM,KAAK,SAAS,EAAE;YACxB,MAAM,IAAI,GAAG,IAAI,CAAC,GAAI,OAA4C,CAAC,CAAC;YAEpE,IAAA,qBAAa,EAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC;YAE1C,IAAI,kBAAkB,EAAE;gBACtB,kBAAkB,CAAC,KAAK,GAAG,IAAI,CAAC;aACjC;SACF;aAAM;YACL,OAAO,IAAI,CAAC,GAAI,OAA4C,CAAQ,CAAC;SACtE;IACH,CAAC,CAAC;AACJ,CAAC,CAAC;AAhBS,QAAA,aAAa,iBAgBtB"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export declare const TypeIs: {
|
|
2
|
-
INT: (...options: (import("sequelize
|
|
3
|
-
LONG: (...options: (import("sequelize
|
|
4
|
-
FLOAT: (...options: (import("sequelize
|
|
5
|
-
DECIMAL: (...options: (import("sequelize
|
|
6
|
-
DOUBLE: (...options: (import("sequelize
|
|
7
|
-
STRING: (...options: (import("sequelize
|
|
8
|
-
TEXT: (...options: (import("sequelize
|
|
9
|
-
PASSWORD: (...options: (import("sequelize
|
|
10
|
-
ENUM: (...options: (import("sequelize
|
|
11
|
-
JSON: (...options: (import("sequelize
|
|
12
|
-
BASE64: (...options: (import("sequelize
|
|
13
|
-
BINARY: (...options: (import("sequelize
|
|
14
|
-
BOOLEAN: (...options: (import("sequelize
|
|
15
|
-
DATEONLY: (...options: (import("sequelize
|
|
16
|
-
DATETIME: (...options: (import("sequelize
|
|
2
|
+
INT: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./int").TypeIsIntOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
3
|
+
LONG: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./long").TypeIsLongOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
4
|
+
FLOAT: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./float").TypeIsFloatOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
5
|
+
DECIMAL: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./decemal").TypeIsDecemalOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
6
|
+
DOUBLE: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./double").TypeIsDoubleOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
7
|
+
STRING: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./string").TypeIsStringOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
8
|
+
TEXT: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./text").TypeIsTextOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
9
|
+
PASSWORD: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./string").TypeIsStringOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
10
|
+
ENUM: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./enum").TypeIsEnumOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
11
|
+
JSON: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./json").TypeIsJsonOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
12
|
+
BASE64: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./base64").TypeIsBase64Option)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
13
|
+
BINARY: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./binary").TypeIsBinaryOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
14
|
+
BOOLEAN: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./boolean").TypeIsBooleanOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
15
|
+
DATEONLY: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./dateonly").TypeIsDateOnlyOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
16
|
+
DATETIME: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./datetime").TypeIsDateTimeOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
17
17
|
FOREIGNKEY: (...options: any[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
18
18
|
BELONGSTO: (...options: any[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
19
|
-
DTO: (...options: (import("sequelize
|
|
20
|
-
QUERY: (...options: (import("sequelize
|
|
21
|
-
ARRAY: (...options: (import("sequelize
|
|
22
|
-
PAGING: (...options: (import("sequelize
|
|
19
|
+
DTO: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./dto").TypeIsDtoOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
20
|
+
QUERY: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./query").TypeIsQueryOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
21
|
+
ARRAY: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./type").DtoOrTypeIs)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
22
|
+
PAGING: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | import("./type").DtoOrTypeIs)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & import("./generators/typeGenerator").TypeIsData;
|
|
23
23
|
};
|
|
24
24
|
export { DtoOrTypeIs, ClassType } from './type';
|
|
25
|
-
export { TypeIsData, getTypesData } from './generators/typeGenerator';
|
|
25
|
+
export { TypeIsData, getTypesData, getData } from './generators/typeGenerator';
|
|
26
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;CAsBlB,CAAC;AAEF,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getTypesData = exports.TypeIs = void 0;
|
|
6
|
+
exports.getData = exports.getTypesData = exports.TypeIs = void 0;
|
|
7
7
|
const int_1 = __importDefault(require("./int"));
|
|
8
8
|
const long_1 = __importDefault(require("./long"));
|
|
9
9
|
const float_1 = __importDefault(require("./float"));
|
|
@@ -50,4 +50,5 @@ exports.TypeIs = {
|
|
|
50
50
|
};
|
|
51
51
|
var typeGenerator_1 = require("./generators/typeGenerator");
|
|
52
52
|
Object.defineProperty(exports, "getTypesData", { enumerable: true, get: function () { return typeGenerator_1.getTypesData; } });
|
|
53
|
+
Object.defineProperty(exports, "getData", { enumerable: true, get: function () { return typeGenerator_1.getData; } });
|
|
53
54
|
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,0DAAwC;AACxC,kDAAgC;AAChC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,wDAAsC;AACtC,0DAAwC;AACxC,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,gDAA8B;AAC9B,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AAEvB,QAAA,MAAM,GAAG;IACpB,GAAG,EAAE,aAAS;IACd,IAAI,EAAE,cAAU;IAChB,KAAK,EAAE,eAAW;IAClB,OAAO,EAAE,iBAAa;IACtB,MAAM,EAAE,gBAAY;IACpB,MAAM,EAAE,gBAAY;IACpB,IAAI,EAAE,cAAU;IAChB,QAAQ,EAAE,kBAAc;IACxB,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,cAAU;IAChB,MAAM,EAAE,gBAAY;IACpB,MAAM,EAAE,gBAAY;IACpB,OAAO,EAAE,iBAAa;IACtB,QAAQ,EAAE,kBAAc;IACxB,QAAQ,EAAE,kBAAc;IACxB,UAAU,EAAE,oBAAgB;IAC5B,SAAS,EAAE,mBAAe;IAC1B,GAAG,EAAE,aAAS;IACd,KAAK,EAAE,eAAW;IAClB,KAAK,EAAE,eAAW;IAClB,MAAM,EAAE,gBAAY;CACrB,CAAC;AAGF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;AAAA,gDAA8B;AAC9B,kDAAgC;AAChC,oDAAkC;AAClC,wDAAsC;AACtC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,0DAAwC;AACxC,kDAAgC;AAChC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,wDAAsC;AACtC,0DAAwC;AACxC,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,gDAA8B;AAC9B,oDAAkC;AAClC,oDAAkC;AAClC,sDAAoC;AAEvB,QAAA,MAAM,GAAG;IACpB,GAAG,EAAE,aAAS;IACd,IAAI,EAAE,cAAU;IAChB,KAAK,EAAE,eAAW;IAClB,OAAO,EAAE,iBAAa;IACtB,MAAM,EAAE,gBAAY;IACpB,MAAM,EAAE,gBAAY;IACpB,IAAI,EAAE,cAAU;IAChB,QAAQ,EAAE,kBAAc;IACxB,IAAI,EAAE,cAAU;IAChB,IAAI,EAAE,cAAU;IAChB,MAAM,EAAE,gBAAY;IACpB,MAAM,EAAE,gBAAY;IACpB,OAAO,EAAE,iBAAa;IACtB,QAAQ,EAAE,kBAAc;IACxB,QAAQ,EAAE,kBAAc;IACxB,UAAU,EAAE,oBAAgB;IAC5B,SAAS,EAAE,mBAAe;IAC1B,GAAG,EAAE,aAAS;IACd,KAAK,EAAE,eAAW;IAClB,KAAK,EAAE,eAAW;IAClB,MAAM,EAAE,gBAAY;CACrB,CAAC;AAGF,4DAA+E;AAA1D,6GAAA,YAAY,OAAA;AAAE,wGAAA,OAAO,OAAA"}
|
package/dist/types/paging.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DtoOrTypeIs } from './index';
|
|
2
2
|
import { TypeIsData } from './generators/typeGenerator';
|
|
3
|
-
export declare const TypeIsPagingToSwagger: (options?: (DtoOrTypeIs & import("sequelize
|
|
4
|
-
declare const TypeIsPaging: (...options: (import("sequelize
|
|
3
|
+
export declare const TypeIsPagingToSwagger: (options?: (DtoOrTypeIs & import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>>) | undefined) => import("./generators/toSwaggerGenerator").ISwaggerData;
|
|
4
|
+
declare const TypeIsPaging: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | DtoOrTypeIs)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & TypeIsData;
|
|
5
5
|
export default TypeIsPaging;
|
|
6
6
|
//# sourceMappingURL=paging.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paging.d.ts","sourceRoot":"","sources":["../../src/types/paging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMvE,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"paging.d.ts","sourceRoot":"","sources":["../../src/types/paging.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAMvE,eAAO,MAAM,qBAAqB,wLAkEhC,CAAC;AAEH,QAAA,MAAM,YAAY,qPAGf,CAAC;AAEJ,eAAe,YAAY,CAAC"}
|
package/dist/types/query.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export interface TypeIsQueryOption {
|
|
|
6
6
|
}) => string;
|
|
7
7
|
type: () => TypeIsData;
|
|
8
8
|
}
|
|
9
|
-
export declare const TypeIsQueryToSwagger: (options?: (TypeIsQueryOption & import("sequelize
|
|
9
|
+
export declare const TypeIsQueryToSwagger: (options?: (TypeIsQueryOption & import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>>) | undefined) => import("./generators/toSwaggerGenerator").ISwaggerData;
|
|
10
10
|
export declare const TypeIsQueryToSequelize: (options?: TypeIsQueryOption | undefined) => {
|
|
11
11
|
query: (props: {
|
|
12
12
|
user?: any;
|
|
@@ -15,6 +15,6 @@ export declare const TypeIsQueryToSequelize: (options?: TypeIsQueryOption | unde
|
|
|
15
15
|
type: (() => TypeIsData) | undefined;
|
|
16
16
|
};
|
|
17
17
|
export declare const TypeIsQueryFixValue: (options: TypeIsQueryOption) => (o: any) => any;
|
|
18
|
-
declare const TypeIsQuery: (...options: (import("sequelize
|
|
18
|
+
declare const TypeIsQuery: (...options: (import("sequelize").ModelAttributeColumnOptions<import("sequelize").Model<any, any>> | TypeIsQueryOption)[]) => (target?: any, propertyName?: string | undefined, propertyDescriptor?: PropertyDescriptor | undefined) => void & TypeIsData;
|
|
19
19
|
export default TypeIsQuery;
|
|
20
20
|
//# sourceMappingURL=query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/types/query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEvE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IAC/D,IAAI,EAAE,MAAM,UAAU,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"query.d.ts","sourceRoot":"","sources":["../../src/types/query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAiB,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAEvE,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,CAAC,KAAK,EAAE;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,MAAM,CAAC;IAC/D,IAAI,EAAE,MAAM,UAAU,CAAC;CACxB;AAED,eAAO,MAAM,oBAAoB,8LAM/B,CAAC;AAEH,eAAO,MAAM,sBAAsB;mBAClB;QAAE,IAAI,CAAC,EAAE,GAAG,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE;iBAZvC,UAAU;CActB,CAAC;AAEH,eAAO,MAAM,mBAAmB,YAAa,iBAAiB,SAAS,GAAG,QAEzE,CAAC;AAEF,QAAA,MAAM,WAAW,2PAKd,CAAC;AAEJ,eAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asapjs/sequelize",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
"@types/express": "^4.17.13",
|
|
26
26
|
"@types/node": "^17.0.21",
|
|
27
27
|
"@types/sequelize": "^4.28.11",
|
|
28
|
+
"sequelize": "^6.28.0",
|
|
29
|
+
"sequelize-typescript": "^2.1.5",
|
|
28
30
|
"typescript": "^4.6.2"
|
|
29
31
|
},
|
|
30
32
|
"peerDependencies": {
|