@serve.zone/interfaces 8.1.1 → 9.0.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/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-10 - 9.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- require identity for baremetal request contracts (baremetal)
|
|
8
|
+
- Require identity on getBaremetalServers and controlBaremetal requests.
|
|
9
|
+
- Add typedrequest contract conformance to baremetal request interfaces.
|
|
10
|
+
- Update package manager metadata to pnpm 11.11.0.
|
|
11
|
+
|
|
3
12
|
## 2026-07-07 - 8.1.1
|
|
4
13
|
|
|
5
14
|
### Fixes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '
|
|
6
|
+
version: '9.0.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
1
2
|
import type { IBareMetal } from '../data/baremetal.js';
|
|
2
|
-
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
4
|
+
export interface IRequest_Any_Cloudly_GetBaremetalServers extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_GetBaremetalServers> {
|
|
3
5
|
method: 'getBaremetalServers';
|
|
4
|
-
request: {
|
|
6
|
+
request: {
|
|
7
|
+
identity: IIdentity;
|
|
8
|
+
};
|
|
5
9
|
response: {
|
|
6
10
|
baremetals: IBareMetal[];
|
|
7
11
|
};
|
|
8
12
|
}
|
|
9
|
-
export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
13
|
+
export interface IRequest_Any_Cloudly_ControlBaremetal extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_Any_Cloudly_ControlBaremetal> {
|
|
10
14
|
method: 'controlBaremetal';
|
|
11
15
|
request: {
|
|
16
|
+
identity: IIdentity;
|
|
12
17
|
baremetalId: string;
|
|
13
18
|
action: 'powerOn' | 'powerOff' | 'reset';
|
|
14
19
|
};
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/requests/baremetal.ts
CHANGED
|
@@ -1,17 +1,29 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import type { IBareMetal } from '../data/baremetal.js';
|
|
3
|
+
import type { IIdentity } from '../data/user.js';
|
|
3
4
|
|
|
4
|
-
export interface IRequest_Any_Cloudly_GetBaremetalServers
|
|
5
|
+
export interface IRequest_Any_Cloudly_GetBaremetalServers
|
|
6
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
7
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
8
|
+
IRequest_Any_Cloudly_GetBaremetalServers
|
|
9
|
+
> {
|
|
5
10
|
method: 'getBaremetalServers';
|
|
6
|
-
request: {
|
|
11
|
+
request: {
|
|
12
|
+
identity: IIdentity;
|
|
13
|
+
};
|
|
7
14
|
response: {
|
|
8
15
|
baremetals: IBareMetal[];
|
|
9
16
|
};
|
|
10
17
|
}
|
|
11
18
|
|
|
12
|
-
export interface IRequest_Any_Cloudly_ControlBaremetal
|
|
19
|
+
export interface IRequest_Any_Cloudly_ControlBaremetal
|
|
20
|
+
extends plugins.typedrequestInterfaces.implementsTR<
|
|
21
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
22
|
+
IRequest_Any_Cloudly_ControlBaremetal
|
|
23
|
+
> {
|
|
13
24
|
method: 'controlBaremetal';
|
|
14
25
|
request: {
|
|
26
|
+
identity: IIdentity;
|
|
15
27
|
baremetalId: string;
|
|
16
28
|
action: 'powerOn' | 'powerOff' | 'reset';
|
|
17
29
|
};
|
|
@@ -19,4 +31,4 @@ export interface IRequest_Any_Cloudly_ControlBaremetal {
|
|
|
19
31
|
success: boolean;
|
|
20
32
|
message: string;
|
|
21
33
|
};
|
|
22
|
-
}
|
|
34
|
+
}
|