@webda/gcp 3.6.1 → 3.6.3

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.
@@ -1,5 +1,3 @@
1
- /// <reference types="node" />
2
- /// <reference types="node" />
3
1
  import { Bucket } from "@google-cloud/storage";
4
2
  import { BinaryFile, BinaryMap, BinaryParameters, CloudBinary, CoreModel, DeepPartial, OperationContext, WebContext } from "@webda/core";
5
3
  import { Readable } from "stream";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webda/gcp",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Webda GCP Services implementation",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -9,8 +9,8 @@
9
9
  "pretest": "npm run build",
10
10
  "lint": "prettier --check src/**/*",
11
11
  "lint:fix": "prettier --write src/**/*",
12
- "test": "c8 mocha --recursive --exit --timeout=100000 src/**/*.spec.ts",
13
- "test:debug": "mocha --recursive --exit --timeout=100000 src/**/*.spec.ts"
12
+ "test": "c8 mocha",
13
+ "test:debug": "mocha src/**/*.spec.ts"
14
14
  },
15
15
  "repository": {
16
16
  "type": "git",
@@ -35,8 +35,8 @@
35
35
  "@google-cloud/firestore": "^7.0.0",
36
36
  "@google-cloud/kms": "^4.0.1",
37
37
  "@google-cloud/pubsub": "^4.0.1",
38
- "@google-cloud/storage": "~7.11.1",
39
- "@webda/core": "^3.15.1",
38
+ "@google-cloud/storage": "~7.12.0",
39
+ "@webda/core": "^3.16.3",
40
40
  "mime-types": "^2.1.35"
41
41
  },
42
42
  "c8": {
@@ -58,10 +58,10 @@
58
58
  "devDependencies": {
59
59
  "@testdeck/mocha": "^0.3.2",
60
60
  "@types/node": "18.11.13",
61
- "@webda/async": "^3.7.1",
62
- "@webda/shell": "^3.10.1",
61
+ "@webda/async": "^3.7.3",
62
+ "@webda/shell": "^3.11.1",
63
63
  "sinon": "^18.0.0",
64
- "uuid": "^9.0.0"
64
+ "uuid": "^10.0.0"
65
65
  },
66
66
  "type": "module",
67
67
  "engines": {
@@ -73,5 +73,5 @@
73
73
  "@webda/shell"
74
74
  ]
75
75
  },
76
- "gitHead": "1ebcfa79aae5a5200323a2e60efb6b1f79c34e17"
76
+ "gitHead": "3424571d0cbdcbdc05ba699c20c802fe3641f4aa"
77
77
  }
package/webda.module.json CHANGED
@@ -610,6 +610,13 @@
610
610
  "null"
611
611
  ],
612
612
  "description": "BigQueryConfig useTableSchema"
613
+ },
614
+ "serviceAccountEmail": {
615
+ "type": [
616
+ "string",
617
+ "null"
618
+ ],
619
+ "description": "BigQueryConfig serviceAccountEmail"
613
620
  }
614
621
  },
615
622
  "description": "Properties of a BigQueryConfig."
@@ -676,6 +683,13 @@
676
683
  "null"
677
684
  ],
678
685
  "description": "AvroConfig writeMetadata"
686
+ },
687
+ "useTopicSchema": {
688
+ "type": [
689
+ "boolean",
690
+ "null"
691
+ ],
692
+ "description": "AvroConfig useTopicSchema"
679
693
  }
680
694
  },
681
695
  "description": "Properties of an AvroConfig."
@@ -779,6 +793,42 @@
779
793
  ],
780
794
  "description": "CloudStorageConfig maxBytes"
781
795
  },
796
+ "maxMessages": {
797
+ "anyOf": [
798
+ {
799
+ "type": "number"
800
+ },
801
+ {
802
+ "type": "object",
803
+ "properties": {
804
+ "high": {
805
+ "type": "number",
806
+ "description": "The high 32 bits as a signed value."
807
+ },
808
+ "low": {
809
+ "type": "number",
810
+ "description": "The low 32 bits as a signed value."
811
+ },
812
+ "unsigned": {
813
+ "type": "boolean",
814
+ "description": "Whether unsigned or not."
815
+ }
816
+ },
817
+ "required": [
818
+ "high",
819
+ "low",
820
+ "unsigned"
821
+ ]
822
+ },
823
+ {
824
+ "type": "string"
825
+ },
826
+ {
827
+ "type": "null"
828
+ }
829
+ ],
830
+ "description": "CloudStorageConfig maxMessages"
831
+ },
782
832
  "state": {
783
833
  "anyOf": [
784
834
  {
@@ -804,11 +854,22 @@
804
854
  "type": "string",
805
855
  "const": "IN_TRANSIT_LOCATION_RESTRICTION"
806
856
  },
857
+ {
858
+ "type": "string",
859
+ "const": "SCHEMA_MISMATCH"
860
+ },
807
861
  {
808
862
  "type": "null"
809
863
  }
810
864
  ],
811
865
  "description": "CloudStorageConfig state"
866
+ },
867
+ "serviceAccountEmail": {
868
+ "type": [
869
+ "string",
870
+ "null"
871
+ ],
872
+ "description": "CloudStorageConfig serviceAccountEmail"
812
873
  }
813
874
  },
814
875
  "description": "Properties of a CloudStorageConfig."
@@ -1182,6 +1243,34 @@
1182
1243
  ],
1183
1244
  "description": "Subscription state"
1184
1245
  },
1246
+ "analyticsHubSubscriptionInfo": {
1247
+ "anyOf": [
1248
+ {
1249
+ "type": "object",
1250
+ "properties": {
1251
+ "listing": {
1252
+ "type": [
1253
+ "string",
1254
+ "null"
1255
+ ],
1256
+ "description": "AnalyticsHubSubscriptionInfo listing"
1257
+ },
1258
+ "subscription": {
1259
+ "type": [
1260
+ "string",
1261
+ "null"
1262
+ ],
1263
+ "description": "AnalyticsHubSubscriptionInfo subscription"
1264
+ }
1265
+ },
1266
+ "description": "Properties of an AnalyticsHubSubscriptionInfo."
1267
+ },
1268
+ {
1269
+ "type": "null"
1270
+ }
1271
+ ],
1272
+ "description": "Subscription analyticsHubSubscriptionInfo"
1273
+ },
1185
1274
  "messageRetentionDuration": {
1186
1275
  "anyOf": [
1187
1276
  {
@@ -1324,7 +1413,8 @@
1324
1413
  1,
1325
1414
  2,
1326
1415
  3,
1327
- 4
1416
+ 4,
1417
+ 5
1328
1418
  ],
1329
1419
  "description": "State enum."
1330
1420
  },