@lcap/nasl
Version:
NetEase Application Specific Language
68 lines • 1.89 kB
TypeScript
import { App, Module } from '../../concepts';
export declare function genSharedAppNasl(app: App, nodePaths?: string[], transformNamespace?: boolean): {
name: string;
title: string;
provider: string;
description: string;
ideVersion: string;
concept: string;
type: string;
logics: any[];
dataSources: any[];
structures: any[];
enums: any[];
metadataTypes: any[];
configuration: {
concept: string;
groups: {
name: string;
concept: string;
properties: any[];
}[];
};
dependencies: any[];
interfaceDependencies: any[];
connectorDependencies: any[];
sharedAppDependencies: any[];
directories: any[];
};
/**
* 生成共享应用的依赖关系图
*/
export declare function genSharedAppGraph(app: App): Record<string, string[]>;
export declare function genShareContent(__data: App | any, includeAllTypes?: boolean): {
shareContent: {
name: string;
title: string;
provider: string;
description: string;
ideVersion: string;
concept: string;
type: string;
logics: any[];
dataSources: any[];
structures: any[];
enums: any[];
metadataTypes: any[];
configuration: {
concept: string;
groups: {
name: string;
concept: string;
properties: any[];
}[];
};
dependencies: any[];
interfaceDependencies: any[];
connectorDependencies: any[];
sharedAppDependencies: any[];
directories: any[];
};
dependOn: Record<string, {
nodePath: string;
concept: string;
name: string;
}[]>;
};
export declare function getImportedNodePaths(sharedApp: Module): string[];
//# sourceMappingURL=share-content.d.ts.map