@cristian-israel/giganet_lib_conecta 1.0.34 → 1.0.35

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/index.d.mts CHANGED
@@ -36315,7 +36315,7 @@ declare const schemas$2: {
36315
36315
  };
36316
36316
 
36317
36317
  type OPASuiteMongoDocuments = {
36318
- [K in keyof typeof schemas$2]: InferSchemaType<(typeof schemas$2)[K]>;
36318
+ [K in keyof typeof schemas$2]: HydratedDocument<InferSchemaType<(typeof schemas$2)[K]>>;
36319
36319
  };
36320
36320
  type OPASuiteMongoCollectionsModels = {
36321
36321
  [K in keyof typeof schemas$2]: Model$1<InferSchemaType<(typeof schemas$2)[K]>>;
@@ -36457,7 +36457,7 @@ declare const schemas$1: {
36457
36457
  };
36458
36458
 
36459
36459
  type ToolsMongoDocuments = {
36460
- [K in keyof typeof schemas$1]: InferSchemaType<(typeof schemas$1)[K]>;
36460
+ [K in keyof typeof schemas$1]: HydratedDocument<InferSchemaType<(typeof schemas$1)[K]>>;
36461
36461
  };
36462
36462
  type ToolsMongoCollectionsModels = {
36463
36463
  [K in keyof typeof schemas$1]: Model$1<InferSchemaType<(typeof schemas$1)[K]>>;
@@ -36487,24 +36487,24 @@ declare const schemas: {
36487
36487
  }, {
36488
36488
  status: "running" | "stopped" | "waiting";
36489
36489
  name: string;
36490
+ description: string;
36490
36491
  is_active: boolean;
36492
+ cron_expression: string;
36491
36493
  execution_count: number;
36492
- description?: string | null | undefined;
36493
36494
  status_last_execution?: "success" | "error" | null | undefined;
36494
36495
  last_execution_at?: NativeDate | null | undefined;
36495
36496
  next_execution_at?: NativeDate | null | undefined;
36496
- cron_expression?: string | null | undefined;
36497
36497
  last_execution_time_ms?: number | null | undefined;
36498
36498
  } & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
36499
36499
  status: "running" | "stopped" | "waiting";
36500
36500
  name: string;
36501
+ description: string;
36501
36502
  is_active: boolean;
36503
+ cron_expression: string;
36502
36504
  execution_count: number;
36503
- description?: string | null | undefined;
36504
36505
  status_last_execution?: "success" | "error" | null | undefined;
36505
36506
  last_execution_at?: NativeDate | null | undefined;
36506
36507
  next_execution_at?: NativeDate | null | undefined;
36507
- cron_expression?: string | null | undefined;
36508
36508
  last_execution_time_ms?: number | null | undefined;
36509
36509
  } & mongoose.DefaultTimestampProps, {
36510
36510
  id: string;
@@ -36513,13 +36513,13 @@ declare const schemas: {
36513
36513
  }> & Omit<{
36514
36514
  status: "running" | "stopped" | "waiting";
36515
36515
  name: string;
36516
+ description: string;
36516
36517
  is_active: boolean;
36518
+ cron_expression: string;
36517
36519
  execution_count: number;
36518
- description?: string | null | undefined;
36519
36520
  status_last_execution?: "success" | "error" | null | undefined;
36520
36521
  last_execution_at?: NativeDate | null | undefined;
36521
36522
  next_execution_at?: NativeDate | null | undefined;
36522
- cron_expression?: string | null | undefined;
36523
36523
  last_execution_time_ms?: number | null | undefined;
36524
36524
  } & mongoose.DefaultTimestampProps & {
36525
36525
  _id: mongoose.Types.ObjectId;
@@ -36530,13 +36530,13 @@ declare const schemas: {
36530
36530
  }, unknown, {
36531
36531
  status: "running" | "stopped" | "waiting";
36532
36532
  name: string;
36533
+ description: string;
36533
36534
  is_active: boolean;
36535
+ cron_expression: string;
36534
36536
  execution_count: number;
36535
- description?: string | null | undefined;
36536
36537
  status_last_execution?: "success" | "error" | null | undefined;
36537
36538
  last_execution_at?: NativeDate | null | undefined;
36538
36539
  next_execution_at?: NativeDate | null | undefined;
36539
- cron_expression?: string | null | undefined;
36540
36540
  last_execution_time_ms?: number | null | undefined;
36541
36541
  createdAt: NativeDate;
36542
36542
  updatedAt: NativeDate;
package/dist/index.d.ts CHANGED
@@ -36315,7 +36315,7 @@ declare const schemas$2: {
36315
36315
  };
36316
36316
 
36317
36317
  type OPASuiteMongoDocuments = {
36318
- [K in keyof typeof schemas$2]: InferSchemaType<(typeof schemas$2)[K]>;
36318
+ [K in keyof typeof schemas$2]: HydratedDocument<InferSchemaType<(typeof schemas$2)[K]>>;
36319
36319
  };
36320
36320
  type OPASuiteMongoCollectionsModels = {
36321
36321
  [K in keyof typeof schemas$2]: Model$1<InferSchemaType<(typeof schemas$2)[K]>>;
@@ -36457,7 +36457,7 @@ declare const schemas$1: {
36457
36457
  };
36458
36458
 
36459
36459
  type ToolsMongoDocuments = {
36460
- [K in keyof typeof schemas$1]: InferSchemaType<(typeof schemas$1)[K]>;
36460
+ [K in keyof typeof schemas$1]: HydratedDocument<InferSchemaType<(typeof schemas$1)[K]>>;
36461
36461
  };
36462
36462
  type ToolsMongoCollectionsModels = {
36463
36463
  [K in keyof typeof schemas$1]: Model$1<InferSchemaType<(typeof schemas$1)[K]>>;
@@ -36487,24 +36487,24 @@ declare const schemas: {
36487
36487
  }, {
36488
36488
  status: "running" | "stopped" | "waiting";
36489
36489
  name: string;
36490
+ description: string;
36490
36491
  is_active: boolean;
36492
+ cron_expression: string;
36491
36493
  execution_count: number;
36492
- description?: string | null | undefined;
36493
36494
  status_last_execution?: "success" | "error" | null | undefined;
36494
36495
  last_execution_at?: NativeDate | null | undefined;
36495
36496
  next_execution_at?: NativeDate | null | undefined;
36496
- cron_expression?: string | null | undefined;
36497
36497
  last_execution_time_ms?: number | null | undefined;
36498
36498
  } & mongoose.DefaultTimestampProps, mongoose.Document<unknown, {}, {
36499
36499
  status: "running" | "stopped" | "waiting";
36500
36500
  name: string;
36501
+ description: string;
36501
36502
  is_active: boolean;
36503
+ cron_expression: string;
36502
36504
  execution_count: number;
36503
- description?: string | null | undefined;
36504
36505
  status_last_execution?: "success" | "error" | null | undefined;
36505
36506
  last_execution_at?: NativeDate | null | undefined;
36506
36507
  next_execution_at?: NativeDate | null | undefined;
36507
- cron_expression?: string | null | undefined;
36508
36508
  last_execution_time_ms?: number | null | undefined;
36509
36509
  } & mongoose.DefaultTimestampProps, {
36510
36510
  id: string;
@@ -36513,13 +36513,13 @@ declare const schemas: {
36513
36513
  }> & Omit<{
36514
36514
  status: "running" | "stopped" | "waiting";
36515
36515
  name: string;
36516
+ description: string;
36516
36517
  is_active: boolean;
36518
+ cron_expression: string;
36517
36519
  execution_count: number;
36518
- description?: string | null | undefined;
36519
36520
  status_last_execution?: "success" | "error" | null | undefined;
36520
36521
  last_execution_at?: NativeDate | null | undefined;
36521
36522
  next_execution_at?: NativeDate | null | undefined;
36522
- cron_expression?: string | null | undefined;
36523
36523
  last_execution_time_ms?: number | null | undefined;
36524
36524
  } & mongoose.DefaultTimestampProps & {
36525
36525
  _id: mongoose.Types.ObjectId;
@@ -36530,13 +36530,13 @@ declare const schemas: {
36530
36530
  }, unknown, {
36531
36531
  status: "running" | "stopped" | "waiting";
36532
36532
  name: string;
36533
+ description: string;
36533
36534
  is_active: boolean;
36535
+ cron_expression: string;
36534
36536
  execution_count: number;
36535
- description?: string | null | undefined;
36536
36537
  status_last_execution?: "success" | "error" | null | undefined;
36537
36538
  last_execution_at?: NativeDate | null | undefined;
36538
36539
  next_execution_at?: NativeDate | null | undefined;
36539
- cron_expression?: string | null | undefined;
36540
36540
  last_execution_time_ms?: number | null | undefined;
36541
36541
  createdAt: NativeDate;
36542
36542
  updatedAt: NativeDate;
package/dist/index.js CHANGED
@@ -90977,13 +90977,14 @@ var import_mongoose9 = require("mongoose");
90977
90977
  var TasksSchema = new import_mongoose9.Schema(
90978
90978
  {
90979
90979
  name: { type: String, required: true, unique: true },
90980
- description: { type: String },
90980
+ description: { type: String, required: true },
90981
90981
  is_active: { type: Boolean, default: true },
90982
90982
  status: {
90983
90983
  type: String,
90984
90984
  enum: ["running", "stopped", "waiting"],
90985
90985
  default: "waiting"
90986
90986
  },
90987
+ cron_expression: { type: String, required: true },
90987
90988
  status_last_execution: {
90988
90989
  type: String,
90989
90990
  enum: ["success", "error", null],
@@ -90991,7 +90992,6 @@ var TasksSchema = new import_mongoose9.Schema(
90991
90992
  },
90992
90993
  last_execution_at: { type: Date, default: null },
90993
90994
  next_execution_at: { type: Date, default: null },
90994
- cron_expression: { type: String, default: null },
90995
90995
  execution_count: { type: Number, default: 0 },
90996
90996
  last_execution_time_ms: { type: Number, default: null }
90997
90997
  },
package/dist/index.mjs CHANGED
@@ -90934,13 +90934,14 @@ import { Schema as Schema8 } from "mongoose";
90934
90934
  var TasksSchema = new Schema8(
90935
90935
  {
90936
90936
  name: { type: String, required: true, unique: true },
90937
- description: { type: String },
90937
+ description: { type: String, required: true },
90938
90938
  is_active: { type: Boolean, default: true },
90939
90939
  status: {
90940
90940
  type: String,
90941
90941
  enum: ["running", "stopped", "waiting"],
90942
90942
  default: "waiting"
90943
90943
  },
90944
+ cron_expression: { type: String, required: true },
90944
90945
  status_last_execution: {
90945
90946
  type: String,
90946
90947
  enum: ["success", "error", null],
@@ -90948,7 +90949,6 @@ var TasksSchema = new Schema8(
90948
90949
  },
90949
90950
  last_execution_at: { type: Date, default: null },
90950
90951
  next_execution_at: { type: Date, default: null },
90951
- cron_expression: { type: String, default: null },
90952
90952
  execution_count: { type: Number, default: 0 },
90953
90953
  last_execution_time_ms: { type: Number, default: null }
90954
90954
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cristian-israel/giganet_lib_conecta",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Database Connector Layer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",