@futo-org/backups-orchestrator-ui 0.24.0 → 0.26.0

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.
@@ -108,6 +108,8 @@ export type ImportRecoveryKeyRequest = {
108
108
  export type RepositoryCreateRequestDto = {
109
109
  name: string;
110
110
  worm: boolean;
111
+ /** Internal site code from environment metadata */
112
+ site?: string;
111
113
  paths?: string[];
112
114
  };
113
115
  export type RepositoryMetricsDto = {
@@ -138,6 +140,8 @@ export type LocalRepositoryDto = {
138
140
  id: string;
139
141
  worm: boolean;
140
142
  name: string;
143
+ siteCode: string | null;
144
+ storageClusterCode: string | null;
141
145
  metrics: RepositoryMetricsDto;
142
146
  meter?: RepositoryMeterDto;
143
147
  backends?: RepositoryBackendsDto;
@@ -168,6 +172,8 @@ export type InspectedLocalRepositoryDto = {
168
172
  id: string;
169
173
  worm: boolean;
170
174
  name: string;
175
+ siteCode: string | null;
176
+ storageClusterCode: string | null;
171
177
  metrics: RepositoryMetricsDto;
172
178
  meter?: RepositoryMeterDto;
173
179
  backends?: RepositoryBackendsDto;
package/dist/providers.js CHANGED
@@ -13,6 +13,8 @@ export class MockProvider extends BaseProvider {
13
13
  id: 'repo1',
14
14
  name: 'My Repository',
15
15
  worm: false,
16
+ siteCode: 'local',
17
+ storageClusterCode: 'local-dev',
16
18
  metrics: {
17
19
  sizeBytes: 1337,
18
20
  },
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@futo-org/backups-orchestrator-ui",
3
3
  "repository": "https://github.com/immich-app/yucca",
4
4
  "description": "Backups orchestrator (UI library)",
5
- "version": "0.24.0",
5
+ "version": "0.26.0",
6
6
  "license": "Source First License 1.1",
7
7
  "files": [
8
8
  "dist",
@@ -64,7 +64,7 @@
64
64
  "lodash.debounce": "^4.0.8",
65
65
  "luxon": "^3.7.2",
66
66
  "socket.io-client": "^4.8.3",
67
- "@futo-org/backups-api-client": "^0.24.0"
67
+ "@futo-org/backups-api-client": "^0.26.0"
68
68
  },
69
69
  "scripts": {
70
70
  "dev": "vite dev --port 5174",