my-typescript-library-rahul52us 1.3.1 → 1.3.4

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.
@@ -27,5 +27,14 @@ const workFlowSettingsSchema = new mongoose_1.default.Schema({
27
27
  default: new Date()
28
28
  }
29
29
  });
30
- exports.default = mongoose_1.default.models.settings || mongoose_1.default.model('settings', workFlowSettingsSchema);
30
+ let WorkFlowModel = null;
31
+ if (mongoose_1.default.models.settings) {
32
+ console.log("WorkFlow Setting model already exists.");
33
+ WorkFlowModel = mongoose_1.default.models.WorkFlow;
34
+ }
35
+ else {
36
+ console.log("Creating WorkFlow Settings model fallback.");
37
+ WorkFlowModel = mongoose_1.default.model('settings', workFlowSettingsSchema);
38
+ }
39
+ exports.default = WorkFlowModel;
31
40
  //# sourceMappingURL=WorkflowSettingsScheme.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WorkflowSettingsScheme.js","sourceRoot":"","sources":["../../../src/repository/schemas/WorkflowSettingsScheme.ts"],"names":[],"mappings":";;;;;AAAA,wDAA+B;AAE/B,MAAM,sBAAsB,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAG;QACH,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;QACrC,GAAG,EAAG,UAAU;KACnB;IACD,OAAO,EAAG;QACN,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;QACrC,GAAG,EAAG,cAAc;KACvB;IACD,KAAK,EAAG;QACJ,IAAI,EAAG,MAAM;KAChB;IACD,IAAI,EAAG;QACH,IAAI,EAAG,MAAM;KAChB;IACD,MAAM,EAAG;QACL,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;KACrC;IACD,UAAU,EAAG;QACT,IAAI,EAAG,IAAI;QACX,OAAO,EAAG,IAAI,IAAI,EAAE;KACvB;CACJ,CAAC,CAAA;AAEF,kBAAe,kBAAQ,CAAC,MAAM,CAAC,QAAQ,IAAI,kBAAQ,CAAC,KAAK,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"WorkflowSettingsScheme.js","sourceRoot":"","sources":["../../../src/repository/schemas/WorkflowSettingsScheme.ts"],"names":[],"mappings":";;;;;AAAA,wDAA+B;AAE/B,MAAM,sBAAsB,GAAG,IAAI,kBAAQ,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAG;QACH,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;QACrC,GAAG,EAAG,UAAU;KACnB;IACD,OAAO,EAAG;QACN,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ;QACrC,GAAG,EAAG,cAAc;KACvB;IACD,KAAK,EAAG;QACJ,IAAI,EAAG,MAAM;KAChB;IACD,IAAI,EAAG;QACH,IAAI,EAAG,MAAM;KAChB;IACD,MAAM,EAAG;QACL,IAAI,EAAG,kBAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK;KACrC;IACD,UAAU,EAAG;QACT,IAAI,EAAG,IAAI;QACX,OAAO,EAAG,IAAI,IAAI,EAAE;KACvB;CACJ,CAAC,CAAA;AAEF,IAAI,aAAa,GAA+B,IAAI,CAAC;AAErD,IAAI,kBAAQ,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC5B,OAAO,CAAC,GAAG,CAAC,wCAAwC,CAAC,CAAC;IACtD,aAAa,GAAG,kBAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC;CAC1C;KAAM;IACL,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;IAC1D,aAAa,GAAG,kBAAQ,CAAC,KAAK,CAAC,UAAU,EAAE,sBAAsB,CAAC,CAAC;CACpE;AAED,kBAAe,aAAa,CAAC"}
@@ -61,7 +61,7 @@ const AccountDetailsSchema = new mongoose_1.default.Schema({
61
61
  },
62
62
  });
63
63
  let AccountModal = null;
