@lcap/builder
Version:
lcap builder utils
58 lines (57 loc) • 1.51 kB
TypeScript
export interface GenNaslExtensionConfigProps {
rootPath: string;
i18n?: boolean | {
[lang: string]: string;
};
framework?: string;
frameworkUI?: string;
assetsPublicPath?: string;
}
export default function getNaslExtensionConfig({ rootPath, assetsPublicPath, framework, i18n, frameworkUI, }: GenNaslExtensionConfigProps): Promise<{
config: {
name: any;
title: any;
description: any;
specVersion: string;
type: string;
subType: string;
version: any;
frontends: any[];
configuration: {
concept: string;
groups: {
name: string;
concept: string;
properties: never[];
}[];
} | undefined;
structures: any[] | undefined;
annotations: any;
externalDependencyMap: {
npm: {
name: string;
version: any;
}[];
};
summary: {
name: any;
title: any;
version: any;
description: any;
frontends: {
type: any;
frameworkKind: string;
frameworkUI: string | undefined;
viewComponents: any;
logics: any;
}[];
};
compilerInfoMap: {
js: {
prefix: string;
};
};
ideVersion: any;
};
viewComponents: any[];
}>;