Skip to content

Commit 079e0c9

Browse files
committed
Merge remote-tracking branch 'origin/main' into dependabot/npm_and_yarn/express-rate-limit-8.2.1
2 parents 48f8637 + 6c14fde commit 079e0c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/otomi-models.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export type AplTeamObject = {
144144
}
145145
}
146146
spec: Record<string, any>
147+
status?: Record<string, any>
147148
}
148149

149150
export type AplPlatformObject = {
@@ -325,6 +326,7 @@ export function toTeamObject(teamId: string, request: AplRequestObject): AplTeam
325326
},
326327
},
327328
spec: request.spec,
329+
status: {},
328330
}
329331
}
330332

@@ -336,6 +338,7 @@ export function buildTeamObject(existing: AplResponseObject, updatedSpec: Record
336338
labels: existing.metadata.labels as { 'apl.io/teamId': string },
337339
},
338340
spec: updatedSpec,
341+
status: existing.status || {},
339342
}
340343
}
341344

0 commit comments

Comments
 (0)