Fix StartOS 0.4 TypeScript packaging to match SDK API

This commit is contained in:
MacPro
2026-04-09 15:10:44 -05:00
parent 68ec875ee7
commit 8298c083c7
3436 changed files with 867051 additions and 92 deletions
@@ -0,0 +1,46 @@
import { ServiceInterfaceType } from '../types';
import { Effects } from '../Effects';
import { Scheme } from './Host';
/**
* A helper class for creating a Network Interface
*
* Network Interfaces are collections of web addresses that expose the same API or other resource,
* display to the user with under a common name and description.
*
* All URIs on an interface inherit the same ui: bool, basic auth credentials, path, and search (query) params
*
* @param options
* @returns
*/
export declare class ServiceInterfaceBuilder {
readonly options: {
effects: Effects;
name: string;
id: string;
description: string;
type: ServiceInterfaceType;
username: string | null;
path: string;
query: Record<string, string>;
schemeOverride: {
ssl: Scheme;
noSsl: Scheme;
} | null;
masked: boolean;
};
constructor(options: {
effects: Effects;
name: string;
id: string;
description: string;
type: ServiceInterfaceType;
username: string | null;
path: string;
query: Record<string, string>;
schemeOverride: {
ssl: Scheme;
noSsl: Scheme;
} | null;
masked: boolean;
});
}