@sedni/cloud_common 2.1.0 → 3.0.0
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/browser-index.cjs +885 -0
- package/dist/browser-index.d.cts +377 -0
- package/dist/browser-index.d.ts +377 -0
- package/dist/browser-index.js +245 -0
- package/dist/chunk-FO3TASV6.js +805 -0
- package/dist/index.cjs +1665 -57
- package/dist/index.d.cts +923 -181
- package/dist/index.d.ts +923 -181
- package/dist/index.js +1080 -43
- package/dist/unit.types-BhezeBWA.d.cts +737 -0
- package/dist/unit.types-BhezeBWA.d.ts +737 -0
- package/package.json +8 -6
- package/dist/chunk-AOC7BD5E.js +0 -153
- package/dist/chunk-NCUZ3O3P.js +0 -152
- package/dist/node-entry.cjs +0 -1191
- package/dist/node-entry.d.cts +0 -53
- package/dist/node-entry.d.ts +0 -53
- package/dist/node-entry.js +0 -1078
package/dist/node-entry.d.cts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SCHEMAS
|
|
3
|
-
*/
|
|
4
|
-
const Channel = require("./models/Channel.cjs");
|
|
5
|
-
const ChannelDataBucket = require("./models/ChannelDataBucket.cjs");
|
|
6
|
-
const Event = require("./models/Event.cjs");
|
|
7
|
-
const History = require("./models/History.cjs");
|
|
8
|
-
const Unit = require("./models/Unit.cjs");
|
|
9
|
-
|
|
10
|
-
const Schemas = {
|
|
11
|
-
Channel,
|
|
12
|
-
ChannelDataBucket,
|
|
13
|
-
Event,
|
|
14
|
-
History,
|
|
15
|
-
Unit,
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* DOCS
|
|
20
|
-
*/
|
|
21
|
-
const Docs = require("./models/docs/index.cjs");
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* TYPES
|
|
25
|
-
*/
|
|
26
|
-
const { AlarmTypes, AlarmPriorities, CloudAlarmStates, DiamarAlarmStates } = require("./types/alarm.types");
|
|
27
|
-
const { EventCategories } = require("./types/event.types");
|
|
28
|
-
|
|
29
|
-
const Types = {
|
|
30
|
-
AlarmTypes,
|
|
31
|
-
AlarmPriorities,
|
|
32
|
-
CloudAlarmStates,
|
|
33
|
-
DiamarAlarmStates,
|
|
34
|
-
EventCategories,
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* EXTERNAL
|
|
39
|
-
*/
|
|
40
|
-
const mongoose = require("mongoose");
|
|
41
|
-
const mongooseAutopopulate = require("mongoose-autopopulate");
|
|
42
|
-
const mongoosePaginate = require("mongoose-paginate-v2");
|
|
43
|
-
const mongooseAggregatePaginate = require("mongoose-aggregate-paginate-v2");
|
|
44
|
-
|
|
45
|
-
module.exports = {
|
|
46
|
-
Schemas,
|
|
47
|
-
Docs,
|
|
48
|
-
Types,
|
|
49
|
-
mongoose,
|
|
50
|
-
mongoosePaginate,
|
|
51
|
-
mongooseAggregatePaginate,
|
|
52
|
-
mongooseAutopopulate,
|
|
53
|
-
};
|
package/dist/node-entry.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SCHEMAS
|
|
3
|
-
*/
|
|
4
|
-
const Channel = require("./models/Channel.cjs");
|
|
5
|
-
const ChannelDataBucket = require("./models/ChannelDataBucket.cjs");
|
|
6
|
-
const Event = require("./models/Event.cjs");
|
|
7
|
-
const History = require("./models/History.cjs");
|
|
8
|
-
const Unit = require("./models/Unit.cjs");
|
|
9
|
-
|
|
10
|
-
const Schemas = {
|
|
11
|
-
Channel,
|
|
12
|
-
ChannelDataBucket,
|
|
13
|
-
Event,
|
|
14
|
-
History,
|
|
15
|
-
Unit,
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* DOCS
|
|
20
|
-
*/
|
|
21
|
-
const Docs = require("./models/docs/index.cjs");
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* TYPES
|
|
25
|
-
*/
|
|
26
|
-
const { AlarmTypes, AlarmPriorities, CloudAlarmStates, DiamarAlarmStates } = require("./types/alarm.types");
|
|
27
|
-
const { EventCategories } = require("./types/event.types");
|
|
28
|
-
|
|
29
|
-
const Types = {
|
|
30
|
-
AlarmTypes,
|
|
31
|
-
AlarmPriorities,
|
|
32
|
-
CloudAlarmStates,
|
|
33
|
-
DiamarAlarmStates,
|
|
34
|
-
EventCategories,
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* EXTERNAL
|
|
39
|
-
*/
|
|
40
|
-
const mongoose = require("mongoose");
|
|
41
|
-
const mongooseAutopopulate = require("mongoose-autopopulate");
|
|
42
|
-
const mongoosePaginate = require("mongoose-paginate-v2");
|
|
43
|
-
const mongooseAggregatePaginate = require("mongoose-aggregate-paginate-v2");
|
|
44
|
-
|
|
45
|
-
module.exports = {
|
|
46
|
-
Schemas,
|
|
47
|
-
Docs,
|
|
48
|
-
Types,
|
|
49
|
-
mongoose,
|
|
50
|
-
mongoosePaginate,
|
|
51
|
-
mongooseAggregatePaginate,
|
|
52
|
-
mongooseAutopopulate,
|
|
53
|
-
};
|