MCPcopy Create free account
hub / github.com/parse-community/parse-server / constructor

Method constructor

src/Page.js:15–20  ·  view source on GitHub ↗

* @description Creates a page. * @param {Object} params The page parameters. * @param {String} params.id The page identifier. * @param {String} params.defaultFile The page file name. * @returns {Page} The page.

(params = {})

Source from the content-addressed store, hash-verified

13 * @returns {Page} The page.
14 */
15 constructor(params = {}) {
16 const { id, defaultFile } = params;
17
18 this._id = id;
19 this._defaultFile = defaultFile;
20 }
21
22 get id() {
23 return this._id;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected