@causa/workspace-google 0.13.0-rc.1 → 0.13.0-rc.2
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.
|
@@ -690,10 +690,26 @@ export declare class ServiceContainerGoogleTrigger {
|
|
|
690
690
|
* Google Pub/Sub-specific options for the trigger.
|
|
691
691
|
*/
|
|
692
692
|
readonly 'google.pubSub'?: ServiceContainerGooglePubSubTriggerOptions;
|
|
693
|
+
/**
|
|
694
|
+
* The ID of the topic triggering the endpoint.
|
|
695
|
+
*/
|
|
696
|
+
readonly topic?: string;
|
|
693
697
|
/**
|
|
694
698
|
* Google Cloud Scheduler-specific options for the trigger.
|
|
695
699
|
*/
|
|
696
700
|
readonly 'google.scheduler'?: ServiceContainerGoogleSchedulerTriggerOptions;
|
|
701
|
+
/**
|
|
702
|
+
* The cron schedule expression for cron triggers.
|
|
703
|
+
*/
|
|
704
|
+
readonly schedule?: string;
|
|
705
|
+
/**
|
|
706
|
+
* The timezone for the cron schedule.
|
|
707
|
+
*/
|
|
708
|
+
readonly timezone?: string;
|
|
709
|
+
/**
|
|
710
|
+
* The name of the queue for task triggers.
|
|
711
|
+
*/
|
|
712
|
+
readonly queue?: string;
|
|
697
713
|
/**
|
|
698
714
|
* The retry policy for the Cloud Tasks queue.
|
|
699
715
|
*/
|
|
@@ -1244,10 +1244,26 @@ export class ServiceContainerGoogleTrigger {
|
|
|
1244
1244
|
* Google Pub/Sub-specific options for the trigger.
|
|
1245
1245
|
*/
|
|
1246
1246
|
'google.pubSub';
|
|
1247
|
+
/**
|
|
1248
|
+
* The ID of the topic triggering the endpoint.
|
|
1249
|
+
*/
|
|
1250
|
+
topic;
|
|
1247
1251
|
/**
|
|
1248
1252
|
* Google Cloud Scheduler-specific options for the trigger.
|
|
1249
1253
|
*/
|
|
1250
1254
|
'google.scheduler';
|
|
1255
|
+
/**
|
|
1256
|
+
* The cron schedule expression for cron triggers.
|
|
1257
|
+
*/
|
|
1258
|
+
schedule;
|
|
1259
|
+
/**
|
|
1260
|
+
* The timezone for the cron schedule.
|
|
1261
|
+
*/
|
|
1262
|
+
timezone;
|
|
1263
|
+
/**
|
|
1264
|
+
* The name of the queue for task triggers.
|
|
1265
|
+
*/
|
|
1266
|
+
queue;
|
|
1251
1267
|
/**
|
|
1252
1268
|
* The retry policy for the Cloud Tasks queue.
|
|
1253
1269
|
*/
|
|
@@ -1265,10 +1281,30 @@ __decorate([
|
|
|
1265
1281
|
AllowMissing(),
|
|
1266
1282
|
__metadata("design:type", ServiceContainerGooglePubSubTriggerOptions)
|
|
1267
1283
|
], ServiceContainerGoogleTrigger.prototype, "google.pubSub", void 0);
|
|
1284
|
+
__decorate([
|
|
1285
|
+
AllowMissing(),
|
|
1286
|
+
IsString(),
|
|
1287
|
+
__metadata("design:type", String)
|
|
1288
|
+
], ServiceContainerGoogleTrigger.prototype, "topic", void 0);
|
|
1268
1289
|
__decorate([
|
|
1269
1290
|
AllowMissing(),
|
|
1270
1291
|
__metadata("design:type", ServiceContainerGoogleSchedulerTriggerOptions)
|
|
1271
1292
|
], ServiceContainerGoogleTrigger.prototype, "google.scheduler", void 0);
|
|
1293
|
+
__decorate([
|
|
1294
|
+
AllowMissing(),
|
|
1295
|
+
IsString(),
|
|
1296
|
+
__metadata("design:type", String)
|
|
1297
|
+
], ServiceContainerGoogleTrigger.prototype, "schedule", void 0);
|
|
1298
|
+
__decorate([
|
|
1299
|
+
AllowMissing(),
|
|
1300
|
+
IsString(),
|
|
1301
|
+
__metadata("design:type", String)
|
|
1302
|
+
], ServiceContainerGoogleTrigger.prototype, "timezone", void 0);
|
|
1303
|
+
__decorate([
|
|
1304
|
+
AllowMissing(),
|
|
1305
|
+
IsString(),
|
|
1306
|
+
__metadata("design:type", String)
|
|
1307
|
+
], ServiceContainerGoogleTrigger.prototype, "queue", void 0);
|
|
1272
1308
|
__decorate([
|
|
1273
1309
|
AllowMissing(),
|
|
1274
1310
|
__metadata("design:type", ServiceContainerGoogleTaskTriggerRetryPolicy)
|
|
@@ -28,6 +28,9 @@ properties:
|
|
|
28
28
|
- google.pubSub
|
|
29
29
|
- event
|
|
30
30
|
description: The type of trigger.
|
|
31
|
+
topic:
|
|
32
|
+
type: string
|
|
33
|
+
description: The ID of the topic triggering the endpoint.
|
|
31
34
|
google.pubSub:
|
|
32
35
|
title: ServiceContainerGooglePubSubTriggerOptions
|
|
33
36
|
type: object
|
|
@@ -48,6 +51,7 @@ properties:
|
|
|
48
51
|
description: A Pub/Sub filter expression for the subscription.
|
|
49
52
|
required:
|
|
50
53
|
- type
|
|
54
|
+
- topic
|
|
51
55
|
- title: ServiceContainerGoogleSchedulerTrigger
|
|
52
56
|
type: object
|
|
53
57
|
description: A trigger backed by a Google Cloud Scheduler job.
|
|
@@ -59,6 +63,12 @@ properties:
|
|
|
59
63
|
- google.scheduler
|
|
60
64
|
- cron
|
|
61
65
|
description: The type of trigger.
|
|
66
|
+
schedule:
|
|
67
|
+
type: string
|
|
68
|
+
description: The cron schedule expression for cron triggers.
|
|
69
|
+
timezone:
|
|
70
|
+
type: string
|
|
71
|
+
description: The timezone for the cron schedule.
|
|
62
72
|
google.scheduler:
|
|
63
73
|
title: ServiceContainerGoogleSchedulerTriggerOptions
|
|
64
74
|
type: object
|
|
@@ -88,6 +98,7 @@ properties:
|
|
|
88
98
|
description: The deadline for job attempts.
|
|
89
99
|
required:
|
|
90
100
|
- type
|
|
101
|
+
- schedule
|
|
91
102
|
- title: ServiceContainerGoogleTaskTrigger
|
|
92
103
|
type: object
|
|
93
104
|
description: A trigger backed by a Google Cloud Tasks queue.
|
|
@@ -99,6 +110,9 @@ properties:
|
|
|
99
110
|
- google.tasks
|
|
100
111
|
- task
|
|
101
112
|
description: The type of trigger.
|
|
113
|
+
queue:
|
|
114
|
+
type: string
|
|
115
|
+
description: The name of the queue for task triggers.
|
|
102
116
|
retryPolicy:
|
|
103
117
|
title: ServiceContainerGoogleTaskTriggerRetryPolicy
|
|
104
118
|
type: object
|
|
@@ -123,6 +137,7 @@ properties:
|
|
|
123
137
|
doubled.
|
|
124
138
|
required:
|
|
125
139
|
- type
|
|
140
|
+
- queue
|
|
126
141
|
- title: ServiceContainerGoogleEventarcTrigger
|
|
127
142
|
type: object
|
|
128
143
|
description: A trigger backed by a Google Eventarc trigger.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@causa/workspace-google",
|
|
3
|
-
"version": "0.13.0-rc.
|
|
3
|
+
"version": "0.13.0-rc.2",
|
|
4
4
|
"description": "The Causa workspace module providing many functionalities related to GCP and its services.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@causa/cli": ">= 0.6.5 < 1.0.0",
|
|
39
|
-
"@causa/workspace": ">= 0.22.
|
|
40
|
-
"@causa/workspace-core": ">= 0.27.0-rc.
|
|
41
|
-
"@causa/workspace-typescript": ">= 0.17.0-rc.
|
|
39
|
+
"@causa/workspace": ">= 0.22.1 < 1.0.0",
|
|
40
|
+
"@causa/workspace-core": ">= 0.27.0-rc.2 < 1.0.0",
|
|
41
|
+
"@causa/workspace-typescript": ">= 0.17.0-rc.2 < 1.0.0",
|
|
42
42
|
"@google-cloud/apikeys": "^2.2.1",
|
|
43
43
|
"@google-cloud/bigquery": "^8.1.1",
|
|
44
44
|
"@google-cloud/iam-credentials": "^4.2.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@tsconfig/node20": "^20.1.9",
|
|
67
67
|
"@types/jest": "^30.0.0",
|
|
68
68
|
"@types/micromatch": "^4.0.10",
|
|
69
|
-
"@types/node": "^22.19.
|
|
69
|
+
"@types/node": "^22.19.11",
|
|
70
70
|
"copyfiles": "^2.4.1",
|
|
71
71
|
"eslint": "^9.39.2",
|
|
72
72
|
"eslint-config-prettier": "^10.1.8",
|