@interopio/desktop-cli
Version:
io.Connect Desktop Seed Repository CLI Tools
64 lines • 1.62 kB
TypeScript
import { Configuration } from "electron-builder";
export interface ComponentConfig {
[componentName: string]: string;
}
export interface LicenseInfo {
id: string;
type: 'development' | 'production' | 'enterprise' | 'trial';
expiresAt?: string;
features: string[];
allowedComponents: string[];
maxUsers?: number;
organization?: string;
}
export interface ComponentMetadata {
name: string;
version: string;
description: string;
source: 'npm' | 'github' | 'http' | 'private';
dependencies?: string[];
licenseRequired: boolean;
platforms: ('win32' | 'darwin' | 'linux')[];
}
export interface ModificationOperation {
type: 'replace' | 'delete' | 'patch';
source: string;
target: string;
isDirectory?: boolean;
}
export interface PackageOptions {
platform?: 'win' | 'mac' | 'linux' | 'current';
arch?: 'x64' | 'arm64' | 'current';
sign?: boolean;
output?: string;
dir?: boolean;
mode?: 'prepack';
}
export interface SetupOptions {
skipLicense?: boolean;
skipComponents?: boolean;
skipModifications?: boolean;
force?: boolean;
}
export interface StartOptions {
dev?: boolean;
debug?: boolean;
config?: string;
port?: number;
}
export interface ComponentInfo {
name: string;
version: string;
installed: boolean;
path?: string;
size?: number;
dependencies?: ComponentInfo[];
}
export interface ValidationResult {
isValid: boolean;
errors: string[];
warnings: string[];
}
export interface BuildConfig extends Configuration {
}
//# sourceMappingURL=index.d.ts.map