@nsshunt/stsdatamanagement 1.18.147 → 1.18.156
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/db-scripts/builddb.sql +32 -8
- package/package.json +19 -19
package/db-scripts/builddb.sql
CHANGED
|
@@ -52,7 +52,10 @@ CREATE TABLE stsresfhirlink (
|
|
|
52
52
|
TARGET_RESOURCE_TYPE TEXT,
|
|
53
53
|
TARGET_RESOURCE_ID TEXT, -- Either ID or URL - not both
|
|
54
54
|
TARGET_RESOURCE_URL TEXT, -- Either ID or URL - not both
|
|
55
|
-
UPDATED BIGINT NOT NULL
|
|
55
|
+
UPDATED BIGINT NOT NULL,
|
|
56
|
+
PATH_FOR_COMP TEXT,
|
|
57
|
+
COMPOSITE TEXT,
|
|
58
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
56
59
|
);
|
|
57
60
|
|
|
58
61
|
CREATE INDEX idx_stsresfhirlink_identity
|
|
@@ -82,7 +85,10 @@ CREATE TABLE stsresfhirstring (
|
|
|
82
85
|
HASH_EXACT BIGINT,
|
|
83
86
|
SP_VALUE_NORMALIZED TEXT,
|
|
84
87
|
SP_VALUE_EXACT TEXT,
|
|
85
|
-
UPDATED BIGINT NOT NULL
|
|
88
|
+
UPDATED BIGINT NOT NULL,
|
|
89
|
+
PATH_FOR_COMP TEXT,
|
|
90
|
+
COMPOSITE TEXT,
|
|
91
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
86
92
|
);
|
|
87
93
|
|
|
88
94
|
CREATE INDEX idx_stsresfhirstring_hash_identity
|
|
@@ -119,7 +125,10 @@ CREATE TABLE stsresfhirtoken (
|
|
|
119
125
|
SP_STR TEXT,
|
|
120
126
|
HASH_VALUE BIGINT,
|
|
121
127
|
HASH_SYS BIGINT,
|
|
122
|
-
HASH_SYS_AND_VALUE BIGINT
|
|
128
|
+
HASH_SYS_AND_VALUE BIGINT,
|
|
129
|
+
PATH_FOR_COMP TEXT,
|
|
130
|
+
COMPOSITE TEXT,
|
|
131
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
123
132
|
);
|
|
124
133
|
|
|
125
134
|
CREATE INDEX idx_stsresfhirtoken_hash_identity
|
|
@@ -159,7 +168,10 @@ CREATE TABLE stsresfhirquantity (
|
|
|
159
168
|
SP_UNITS TEXT,
|
|
160
169
|
SP_STR TEXT,
|
|
161
170
|
HASH_IDENTITY_AND_UNITS BIGINT,
|
|
162
|
-
HASH_IDENTITY_SYS_UNITS BIGINT
|
|
171
|
+
HASH_IDENTITY_SYS_UNITS BIGINT,
|
|
172
|
+
PATH_FOR_COMP TEXT,
|
|
173
|
+
COMPOSITE TEXT,
|
|
174
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
163
175
|
);
|
|
164
176
|
|
|
165
177
|
CREATE INDEX idx_stsresfhirquantity_hash_identity
|
|
@@ -195,7 +207,10 @@ CREATE TABLE stsresfhirnumber (
|
|
|
195
207
|
SP_MISSING BOOLEAN NOT NULL,
|
|
196
208
|
HASH_IDENTITY BIGINT NOT NULL,
|
|
197
209
|
SP_VALUE DECIMAL,
|
|
198
|
-
SP_STR TEXT
|
|
210
|
+
SP_STR TEXT,
|
|
211
|
+
PATH_FOR_COMP TEXT,
|
|
212
|
+
COMPOSITE TEXT,
|
|
213
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
199
214
|
);
|
|
200
215
|
|
|
201
216
|
CREATE INDEX idx_stsresfhirnumber_hash_identity
|
|
@@ -220,7 +235,10 @@ CREATE TABLE stsresfhiruri (
|
|
|
220
235
|
HASH_IDENTITY BIGINT NOT NULL,
|
|
221
236
|
SP_URI TEXT,
|
|
222
237
|
HASH_URI BIGINT,
|
|
223
|
-
SP_STR TEXT
|
|
238
|
+
SP_STR TEXT,
|
|
239
|
+
PATH_FOR_COMP TEXT,
|
|
240
|
+
COMPOSITE TEXT,
|
|
241
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
224
242
|
);
|
|
225
243
|
|
|
226
244
|
CREATE INDEX idx_stsresfhiruri_hash_identity
|
|
@@ -251,7 +269,10 @@ CREATE TABLE stsresfhirdate (
|
|
|
251
269
|
SP_VALUE_HIGH timestamp with time zone,
|
|
252
270
|
SP_VALUE_LOW_DATE_ORDINAL INTEGER,
|
|
253
271
|
SP_VALUE_HIGH_DATE_ORDINAL INTEGER,
|
|
254
|
-
SP_STR TEXT
|
|
272
|
+
SP_STR TEXT,
|
|
273
|
+
PATH_FOR_COMP TEXT,
|
|
274
|
+
COMPOSITE TEXT,
|
|
275
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
255
276
|
);
|
|
256
277
|
|
|
257
278
|
CREATE INDEX idx_stsresfhirdate_hash_identity
|
|
@@ -280,7 +301,10 @@ CREATE TABLE stsresfhircoords (
|
|
|
280
301
|
HASH_IDENTITY BIGINT NOT NULL,
|
|
281
302
|
SP_LATITUDE double precision,
|
|
282
303
|
SP_LONGITUDE double precision,
|
|
283
|
-
SP_STR TEXT
|
|
304
|
+
SP_STR TEXT,
|
|
305
|
+
PATH_FOR_COMP TEXT,
|
|
306
|
+
COMPOSITE TEXT,
|
|
307
|
+
COMPOSITE_HASH_EXACT BIGINT
|
|
284
308
|
);
|
|
285
309
|
|
|
286
310
|
CREATE INDEX idx_stsresfhircoords_hash_identity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nsshunt/stsdatamanagement",
|
|
3
|
-
"version": "1.18.
|
|
3
|
+
"version": "1.18.156",
|
|
4
4
|
"description": "STS Data Management Modules, Utilities and Services",
|
|
5
5
|
"main": "./dist/dbaccess.js",
|
|
6
6
|
"types": "./types/dbaccess.d.ts",
|
|
@@ -12,39 +12,39 @@
|
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@aws-sdk/client-dynamodb": "^3.
|
|
16
|
-
"@aws-sdk/lib-dynamodb": "^3.
|
|
17
|
-
"@nsshunt/stsconfig": "^1.27.
|
|
18
|
-
"@nsshunt/stsutils": "^1.19.
|
|
19
|
-
"axios": "^1.
|
|
15
|
+
"@aws-sdk/client-dynamodb": "^3.966.0",
|
|
16
|
+
"@aws-sdk/lib-dynamodb": "^3.966.0",
|
|
17
|
+
"@nsshunt/stsconfig": "^1.27.37",
|
|
18
|
+
"@nsshunt/stsutils": "^1.19.67",
|
|
19
|
+
"axios": "^1.13.2",
|
|
20
20
|
"chalk": "^4.1.2",
|
|
21
21
|
"cli-progress": "^3.12.0",
|
|
22
22
|
"http-status-codes": "^2.3.0",
|
|
23
|
-
"ioredis": "^5.
|
|
23
|
+
"ioredis": "^5.9.1",
|
|
24
24
|
"pg": "^8.16.3",
|
|
25
25
|
"pg-copy-streams": "^7.0.0",
|
|
26
26
|
"prompts": "^2.4.2",
|
|
27
|
-
"systeminformation": "^5.
|
|
27
|
+
"systeminformation": "^5.30.2",
|
|
28
28
|
"tiny-emitter": "^2.1.0",
|
|
29
29
|
"uuid": "^13.0.0",
|
|
30
|
-
"winston": "^3.
|
|
30
|
+
"winston": "^3.19.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/cli-progress": "^3.11.6",
|
|
34
|
-
"@types/node": "^
|
|
35
|
-
"@types/pg": "^8.
|
|
34
|
+
"@types/node": "^25.0.6",
|
|
35
|
+
"@types/pg": "^8.16.0",
|
|
36
36
|
"@types/pg-copy-streams": "^1.2.5",
|
|
37
37
|
"@types/prompts": "^2.4.9",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
39
|
-
"@typescript-eslint/parser": "^8.
|
|
40
|
-
"eslint": "^9.
|
|
41
|
-
"globals": "^
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "^8.52.0",
|
|
39
|
+
"@typescript-eslint/parser": "^8.52.0",
|
|
40
|
+
"eslint": "^9.39.2",
|
|
41
|
+
"globals": "^17.0.0",
|
|
42
42
|
"rollup-plugin-polyfill-node": "^0.13.0",
|
|
43
|
-
"rollup-plugin-visualizer": "^6.0.
|
|
44
|
-
"testcontainers": "^11.
|
|
43
|
+
"rollup-plugin-visualizer": "^6.0.5",
|
|
44
|
+
"testcontainers": "^11.11.0",
|
|
45
45
|
"typescript": "^5.9.3",
|
|
46
|
-
"vite": "^7.1
|
|
47
|
-
"vitest": "^
|
|
46
|
+
"vite": "^7.3.1",
|
|
47
|
+
"vitest": "^4.0.16"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"lint": "eslint .",
|