├── docs ├── .nojekyll └── assets │ └── images │ ├── icons.png │ ├── icons@2x.png │ ├── widgets.png │ └── widgets@2x.png ├── .npmrc ├── .gitignore ├── .npmignore ├── src ├── typedoc │ ├── theme │ │ ├── assets │ │ │ └── images │ │ │ │ ├── icons.png │ │ │ │ ├── icons@2x.png │ │ │ │ ├── widgets.png │ │ │ │ └── widgets@2x.png │ │ ├── templates │ │ │ └── index.hbs │ │ ├── partials │ │ │ ├── members.hbs │ │ │ ├── toc.hbs │ │ │ ├── member.signatures.hbs │ │ │ ├── breadcrumb.hbs │ │ │ ├── hierarchy.hbs │ │ │ ├── toc.root.hbs │ │ │ ├── analytics.hbs │ │ │ ├── typeParameters.hbs │ │ │ ├── member.hbs │ │ │ ├── members.group.hbs │ │ │ ├── comment.hbs │ │ │ ├── comment.inline.hbs │ │ │ ├── member.declaration.hbs │ │ │ ├── member.sources.hbs │ │ │ ├── navigation.hbs │ │ │ ├── member.signature.title.hbs │ │ │ ├── member.getterSetter.hbs │ │ │ ├── exportBinding.hbs │ │ │ ├── index.hbs │ │ │ ├── typeAndParent.hbs │ │ │ └── member.signature.body.hbs │ │ ├── layouts │ │ │ └── default.hbs │ │ └── helpers │ │ │ └── ifTest.js │ └── plugin │ │ ├── plugins │ │ ├── index.ts │ │ └── noJekyll.ts │ │ ├── tsconfig.json │ │ ├── model │ │ └── exportBinding.ts │ │ └── index.ts ├── lib │ ├── tsconfig.es2015.json │ ├── tsconfig.es5.json │ ├── tsconfig.typedoc.json │ ├── compat │ │ ├── index.ts │ │ └── es2017.ts │ ├── fn │ │ ├── select.ts │ │ ├── nth.ts │ │ ├── where.ts │ │ ├── doAsync.ts │ │ ├── whereBy.ts │ │ ├── selectMany.ts │ │ ├── selectAsync.ts │ │ ├── nthAsync.ts │ │ ├── whereAsync.ts │ │ ├── xor.ts │ │ ├── relativeComplement.ts │ │ ├── whereByAsync.ts │ │ ├── whereDefined.ts │ │ ├── conditionalAsync.ts │ │ ├── selectManyAsync.ts │ │ ├── xorBy.ts │ │ ├── relativeComplementBy.ts │ │ ├── xorAsync.ts │ │ ├── relativeComplementAsync.ts │ │ ├── whereDefinedAsync.ts │ │ ├── xorByAsync.ts │ │ ├── relativeComplementByAsync.ts │ │ ├── do.ts │ │ ├── if.ts │ │ ├── empty.ts │ │ ├── drain.ts │ │ ├── emptyAsync.ts │ │ ├── drainAsync.ts │ │ ├── once.ts │ │ ├── forEach.ts │ │ ├── hierarchy.ts │ │ ├── through.ts │ │ ├── onceAsync.ts │ │ ├── continuous.ts │ │ ├── hierarchyAsync.ts │ │ ├── throughAsync.ts │ │ ├── first.ts │ │ ├── forEachAsync.ts │ │ ├── some.ts │ │ ├── last.ts │ │ ├── eval.ts │ │ ├── continuousAsync.ts │ │ ├── max.ts │ │ ├── min.ts │ │ ├── objectKeys.ts │ │ ├── maxAsync.ts │ │ ├── minAsync.ts │ │ ├── single.ts │ │ ├── objectValues.ts │ │ ├── repeat.ts │ │ ├── everyAsync.ts │ │ ├── someAsync.ts │ │ ├── count.ts │ │ ├── objectKeysAsync.ts │ │ ├── exclude.ts │ │ ├── objectEntries.ts │ │ ├── toArray.ts │ │ ├── repeatAsync.ts │ │ ├── objectValuesAsync.ts │ │ ├── sum.ts │ │ ├── copyTo.ts │ │ ├── generate.ts │ │ ├── reverse.ts │ │ ├── evalAsync.ts │ │ ├── elementAt.ts │ │ ├── distinct.ts │ │ ├── countAsync.ts │ │ ├── copyToAsync.ts │ │ ├── toHierarchy.ts │ │ ├── average.ts │ │ ├── map.ts │ │ ├── objectEntriesAsync.ts │ │ ├── every.ts │ │ ├── toArrayAsync.ts │ │ ├── generateAsync.ts │ │ ├── unzip.ts │ │ ├── elementAtAsync.ts │ │ ├── excludeAsync.ts │ │ ├── toHierarchyAsync.ts │ │ ├── distinctAsync.ts │ │ ├── prepend.ts │ │ ├── reverseAsync.ts │ │ ├── except.ts │ │ ├── sumAsync.ts │ │ ├── mapAsync.ts │ │ ├── maxBy.ts │ │ ├── minBy.ts │ │ ├── firstAsync.ts │ │ ├── unzipAsync.ts │ │ ├── includes.ts │ │ ├── append.ts │ │ ├── averageAsync.ts │ │ ├── maxByAsync.ts │ │ ├── minByAsync.ts │ │ └── range.ts │ ├── tsconfig.json │ ├── collections.ts │ ├── index.ts │ └── internal │ │ ├── index.ts │ │ ├── debug.ts │ │ ├── decorators.ts │ │ └── types.ts └── tests │ ├── data │ ├── numbers.ts │ ├── books.ts │ ├── users.ts │ └── nodes.ts │ ├── tsconfig.json │ ├── lookup.ts │ └── lazy.ts ├── scripts ├── typedoc.js ├── mocha.js ├── coverage.js └── projects.js ├── biblio.json ├── index.d.ts ├── es5 ├── index.d.ts ├── fn │ ├── index.d.ts │ └── index.js └── index.js ├── es2015 ├── index.d.ts ├── fn │ ├── index.d.ts │ └── index.js └── index.js ├── fn ├── index.d.ts └── index.js ├── index.js └── package.json /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | node_modules 3 | dist 4 | coverage -------------------------------------------------------------------------------- /docs/assets/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/docs/assets/images/icons.png -------------------------------------------------------------------------------- /docs/assets/images/icons@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/docs/assets/images/icons@2x.png -------------------------------------------------------------------------------- /docs/assets/images/widgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/docs/assets/images/widgets.png -------------------------------------------------------------------------------- /docs/assets/images/widgets@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/docs/assets/images/widgets@2x.png -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | node_modules 3 | coverage 4 | src 5 | scripts 6 | dist/tests 7 | dist/typedoc 8 | gulpfile.js 9 | biblio.json -------------------------------------------------------------------------------- /src/typedoc/theme/assets/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/src/typedoc/theme/assets/images/icons.png -------------------------------------------------------------------------------- /src/typedoc/theme/templates/index.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{#markdown}}{{{model.readme}}}{{/markdown}} 3 |
-------------------------------------------------------------------------------- /src/typedoc/theme/assets/images/icons@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/src/typedoc/theme/assets/images/icons@2x.png -------------------------------------------------------------------------------- /src/typedoc/theme/assets/images/widgets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/src/typedoc/theme/assets/images/widgets.png -------------------------------------------------------------------------------- /src/typedoc/theme/assets/images/widgets@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbuckton/iterable-query/HEAD/src/typedoc/theme/assets/images/widgets@2x.png -------------------------------------------------------------------------------- /src/typedoc/theme/partials/members.hbs: -------------------------------------------------------------------------------- 1 | {{#each groups}} 2 | {{#unless allChildrenHaveOwnDocument}} 3 | {{> members.group}} 4 | {{/unless}} 5 | {{/each}} -------------------------------------------------------------------------------- /src/lib/tsconfig.es2015.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "target": "es2015", 5 | "lib": ["es2015"], 6 | "outDir": "../../dist/es2015" 7 | } 8 | } -------------------------------------------------------------------------------- /src/lib/tsconfig.es5.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "compilerOptions": { 4 | "target": "es5", 5 | "lib": ["es2015"], 6 | "outDir": "../../dist/es5", 7 | "downlevelIteration": true 8 | } 9 | } -------------------------------------------------------------------------------- /src/tests/data/numbers.ts: -------------------------------------------------------------------------------- 1 | import { HierarchyProvider } from "../../lib"; 2 | 3 | export const numberHierarchy: HierarchyProvider = { 4 | owns(_: number) { return true; }, 5 | parent(): number { return undefined; }, 6 | children(): number[] { return undefined; } 7 | }; -------------------------------------------------------------------------------- /src/typedoc/plugin/plugins/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./reflectionEvents"; 2 | export * from "./excludeEmpty"; 3 | export * from "./stripInternal"; 4 | export * from "./exports"; 5 | export * from "./uncategorized"; 6 | export * from "./groupCategories"; 7 | export * from "./merge"; 8 | export * from "./naming"; -------------------------------------------------------------------------------- /src/typedoc/theme/partials/toc.hbs: -------------------------------------------------------------------------------- 1 |
  • 2 | {{{wbr title}}} 3 | {{#if children}} 4 | 9 | {{/if}} 10 |
  • 11 | -------------------------------------------------------------------------------- /scripts/typedoc.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | const { Sandbox } = require("vm-sandbox"); 3 | const sandbox = new Sandbox({ 4 | base: __dirname, 5 | context: global, 6 | resolve: request => request === "typescript" ? require.resolve("typescript") : undefined 7 | }); 8 | 9 | module.exports = /** @type {typeof import("./typedoc.sandbox")} */(sandbox.require("./typedoc.sandbox.js")); -------------------------------------------------------------------------------- /src/typedoc/theme/partials/member.signatures.hbs: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /src/typedoc/theme/partials/breadcrumb.hbs: -------------------------------------------------------------------------------- 1 | {{#if parent}} 2 | {{#with parent}}{{> breadcrumb}}{{/with}} 3 |
  • 4 | {{#if url}} 5 | {{name}} 6 | {{else}} 7 | {{name}} 8 | {{/if}} 9 |
  • 10 | {{else}} 11 | {{#if url}} 12 |
  • 13 | Globals 14 |
  • 15 | {{/if}} 16 | {{/if}} -------------------------------------------------------------------------------- /src/typedoc/theme/partials/hierarchy.hbs: -------------------------------------------------------------------------------- 1 | 18 | -------------------------------------------------------------------------------- /src/typedoc/theme/partials/toc.root.hbs: -------------------------------------------------------------------------------- 1 | {{#if isInPath}} 2 | 3 | 17 |