File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
packages/clients/src/api/function/v1beta1 Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export const unmarshalFunction = (data: unknown): Function => {
103103 return {
104104 buildMessage : data . build_message ,
105105 cpuLimit : data . cpu_limit ,
106+ createdAt : unmarshalDate ( data . created_at ) ,
106107 description : data . description ,
107108 domainName : data . domain_name ,
108109 environmentVariables : data . environment_variables ,
@@ -116,6 +117,7 @@ export const unmarshalFunction = (data: unknown): Function => {
116117 name : data . name ,
117118 namespaceId : data . namespace_id ,
118119 privacy : data . privacy ,
120+ readyAt : unmarshalDate ( data . ready_at ) ,
119121 region : data . region ,
120122 runtime : data . runtime ,
121123 runtimeMessage : data . runtime_message ,
@@ -126,6 +128,7 @@ export const unmarshalFunction = (data: unknown): Function => {
126128 ) ,
127129 status : data . status ,
128130 timeout : data . timeout ,
131+ updatedAt : unmarshalDate ( data . updated_at ) ,
129132 } as Function
130133}
131134
Original file line number Diff line number Diff line change @@ -300,6 +300,12 @@ export interface Function {
300300 runtimeMessage : string
301301 /** Execution environment of the function. */
302302 sandbox : FunctionSandbox
303+ /** Creation date of the function. */
304+ createdAt ?: Date
305+ /** Last update date of the function. */
306+ updatedAt ?: Date
307+ /** Last date when the function was successfully deployed and set to ready. */
308+ readyAt ?: Date
303309}
304310
305311export interface Namespace {
You can’t perform that action at this time.
0 commit comments