@serve.zone/interfaces 16.5.0 → 16.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 +6 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/appstore/types.d.ts +11 -0
- package/package.json +1 -1
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/appstore/types.ts +11 -0
package/changelog.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@serve.zone/interfaces',
|
|
6
|
-
version: '16.
|
|
6
|
+
version: '16.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=
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IServiceSecretFile } from '../data/service.js';
|
|
1
2
|
import type { IServiceDomainRoute, IServicePublicPortMapping, IServiceTargetPort } from '../data/serviceports.js';
|
|
2
3
|
export type TAppStorePlatformRequirement = 'mongodb' | 's3' | 'clickhouse' | 'valkey' | 'mariadb';
|
|
3
4
|
export type TAppStoreSourceType = 'inline' | 'repoManifest' | 'dockerImage';
|
|
@@ -35,6 +36,14 @@ export interface IAppStoreEnvVar {
|
|
|
35
36
|
value?: string;
|
|
36
37
|
description: string;
|
|
37
38
|
required?: boolean;
|
|
39
|
+
/** Store the submitted value in the service-owned Cloudly secret bundle, never in service environment data. */
|
|
40
|
+
secret?: boolean;
|
|
41
|
+
/** Generate a value server-side when the installer does not submit one. Generation is allowed only for secrets. */
|
|
42
|
+
generate?: {
|
|
43
|
+
type: 'randomHex';
|
|
44
|
+
/** Number of random bytes before hexadecimal encoding. */
|
|
45
|
+
bytes: number;
|
|
46
|
+
};
|
|
38
47
|
}
|
|
39
48
|
export interface IAppStoreVolume {
|
|
40
49
|
/** Stable Docker volume name. If omitted, the runtime derives one from service name and mount path. */
|
|
@@ -103,6 +112,8 @@ export interface IAppStoreVersionConfig {
|
|
|
103
112
|
port?: number;
|
|
104
113
|
/** Exact OCI/Docker argument vector appended after the image entrypoint. */
|
|
105
114
|
containerArgs?: string[];
|
|
115
|
+
/** Secret-bundle keys delivered only through Docker's read-only secret tmpfs. */
|
|
116
|
+
secretFiles?: IServiceSecretFile[];
|
|
106
117
|
targetPorts?: IServiceTargetPort[];
|
|
107
118
|
domains?: IServiceDomainRoute[];
|
|
108
119
|
/** Edge/coretraffic public TCP/UDP exposure, distinct from Docker publishedPorts. */
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/appstore/types.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IServiceSecretFile } from '../data/service.js';
|
|
1
2
|
import type {
|
|
2
3
|
IServiceDomainRoute,
|
|
3
4
|
IServicePublicPortMapping,
|
|
@@ -49,6 +50,14 @@ export interface IAppStoreEnvVar {
|
|
|
49
50
|
value?: string;
|
|
50
51
|
description: string;
|
|
51
52
|
required?: boolean;
|
|
53
|
+
/** Store the submitted value in the service-owned Cloudly secret bundle, never in service environment data. */
|
|
54
|
+
secret?: boolean;
|
|
55
|
+
/** Generate a value server-side when the installer does not submit one. Generation is allowed only for secrets. */
|
|
56
|
+
generate?: {
|
|
57
|
+
type: 'randomHex';
|
|
58
|
+
/** Number of random bytes before hexadecimal encoding. */
|
|
59
|
+
bytes: number;
|
|
60
|
+
};
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
export interface IAppStoreVolume {
|
|
@@ -124,6 +133,8 @@ export interface IAppStoreVersionConfig {
|
|
|
124
133
|
port?: number;
|
|
125
134
|
/** Exact OCI/Docker argument vector appended after the image entrypoint. */
|
|
126
135
|
containerArgs?: string[];
|
|
136
|
+
/** Secret-bundle keys delivered only through Docker's read-only secret tmpfs. */
|
|
137
|
+
secretFiles?: IServiceSecretFile[];
|
|
127
138
|
targetPorts?: IServiceTargetPort[];
|
|
128
139
|
domains?: IServiceDomainRoute[];
|
|
129
140
|
/** Edge/coretraffic public TCP/UDP exposure, distinct from Docker publishedPorts. */
|