| Total Complexity | 2 |
| Complexity/F | 1 |
| Lines of Code | 14 |
| Function Count | 2 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | "use strict"; |
||
| 2 | Object.defineProperty(exports, "__esModule", { value: true }); |
||
| 3 | var monocle_ts_1 = require("monocle-ts"); |
||
| 4 | exports.ResourceIdentifier = { |
||
| 5 | iso: { |
||
| 6 | string: new monocle_ts_1.Iso(function (s) { return s.type + ":" + s.id; }, function (a) { |
||
| 7 | var strings = a.split(':'); |
||
| 8 | return { |
||
| 9 | type: strings[0], |
||
| 10 | id: strings[1] |
||
| 11 | }; |
||
| 12 | }) |
||
| 13 | } |
||
| 14 | }; |
||
| 15 |