File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ export const unmarshalCron = (data: unknown) => {
8989 args : data . args ,
9090 containerId : data . container_id ,
9191 id : data . id ,
92+ name : data . name ,
9293 schedule : data . schedule ,
9394 status : data . status ,
9495 } as Cron
@@ -290,6 +291,7 @@ export const marshalCreateCronRequest = (
290291) : Record < string , unknown > => ( {
291292 args : request . args ,
292293 container_id : request . containerId ,
294+ name : request . name ,
293295 schedule : request . schedule ,
294296} )
295297
@@ -364,6 +366,7 @@ export const marshalUpdateCronRequest = (
364366) : Record < string , unknown > => ( {
365367 args : request . args ,
366368 container_id : request . containerId ,
369+ name : request . name ,
367370 schedule : request . schedule ,
368371} )
369372
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ export interface Cron {
116116 schedule : string
117117 args ?: Record < string , unknown >
118118 status : CronStatus
119+ name : string
119120}
120121
121122/** Domain */
@@ -364,6 +365,7 @@ export type CreateCronRequest = {
364365 containerId : string
365366 schedule : string
366367 args ?: Record < string , unknown >
368+ name ?: string
367369}
368370
369371export type UpdateCronRequest = {
@@ -373,6 +375,7 @@ export type UpdateCronRequest = {
373375 containerId ?: string
374376 schedule ?: string
375377 args ?: Record < string , unknown >
378+ name ?: string
376379}
377380
378381export type DeleteCronRequest = {
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ export const unmarshalCron = (data: unknown) => {
175175 args : data . args ,
176176 functionId : data . function_id ,
177177 id : data . id ,
178+ name : data . name ,
178179 schedule : data . schedule ,
179180 status : data . status ,
180181 } as Cron
@@ -635,6 +636,7 @@ export const marshalCreateCronRequest = (
635636) : Record < string , unknown > => ( {
636637 args : request . args ,
637638 function_id : request . functionId ,
639+ name : request . name ,
638640 schedule : request . schedule ,
639641} )
640642
@@ -787,6 +789,7 @@ export const marshalUpdateCronRequest = (
787789) : Record < string , unknown > => ( {
788790 args : request . args ,
789791 function_id : request . functionId ,
792+ name : request . name ,
790793 schedule : request . schedule ,
791794} )
792795
Original file line number Diff line number Diff line change @@ -175,6 +175,7 @@ export interface Cron {
175175 schedule : string
176176 args ?: Record < string , unknown >
177177 status : CronStatus
178+ name : string
178179}
179180
180181/** Domain */
@@ -597,6 +598,7 @@ export type CreateCronRequest = {
597598 functionId : string
598599 schedule : string
599600 args ?: Record < string , unknown >
601+ name ?: string
600602}
601603
602604export type UpdateCronRequest = {
@@ -606,6 +608,7 @@ export type UpdateCronRequest = {
606608 functionId ?: string
607609 schedule ?: string
608610 args ?: Record < string , unknown >
611+ name ?: string
609612}
610613
611614export type DeleteCronRequest = {
You can’t perform that action at this time.
0 commit comments