/** * Defines the necessary information to generate a component/element xml */ import type { IClientSideComponentManifest } from '@microsoft/sp-module-interfaces'; /** * @public */ interface IComponent { name: string; description: string; id: string; manifest: IClientSideComponentManifest; requiresCustomScript: boolean; componentDefinition: IWebPartDefinition | IApplicationDefinition | IExtensionDefinition | undefined; } /** * @public */ export interface IWebPartDefinition { entries: IWebPartEntryDefinition[]; } /** * Entry Definition of a WebPart component. * * id: Id of the entry, to be used for file names, as opposed to the id. * It's in the form of _ (i.e. x...x-xxxx-xxxx-xxxx-x...x_0) * * webPartData: Serialized webPartData. It comes from the pre-configured entry and is used for * the initial webPartData of the client-side web part the first time it renders. * @public */ export interface IWebPartEntryDefinition { id: string; name: string; description: string; webPartData: string; } /** * @public */ export interface IApplicationDefinition { } /** * @public */ export interface IExtensionDefinition { } export default IComponent; //# sourceMappingURL=IComponent.d.ts.map