@pixwel/pixwel-sdk 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +1 -2
- package/coverage/clover.xml +17 -17
- package/coverage/coverage-final.json +15 -15
- package/coverage/lcov-report/Ass.js.html +200 -196
- package/coverage/lcov-report/Asset.js.html +26 -22
- package/coverage/lcov-report/AssetType.js.html +17 -13
- package/coverage/lcov-report/Encode.js.html +17 -13
- package/coverage/lcov-report/File.js.html +17 -13
- package/coverage/lcov-report/Filename.js.html +20 -16
- package/coverage/lcov-report/Ingest.js.html +662 -658
- package/coverage/lcov-report/IngestFile.js.html +12 -8
- package/coverage/lcov-report/Model.js.html +258 -254
- package/coverage/lcov-report/Order.js.html +49 -45
- package/coverage/lcov-report/Srt.js.html +94 -90
- package/coverage/lcov-report/Sub.js.html +42 -38
- package/coverage/lcov-report/Tag.js.html +17 -13
- package/coverage/lcov-report/TimeFormat.js.html +53 -49
- package/coverage/lcov-report/base.css +14 -3
- package/coverage/lcov-report/fileType.js.html +47 -43
- package/coverage/lcov-report/index.html +15 -11
- package/coverage/lcov.info +15 -15
- package/dist/index.js +85 -77
- package/dist/src/Asset.js +5 -10
- package/dist/src/AssetType.js +12 -23
- package/dist/src/Encode.js +12 -23
- package/dist/src/File.js +12 -23
- package/dist/src/Filename.js +3 -5
- package/dist/src/Ingest.js +12 -23
- package/dist/src/IngestFile.js +2 -6
- package/dist/src/Model.js +28 -49
- package/dist/src/Order.js +9 -20
- package/dist/src/Srt.js +1 -5
- package/dist/src/Tag.js +12 -23
- package/package.json +7 -13
|
@@ -152,9 +152,15 @@ table.coverage td span.cline-any {
|
|
|
152
152
|
background-position: 0 -10px;
|
|
153
153
|
}
|
|
154
154
|
.status-line { height: 10px; }
|
|
155
|
+
/* yellow */
|
|
156
|
+
.cbranch-no { background: yellow !important; color: #111; }
|
|
155
157
|
/* dark red */
|
|
156
158
|
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
157
159
|
.low .chart { border:1px solid #C21F39 }
|
|
160
|
+
.highlighted,
|
|
161
|
+
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
+
background: #C21F39 !important;
|
|
163
|
+
}
|
|
158
164
|
/* medium red */
|
|
159
165
|
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
160
166
|
/* light red */
|
|
@@ -167,12 +173,9 @@ table.coverage td span.cline-any {
|
|
|
167
173
|
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
168
174
|
.high .chart { border:1px solid rgb(77,146,33) }
|
|
169
175
|
|
|
170
|
-
|
|
171
176
|
.medium .chart { border:1px solid #666; }
|
|
172
177
|
.medium .cover-fill { background: #666; }
|
|
173
178
|
|
|
174
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
175
|
-
|
|
176
179
|
.cstat-skip { background: #ddd; color: #111; }
|
|
177
180
|
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
178
181
|
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
@@ -180,6 +183,14 @@ table.coverage td span.cline-any {
|
|
|
180
183
|
span.cline-neutral { background: #eaeaea; }
|
|
181
184
|
.medium { background: #eaeaea; }
|
|
182
185
|
|
|
186
|
+
.coverage-summary td.empty {
|
|
187
|
+
opacity: .5;
|
|
188
|
+
padding-top: 4px;
|
|
189
|
+
padding-bottom: 4px;
|
|
190
|
+
line-height: 1;
|
|
191
|
+
color: #888;
|
|
192
|
+
}
|
|
193
|
+
|
|
183
194
|
.cover-fill, .cover-empty {
|
|
184
195
|
display:inline-block;
|
|
185
196
|
height: 12px;
|
|
@@ -40,51 +40,54 @@
|
|
|
40
40
|
<span class='fraction'>3/11</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
|
+
<p class="quiet">
|
|
44
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
45
|
+
</p>
|
|
43
46
|
</div>
|
|
44
47
|
<div class='status-line low'></div>
|
|
45
48
|
<pre><table class="coverage">
|
|
46
|
-
<tr><td class="line-count quiet">1
|
|
47
|
-
2
|
|
48
|
-
3
|
|
49
|
-
4
|
|
50
|
-
5
|
|
51
|
-
6
|
|
52
|
-
7
|
|
53
|
-
8
|
|
54
|
-
9
|
|
55
|
-
10
|
|
56
|
-
11
|
|
57
|
-
12
|
|
58
|
-
13
|
|
59
|
-
14
|
|
60
|
-
15
|
|
61
|
-
16
|
|
62
|
-
17
|
|
63
|
-
18
|
|
64
|
-
19
|
|
65
|
-
20
|
|
66
|
-
21
|
|
67
|
-
22
|
|
68
|
-
23
|
|
69
|
-
24
|
|
70
|
-
25
|
|
71
|
-
26
|
|
72
|
-
27
|
|
73
|
-
28
|
|
74
|
-
29
|
|
75
|
-
30
|
|
76
|
-
31
|
|
77
|
-
32
|
|
78
|
-
33
|
|
79
|
-
34
|
|
80
|
-
35
|
|
81
|
-
36
|
|
82
|
-
37
|
|
83
|
-
38
|
|
84
|
-
39
|
|
85
|
-
40
|
|
86
|
-
41
|
|
87
|
-
42</td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
49
|
+
<tr><td class="line-count quiet"><a name='L1'></a><a href='#L1'>1</a>
|
|
50
|
+
<a name='L2'></a><a href='#L2'>2</a>
|
|
51
|
+
<a name='L3'></a><a href='#L3'>3</a>
|
|
52
|
+
<a name='L4'></a><a href='#L4'>4</a>
|
|
53
|
+
<a name='L5'></a><a href='#L5'>5</a>
|
|
54
|
+
<a name='L6'></a><a href='#L6'>6</a>
|
|
55
|
+
<a name='L7'></a><a href='#L7'>7</a>
|
|
56
|
+
<a name='L8'></a><a href='#L8'>8</a>
|
|
57
|
+
<a name='L9'></a><a href='#L9'>9</a>
|
|
58
|
+
<a name='L10'></a><a href='#L10'>10</a>
|
|
59
|
+
<a name='L11'></a><a href='#L11'>11</a>
|
|
60
|
+
<a name='L12'></a><a href='#L12'>12</a>
|
|
61
|
+
<a name='L13'></a><a href='#L13'>13</a>
|
|
62
|
+
<a name='L14'></a><a href='#L14'>14</a>
|
|
63
|
+
<a name='L15'></a><a href='#L15'>15</a>
|
|
64
|
+
<a name='L16'></a><a href='#L16'>16</a>
|
|
65
|
+
<a name='L17'></a><a href='#L17'>17</a>
|
|
66
|
+
<a name='L18'></a><a href='#L18'>18</a>
|
|
67
|
+
<a name='L19'></a><a href='#L19'>19</a>
|
|
68
|
+
<a name='L20'></a><a href='#L20'>20</a>
|
|
69
|
+
<a name='L21'></a><a href='#L21'>21</a>
|
|
70
|
+
<a name='L22'></a><a href='#L22'>22</a>
|
|
71
|
+
<a name='L23'></a><a href='#L23'>23</a>
|
|
72
|
+
<a name='L24'></a><a href='#L24'>24</a>
|
|
73
|
+
<a name='L25'></a><a href='#L25'>25</a>
|
|
74
|
+
<a name='L26'></a><a href='#L26'>26</a>
|
|
75
|
+
<a name='L27'></a><a href='#L27'>27</a>
|
|
76
|
+
<a name='L28'></a><a href='#L28'>28</a>
|
|
77
|
+
<a name='L29'></a><a href='#L29'>29</a>
|
|
78
|
+
<a name='L30'></a><a href='#L30'>30</a>
|
|
79
|
+
<a name='L31'></a><a href='#L31'>31</a>
|
|
80
|
+
<a name='L32'></a><a href='#L32'>32</a>
|
|
81
|
+
<a name='L33'></a><a href='#L33'>33</a>
|
|
82
|
+
<a name='L34'></a><a href='#L34'>34</a>
|
|
83
|
+
<a name='L35'></a><a href='#L35'>35</a>
|
|
84
|
+
<a name='L36'></a><a href='#L36'>36</a>
|
|
85
|
+
<a name='L37'></a><a href='#L37'>37</a>
|
|
86
|
+
<a name='L38'></a><a href='#L38'>38</a>
|
|
87
|
+
<a name='L39'></a><a href='#L39'>39</a>
|
|
88
|
+
<a name='L40'></a><a href='#L40'>40</a>
|
|
89
|
+
<a name='L41'></a><a href='#L41'>41</a>
|
|
90
|
+
<a name='L42'></a><a href='#L42'>42</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">2x</span>
|
|
88
91
|
<span class="cline-any cline-neutral"> </span>
|
|
89
92
|
<span class="cline-any cline-yes">2x</span>
|
|
90
93
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -172,7 +175,7 @@ module.exports = {
|
|
|
172
175
|
</div><!-- /wrapper -->
|
|
173
176
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
174
177
|
Code coverage
|
|
175
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
178
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 21 2019 06:58:32 GMT-0500 (Central Daylight Time)
|
|
176
179
|
</div>
|
|
177
180
|
</div>
|
|
178
181
|
<script src="prettify.js"></script>
|
|
@@ -184,5 +187,6 @@ window.onload = function () {
|
|
|
184
187
|
};
|
|
185
188
|
</script>
|
|
186
189
|
<script src="sorter.js"></script>
|
|
190
|
+
<script src="block-navigation.js"></script>
|
|
187
191
|
</body>
|
|
188
192
|
</html>
|
|
@@ -40,6 +40,9 @@
|
|
|
40
40
|
<span class='fraction'>487/567</span>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
|
+
<p class="quiet">
|
|
44
|
+
Press <em>n</em> or <em>j</em> to go to the next uncovered block, <em>b</em>, <em>p</em> or <em>k</em> for the previous block.
|
|
45
|
+
</p>
|
|
43
46
|
</div>
|
|
44
47
|
<div class='status-line high'></div>
|
|
45
48
|
<div class="pad1">
|
|
@@ -124,16 +127,16 @@
|
|
|
124
127
|
</tr>
|
|
125
128
|
|
|
126
129
|
<tr>
|
|
127
|
-
<td class="file
|
|
128
|
-
<td data-value="
|
|
129
|
-
<td data-value="
|
|
130
|
-
<td data-value="0" class="abs
|
|
131
|
-
<td data-value="
|
|
132
|
-
<td data-value="0" class="abs
|
|
133
|
-
<td data-value="
|
|
134
|
-
<td data-value="0" class="abs
|
|
135
|
-
<td data-value="
|
|
136
|
-
<td data-value="0" class="abs
|
|
130
|
+
<td class="file empty" data-value="Filename.js"><a href="Filename.js.html">Filename.js</a></td>
|
|
131
|
+
<td data-value="0" class="pic empty"><div class="chart"><div class="cover-fill" style="width: 0%;"></div><div class="cover-empty" style="width:100%;"></div></div></td>
|
|
132
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
133
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
134
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
135
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
136
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
137
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
138
|
+
<td data-value="0" class="pct empty">0%</td>
|
|
139
|
+
<td data-value="0" class="abs empty">0/0</td>
|
|
137
140
|
</tr>
|
|
138
141
|
|
|
139
142
|
<tr>
|
|
@@ -259,7 +262,7 @@
|
|
|
259
262
|
</div><!-- /wrapper -->
|
|
260
263
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
261
264
|
Code coverage
|
|
262
|
-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at
|
|
265
|
+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Aug 21 2019 06:58:32 GMT-0500 (Central Daylight Time)
|
|
263
266
|
</div>
|
|
264
267
|
</div>
|
|
265
268
|
<script src="prettify.js"></script>
|
|
@@ -271,5 +274,6 @@ window.onload = function () {
|
|
|
271
274
|
};
|
|
272
275
|
</script>
|
|
273
276
|
<script src="sorter.js"></script>
|
|
277
|
+
<script src="block-navigation.js"></script>
|
|
274
278
|
</body>
|
|
275
279
|
</html>
|
package/coverage/lcov.info
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
TN:
|
|
2
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
2
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Ass.js
|
|
3
3
|
FN:4,trim
|
|
4
4
|
FN:8,searchIndex
|
|
5
5
|
FN:21,extractStyles
|
|
@@ -177,7 +177,7 @@ BRF:49
|
|
|
177
177
|
BRH:38
|
|
178
178
|
end_of_record
|
|
179
179
|
TN:
|
|
180
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
180
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Asset.js
|
|
181
181
|
FN:2,(anonymous_0)
|
|
182
182
|
FNF:1
|
|
183
183
|
FNH:1
|
|
@@ -208,7 +208,7 @@ BRF:8
|
|
|
208
208
|
BRH:4
|
|
209
209
|
end_of_record
|
|
210
210
|
TN:
|
|
211
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
211
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/AssetType.js
|
|
212
212
|
FN:4,(anonymous_0)
|
|
213
213
|
FN:8,(anonymous_1)
|
|
214
214
|
FNF:2
|
|
@@ -224,7 +224,7 @@ BRF:0
|
|
|
224
224
|
BRH:0
|
|
225
225
|
end_of_record
|
|
226
226
|
TN:
|
|
227
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
227
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Encode.js
|
|
228
228
|
FN:4,(anonymous_0)
|
|
229
229
|
FN:8,(anonymous_1)
|
|
230
230
|
FNF:2
|
|
@@ -240,7 +240,7 @@ BRF:0
|
|
|
240
240
|
BRH:0
|
|
241
241
|
end_of_record
|
|
242
242
|
TN:
|
|
243
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
243
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/File.js
|
|
244
244
|
FN:4,(anonymous_0)
|
|
245
245
|
FN:8,(anonymous_1)
|
|
246
246
|
FNF:2
|
|
@@ -256,7 +256,7 @@ BRF:0
|
|
|
256
256
|
BRH:0
|
|
257
257
|
end_of_record
|
|
258
258
|
TN:
|
|
259
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
259
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Filename.js
|
|
260
260
|
FNF:0
|
|
261
261
|
FNH:0
|
|
262
262
|
LF:0
|
|
@@ -265,7 +265,7 @@ BRF:0
|
|
|
265
265
|
BRH:0
|
|
266
266
|
end_of_record
|
|
267
267
|
TN:
|
|
268
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
268
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Ingest.js
|
|
269
269
|
FN:12,(anonymous_0)
|
|
270
270
|
FN:16,(anonymous_1)
|
|
271
271
|
FN:23,(anonymous_2)
|
|
@@ -813,7 +813,7 @@ BRF:232
|
|
|
813
813
|
BRH:196
|
|
814
814
|
end_of_record
|
|
815
815
|
TN:
|
|
816
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
816
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/IngestFile.js
|
|
817
817
|
FN:2,(anonymous_0)
|
|
818
818
|
FNF:1
|
|
819
819
|
FNH:0
|
|
@@ -825,7 +825,7 @@ BRF:0
|
|
|
825
825
|
BRH:0
|
|
826
826
|
end_of_record
|
|
827
827
|
TN:
|
|
828
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
828
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Model.js
|
|
829
829
|
FN:30,connection
|
|
830
830
|
FN:43,(anonymous_1)
|
|
831
831
|
FN:57,(anonymous_2)
|
|
@@ -991,7 +991,7 @@ BRF:32
|
|
|
991
991
|
BRH:17
|
|
992
992
|
end_of_record
|
|
993
993
|
TN:
|
|
994
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
994
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Order.js
|
|
995
995
|
FN:5,(anonymous_0)
|
|
996
996
|
FN:20,(anonymous_1)
|
|
997
997
|
FN:34,(anonymous_2)
|
|
@@ -1027,7 +1027,7 @@ BRF:10
|
|
|
1027
1027
|
BRH:2
|
|
1028
1028
|
end_of_record
|
|
1029
1029
|
TN:
|
|
1030
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
1030
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Srt.js
|
|
1031
1031
|
FN:4,stripTags
|
|
1032
1032
|
FN:8,(anonymous_1)
|
|
1033
1033
|
FN:19,(anonymous_2)
|
|
@@ -1113,7 +1113,7 @@ BRF:19
|
|
|
1113
1113
|
BRH:14
|
|
1114
1114
|
end_of_record
|
|
1115
1115
|
TN:
|
|
1116
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
1116
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Sub.js
|
|
1117
1117
|
FN:2,(anonymous_0)
|
|
1118
1118
|
FN:8,(anonymous_1)
|
|
1119
1119
|
FNF:2
|
|
@@ -1157,7 +1157,7 @@ BRF:14
|
|
|
1157
1157
|
BRH:12
|
|
1158
1158
|
end_of_record
|
|
1159
1159
|
TN:
|
|
1160
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
1160
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/Tag.js
|
|
1161
1161
|
FN:4,(anonymous_0)
|
|
1162
1162
|
FN:8,(anonymous_1)
|
|
1163
1163
|
FNF:2
|
|
@@ -1173,7 +1173,7 @@ BRF:0
|
|
|
1173
1173
|
BRH:0
|
|
1174
1174
|
end_of_record
|
|
1175
1175
|
TN:
|
|
1176
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
1176
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/TimeFormat.js
|
|
1177
1177
|
FN:4,(anonymous_0)
|
|
1178
1178
|
FN:7,(anonymous_1)
|
|
1179
1179
|
FN:20,(anonymous_2)
|
|
@@ -1244,7 +1244,7 @@ BRF:25
|
|
|
1244
1244
|
BRH:22
|
|
1245
1245
|
end_of_record
|
|
1246
1246
|
TN:
|
|
1247
|
-
SF:/Users/jeff/www/pixwel/platform/
|
|
1247
|
+
SF:/Users/jeff/www/pixwel/platform/pixwel-sdk/src/fileType.js
|
|
1248
1248
|
FN:15,extensionType
|
|
1249
1249
|
FN:23,extension
|
|
1250
1250
|
FN:27,mediaType
|
package/dist/index.js
CHANGED
|
@@ -1,96 +1,104 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
1
|
+
'use strict';
|
|
4
2
|
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
|
|
7
|
-
});
|
|
8
|
-
Object.defineProperty(exports, "Asset", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function get() {
|
|
11
|
-
return _Asset["default"];
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "AssetType", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function get() {
|
|
17
|
-
return _AssetType["default"];
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "Encode", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function get() {
|
|
23
|
-
return _Encode["default"];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
Object.defineProperty(exports, "File", {
|
|
27
|
-
enumerable: true,
|
|
28
|
-
get: function get() {
|
|
29
|
-
return _File["default"];
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
Object.defineProperty(exports, "Filename", {
|
|
33
|
-
enumerable: true,
|
|
34
|
-
get: function get() {
|
|
35
|
-
return _Filename["default"];
|
|
36
|
-
}
|
|
4
|
+
value: true
|
|
37
5
|
});
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
6
|
+
|
|
7
|
+
var _Asset = require('./src/Asset');
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, 'Asset', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function get() {
|
|
12
|
+
return _interopRequireDefault(_Asset).default;
|
|
13
|
+
}
|
|
43
14
|
});
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
15
|
+
|
|
16
|
+
var _AssetType = require('./src/AssetType');
|
|
17
|
+
|
|
18
|
+
Object.defineProperty(exports, 'AssetType', {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _interopRequireDefault(_AssetType).default;
|
|
22
|
+
}
|
|
49
23
|
});
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
24
|
+
|
|
25
|
+
var _Encode = require('./src/Encode');
|
|
26
|
+
|
|
27
|
+
Object.defineProperty(exports, 'Encode', {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function get() {
|
|
30
|
+
return _interopRequireDefault(_Encode).default;
|
|
31
|
+
}
|
|
55
32
|
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
33
|
+
|
|
34
|
+
var _File = require('./src/File');
|
|
35
|
+
|
|
36
|
+
Object.defineProperty(exports, 'File', {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _interopRequireDefault(_File).default;
|
|
40
|
+
}
|
|
61
41
|
});
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
42
|
+
|
|
43
|
+
var _Filename = require('./src/Filename');
|
|
44
|
+
|
|
45
|
+
Object.defineProperty(exports, 'Filename', {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function get() {
|
|
48
|
+
return _interopRequireDefault(_Filename).default;
|
|
49
|
+
}
|
|
67
50
|
});
|
|
68
|
-
exports.Pixwel = void 0;
|
|
69
51
|
|
|
70
|
-
var
|
|
52
|
+
var _Ingest = require('./src/Ingest');
|
|
71
53
|
|
|
72
|
-
|
|
54
|
+
Object.defineProperty(exports, 'Ingest', {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _interopRequireDefault(_Ingest).default;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
73
60
|
|
|
74
|
-
var
|
|
61
|
+
var _IngestFile = require('./src/IngestFile');
|
|
75
62
|
|
|
76
|
-
|
|
63
|
+
Object.defineProperty(exports, 'IngestFile', {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function get() {
|
|
66
|
+
return _interopRequireDefault(_IngestFile).default;
|
|
67
|
+
}
|
|
68
|
+
});
|
|
77
69
|
|
|
78
|
-
var
|
|
70
|
+
var _Model = require('./src/Model');
|
|
79
71
|
|
|
80
|
-
|
|
72
|
+
Object.defineProperty(exports, 'Model', {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function get() {
|
|
75
|
+
return _interopRequireDefault(_Model).default;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
81
78
|
|
|
82
|
-
var
|
|
79
|
+
var _Order = require('./src/Order');
|
|
83
80
|
|
|
84
|
-
|
|
81
|
+
Object.defineProperty(exports, 'Order', {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function get() {
|
|
84
|
+
return _interopRequireDefault(_Order).default;
|
|
85
|
+
}
|
|
86
|
+
});
|
|
85
87
|
|
|
86
|
-
var
|
|
88
|
+
var _Tag = require('./src/Tag');
|
|
89
|
+
|
|
90
|
+
Object.defineProperty(exports, 'Tag', {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function get() {
|
|
93
|
+
return _interopRequireDefault(_Tag).default;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
87
96
|
|
|
88
|
-
|
|
97
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
89
98
|
|
|
90
|
-
var Pixwel = {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
};
|
|
96
|
-
exports.Pixwel = Pixwel;
|
|
99
|
+
var Pixwel = exports.Pixwel = {
|
|
100
|
+
credentials: {
|
|
101
|
+
token: null
|
|
102
|
+
},
|
|
103
|
+
endpoint: 'https://api.pixwel.com/api'
|
|
104
|
+
};
|
package/dist/src/Asset.js
CHANGED
|
@@ -4,22 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var _createClass2 = require("babel-runtime/helpers/createClass");
|
|
12
|
-
|
|
13
|
-
var _createClass3 = _interopRequireDefault(_createClass2);
|
|
14
|
-
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
9
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
10
|
|
|
17
11
|
var Asset = function () {
|
|
18
12
|
function Asset() {
|
|
19
|
-
(
|
|
13
|
+
_classCallCheck(this, Asset);
|
|
20
14
|
}
|
|
21
15
|
|
|
22
|
-
(
|
|
16
|
+
_createClass(Asset, null, [{
|
|
23
17
|
key: "mapFromOrder",
|
|
24
18
|
value: function mapFromOrder(order) {
|
|
25
19
|
if (!order) {
|
|
@@ -40,6 +34,7 @@ var Asset = function () {
|
|
|
40
34
|
return asset;
|
|
41
35
|
}
|
|
42
36
|
}]);
|
|
37
|
+
|
|
43
38
|
return Asset;
|
|
44
39
|
}();
|
|
45
40
|
|
package/dist/src/AssetType.js
CHANGED
|
@@ -4,25 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
|
10
|
-
|
|
11
|
-
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
|
|
12
|
-
|
|
13
|
-
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
|
14
|
-
|
|
15
|
-
var _createClass2 = require('babel-runtime/helpers/createClass');
|
|
16
|
-
|
|
17
|
-
var _createClass3 = _interopRequireDefault(_createClass2);
|
|
18
|
-
|
|
19
|
-
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
|
|
20
|
-
|
|
21
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
|
22
|
-
|
|
23
|
-
var _inherits2 = require('babel-runtime/helpers/inherits');
|
|
24
|
-
|
|
25
|
-
var _inherits3 = _interopRequireDefault(_inherits2);
|
|
7
|
+
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
26
8
|
|
|
27
9
|
var _Model2 = require('./Model');
|
|
28
10
|
|
|
@@ -30,24 +12,31 @@ var _Model3 = _interopRequireDefault(_Model2);
|
|
|
30
12
|
|
|
31
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
32
14
|
|
|
15
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
|
+
|
|
17
|
+
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
18
|
+
|
|
19
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
20
|
+
|
|
33
21
|
var AssetType = function (_Model) {
|
|
34
|
-
(
|
|
22
|
+
_inherits(AssetType, _Model);
|
|
35
23
|
|
|
36
24
|
function AssetType(data) {
|
|
37
|
-
(
|
|
25
|
+
_classCallCheck(this, AssetType);
|
|
38
26
|
|
|
39
|
-
var _this = (
|
|
27
|
+
var _this = _possibleConstructorReturn(this, (AssetType.__proto__ || Object.getPrototypeOf(AssetType)).call(this, data));
|
|
40
28
|
|
|
41
29
|
_this._resource = 'assettypes';
|
|
42
30
|
return _this;
|
|
43
31
|
}
|
|
44
32
|
|
|
45
|
-
(
|
|
33
|
+
_createClass(AssetType, null, [{
|
|
46
34
|
key: '_resource',
|
|
47
35
|
get: function get() {
|
|
48
36
|
return 'assettypes';
|
|
49
37
|
}
|
|
50
38
|
}]);
|
|
39
|
+
|
|
51
40
|
return AssetType;
|
|
52
41
|
}(_Model3.default);
|
|
53
42
|
|