@serve.zone/interfaces 1.0.7 → 1.0.8
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '1.0.
|
|
6
|
+
version: '1.0.8',
|
|
7
7
|
description: 'interfaces for working with containers'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLE9BQU87SUFDaEIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
export interface IReq_GetEnvBundle extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_GetEnvBundle> {
|
|
4
|
+
method: 'getEnvBundle';
|
|
5
|
+
request: {
|
|
6
|
+
authorization: string;
|
|
7
|
+
/**
|
|
8
|
+
* specify this if you want to get a warning, if the envBundle is for an unexpected environment
|
|
9
|
+
*/
|
|
10
|
+
environment?: string;
|
|
11
|
+
};
|
|
12
|
+
response: {
|
|
13
|
+
envBundle: data.IEnvBundle;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_LoginWithUsernameAndPassword> {
|
|
17
|
+
method: 'adminLoginWithUsernameAndPassword';
|
|
18
|
+
request: {
|
|
19
|
+
username: string;
|
|
20
|
+
password: string;
|
|
21
|
+
};
|
|
22
|
+
response: {
|
|
23
|
+
jwt: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface IReq_Admin_GetConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_GetConfigBundlesAndSecretGroups> {
|
|
27
|
+
method: 'adminGetConfigBundlesAndSecretGroups';
|
|
28
|
+
request: {
|
|
29
|
+
jwt: string;
|
|
30
|
+
};
|
|
31
|
+
response: {
|
|
32
|
+
secretBundles: data.ISecretBundle[];
|
|
33
|
+
secretGroups: data.ISecretGroup[];
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface IReq_Admin_CreateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_CreateConfigBundlesAndSecretGroups> {
|
|
37
|
+
method: 'adminCreateConfigBundlesAndSecretGroups';
|
|
38
|
+
request: {
|
|
39
|
+
jwt: string;
|
|
40
|
+
secretBundles: data.ISecretBundle[];
|
|
41
|
+
secretGroups: data.ISecretGroup[];
|
|
42
|
+
};
|
|
43
|
+
response: {
|
|
44
|
+
ok: boolean;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export interface IReq_Admin_UpdateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_UpdateConfigBundlesAndSecretGroups> {
|
|
48
|
+
method: 'adminUpdateConfigBundlesAndSecretGroups';
|
|
49
|
+
request: {
|
|
50
|
+
jwt: string;
|
|
51
|
+
configBundles: data.ISecretBundle[];
|
|
52
|
+
secretGroups: data.ISecretGroup[];
|
|
53
|
+
};
|
|
54
|
+
response: {
|
|
55
|
+
ok: boolean;
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export interface IReq_Admin_DeleteConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IReq_Admin_DeleteConfigBundlesAndSecretGroups> {
|
|
59
|
+
method: 'adminDeleteConfigBundlesAndSecretGroups';
|
|
60
|
+
request: {
|
|
61
|
+
jwt: string;
|
|
62
|
+
secretBundleIds: string[];
|
|
63
|
+
secretGroupIds: string[];
|
|
64
|
+
};
|
|
65
|
+
response: {
|
|
66
|
+
ok: boolean;
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VjcmV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vdHMvcmVxdWVzdHMvc2VjcmV0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxPQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sS0FBSyxJQUFJLE1BQU0sa0JBQWtCLENBQUMifQ==
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as plugins from '../plugins.js';
|
|
2
|
+
import * as data from '../data/index.js';
|
|
3
|
+
|
|
4
|
+
export interface IReq_GetEnvBundle extends plugins.typedrequestInterfaces.implementsTR<
|
|
5
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
6
|
+
IReq_GetEnvBundle
|
|
7
|
+
> {
|
|
8
|
+
method: 'getEnvBundle';
|
|
9
|
+
request: {
|
|
10
|
+
authorization: string;
|
|
11
|
+
/**
|
|
12
|
+
* specify this if you want to get a warning, if the envBundle is for an unexpected environment
|
|
13
|
+
*/
|
|
14
|
+
environment?: string;
|
|
15
|
+
};
|
|
16
|
+
response: {
|
|
17
|
+
envBundle: data.IEnvBundle;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedrequestInterfaces.implementsTR<
|
|
22
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
23
|
+
IReq_Admin_LoginWithUsernameAndPassword
|
|
24
|
+
> {
|
|
25
|
+
method: 'adminLoginWithUsernameAndPassword';
|
|
26
|
+
request: {
|
|
27
|
+
username: string;
|
|
28
|
+
password: string;
|
|
29
|
+
};
|
|
30
|
+
response: {
|
|
31
|
+
jwt: string;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface IReq_Admin_GetConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
|
36
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
37
|
+
IReq_Admin_GetConfigBundlesAndSecretGroups
|
|
38
|
+
> {
|
|
39
|
+
method: 'adminGetConfigBundlesAndSecretGroups';
|
|
40
|
+
request: {
|
|
41
|
+
jwt: string;
|
|
42
|
+
};
|
|
43
|
+
response: {
|
|
44
|
+
secretBundles: data.ISecretBundle[];
|
|
45
|
+
secretGroups: data.ISecretGroup[];
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface IReq_Admin_CreateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
|
51
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
52
|
+
IReq_Admin_CreateConfigBundlesAndSecretGroups
|
|
53
|
+
> {
|
|
54
|
+
method: 'adminCreateConfigBundlesAndSecretGroups';
|
|
55
|
+
request: {
|
|
56
|
+
jwt: string;
|
|
57
|
+
secretBundles: data.ISecretBundle[];
|
|
58
|
+
secretGroups: data.ISecretGroup[];
|
|
59
|
+
};
|
|
60
|
+
response: {
|
|
61
|
+
ok: boolean;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface IReq_Admin_UpdateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
|
66
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
67
|
+
IReq_Admin_UpdateConfigBundlesAndSecretGroups
|
|
68
|
+
> {
|
|
69
|
+
method: 'adminUpdateConfigBundlesAndSecretGroups';
|
|
70
|
+
request: {
|
|
71
|
+
jwt: string;
|
|
72
|
+
configBundles: data.ISecretBundle[];
|
|
73
|
+
secretGroups: data.ISecretGroup[];
|
|
74
|
+
};
|
|
75
|
+
response: {
|
|
76
|
+
ok: boolean;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface IReq_Admin_DeleteConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
|
81
|
+
plugins.typedrequestInterfaces.ITypedRequest,
|
|
82
|
+
IReq_Admin_DeleteConfigBundlesAndSecretGroups
|
|
83
|
+
> {
|
|
84
|
+
method: 'adminDeleteConfigBundlesAndSecretGroups';
|
|
85
|
+
request: {
|
|
86
|
+
jwt: string;
|
|
87
|
+
secretBundleIds: string[];
|
|
88
|
+
secretGroupIds: string[];
|
|
89
|
+
};
|
|
90
|
+
response: {
|
|
91
|
+
ok: boolean;
|
|
92
|
+
};
|
|
93
|
+
}
|