64
- if (mongoose_1.default.models.AccountDetail) {
64
+ if (mongoose_1.default.models.AccountDetails) {
65
65
  console.log("Account model already exists.");
66
66
  AccountModal = mongoose_1.default.models.AccountDetails;
67
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"accountdetails.schema.js","sourceRoot":"","sources":["../../../src/repository/schemas/accountdetails.schema.ts"],"names":[],"mappings":";;;;;AAAA,wDAAsD;AAoBtD,MAAM,oBAAoB,GAAW,IAAI,kBAAQ,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,IAAI,CAAC,GAAG;KACpB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;KACb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;KACb;IACD,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,YAAY,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,UAAU,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;CACJ,CAAC,CAAC;AAGH,IAAI,YAAY,GAA+B,IAAI,CAAC;AAEpD,IAAI,kBAAQ,CAAC,MAAM,CAAC,aAAa,EAAE;IACjC,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAC7C,YAAY,GAAG,kBAAQ,CAAC,MAAM,CAAC,cAAc,CAAC;CAC/C;KAAM;IACL,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;IAChD,YAAY,GAAG,kBAAQ,CAAC,KAAK,CAAM,gBAAgB,EAAE,oBAAoB,CAAC,CAAC;CAC5E;AAED,kBAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"accountdetails.schema.js","sourceRoot":"","sources":["../../../src/repository/schemas/accountdetails.schema.ts"],"names":[],"mappings":";;;;;AAAA,wDAAsD;AAoBtD,MAAM,oBAAoB,GAAW,IAAI,kBAAQ,CAAC,MAAM,CAAC;IACrD,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;QACV,OAAO,EAAE,IAAI,CAAC,GAAG;KACpB;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;KACb;IACD,SAAS,EAAE;QACP,IAAI,EAAE,IAAI;KACb;IACD,IAAI,EAAE;QACF,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,OAAO,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,KAAK,EAAE;QACH,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,YAAY,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;IACD,UAAU,EAAE;QACR,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,IAAI;KACb;CACJ,CAAC,CAAC;AAGH,IAAI,YAAY,GAA+B,IAAI,CAAC;AAEpD,IAAI,kBAAQ,CAAC,MAAM,CAAC,cAAc,EAAE;IAClC,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAC7C,YAAY,GAAG,kBAAQ,CAAC,MAAM,CAAC,cAAc,CAAC;CAC/C;KAAM;IACL,OAAO,CAAC,GAAG,CAAC,kCAAkC,CAAC,CAAC;IAChD,YAAY,GAAG,kBAAQ,CAAC,KAAK,CAAM,gBAAgB,EAAE,oBAAoB,CAAC,CAAC;CAC5E;AAED,kBAAe,YAAY,CAAC"}
@@ -40,7 +40,6 @@ const TokensSchema = new mongoose_1.default.Schema({
40
40
  });
41
41
  // Safe way to dynamically fetch or initialize the model
42
42
  let TokenModel = null;
43
- console.log(mongoose_1.default.models);
44
43
  if (mongoose_1.default.models.Token) {
45
44
  console.log("Token model already exists.");
46
45
  TokenModel = mongoose_1.default.models.Token;
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.schema.js","sourceRoot":"","sources":["../../../src/repository/schemas/tokens.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAsD;AAQtD,MAAM,YAAY,GAAW,IAAI,kBAAQ,CAAC,MAAM,CAAC;IAC/C,MAAM,EAAE;QACN,IAAI,EAAE,iBAAM,CAAC,KAAK,CAAC,QAAQ;QAC3B,QAAQ,EAAE,IAAI;KACf;IACD,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,I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,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;IAC9C,UAAU,GAAG,kBAAQ,CAAC,KAAK,CAAW,OAAO,EAAE,YAAY,CAAC,CAAC;CAC9D;AAED,kBAAe,UAAU,CAAC"}
@@ -6,8 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.getFileSystemModel = exports.getDocumentModel = exports.setupLibrary = void 0;
7
7
  // library/mongooseSetup.ts
8
8
  const mongoose_1 = __importDefault(require("mongoose"));
9
- const document_schema_1 = require("./repository/schemas/document.schema");
10
- const fileSystem_schema_1 = require("./repository/schemas/fileSystem.schema");
11
9
  /**
12
10
  * Utility to ensure initialization has occurred
13
11
  */
@@ -29,16 +27,10 @@ let FileSystemModel;
29
27
  */
30
28
  const setupLibrary = (connection) => {
31
29
  if (modelsInitialized) {
32
- console.log("Library models already initialized.");
33
30
  return;
34
31
  }
35
- console.log("Initializing library models with provided connection...");
36
- // Dynamically resolve models and store them
37
- DocumentModel = getOrCreateModel("Document", document_schema_1.DocumentSchema);
38
- // WorkflowModel = getOrCreateModel("Workflow", workFlowSchema);
39
- FileSystemModel = getOrCreateModel("FileSystem", fileSystem_schema_1.fileSystemSchema);
40
32
  modelsInitialized = true;
41
- console.log("Library models initialized.");
33
+ console.log("Workflow Library initialized.");
42
34
  };
43
35
  exports.setupLibrary = setupLibrary;
44
36
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"setupModal.js","sourceRoot":"","sources":["../src/setupModal.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA2B;AAC3B,wDAAgC;AAChC,0EAAsE;AACtE,8EAA0E;AAE1E;;GAEG;AACH,IAAI,iBAAiB,GAAG,KAAK,CAAC;AAE9B;;GAEG;AACH,MAAM,gBAAgB,GAAG,CAAC,SAAiB,EAAE,MAAuB,EAAE,EAAE;IACtE,OAAO,kBAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAQ,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,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G;AACH,MAAM,gBAAgB,GAAG,CAAC,SAAiB,EAAE,MAAuB,EAAE,EAAE;IACtE,OAAO,kBAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,kBAAQ,CAAC,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;AACzE,CAAC,CAAC;AAEF;;GAEG;AACH,IAAI,aAAkC,CAAC;AACvC,IAAI,aAAkC,CAAC;AACvC,IAAI,eAAoC,CAAC;AAEzC;;GAEG;AACI,MAAM,YAAY,GAAG,CAAC,UAA2B,EAAE,EAAE;IAC1D,IAAI,iBAAiB,EAAE;QACrB,OAAO;KACR;IAED,iBAAiB,GAAG,IAAI,CAAC;IAEzB,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;AAC/C,CAAC,CAAC;AARW,QAAA,YAAY,gBAQvB;AAEF;;GAEG;AACH,MAAM,mBAAmB,GAAG,GAAG,EAAE;IAC/B,4BAA4B;IAC5B,iHAAiH;IACjH,IAAI;AACN,CAAC,CAAC;AAEK,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACnC,mBAAmB,EAAE,CAAC;IACtB,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC;AAHW,QAAA,gBAAgB,oBAG3B;AAEF,0CAA0C;AAC1C,2BAA2B;AAC3B,0BAA0B;AAC1B,KAAK;AAEE,MAAM,kBAAkB,GAAG,GAAG,EAAE;IACrC,mBAAmB,EAAE,CAAC;IACtB,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC;AAHW,QAAA,kBAAkB,sBAG7B"}
@@ -1,3 +1,3 @@
1
1
  import mongoose from 'mongoose';
2
- declare const _default: mongoose.Model<any, {}, {}, {}, any, any>;
3
- export default _default;
2
+ declare let WorkFlowModel: mongoose.Model<any> | null;
3
+ export default WorkFlowModel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "my-typescript-library-rahul52us",
3
- "version": "1.3.1",
3
+ "version": "1.3.4",
4
4
  "description": "A reusable TypeScript utility library.",
5
5
  "main": "dist/server.js",
6
6
  "types": "dist/types/server.d.ts",
@@ -24,5 +24,16 @@ const workFlowSettingsSchema = new mongoose.Schema({
24
24
  }
25
25
  })
26
26
 
27
- export default mongoose.models.settings || mongoose.model('settings', workFlowSettingsSchema);
27
+ let WorkFlowModel: mongoose.Model<any> | null = null;
28
+
29
+ if (mongoose.models.settings) {
30
+ console.log("WorkFlow Setting model already exists.");
31
+ WorkFlowModel = mongoose.models.WorkFlow;
32
+ } else {
33
+ console.log("Creating WorkFlow Settings model fallback.");
34
+ WorkFlowModel = mongoose.model('settings', workFlowSettingsSchema);
35
+ }
36
+
37
+ export default WorkFlowModel;
38
+
28
39
 
@@ -78,7 +78,7 @@ const AccountDetailsSchema: Schema = new mongoose.Schema({
78
78
 
79
79
  let AccountModal: mongoose.Model<any> | null = null;
80
80
 
81
- if (mongoose.models.AccountDetail) {
81
+ if (mongoose.models.AccountDetails) {
82
82
  console.log("Account model already exists.");
83
83
  AccountModal = mongoose.models.AccountDetails;
84
84
  } else {
@@ -24,8 +24,6 @@ const TokensSchema: Schema = new mongoose.Schema({
24
24
  // Safe way to dynamically fetch or initialize the model
25
25
  let TokenModel : any = null;
26
26
 
27
- console.log(mongoose.models)
28
-
29
27
  if (mongoose.models.Token) {
30
28
  console.log("Token model already exists.");
31
29
  TokenModel = mongoose.models.Token;
package/src/setupModal.ts CHANGED
@@ -27,20 +27,12 @@ let FileSystemModel: mongoose.Model<any>;
27
27
  */
28
28
  export const setupLibrary = (connection: typeof mongoose) => {
29
29
  if (modelsInitialized) {
30
- console.log("Library models already initialized.");
31
30
  return;
32
31
  }
33
32
 
34
- console.log("Initializing library models with provided connection...");
35
-
36
- // Dynamically resolve models and store them
37
- DocumentModel = getOrCreateModel("Document", DocumentSchema);
38
- // WorkflowModel = getOrCreateModel("Workflow", workFlowSchema);
39
- FileSystemModel = getOrCreateModel("FileSystem", fileSystemSchema);
40
-
41
33
  modelsInitialized = true;
42
34
 
43
- console.log("Library models initialized.");
35
+ console.log("Workflow Library initialized.");
44
36
  };
45
37
 
46
38
  /**