UNPKG

937 BTypeScriptView Raw
1import { _SPCollection, _SPInstance } from "../spqueryable.js";
2import { PageType } from "../types.js";
3/**
4 * Describes a collection of Form objects
5 *
6 */
7export declare class _Forms extends _SPCollection<IFormInfo[]> {
8 /**
9 * Gets a form by id
10 *
11 * @param id The guid id of the item to retrieve
12 */
13 getById(id: string): IForm;
14}
15export interface IForms extends _Forms {
16}
17export declare const Forms: import("../spqueryable.js").ISPInvokableFactory<IForms>;
18/**
19 * Describes a single of Form instance
20 *
21 */
22export declare class _Form extends _SPInstance<IFormInfo> {
23}
24export interface IForm extends _Form {
25}
26export declare const Form: import("../spqueryable.js").ISPInvokableFactory<IForm>;
27export interface IFormInfo {
28 FormType: PageType;
29 Id: string;
30 ResourcePath: {
31 DecodedUrl: string;
32 };
33 DecodedUrl: string;
34 ServerRelativeUrl: string;
35}
36//# sourceMappingURL=types.d.ts.map
\No newline at end of file