UNPKG

@pnp/sp

Version:

pnp - provides a fluent api for working with SharePoint REST

36 lines 937 B
import { _SPCollection, _SPInstance } from "../spqueryable.js"; import { PageType } from "../types.js"; /** * Describes a collection of Form objects * */ export declare class _Forms extends _SPCollection<IFormInfo[]> { /** * Gets a form by id * * @param id The guid id of the item to retrieve */ getById(id: string): IForm; } export interface IForms extends _Forms { } export declare const Forms: import("../spqueryable.js").ISPInvokableFactory<IForms>; /** * Describes a single of Form instance * */ export declare class _Form extends _SPInstance<IFormInfo> { } export interface IForm extends _Form { } export declare const Form: import("../spqueryable.js").ISPInvokableFactory<IForm>; export interface IFormInfo { FormType: PageType; Id: string; ResourcePath: { DecodedUrl: string; }; DecodedUrl: string; ServerRelativeUrl: string; } //# sourceMappingURL=types.d.ts.map