@weareberyl/scheme-assets 0.0.9 → 0.20.0

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/build/index.d.ts CHANGED
@@ -1,2 +0,0 @@
1
- import * as schemeImages from './scheme_assets.json';
2
- export { schemeImages };
package/build/index.js CHANGED
@@ -1,28 +1,2 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.schemeImages = void 0;
27
- var schemeImages = __importStar(require("./scheme_assets.json"));
28
- exports.schemeImages = schemeImages;
1
+ // Generated at build time.
2
+ // This is placed here such that tsconfig does not throw errors.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weareberyl/scheme-assets",
3
- "version": "0.0.9",
3
+ "version": "0.20.0",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "files": [
@@ -9,8 +9,6 @@
9
9
  "scripts": {
10
10
  "clean": "rm -rf build",
11
11
  "build": "yarn clean && tsc",
12
- "start": "node ./src/index.js",
13
- "prepack": "yarn resize-images && yarn gcloud-sync",
14
12
  "compress-images": "node scripts/compress-images.js",
15
13
  "is-compressed": "node scripts/is-compressed.js",
16
14
  "codegen-sizes": "node scripts/image-sizes.js",
@@ -1,468 +0,0 @@
1
- {
2
- "greater-manchester": {
3
- "gm_auth_welcome": {
4
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_auth_welcome.png",
5
- "width": 305,
6
- "height": 381,
7
- "aspectRatio": 0.800524934383202
8
- },
9
- "gm_bbe": {
10
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe.png",
11
- "width": 66,
12
- "height": 61,
13
- "aspectRatio": 1.0819672131147542
14
- },
15
- "gm_bbe_empty": {
16
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe_empty.png",
17
- "width": 106,
18
- "height": 80,
19
- "aspectRatio": 1.325
20
- },
21
- "gm_bbe_large": {
22
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe_large.png",
23
- "width": 164,
24
- "height": 118,
25
- "aspectRatio": 1.3898305084745763
26
- },
27
- "gm_bbe_small": {
28
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bbe_small.png",
29
- "width": 59,
30
- "height": 53,
31
- "aspectRatio": 1.1132075471698113
32
- },
33
- "gm_bike": {
34
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike.png",
35
- "width": 66,
36
- "height": 61,
37
- "aspectRatio": 1.0819672131147542
38
- },
39
- "gm_bike_empty": {
40
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_empty.png",
41
- "width": 106,
42
- "height": 80,
43
- "aspectRatio": 1.325
44
- },
45
- "gm_bike_front_tether_split": {
46
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_front_tether_split.png",
47
- "width": 226,
48
- "height": 93,
49
- "aspectRatio": 2.4301075268817205
50
- },
51
- "gm_bike_large": {
52
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_large.png",
53
- "width": 164,
54
- "height": 118,
55
- "aspectRatio": 1.3898305084745763
56
- },
57
- "gm_bike_lock_split": {
58
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_lock_split.png",
59
- "width": 305,
60
- "height": 125,
61
- "aspectRatio": 2.44
62
- },
63
- "gm_bike_small": {
64
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_bike_small.png",
65
- "width": 59,
66
- "height": 53,
67
- "aspectRatio": 1.1132075471698113
68
- },
69
- "gm_data_bike_tracking": {
70
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_data_bike_tracking.png",
71
- "width": 100,
72
- "height": 100,
73
- "aspectRatio": 1
74
- },
75
- "gm_invalid_parking": {
76
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_invalid_parking.png",
77
- "width": 48,
78
- "height": 48,
79
- "aspectRatio": 1
80
- },
81
- "gm_manual_unlock_avatar": {
82
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_manual_unlock_avatar.png",
83
- "width": 149,
84
- "height": 150,
85
- "aspectRatio": 0.9933333333333333
86
- },
87
- "gm_map_create_account": {
88
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_map_create_account.png",
89
- "width": 100,
90
- "height": 100,
91
- "aspectRatio": 1
92
- },
93
- "gm_onboarding_bike_dock": {
94
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_dock.png",
95
- "width": 331,
96
- "height": 414,
97
- "aspectRatio": 0.7995169082125604
98
- },
99
- "gm_onboarding_bike_howtoride": {
100
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_howtoride.png",
101
- "width": 305,
102
- "height": 382,
103
- "aspectRatio": 0.7984293193717278
104
- },
105
- "gm_onboarding_bike_lock": {
106
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_lock.png",
107
- "width": 305,
108
- "height": 381,
109
- "aspectRatio": 0.800524934383202
110
- },
111
- "gm_onboarding_bike_unlock_nfc": {
112
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_unlock_nfc.png",
113
- "width": 305,
114
- "height": 380,
115
- "aspectRatio": 0.8026315789473685
116
- },
117
- "gm_onboarding_bike_unlock_no_nfc": {
118
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_onboarding_bike_unlock_no_nfc.png",
119
- "width": 305,
120
- "height": 380,
121
- "aspectRatio": 0.8026315789473685
122
- },
123
- "gm_products_bundle_avatar": {
124
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_bundle_avatar.png",
125
- "width": 100,
126
- "height": 100,
127
- "aspectRatio": 1
128
- },
129
- "gm_products_bundle_banner": {
130
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_bundle_banner.png",
131
- "width": 375,
132
- "height": 169,
133
- "aspectRatio": 2.2189349112426036
134
- },
135
- "gm_products_payr_avatar": {
136
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_products_payr_avatar.png",
137
- "width": 100,
138
- "height": 100,
139
- "aspectRatio": 1
140
- },
141
- "gm_switch_to_scheme": {
142
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_switch_to_scheme.png",
143
- "width": 100,
144
- "height": 100,
145
- "aspectRatio": 1
146
- },
147
- "gm_valid_parking": {
148
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/greater-manchester/gm_valid_parking.png",
149
- "width": 48,
150
- "height": 48,
151
- "aspectRatio": 1
152
- }
153
- },
154
- "hackney-cargo-bike": {
155
- "auth_welcome": {
156
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/auth_welcome.png",
157
- "width": 164,
158
- "height": 206,
159
- "aspectRatio": 0.7961165048543689
160
- },
161
- "cargo_onboarding_howtoride": {
162
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_howtoride.png",
163
- "width": 328,
164
- "height": 134,
165
- "aspectRatio": 2.4477611940298507
166
- },
167
- "cargo_onboarding_returning": {
168
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_returning.png",
169
- "width": 333,
170
- "height": 428,
171
- "aspectRatio": 0.7780373831775701
172
- },
173
- "cargo_onboarding_welcome": {
174
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/hackney-cargo-bike/cargo_onboarding_welcome.png",
175
- "width": 164,
176
- "height": 206,
177
- "aspectRatio": 0.7961165048543689
178
- }
179
- },
180
- "hereford": {
181
- "onboarding_welcome": {
182
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/hereford/onboarding_welcome.png",
183
- "width": 471,
184
- "height": 589,
185
- "aspectRatio": 0.799660441426146
186
- }
187
- },
188
- "leeds": {
189
- "leeds_bbe": {
190
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bbe.png",
191
- "width": 66,
192
- "height": 57,
193
- "aspectRatio": 1.1578947368421053
194
- },
195
- "leeds_bbe_empty": {
196
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bbe_empty.png",
197
- "width": 106,
198
- "height": 80,
199
- "aspectRatio": 1.325
200
- },
201
- "leeds_bbe_large": {
202
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bbe_large.png",
203
- "width": 161,
204
- "height": 115,
205
- "aspectRatio": 1.4
206
- },
207
- "leeds_bbe_small": {
208
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bbe_small.png",
209
- "width": 57,
210
- "height": 47,
211
- "aspectRatio": 1.2127659574468086
212
- },
213
- "leeds_bike": {
214
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike.png",
215
- "width": 66,
216
- "height": 57,
217
- "aspectRatio": 1.1578947368421053
218
- },
219
- "leeds_bike_empty": {
220
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_empty.png",
221
- "width": 106,
222
- "height": 80,
223
- "aspectRatio": 1.325
224
- },
225
- "leeds_bike_front_tether_split": {
226
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_front_tether_split.png",
227
- "width": 226,
228
- "height": 93,
229
- "aspectRatio": 2.4301075268817205
230
- },
231
- "leeds_bike_large": {
232
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_large.png",
233
- "width": 164,
234
- "height": 116,
235
- "aspectRatio": 1.4137931034482758
236
- },
237
- "leeds_bike_lock_split": {
238
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_lock_split.png",
239
- "width": 340,
240
- "height": 140,
241
- "aspectRatio": 2.4285714285714284
242
- },
243
- "leeds_bike_small": {
244
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_bike_small.png",
245
- "width": 57,
246
- "height": 47,
247
- "aspectRatio": 1.2127659574468086
248
- },
249
- "leeds_data_bike_tracking": {
250
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_data_bike_tracking.png",
251
- "width": 100,
252
- "height": 100,
253
- "aspectRatio": 1
254
- },
255
- "leeds_invalid_parking": {
256
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_invalid_parking.png",
257
- "width": 48,
258
- "height": 48,
259
- "aspectRatio": 1
260
- },
261
- "leeds_manual_unlock_avatar": {
262
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_manual_unlock_avatar.png",
263
- "width": 100,
264
- "height": 100,
265
- "aspectRatio": 1
266
- },
267
- "leeds_map_create_account": {
268
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_map_create_account.png",
269
- "width": 100,
270
- "height": 100,
271
- "aspectRatio": 1
272
- },
273
- "leeds_onboarding_bike_dock": {
274
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_bike_dock.png",
275
- "width": 300,
276
- "height": 374,
277
- "aspectRatio": 0.8021390374331551
278
- },
279
- "leeds_onboarding_bike_howtoride": {
280
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_bike_howtoride.png",
281
- "width": 359,
282
- "height": 449,
283
- "aspectRatio": 0.799554565701559
284
- },
285
- "leeds_onboarding_bike_lock": {
286
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_bike_lock.png",
287
- "width": 358,
288
- "height": 447,
289
- "aspectRatio": 0.8008948545861297
290
- },
291
- "leeds_onboarding_bike_unlock_nfc": {
292
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_bike_unlock_nfc.png",
293
- "width": 353,
294
- "height": 440,
295
- "aspectRatio": 0.8022727272727272
296
- },
297
- "leeds_onboarding_bike_unlock_no_nfc": {
298
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_bike_unlock_no_nfc.png",
299
- "width": 406,
300
- "height": 507,
301
- "aspectRatio": 0.8007889546351085
302
- },
303
- "leeds_onboarding_welcome": {
304
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_onboarding_welcome.png",
305
- "width": 359,
306
- "height": 449,
307
- "aspectRatio": 0.799554565701559
308
- },
309
- "leeds_products_payr_avatar": {
310
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_products_payr_avatar.png",
311
- "width": 100,
312
- "height": 100,
313
- "aspectRatio": 1
314
- },
315
- "leeds_switch_to_scheme": {
316
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_switch_to_scheme.png",
317
- "width": 100,
318
- "height": 100,
319
- "aspectRatio": 1
320
- },
321
- "leeds_valid_parking": {
322
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/leeds/leeds_valid_parking.png",
323
- "width": 48,
324
- "height": 48,
325
- "aspectRatio": 1
326
- }
327
- },
328
- "west-midlands": {
329
- "wm_auth_welcome": {
330
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_auth_welcome.png",
331
- "width": 328,
332
- "height": 424,
333
- "aspectRatio": 0.7735849056603774
334
- },
335
- "wm_bbe": {
336
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bbe.png",
337
- "width": 66,
338
- "height": 61,
339
- "aspectRatio": 1.0819672131147542
340
- },
341
- "wm_bbe_empty": {
342
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bbe_empty.png",
343
- "width": 106,
344
- "height": 80,
345
- "aspectRatio": 1.325
346
- },
347
- "wm_bbe_large": {
348
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bbe_large.png",
349
- "width": 164,
350
- "height": 118,
351
- "aspectRatio": 1.3898305084745763
352
- },
353
- "wm_bbe_small": {
354
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bbe_small.png",
355
- "width": 59,
356
- "height": 53,
357
- "aspectRatio": 1.1132075471698113
358
- },
359
- "wm_bike": {
360
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bike.png",
361
- "width": 66,
362
- "height": 61,
363
- "aspectRatio": 1.0819672131147542
364
- },
365
- "wm_bike_empty": {
366
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bike_empty.png",
367
- "width": 106,
368
- "height": 80,
369
- "aspectRatio": 1.325
370
- },
371
- "wm_bike_large": {
372
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bike_large.png",
373
- "width": 164,
374
- "height": 118,
375
- "aspectRatio": 1.3898305084745763
376
- },
377
- "wm_bike_small": {
378
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_bike_small.png",
379
- "width": 59,
380
- "height": 53,
381
- "aspectRatio": 1.1132075471698113
382
- },
383
- "wm_data_bike_tracking": {
384
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_data_bike_tracking.png",
385
- "width": 100,
386
- "height": 100,
387
- "aspectRatio": 1
388
- },
389
- "wm_invalid_parking": {
390
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_invalid_parking.png",
391
- "width": 48,
392
- "height": 48,
393
- "aspectRatio": 1
394
- },
395
- "wm_manual_unlock_avatar": {
396
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_manual_unlock_avatar.png",
397
- "width": 149,
398
- "height": 149,
399
- "aspectRatio": 1
400
- },
401
- "wm_map_create_account": {
402
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_map_create_account.png",
403
- "width": 100,
404
- "height": 100,
405
- "aspectRatio": 1
406
- },
407
- "wm_onboarding_bike_dock": {
408
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_bike_dock.png",
409
- "width": 350,
410
- "height": 434,
411
- "aspectRatio": 0.8064516129032258
412
- },
413
- "wm_onboarding_bike_howtoride": {
414
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_bike_howtoride.png",
415
- "width": 360,
416
- "height": 453,
417
- "aspectRatio": 0.7947019867549668
418
- },
419
- "wm_onboarding_bike_lock": {
420
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_bike_lock.png",
421
- "width": 332,
422
- "height": 416,
423
- "aspectRatio": 0.7980769230769231
424
- },
425
- "wm_onboarding_bike_unlock_nfc": {
426
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_bike_unlock_nfc.png",
427
- "width": 331,
428
- "height": 415,
429
- "aspectRatio": 0.7975903614457831
430
- },
431
- "wm_onboarding_bike_unlock_no_nfc": {
432
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_bike_unlock_no_nfc.png",
433
- "width": 453,
434
- "height": 574,
435
- "aspectRatio": 0.789198606271777
436
- },
437
- "wm_onboarding_welcome": {
438
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_onboarding_welcome.png",
439
- "width": 328,
440
- "height": 420,
441
- "aspectRatio": 0.780952380952381
442
- },
443
- "wm_products_bundle_banner": {
444
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_products_bundle_banner.png",
445
- "width": 500,
446
- "height": 173,
447
- "aspectRatio": 2.8901734104046244
448
- },
449
- "wm_products_payr_avatar": {
450
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_products_payr_avatar.png",
451
- "width": 100,
452
- "height": 99,
453
- "aspectRatio": 1.0101010101010102
454
- },
455
- "wm_switch_to_scheme": {
456
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_switch_to_scheme.png",
457
- "width": 133,
458
- "height": 134,
459
- "aspectRatio": 0.9925373134328358
460
- },
461
- "wm_valid_parking": {
462
- "uri": "https://storage.googleapis.com/rider_app_images_pdn/west-midlands/wm_valid_parking.png",
463
- "width": 48,
464
- "height": 48,
465
- "aspectRatio": 1
466
- }
467
- }
468
- }