1 line
12 KiB
JSON
1 line
12 KiB
JSON
{"id":"../node_modules/rxjs/_esm5/internal/operators/timestamp.js","dependencies":[{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timestamp.js.map","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/src/internal/operators/timestamp.ts","includedInParent":true,"mtime":499162500000},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/package.json","includedInParent":true,"mtime":1545395695572},{"name":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/package.json","includedInParent":true,"mtime":1545395355370},{"name":"../scheduler/async","loc":{"line":2,"column":22},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timestamp.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/scheduler/async.js"},{"name":"./map","loc":{"line":3,"column":20},"parent":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/timestamp.js","resolved":"/Users/philkunz/gitlab/pushrocks_meta/webdetector/node_modules/rxjs/_esm5/internal/operators/map.js"}],"generated":{"js":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.timestamp = timestamp;\nexports.Timestamp = void 0;\n\nvar _async = require(\"../scheduler/async\");\n\nvar _map = require(\"./map\");\n\n/** PURE_IMPORTS_START _scheduler_async,_map PURE_IMPORTS_END */\nfunction timestamp(scheduler) {\n if (scheduler === void 0) {\n scheduler = _async.async;\n }\n\n return (0, _map.map)(function (value) {\n return new Timestamp(value, scheduler.now());\n });\n}\n\nvar Timestamp =\n/*@__PURE__*/\nfunction () {\n function Timestamp(value, timestamp) {\n this.value = value;\n this.timestamp = timestamp;\n }\n\n return Timestamp;\n}();\n\nexports.Timestamp = Timestamp;","map":{"mappings":[{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":4,"column":0},"generated":{"line":9,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":0},"generated":{"line":11,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":2,"column":0},"generated":{"line":13,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":9}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":18}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":19}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":28}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":12,"column":29},"generated":{"line":14,"column":30}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":15,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":15,"column":6}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":15,"column":15}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":13},"generated":{"line":15,"column":20}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":14},"generated":{"line":15,"column":25}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":2},"generated":{"line":15,"column":26}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":13,"column":22},"generated":{"line":15,"column":28}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":15,"column":1},"generated":{"line":16,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":15,"column":1},"generated":{"line":16,"column":4}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":15,"column":1},"generated":{"line":16,"column":13}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":15,"column":1},"generated":{"line":16,"column":16}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":15,"column":1},"generated":{"line":16,"column":28}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":17,"column":0},"generated":{"line":17,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":19,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":19,"column":9}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":19,"column":23}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":21},"generated":{"line":19,"column":33}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":19,"column":38}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":19,"column":40}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":20,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":11}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":15}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":24}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":25}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":30}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":32}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":41}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":42}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":45}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":20,"column":47}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":20,"column":48}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":21,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":21,"column":3}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":2},"generated":{"line":21,"column":4}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":24,"column":13}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":25,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":26,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":55},"generated":{"line":26,"column":12}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":27,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":27,"column":11}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":27,"column":20}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":27,"column":21}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":27,"column":26}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":27,"column":28}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":2},"generated":{"line":27,"column":37}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":19,"column":3},"generated":{"line":27,"column":39}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":28,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":28,"column":9}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":28,"column":14}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":28,"column":17}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":0},"generated":{"line":28,"column":22}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":29,"column":0}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":29,"column":9}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":29,"column":18}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":29,"column":21}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":20,"column":1},"generated":{"line":29,"column":30}},{"source":"../../../src/internal/operators/timestamp.ts","name":null,"original":{"line":18,"column":38},"generated":{"line":33,"column":1}}],"sources":{"../../../src/internal/operators/timestamp.ts":"\nimport { async } from '../scheduler/async';\nimport { OperatorFunction, SchedulerLike, Timestamp as TimestampInterface } from '../types';\nimport { map } from './map';\n\n/**\n * @param scheduler\n * @return {Observable<Timestamp<any>>|WebSocketSubject<T>|Observable<T>}\n * @method timestamp\n * @owner Observable\n */\nexport function timestamp<T>(scheduler: SchedulerLike = async): OperatorFunction<T, Timestamp<T>> {\n return map((value: T) => new Timestamp(value, scheduler.now()));\n // return (source: Observable<T>) => source.lift(new TimestampOperator(scheduler));\n}\n\nexport class Timestamp<T> implements TimestampInterface<T> {\n constructor(public value: T, public timestamp: number) {\n }\n}\n"},"lineCount":null}},"hash":"9f61f02d04164eb8b5e4ef75b0a26b49","cacheData":{"env":{}}} |