UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

55 lines 1.67 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * fastcomments * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PagesSortBy = void 0; exports.instanceOfPagesSortBy = instanceOfPagesSortBy; exports.PagesSortByFromJSON = PagesSortByFromJSON; exports.PagesSortByFromJSONTyped = PagesSortByFromJSONTyped; exports.PagesSortByToJSON = PagesSortByToJSON; exports.PagesSortByToJSONTyped = PagesSortByToJSONTyped; /** * * @export * @enum {string} */ var PagesSortBy; (function (PagesSortBy) { PagesSortBy["updatedAt"] = "updatedAt"; PagesSortBy["commentCount"] = "commentCount"; PagesSortBy["title"] = "title"; })(PagesSortBy || (exports.PagesSortBy = PagesSortBy = {})); function instanceOfPagesSortBy(value) { for (const key in PagesSortBy) { if (Object.prototype.hasOwnProperty.call(PagesSortBy, key)) { if (PagesSortBy[key] === value) { return true; } } } return false; } function PagesSortByFromJSON(json) { return PagesSortByFromJSONTyped(json, false); } function PagesSortByFromJSONTyped(json, ignoreDiscriminator) { return json; } function PagesSortByToJSON(value) { return value; } function PagesSortByToJSONTyped(value, ignoreDiscriminator) { return value; } //# sourceMappingURL=PagesSortBy.js.map