@omnia/tooling-composers
Version:
Provide tooling to work with manifest things.
14 lines (13 loc) • 816 B
TypeScript
import { ClientResolvableLoadRule } from '../../fx-models';
export declare class Utils {
static ensureValidManifestId: (id: string, errorMsg?: string) => string;
static ensureValidServiceId: (id: string, errorMsg?: string) => string;
static ensureValidElementName: (name: string, errorMsg?: string) => string;
static validateSupportedLoadRuleTypes: (rules: Array<ClientResolvableLoadRule>) => void;
static validateSupportedLoadRuleType: (rule: ClientResolvableLoadRule) => void;
static isValidGuid: (value: string) => boolean;
static isNull: (obj: any) => boolean;
static isNullOrEmpty: (obj: any) => boolean;
static getPropertyPathInExpression(exp: (obj: any) => any): string[];
static getPropertyPathAndConfigurationInExpression(exp: (obj: any) => any): [string, object];
}