fix(core): update
This commit is contained in:
parent
a04e5a0a75
commit
5300baae76
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@serve.zone/interfaces',
|
name: '@serve.zone/interfaces',
|
||||||
version: '1.0.7',
|
version: '1.0.8',
|
||||||
description: 'interfaces for working with containers'
|
description: 'interfaces for working with containers'
|
||||||
}
|
}
|
||||||
|
93
ts/requests/secret.ts
Normal file
93
ts/requests/secret.ts
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
import * as plugins from '../plugins.js';
|
||||||
|
import * as data from '../data/index.js';
|
||||||
|
|
||||||
|
export interface IReq_GetEnvBundle extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_GetEnvBundle
|
||||||
|
> {
|
||||||
|
method: 'getEnvBundle';
|
||||||
|
request: {
|
||||||
|
authorization: string;
|
||||||
|
/**
|
||||||
|
* specify this if you want to get a warning, if the envBundle is for an unexpected environment
|
||||||
|
*/
|
||||||
|
environment?: string;
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
envBundle: data.IEnvBundle;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IReq_Admin_LoginWithUsernameAndPassword extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_Admin_LoginWithUsernameAndPassword
|
||||||
|
> {
|
||||||
|
method: 'adminLoginWithUsernameAndPassword';
|
||||||
|
request: {
|
||||||
|
username: string;
|
||||||
|
password: string;
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
jwt: string;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IReq_Admin_GetConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_Admin_GetConfigBundlesAndSecretGroups
|
||||||
|
> {
|
||||||
|
method: 'adminGetConfigBundlesAndSecretGroups';
|
||||||
|
request: {
|
||||||
|
jwt: string;
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
secretBundles: data.ISecretBundle[];
|
||||||
|
secretGroups: data.ISecretGroup[];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IReq_Admin_CreateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_Admin_CreateConfigBundlesAndSecretGroups
|
||||||
|
> {
|
||||||
|
method: 'adminCreateConfigBundlesAndSecretGroups';
|
||||||
|
request: {
|
||||||
|
jwt: string;
|
||||||
|
secretBundles: data.ISecretBundle[];
|
||||||
|
secretGroups: data.ISecretGroup[];
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
ok: boolean;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IReq_Admin_UpdateConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_Admin_UpdateConfigBundlesAndSecretGroups
|
||||||
|
> {
|
||||||
|
method: 'adminUpdateConfigBundlesAndSecretGroups';
|
||||||
|
request: {
|
||||||
|
jwt: string;
|
||||||
|
configBundles: data.ISecretBundle[];
|
||||||
|
secretGroups: data.ISecretGroup[];
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
ok: boolean;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IReq_Admin_DeleteConfigBundlesAndSecretGroups extends plugins.typedrequestInterfaces.implementsTR<
|
||||||
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||||||
|
IReq_Admin_DeleteConfigBundlesAndSecretGroups
|
||||||
|
> {
|
||||||
|
method: 'adminDeleteConfigBundlesAndSecretGroups';
|
||||||
|
request: {
|
||||||
|
jwt: string;
|
||||||
|
secretBundleIds: string[];
|
||||||
|
secretGroupIds: string[];
|
||||||
|
};
|
||||||
|
response: {
|
||||||
|
ok: boolean;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user