UNPKG

747 BJavaScriptView Raw
1import { __decorate } from "tslib";
2import { spInvokableFactory, _SPCollection, _SPInstance, } from "../spqueryable.js";
3import { defaultPath } from "../decorators.js";
4/**
5 * Describes a collection of Form objects
6 *
7 */
8let _Forms = class _Forms extends _SPCollection {
9 /**
10 * Gets a form by id
11 *
12 * @param id The guid id of the item to retrieve
13 */
14 getById(id) {
15 return Form(this).concat(`('${id}')`);
16 }
17};
18_Forms = __decorate([
19 defaultPath("forms")
20], _Forms);
21export { _Forms };
22export const Forms = spInvokableFactory(_Forms);
23/**
24 * Describes a single of Form instance
25 *
26 */
27export class _Form extends _SPInstance {
28}
29export const Form = spInvokableFactory(_Form);
30//# sourceMappingURL=types.js.map
\No newline at end of file