From 33311348e2ac0d493cf3bc267e8303a73bdaed03 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 28 Dec 2024 21:48:57 +0100 Subject: [PATCH] fix(interfaces): Fix image location schema in IImage interface --- changelog.md | 6 ++++++ ts/00_commitinfo_data.ts | 2 +- ts_interfaces/data/image.ts | 5 +++-- ts_web/00_commitinfo_data.ts | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 1671be2..8b83da3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2024-12-28 - 4.8.1 - fix(interfaces) +Fix image location schema in IImage interface + +- Refactored the 'external' object within IImage data to a 'location' object. +- Added 'internal' boolean to 'location' to specify internal/external status. + ## 2024-12-28 - 4.8.0 - feat(manager.registry) Add external registry management diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 8b32ca0..dc5bbb4 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/cloudly', - version: '4.8.0', + version: '4.8.1', description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.' } diff --git a/ts_interfaces/data/image.ts b/ts_interfaces/data/image.ts index cc114b9..18314bf 100644 --- a/ts_interfaces/data/image.ts +++ b/ts_interfaces/data/image.ts @@ -4,9 +4,10 @@ export interface IImage { id: string; data: { name: string; - external?: { + location: { + internal: boolean; externalRegistryId: string; - imageName: string; + externalImageTag: string; } description: string; versions: Array<{ diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 8b32ca0..dc5bbb4 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/cloudly', - version: '4.8.0', + version: '4.8.1', description: 'A comprehensive tool for managing containerized applications across multiple cloud providers using Docker Swarmkit, featuring web, CLI, and API interfaces.' }