@kipicore/dbcore 1.1.48 → 1.1.49
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/dist/db/psql/migrations/20241225101052-add-deleted-by-and-deleted-at-fields.d.ts +1 -1
- package/dist/db/psql/migrations/20250106070945-add-user-fields-and-deleted-user-fields.d.ts +1 -1
- package/dist/db/psql/migrations/20250106080059-add-fields-and-deleted-fields.d.ts +1 -1
- package/dist/db/psql/migrations/20250210102846-add-profileImage-coverImage-to-users.d.ts +1 -1
- package/dist/db/psql/migrations/20250211071743-add-action-user-has-histroy.d.ts +1 -1
- package/dist/db/psql/migrations/20250213140815-add-assignQuantity-user-has-histroy.d.ts +1 -1
- package/dist/db/psql/migrations/20250214072626-add-middlename-user.d.ts +1 -1
- package/dist/db/psql/migrations/20250224085333-add-apptype-in-user.d.ts +1 -1
- package/dist/db/psql/migrations/20250226053006-add-brouchure-in-institute.d.ts +1 -1
- package/dist/db/psql/migrations/20250227123530-add-defult-in-fee-reminder.d.ts +1 -1
- package/dist/db/psql/migrations/20250304052831-add-institued-in-school-data-clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250306053557-add-shifyId-in-batch.d.ts +1 -1
- package/dist/db/psql/migrations/20250402090653-add-user-area.d.ts +1 -1
- package/dist/db/psql/migrations/20250409105229-add-user-type-in-role.d.ts +1 -1
- package/dist/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.d.ts +1 -1
- package/dist/db/psql/migrations/20250419071236-fee_histroy_add_school_clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250419085334-fee_histroy_add_school_clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250421085618-add-entityIds-field-in-announcements.d.ts +1 -1
- package/dist/db/psql/migrations/20250422114032-add-account.d.ts +1 -1
- package/dist/db/psql/migrations/20250423051841-add-master-leave-clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250423093827-update-institued-district.d.ts +1 -1
- package/dist/db/psql/migrations/20250424044755-update-fee-history-feeTyps-clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250426070309-update-banner-clm-userType.d.ts +1 -1
- package/dist/db/psql/migrations/20250505035157-update-fee-collection-clm-add.d.ts +1 -1
- package/dist/db/psql/migrations/20250505082924-update-banner-clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250505094616-about-as-clm-in-institued.d.ts +1 -1
- package/dist/db/psql/migrations/20250506070110-add-dayOfWeek-clm-in-working-model.d.ts +1 -1
- package/dist/db/psql/migrations/20250509055920-add-feecollection-isleft-clm.d.ts +1 -1
- package/dist/db/psql/migrations/20250513061037-add-techer-clm-batch.d.ts +1 -1
- package/dist/db/psql/migrations/20250514101801-add-slotId-workingShif.d.ts +1 -1
- package/dist/db/psql/migrations/20250516062917-add-globalId-clm-user-model.d.ts +1 -1
- package/dist/db/psql/migrations/20250516063542-add-globalId-clm-institute-model.d.ts +1 -1
- package/dist/db/psql/migrations/20250520061231-add-institued_mobile_person_data.d.ts +1 -1
- package/dist/db/psql/migrations/20250522044729-add-institued_update_add_2.d.ts +1 -1
- package/dist/db/psql/migrations/20250526035543-add-totalQuantity_add_remainingQuantiy_clm_userHasInventoryHistory.d.ts +1 -1
- package/dist/db/psql/migrations/20250526093322-add-appType_clm_in_module.d.ts +1 -1
- package/dist/db/psql/migrations/20250526094030-add-appType_clm_in_action.d.ts +1 -1
- package/dist/db/psql/migrations/20250526094233-add-appType_clm_in_module_features.d.ts +1 -1
- package/dist/db/psql/migrations/20250527065001-add-app-type-in-role-model.d.ts +1 -1
- package/dist/db/psql/migrations/20250528045906-add-module-type-to-notifications.d.ts +1 -1
- package/dist/db/psql/migrations/20250602090331-add-or-update-user-model-medicalHistory.d.ts +1 -1
- package/dist/db/psql/migrations/20250602100550-add-planner-sync-status-to-institute.d.ts +1 -1
- package/dist/db/psql/migrations/20250603054900-add-clm-for-defult-data-add-or-not-in-ins-model.d.ts +1 -1
- package/dist/db/psql/migrations/20250604103905-add-is-institute-default-field-in-role.d.ts +1 -1
- package/dist/db/psql/migrations/20250604121051-update-mobile-number-opstion.d.ts +1 -1
- package/dist/db/psql/migrations/20250701095321-add-clm-institute-pdfId.d.ts +1 -1
- package/dist/db/psql/migrations/20250717092933-add-floor-id-to-class-rooms.d.ts +1 -1
- package/dist/db/psql/migrations/20250718121251-add-clm-classroom-typeid.d.ts +1 -1
- package/dist/db/psql/migrations/20250721105455-add-clm-classroom-add-classroomnumber.d.ts +1 -1
- package/dist/db/psql/migrations/20250723150111-add-clm-batch-slotId.d.ts +1 -1
- package/dist/db/psql/migrations/20250804090437-update_ins_in_pdf_id_string_to_uuid.d.ts +1 -1
- package/dist/db/psql/migrations/20250805062440-remove_unique_key_into_batch_subject_project_assessments.d.ts +1 -1
- package/dist/db/psql/migrations/20250808100700-add_clm_contectFeed_in_ins_givenId.d.ts +1 -1
- package/dist/db/psql/migrations/20250908054025-userHasOffer_model_update.d.ts +1 -1
- package/dist/db/psql/migrations/20250908054754-offer_in_add_offertype_clm.d.ts +1 -1
- package/package.json +8 -3
- package/dist/.sequelizerc +0 -13
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
package/dist/db/psql/migrations/20250417121316-make-institute-id-nullable-in-type-management.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _exports:
|
|
1
|
+
declare const _exports: import("sequelize-cli").Migration;
|
|
2
2
|
export = _exports;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kipicore/dbcore",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.49",
|
|
4
4
|
"description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
"prebuild": "npm run clean",
|
|
19
19
|
"lint": "eslint \"src/**/*.ts\"",
|
|
20
20
|
"test": "npm run build && tsd",
|
|
21
|
-
"
|
|
21
|
+
"pgdb:migrate": "sequelize db:migrate",
|
|
22
|
+
"pgdb:migrate:undo": "sequelize db:migrate:undo",
|
|
23
|
+
"pgdb:seed:all": "sequelize db:seed:all",
|
|
24
|
+
"pgdb:seed:all:undo": "sequelize db:seed:undo:all"
|
|
22
25
|
},
|
|
23
26
|
"keywords": [
|
|
24
27
|
"postgres",
|
|
@@ -49,7 +52,9 @@
|
|
|
49
52
|
"@types/node": "^24.5.2",
|
|
50
53
|
"@types/sequelize": "^4.28.14",
|
|
51
54
|
"typescript": "^5.5.4",
|
|
52
|
-
"prettier": "^3.3.3"
|
|
55
|
+
"prettier": "^3.3.3",
|
|
56
|
+
"sequelize-cli": "^6.6.2",
|
|
57
|
+
"country-state-city": "^3.2.1"
|
|
53
58
|
},
|
|
54
59
|
"files": [
|
|
55
60
|
"dist",
|
package/dist/.sequelizerc
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// Import the path module to work with file paths
|
|
2
|
-
const path = require("path");
|
|
3
|
-
// Export an object with configuration options for Sequelize CLI
|
|
4
|
-
module.exports = {
|
|
5
|
-
// Configuration file path for Sequelize
|
|
6
|
-
config: path.resolve("configs", "postgresConfig"),
|
|
7
|
-
// Path to the directory where models are stored
|
|
8
|
-
"models-path": path.resolve("models", "psql"),
|
|
9
|
-
// Set the path to the directory to store seeders
|
|
10
|
-
"seeders-path": path.resolve("db/psql", "seeders"),
|
|
11
|
-
// Set the path to the directory to store migrations
|
|
12
|
-
"migrations-path": path.resolve("db/psql", "migrations"),
|
|
13
|
-
};
|