@onylab/common-api 1.1.0 → 1.1.3
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/dist/common-api.d.ts
CHANGED
|
@@ -318,18 +318,31 @@ declare module "templating/view/email/ViewEmailElementBaseContract" {
|
|
|
318
318
|
shop: {
|
|
319
319
|
name: string;
|
|
320
320
|
url: string;
|
|
321
|
+
textUrl: string;
|
|
321
322
|
logo: string;
|
|
323
|
+
phone: {
|
|
324
|
+
display: string;
|
|
325
|
+
int: string;
|
|
326
|
+
};
|
|
322
327
|
email: string;
|
|
323
328
|
social: {
|
|
324
|
-
facebook
|
|
329
|
+
facebook?: {
|
|
330
|
+
url: string;
|
|
331
|
+
logo: string;
|
|
332
|
+
};
|
|
333
|
+
instagram?: {
|
|
334
|
+
url: string;
|
|
335
|
+
logo: string;
|
|
336
|
+
};
|
|
337
|
+
tiktok?: {
|
|
325
338
|
url: string;
|
|
326
339
|
logo: string;
|
|
327
340
|
};
|
|
328
|
-
|
|
341
|
+
twitter?: {
|
|
329
342
|
url: string;
|
|
330
343
|
logo: string;
|
|
331
344
|
};
|
|
332
|
-
|
|
345
|
+
whatsapp?: {
|
|
333
346
|
url: string;
|
|
334
347
|
logo: string;
|
|
335
348
|
};
|
|
@@ -536,6 +536,7 @@
|
|
|
536
536
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;">
|
|
537
537
|
<tbody>
|
|
538
538
|
<tr>
|
|
539
|
+
{{ #base.shop.social.facebook }}
|
|
539
540
|
<td
|
|
540
541
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;">
|
|
541
542
|
<a href="{{ base.shop.social.facebook.url }}" class="Footer-facebookLogo" target="_blank"
|
|
@@ -549,6 +550,8 @@
|
|
|
549
550
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2f2f2f;font-size:1px;line-height:1px;mso-line-height-rule:exactly;">
|
|
550
551
|
 
|
|
551
552
|
</td>
|
|
553
|
+
{{ /base.shop.social.facebook }}
|
|
554
|
+
{{ #base.shop.social.instagram }}
|
|
552
555
|
<td
|
|
553
556
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;">
|
|
554
557
|
<a href="{{ base.shop.social.instagram.url }}" class="Footer-twitterLogo" target="_blank"
|
|
@@ -562,6 +565,8 @@
|
|
|
562
565
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2f2f2f;font-size:1px;line-height:1px;mso-line-height-rule:exactly;">
|
|
563
566
|
 
|
|
564
567
|
</td>
|
|
568
|
+
{{ /base.shop.social.instagram }}
|
|
569
|
+
{{ #base.shop.social.twitter }}
|
|
565
570
|
<td
|
|
566
571
|
style="border-width:0;border-collapse:collapse;margin-top:0;margin-bottom:0;margin-right:0;margin-left:0;padding-top:0;padding-bottom:0;padding-right:0;padding-left:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;">
|
|
567
572
|
<a href="{{ base.shop.social.twitter.url }}" class="Footer-twitterLogo" target="_blank"
|
|
@@ -571,6 +576,7 @@
|
|
|
571
576
|
style="display:block;line-height:100%;border-width:0;"/>
|
|
572
577
|
</a>
|
|
573
578
|
</td>
|
|
579
|
+
{{ /base.shop.social.twitter }}
|
|
574
580
|
</tr>
|
|
575
581
|
</tbody>
|
|
576
582
|
</table>
|
package/package.json
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"description": "Common API",
|
|
4
4
|
"main": "dist/common-api.node.min.js",
|
|
5
5
|
"types": "dist/common-api.d.ts",
|
|
6
|
-
"version": "1.1.
|
|
6
|
+
"version": "1.1.3",
|
|
7
7
|
"author": "Paul M.",
|
|
8
8
|
"license": "NO LICENSE",
|
|
9
9
|
"engines": {
|
|
10
|
-
"node": "
|
|
10
|
+
"node": ">=18"
|
|
11
11
|
},
|
|
12
12
|
"private": false,
|
|
13
13
|
"scripts": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"retry": "^0.13.1",
|
|
51
51
|
"shopify-api-node": "^3.14.0",
|
|
52
52
|
"shopify-token": "^4.1.0",
|
|
53
|
-
"typeorm": "^0.
|
|
53
|
+
"typeorm": "^0.2.45"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@faker-js/faker": "^9.1.0",
|