@nanolink/mirrors 1.1.35 → 1.1.37
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/LICENSE +21 -21
- package/README.md +269 -269
- package/dist/definitions/messagesubscriptions/index.d.ts +1 -0
- package/dist/definitions/messagesubscriptions/index.js +18 -0
- package/dist/definitions/messagesubscriptions/index.js.map +1 -0
- package/dist/definitions/messagesubscriptions/messages.d.ts +1 -0
- package/dist/definitions/{subscriptions → messagesubscriptions}/messages.js +26 -26
- package/dist/definitions/messagesubscriptions/messages.js.map +1 -0
- package/dist/definitions/mirrors.d.ts +3 -1
- package/dist/definitions/mirrors.js +5 -2
- package/dist/definitions/mirrors.js.map +1 -1
- package/dist/definitions/opsubscriptions/contained.js +12 -12
- package/dist/definitions/opsubscriptions/stateLinks.js +16 -16
- package/dist/definitions/opsubscriptions/trips.js +25 -25
- package/dist/definitions/requiredMirrors/roles.js +17 -17
- package/dist/definitions/requiredMirrors/settings.js +27 -27
- package/dist/definitions/requiredMirrors/systemSettings.js +25 -25
- package/dist/definitions/subscriptions/activecounter.js +13 -13
- package/dist/definitions/subscriptions/activecycles.js +20 -20
- package/dist/definitions/subscriptions/activesteps.js +24 -24
- package/dist/definitions/subscriptions/alarm.js +14 -14
- package/dist/definitions/subscriptions/batterypercent.js +13 -13
- package/dist/definitions/subscriptions/calculatedodometer.js +13 -13
- package/dist/definitions/subscriptions/connected.js +12 -12
- package/dist/definitions/subscriptions/cycles.js +75 -75
- package/dist/definitions/subscriptions/gps.js +31 -31
- package/dist/definitions/subscriptions/groups.js +18 -18
- package/dist/definitions/subscriptions/humiditydecimal.js +13 -13
- package/dist/definitions/subscriptions/index.d.ts +0 -1
- package/dist/definitions/subscriptions/index.js +0 -1
- package/dist/definitions/subscriptions/index.js.map +1 -1
- package/dist/definitions/subscriptions/internalvoltage.js +14 -14
- package/dist/definitions/subscriptions/jobs.js +62 -62
- package/dist/definitions/subscriptions/linkconnected.js +12 -12
- package/dist/definitions/subscriptions/lostTransmitters.js +35 -35
- package/dist/definitions/subscriptions/meshDiagnostics.js +29 -29
- package/dist/definitions/subscriptions/meshdisconnectslasthour.js +13 -13
- package/dist/definitions/subscriptions/meshscanner.js +13 -13
- package/dist/definitions/subscriptions/referenceGeoLinks.js +18 -18
- package/dist/definitions/subscriptions/referenceLinks.js +18 -18
- package/dist/definitions/subscriptions/references.js +250 -250
- package/dist/definitions/subscriptions/reports.js +14 -14
- package/dist/definitions/subscriptions/servicePlans.js +42 -42
- package/dist/definitions/subscriptions/taskTemplates.js +32 -32
- package/dist/definitions/subscriptions/tasks.js +16 -16
- package/dist/definitions/subscriptions/temperature.js +13 -13
- package/dist/definitions/subscriptions/temperaturedecimal.js +13 -13
- package/dist/definitions/subscriptions/trackerLinks.js +17 -17
- package/dist/definitions/subscriptions/trackers.js +20 -20
- package/dist/definitions/subscriptions/tripignition.js +14 -14
- package/dist/definitions/subscriptions/trips.js +36 -36
- package/dist/definitions/subscriptions/trips2.js +27 -27
- package/dist/definitions/subscriptions/unplug.js +14 -14
- package/dist/definitions/subscriptions/voltage.js +14 -14
- package/dist/definitions/subscriptions/workignition.js +14 -14
- package/dist/definitions/subscriptions/workseconds.js +13 -13
- package/dist-compat/index.js +29 -30
- package/dist-compat/index.js.map +1 -1
- package/package.json +91 -91
- package/dist/definitions/subscriptions/messages.d.ts +0 -1
- package/dist/definitions/subscriptions/messages.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,91 +1,91 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@nanolink/mirrors",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "GraphQL subscription client + mirror synchronization utilities.",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"author": "Nanolink ApS, Mogens Bak Nielsen",
|
|
7
|
-
"type": "commonjs",
|
|
8
|
-
"main": "dist/index.js",
|
|
9
|
-
"module": "dist-compat/index.js",
|
|
10
|
-
"types": "dist/index.d.ts",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"clean": "rimraf dist",
|
|
13
|
-
"build": "npm run clean && tsc -p .",
|
|
14
|
-
"build:compat": "cross-env BUILD_TARGET=browser tsup",
|
|
15
|
-
"build:all": "npm run build && npm run build:compat",
|
|
16
|
-
"dev": "tsx watch src/index.ts",
|
|
17
|
-
"start": "node dist/index.js",
|
|
18
|
-
"typecheck": "tsc -p . --noEmit",
|
|
19
|
-
"prepublishOnly": "npm run build:all",
|
|
20
|
-
"publish:dry": "npm publish --dry-run",
|
|
21
|
-
"release": "npm run build:all && npm publish --access public"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@types/node": "^24.4.0",
|
|
25
|
-
"cross-env": "^7.0.3",
|
|
26
|
-
"rimraf": "^5.0.5",
|
|
27
|
-
"tsup": "^8.1.0",
|
|
28
|
-
"tsx": "^4.20.5",
|
|
29
|
-
"typescript": "^5.9.2"
|
|
30
|
-
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"@types/ws": "^8.18.1",
|
|
33
|
-
"axios": "^1.12.2",
|
|
34
|
-
"eventemitter3": "^5.0.1",
|
|
35
|
-
"global-agent": "^3.0.0",
|
|
36
|
-
"graphql-ws": "^6.0.7",
|
|
37
|
-
"ws": "^8.19.0"
|
|
38
|
-
},
|
|
39
|
-
"files": [
|
|
40
|
-
"dist",
|
|
41
|
-
"dist-compat",
|
|
42
|
-
"README.md",
|
|
43
|
-
"LICENSE"
|
|
44
|
-
],
|
|
45
|
-
"browser": "./dist-compat/index.js",
|
|
46
|
-
"exports": {
|
|
47
|
-
".": {
|
|
48
|
-
"browser": "./dist-compat/index.js",
|
|
49
|
-
"require": "./dist/index.js",
|
|
50
|
-
"import": "./dist/index.js",
|
|
51
|
-
"types": "./dist/index.d.ts"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"repository": {
|
|
55
|
-
"type": "git",
|
|
56
|
-
"url": ""
|
|
57
|
-
},
|
|
58
|
-
"keywords": [
|
|
59
|
-
"graphql",
|
|
60
|
-
"subscriptions",
|
|
61
|
-
"cache",
|
|
62
|
-
"mirror",
|
|
63
|
-
"client"
|
|
64
|
-
],
|
|
65
|
-
"tsup": {
|
|
66
|
-
"entry": [
|
|
67
|
-
"src/index.ts"
|
|
68
|
-
],
|
|
69
|
-
"platform": "browser",
|
|
70
|
-
"format": [
|
|
71
|
-
"cjs"
|
|
72
|
-
],
|
|
73
|
-
"target": "es2017",
|
|
74
|
-
"sourcemap": true,
|
|
75
|
-
"splitting": false,
|
|
76
|
-
"dts": false,
|
|
77
|
-
"minify": false,
|
|
78
|
-
"shims": false,
|
|
79
|
-
"clean": false,
|
|
80
|
-
"noExternal": [
|
|
81
|
-
"graphql-ws"
|
|
82
|
-
],
|
|
83
|
-
"external": [
|
|
84
|
-
"ws"
|
|
85
|
-
],
|
|
86
|
-
"outDir": "dist-compat",
|
|
87
|
-
"define": {
|
|
88
|
-
"process.env.BUILD_TARGET": "\"browser\""
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@nanolink/mirrors",
|
|
3
|
+
"version": "1.1.37",
|
|
4
|
+
"description": "GraphQL subscription client + mirror synchronization utilities.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Nanolink ApS, Mogens Bak Nielsen",
|
|
7
|
+
"type": "commonjs",
|
|
8
|
+
"main": "dist/index.js",
|
|
9
|
+
"module": "dist-compat/index.js",
|
|
10
|
+
"types": "dist/index.d.ts",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"clean": "rimraf dist",
|
|
13
|
+
"build": "npm run clean && tsc -p .",
|
|
14
|
+
"build:compat": "cross-env BUILD_TARGET=browser tsup",
|
|
15
|
+
"build:all": "npm run build && npm run build:compat",
|
|
16
|
+
"dev": "tsx watch src/index.ts",
|
|
17
|
+
"start": "node dist/index.js",
|
|
18
|
+
"typecheck": "tsc -p . --noEmit",
|
|
19
|
+
"prepublishOnly": "npm run build:all",
|
|
20
|
+
"publish:dry": "npm publish --dry-run",
|
|
21
|
+
"release": "npm run build:all && npm publish --access public"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "^24.4.0",
|
|
25
|
+
"cross-env": "^7.0.3",
|
|
26
|
+
"rimraf": "^5.0.5",
|
|
27
|
+
"tsup": "^8.1.0",
|
|
28
|
+
"tsx": "^4.20.5",
|
|
29
|
+
"typescript": "^5.9.2"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@types/ws": "^8.18.1",
|
|
33
|
+
"axios": "^1.12.2",
|
|
34
|
+
"eventemitter3": "^5.0.1",
|
|
35
|
+
"global-agent": "^3.0.0",
|
|
36
|
+
"graphql-ws": "^6.0.7",
|
|
37
|
+
"ws": "^8.19.0"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist",
|
|
41
|
+
"dist-compat",
|
|
42
|
+
"README.md",
|
|
43
|
+
"LICENSE"
|
|
44
|
+
],
|
|
45
|
+
"browser": "./dist-compat/index.js",
|
|
46
|
+
"exports": {
|
|
47
|
+
".": {
|
|
48
|
+
"browser": "./dist-compat/index.js",
|
|
49
|
+
"require": "./dist/index.js",
|
|
50
|
+
"import": "./dist/index.js",
|
|
51
|
+
"types": "./dist/index.d.ts"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": ""
|
|
57
|
+
},
|
|
58
|
+
"keywords": [
|
|
59
|
+
"graphql",
|
|
60
|
+
"subscriptions",
|
|
61
|
+
"cache",
|
|
62
|
+
"mirror",
|
|
63
|
+
"client"
|
|
64
|
+
],
|
|
65
|
+
"tsup": {
|
|
66
|
+
"entry": [
|
|
67
|
+
"src/index.ts"
|
|
68
|
+
],
|
|
69
|
+
"platform": "browser",
|
|
70
|
+
"format": [
|
|
71
|
+
"cjs"
|
|
72
|
+
],
|
|
73
|
+
"target": "es2017",
|
|
74
|
+
"sourcemap": true,
|
|
75
|
+
"splitting": false,
|
|
76
|
+
"dts": false,
|
|
77
|
+
"minify": false,
|
|
78
|
+
"shims": false,
|
|
79
|
+
"clean": false,
|
|
80
|
+
"noExternal": [
|
|
81
|
+
"graphql-ws"
|
|
82
|
+
],
|
|
83
|
+
"external": [
|
|
84
|
+
"ws"
|
|
85
|
+
],
|
|
86
|
+
"outDir": "dist-compat",
|
|
87
|
+
"define": {
|
|
88
|
+
"process.env.BUILD_TARGET": "\"browser\""
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const messages = "\n subscription Messages($version:Int!) {\n message_getweb(version: $version) {\n type total deleteId deleteVersion\n data {\n id\n multiId\n version\n createdAt\n from { id fullName mobilePhoneNumber mobileCountryCode email language }\n to { id fullName mobilePhoneNumber mobileCountryCode email language }\n title\n content\n shortContent\n attachmentUrl\n type\n status\n transportTypes\n emailStatus { success errorMessage }\n smsStatus { success errorMessage }\n additionalInfo\n emailTemplate\n deleted\n }\n }\n }\n ";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"","sources":["../../../src/definitions/subscriptions/messages.ts"],"names":[],"mappings":";;;AAAA,4CAA4C;AAE/B,QAAA,QAAQ,GAAG;;;UAGd,yBAAa;;;;;;;;;;;;;;;;;;;;;;;GAuBpB,CAAA"}
|