@serve.zone/interfaces 30.5.0 → 30.6.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 +16 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/plugins.d.ts +1 -1
- package/dist_ts/plugins.js +1 -1
- package/dist_ts/requests/network.d.ts +33 -0
- package/package.json +3 -3
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/plugins.ts +1 -1
- package/ts/requests/network.ts +20 -0
package/changelog.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-09-13 - 30.6.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Add current owner-organization summaries and paginated private-network service attachment candidates.
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
- Use TSBuild 4.4.3 for release compilation and type checking.
|
|
12
|
+
|
|
13
|
+
## 2026-09-12 - 30.5.1
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
- Use the current Smartlog interfaces export for the log request contract and remove the retired standalone dependency.
|
|
18
|
+
|
|
3
19
|
## 2026-09-11 - 30.5.0
|
|
4
20
|
|
|
5
21
|
### Fixes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '30.
|
|
6
|
+
version: '30.6.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHVGQUF1RjtDQUNyRyxDQUFBIn0=
|
package/dist_ts/plugins.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
2
2
|
export { typedrequestInterfaces };
|
|
3
3
|
import * as smartcrypto from '@push.rocks/smartcrypto';
|
|
4
|
-
import * as smartlogInterfaces from '@push.rocks/smartlog
|
|
4
|
+
import * as smartlogInterfaces from '@push.rocks/smartlog/interfaces';
|
|
5
5
|
export { smartcrypto, smartlogInterfaces, };
|
|
6
6
|
import * as tsclass from '@tsclass/tsclass';
|
|
7
7
|
export { tsclass };
|
package/dist_ts/plugins.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
|
3
3
|
export { typedrequestInterfaces };
|
|
4
4
|
// @push.rocks scope
|
|
5
5
|
import * as smartcrypto from '@push.rocks/smartcrypto';
|
|
6
|
-
import * as smartlogInterfaces from '@push.rocks/smartlog
|
|
6
|
+
import * as smartlogInterfaces from '@push.rocks/smartlog/interfaces';
|
|
7
7
|
export { smartcrypto, smartlogInterfaces, };
|
|
8
8
|
// tsclass scope
|
|
9
9
|
import * as tsclass from '@tsclass/tsclass';
|
|
@@ -1,6 +1,39 @@
|
|
|
1
1
|
import * as plugins from '../plugins.js';
|
|
2
2
|
import type { IIdentityCredential } from '../data/user.js';
|
|
3
3
|
import type { IPrivateNetworkV1, IServicePrivateNetworksV1, ISetServicePrivateNetworksV1, TPrivateNetworkMutationV1 } from '../data/privatenetwork.js';
|
|
4
|
+
/** Current organization picker data. Entries are never cached authorization grants. */
|
|
5
|
+
export interface IReq_Cloudly_ListOwnedOrganizationsV1 extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListOwnedOrganizationsV1> {
|
|
6
|
+
method: 'listOwnedOrganizationsV1';
|
|
7
|
+
request: {
|
|
8
|
+
identity: IIdentityCredential;
|
|
9
|
+
};
|
|
10
|
+
/** Limited to the server-held OIDC token's grant and current canonical owner membership. */
|
|
11
|
+
response: {
|
|
12
|
+
organizations: Array<{
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
slug: string;
|
|
16
|
+
}>;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
/** Organization-scoped attachment choices; excludes service configuration and secrets. */
|
|
20
|
+
export interface IReq_Cloudly_ListPrivateNetworkServiceCandidatesV1 extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListPrivateNetworkServiceCandidatesV1> {
|
|
21
|
+
method: 'listPrivateNetworkServiceCandidatesV1';
|
|
22
|
+
/** Each page requires a fresh canonical organization-owner authority observation. */
|
|
23
|
+
request: {
|
|
24
|
+
identity: IIdentityCredential;
|
|
25
|
+
organizationId: string;
|
|
26
|
+
cursor: string | null;
|
|
27
|
+
limit: number;
|
|
28
|
+
};
|
|
29
|
+
response: {
|
|
30
|
+
services: Array<{
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
}>;
|
|
34
|
+
nextCursor: string | null;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
4
37
|
/** Every request is authorized against live canonical membership and Cloudly policy. */
|
|
5
38
|
export interface IReq_Cloudly_ListPrivateNetworksV1 extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListPrivateNetworksV1> {
|
|
6
39
|
method: 'listPrivateNetworksV1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serve.zone/interfaces",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
|
|
6
6
|
"exports": {
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@api.global/typedrequest-interfaces": "^7.1.0",
|
|
25
25
|
"@push.rocks/smartcrypto": "^2.2.0",
|
|
26
|
-
"@push.rocks/smartlog
|
|
26
|
+
"@push.rocks/smartlog": "^3.2.2",
|
|
27
27
|
"@tsclass/tsclass": "^9.5.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@git.zone/tsbuild": "^4.4.
|
|
30
|
+
"@git.zone/tsbuild": "^4.4.3",
|
|
31
31
|
"@git.zone/tsdoc": "^2.2.0",
|
|
32
32
|
"@git.zone/tsrun": "^2.0.6",
|
|
33
33
|
"@git.zone/tstest": "6.0.0",
|
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/plugins.ts
CHANGED
|
@@ -7,7 +7,7 @@ export {
|
|
|
7
7
|
|
|
8
8
|
// @push.rocks scope
|
|
9
9
|
import * as smartcrypto from '@push.rocks/smartcrypto';
|
|
10
|
-
import * as smartlogInterfaces from '@push.rocks/smartlog
|
|
10
|
+
import * as smartlogInterfaces from '@push.rocks/smartlog/interfaces';
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
smartcrypto,
|
package/ts/requests/network.ts
CHANGED
|
@@ -5,6 +5,26 @@ import type {
|
|
|
5
5
|
TPrivateNetworkMutationV1,
|
|
6
6
|
} from '../data/privatenetwork.js';
|
|
7
7
|
|
|
8
|
+
/** Current organization picker data. Entries are never cached authorization grants. */
|
|
9
|
+
export interface IReq_Cloudly_ListOwnedOrganizationsV1 extends plugins.typedrequestInterfaces.implementsTR<
|
|
10
|
+
plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListOwnedOrganizationsV1
|
|
11
|
+
> {
|
|
12
|
+
method: 'listOwnedOrganizationsV1';
|
|
13
|
+
request: { identity: IIdentityCredential };
|
|
14
|
+
/** Limited to the server-held OIDC token's grant and current canonical owner membership. */
|
|
15
|
+
response: { organizations: Array<{ id: string; name: string; slug: string }> };
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** Organization-scoped attachment choices; excludes service configuration and secrets. */
|
|
19
|
+
export interface IReq_Cloudly_ListPrivateNetworkServiceCandidatesV1 extends plugins.typedrequestInterfaces.implementsTR<
|
|
20
|
+
plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListPrivateNetworkServiceCandidatesV1
|
|
21
|
+
> {
|
|
22
|
+
method: 'listPrivateNetworkServiceCandidatesV1';
|
|
23
|
+
/** Each page requires a fresh canonical organization-owner authority observation. */
|
|
24
|
+
request: { identity: IIdentityCredential; organizationId: string; cursor: string | null; limit: number };
|
|
25
|
+
response: { services: Array<{ id: string; name: string }>; nextCursor: string | null };
|
|
26
|
+
}
|
|
27
|
+
|
|
8
28
|
/** Every request is authorized against live canonical membership and Cloudly policy. */
|
|
9
29
|
export interface IReq_Cloudly_ListPrivateNetworksV1 extends plugins.typedrequestInterfaces.implementsTR<
|
|
10
30
|
plugins.typedrequestInterfaces.ITypedRequest, IReq_Cloudly_ListPrivateNetworksV1
|