@vates/types 1.9.0 → 1.10.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.
- package/dist/lib/xen-orchestra-xapi.d.mts +1 -0
- package/dist/xen-api.d.mts +1 -1
- package/dist/xo.d.mts +6 -2
- package/package.json +1 -1
package/dist/xen-api.d.mts
CHANGED
|
@@ -791,7 +791,7 @@ export interface XenApiVbd {
|
|
|
791
791
|
unpluggable: boolean;
|
|
792
792
|
userdevice: string;
|
|
793
793
|
uuid: string;
|
|
794
|
-
VDI: XenApiVdi['$ref'];
|
|
794
|
+
VDI: XenApiVdi['$ref'] | OPAQUE_REF_NULL;
|
|
795
795
|
VM: XenApiVm['$ref'];
|
|
796
796
|
}
|
|
797
797
|
export type XenApiVbdWrapped = WrapperXenApi<XenApiVbd, 'VBD'>;
|
package/dist/xo.d.mts
CHANGED
|
@@ -466,7 +466,7 @@ export type XoVbd = BaseXapiXo & {
|
|
|
466
466
|
position: string;
|
|
467
467
|
read_only: boolean;
|
|
468
468
|
type: 'VBD';
|
|
469
|
-
VDI
|
|
469
|
+
VDI?: XoVdi['id'] | XoVdiSnapshot['id'];
|
|
470
470
|
VM: AnyXoVm['id'];
|
|
471
471
|
};
|
|
472
472
|
type BaseXoVdi = BaseXapiXo & {
|
|
@@ -496,9 +496,13 @@ export type XoVdiSnapshot = BaseXoVdi & {
|
|
|
496
496
|
$snapshot_of?: XoVdi['id'];
|
|
497
497
|
type: 'VDI-snapshot';
|
|
498
498
|
};
|
|
499
|
-
export type XoVdiUnmanaged = BaseXoVdi & {
|
|
499
|
+
export type XoVdiUnmanaged = Omit<BaseXoVdi, '$VBDs'> & {
|
|
500
500
|
id: Branded<'VDI-unmanaged'>;
|
|
501
501
|
type: 'VDI-unmanaged';
|
|
502
|
+
/**
|
|
503
|
+
* Unmanaged VDI have no VBDs
|
|
504
|
+
*/
|
|
505
|
+
$VBDs: never[];
|
|
502
506
|
};
|
|
503
507
|
export type XoVgpu = BaseXapiXo & {
|
|
504
508
|
id: Branded<'VGPU'>;
|