UNPKG

communitybuilds-node

Version:

Node.js API for Genshin Impact communitiy builds spreadsheet

15 lines 721 B
import { SearchStrategy } from '../types/index.js'; export declare function decouple(T: any): string; /** * Since google sheets bumps classnames by 1 on every build/update * deconstruct the object and bump each classname by one * Classnames are defined as s[n] where n is a positive integer, * e.g. s79 is a class name. This function bumps s[n] to s[n+1], * e.g. s79 -> s80. * Then, finally returns the object * @param strategy generic search strategy object, either for Weapons or Artifacts * @param bumpAddend how many times the class should be bumped * @returns */ export declare function bumpClassBy<T>(strategy: SearchStrategy<T>, bumpAddend: number): SearchStrategy<T>; //# sourceMappingURL=utils.d.ts.map