1 | "use strict";
|
2 | var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3 | if (k2 === undefined) k2 = k;
|
4 | Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5 | }) : (function(o, m, k, k2) {
|
6 | if (k2 === undefined) k2 = k;
|
7 | o[k2] = m[k];
|
8 | }));
|
9 | var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
10 | Object.defineProperty(o, "default", { enumerable: true, value: v });
|
11 | }) : function(o, v) {
|
12 | o["default"] = v;
|
13 | });
|
14 | var __importStar = (this && this.__importStar) || function (mod) {
|
15 | if (mod && mod.__esModule) return mod;
|
16 | var result = {};
|
17 | if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
18 | __setModuleDefault(result, mod);
|
19 | return result;
|
20 | };
|
21 | Object.defineProperty(exports, "__esModule", { value: true });
|
22 |
|
23 |
|
24 | var core_1 = require("../core");
|
25 | var accumulatorOperators = __importStar(require("../operators/accumulator"));
|
26 | var expressionOperators = __importStar(require("../operators/expression"));
|
27 | var pipelineOperators = __importStar(require("../operators/pipeline"));
|
28 | var projectionOperators = __importStar(require("../operators/projection"));
|
29 | var queryOperators = __importStar(require("../operators/query"));
|
30 |
|
31 |
|
32 |
|
33 | function enableSystemOperators() {
|
34 | (0, core_1.useOperators)(core_1.OperatorType.ACCUMULATOR, accumulatorOperators);
|
35 | (0, core_1.useOperators)(core_1.OperatorType.EXPRESSION, expressionOperators);
|
36 | (0, core_1.useOperators)(core_1.OperatorType.PIPELINE, pipelineOperators);
|
37 | (0, core_1.useOperators)(core_1.OperatorType.PROJECTION, projectionOperators);
|
38 | (0, core_1.useOperators)(core_1.OperatorType.QUERY, queryOperators);
|
39 | }
|
40 | enableSystemOperators();
|