UNPKG

narou

Version:
37 lines (36 loc) 713 B
// src/narou-search-results.ts var NarouSearchResults = class { /** * @constractor * @private */ constructor([header, ...result], params) { const count = header.allcount; const limit = params.lim ?? 20; const start = params.st ?? 0; this.allcount = count; this.limit = limit; this.start = start; this.page = start / limit; this.length = result.length; this.values = result; } }; var NovelType = { /** 連載 */ Rensai: 1, /** 短編 */ Tanpen: 2 }; var End = { /** 短編小説と完結済小説 */ KanketsuOrTanpen: 0, /** 連載中 */ Rensai: 1 }; export { NarouSearchResults, NovelType, End }; //# sourceMappingURL=chunk-3A5MHPWL.js.map