dc-management-sdk-js
Version:
Amplience Dynamic Content Management SDK
43 lines • 2.53 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchIndexTopHitsCollection = exports.SearchIndexTopHits = void 0;
var HalResource_1 = require("../hal/models/HalResource");
var EmbeddedCollection_1 = require("./EmbeddedCollection");
/**
* Class representing top hits for an Algolia Search Index
*/
var SearchIndexTopHits = /** @class */ (function (_super) {
__extends(SearchIndexTopHits, _super);
function SearchIndexTopHits() {
return _super !== null && _super.apply(this, arguments) || this;
}
return SearchIndexTopHits;
}(HalResource_1.HalResource));
exports.SearchIndexTopHits = SearchIndexTopHits;
/**
* @hidden
*/
var SearchIndexTopHitsCollection = /** @class */ (function (_super) {
__extends(SearchIndexTopHitsCollection, _super);
function SearchIndexTopHitsCollection(data) {
return _super.call(this, 'top-hits', SearchIndexTopHits, data) || this;
}
return SearchIndexTopHitsCollection;
}(EmbeddedCollection_1.EmbeddedCollection));
exports.SearchIndexTopHitsCollection = SearchIndexTopHitsCollection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VhcmNoSW5kZXhUb3BIaXRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9tb2RlbC9TZWFyY2hJbmRleFRvcEhpdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseURBQXdEO0FBQ3hELDJEQUEwRDtBQUUxRDs7R0FFRztBQUNIO0lBQXdDLHNDQUFXO0lBQW5EOztJQVVBLENBQUM7SUFBRCx5QkFBQztBQUFELENBQUMsQUFWRCxDQUF3Qyx5QkFBVyxHQVVsRDtBQVZZLGdEQUFrQjtBQVkvQjs7R0FFRztBQUNIO0lBQWtELGdEQUFzQztJQUN0RixzQ0FBWSxJQUFVO1FBQ3BCLE9BQUEsTUFBSyxZQUFDLFVBQVUsRUFBRSxrQkFBa0IsRUFBRSxJQUFJLENBQUMsU0FBQztJQUM5QyxDQUFDO0lBQ0gsbUNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBa0QsdUNBQWtCLEdBSW5FO0FBSlksb0VBQTRCIn0=