@serve.zone/interfaces 16.4.1 → 16.5.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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-07-21 - 16.5.0
4
+
5
+ ### Features
6
+
7
+ - add OCI container arguments to App Store runtime contracts
8
+ - add an explicit null sentinel for removing container arguments through generic service updates
9
+
3
10
  ## 2026-07-21 - 16.4.1
4
11
 
5
12
  ### Fixes
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '16.4.1',
6
+ version: '16.5.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=
@@ -101,6 +101,8 @@ export interface IAppStoreVersionConfig {
101
101
  image: string;
102
102
  /** Legacy shorthand for targetPorts.web. New templates should prefer targetPorts. */
103
103
  port?: number;
104
+ /** Exact OCI/Docker argument vector appended after the image entrypoint. */
105
+ containerArgs?: string[];
104
106
  targetPorts?: IServiceTargetPort[];
105
107
  domains?: IServiceDomainRoute[];
106
108
  /** Edge/coretraffic public TCP/UDP exposure, distinct from Docker publishedPorts. */
@@ -186,3 +186,7 @@ export interface IService {
186
186
  }
187
187
  /** Caller-writable service data. Immutable policy and rollout fields are server-managed. */
188
188
  export type TServiceWritableData = Omit<IService['data'], 'organizationId' | 'immutableImageRequired' | 'imageDeployment' | 'imageRolloutStatus'>;
189
+ /** Caller-writable update data. Null explicitly removes an existing argument vector. */
190
+ export type TServiceUpdateWritableData = Omit<TServiceWritableData, 'containerArgs'> & {
191
+ containerArgs?: string[] | null;
192
+ };
@@ -1,6 +1,6 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  import type { IService } from '../data/service.js';
3
- import type { TServiceWritableData } from '../data/service.js';
3
+ import type { TServiceUpdateWritableData, TServiceWritableData } from '../data/service.js';
4
4
  import type { IRegistryTarget } from '../data/registry.js';
5
5
  import type { IIdentity, IIdentityCredential } from '../data/user.js';
6
6
  import type { IImageRelease } from '../data/immutableimage.js';
@@ -212,7 +212,7 @@ export interface IRequest_Any_Cloudly_UpdateService extends plugins.typedrequest
212
212
  request: {
213
213
  identity: IIdentity;
214
214
  serviceId: string;
215
- serviceData: TServiceWritableData;
215
+ serviceData: TServiceUpdateWritableData;
216
216
  };
217
217
  response: {
218
218
  service: IService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "16.4.1",
3
+ "version": "16.5.0",
4
4
  "private": false,
5
5
  "description": "Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.",
6
6
  "exports": {
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '16.4.1',
6
+ version: '16.5.0',
7
7
  description: 'Shared TypeScript interfaces and TypedRequest contracts for the serve.zone ecosystem.'
8
8
  }
@@ -122,6 +122,8 @@ export interface IAppStoreVersionConfig {
122
122
  image: string;
123
123
  /** Legacy shorthand for targetPorts.web. New templates should prefer targetPorts. */
124
124
  port?: number;
125
+ /** Exact OCI/Docker argument vector appended after the image entrypoint. */
126
+ containerArgs?: string[];
125
127
  targetPorts?: IServiceTargetPort[];
126
128
  domains?: IServiceDomainRoute[];
127
129
  /** Edge/coretraffic public TCP/UDP exposure, distinct from Docker publishedPorts. */
@@ -333,3 +333,11 @@ export type TServiceWritableData = Omit<
333
333
  IService['data'],
334
334
  'organizationId' | 'immutableImageRequired' | 'imageDeployment' | 'imageRolloutStatus'
335
335
  >;
336
+
337
+ /** Caller-writable update data. Null explicitly removes an existing argument vector. */
338
+ export type TServiceUpdateWritableData = Omit<
339
+ TServiceWritableData,
340
+ 'containerArgs'
341
+ > & {
342
+ containerArgs?: string[] | null;
343
+ };
@@ -1,6 +1,6 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  import type { IService } from '../data/service.js';
3
- import type { TServiceWritableData } from '../data/service.js';
3
+ import type { TServiceUpdateWritableData, TServiceWritableData } from '../data/service.js';
4
4
  import type { IRegistryTarget } from '../data/registry.js';
5
5
  import type { IIdentity, IIdentityCredential } from '../data/user.js';
6
6
  import type { IServiceRessources } from '../data/docker.js';
@@ -319,7 +319,7 @@ extends plugins.typedrequestInterfaces.implementsTR<
319
319
  request: {
320
320
  identity: IIdentity;
321
321
  serviceId: string;
322
- serviceData: TServiceWritableData;
322
+ serviceData: TServiceUpdateWritableData;
323
323
  };
324
324
  response: {
325
325
  service: IService;