@voyantjs/products 0.62.0 → 0.62.1
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/routes-public.d.ts +12 -0
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/service-catalog.d.ts +6 -0
- package/dist/service-catalog.d.ts.map +1 -1
- package/dist/service-catalog.js +4 -0
- package/dist/service-public.d.ts +12 -0
- package/dist/service-public.d.ts.map +1 -1
- package/package.json +8 -8
package/dist/routes-public.d.ts
CHANGED
|
@@ -14,6 +14,9 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
14
14
|
id: string;
|
|
15
15
|
name: string;
|
|
16
16
|
description: string | null;
|
|
17
|
+
inclusionsHtml: string | null;
|
|
18
|
+
exclusionsHtml: string | null;
|
|
19
|
+
termsHtml: string | null;
|
|
17
20
|
contentLanguageTag: string | null;
|
|
18
21
|
slug: string | null;
|
|
19
22
|
shortDescription: string | null;
|
|
@@ -125,6 +128,9 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
125
128
|
id: string;
|
|
126
129
|
name: string;
|
|
127
130
|
description: string | null;
|
|
131
|
+
inclusionsHtml: string | null;
|
|
132
|
+
exclusionsHtml: string | null;
|
|
133
|
+
termsHtml: string | null;
|
|
128
134
|
contentLanguageTag: string | null;
|
|
129
135
|
slug: string | null;
|
|
130
136
|
shortDescription: string | null;
|
|
@@ -226,6 +232,9 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
226
232
|
id: string;
|
|
227
233
|
name: string;
|
|
228
234
|
description: string | null;
|
|
235
|
+
inclusionsHtml: string | null;
|
|
236
|
+
exclusionsHtml: string | null;
|
|
237
|
+
termsHtml: string | null;
|
|
229
238
|
contentLanguageTag: string | null;
|
|
230
239
|
slug: string | null;
|
|
231
240
|
shortDescription: string | null;
|
|
@@ -386,6 +395,9 @@ export declare const publicProductRoutes: import("hono/hono-base").HonoBase<Env,
|
|
|
386
395
|
id: string;
|
|
387
396
|
name: string;
|
|
388
397
|
description: string | null;
|
|
398
|
+
inclusionsHtml: string | null;
|
|
399
|
+
exclusionsHtml: string | null;
|
|
400
|
+
termsHtml: string | null;
|
|
389
401
|
contentLanguageTag: string | null;
|
|
390
402
|
slug: string | null;
|
|
391
403
|
shortDescription: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes-public.d.ts","sourceRoot":"","sources":["../src/routes-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAYjE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"routes-public.d.ts","sourceRoot":"","sources":["../src/routes-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAYjE,KAAK,GAAG,GAAG;IACT,SAAS,EAAE;QACT,EAAE,EAAE,kBAAkB,CAAA;QACtB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;CACF,CAAA;AAED,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA0D5B,CAAA;AAEJ,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAA"}
|
|
@@ -12,6 +12,9 @@ export declare const catalogProductsService: {
|
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
14
|
description: string | null;
|
|
15
|
+
inclusionsHtml: string | null;
|
|
16
|
+
exclusionsHtml: string | null;
|
|
17
|
+
termsHtml: string | null;
|
|
15
18
|
contentLanguageTag: string | null;
|
|
16
19
|
slug: string | null;
|
|
17
20
|
shortDescription: string | null;
|
|
@@ -123,6 +126,9 @@ export declare const catalogProductsService: {
|
|
|
123
126
|
id: string;
|
|
124
127
|
name: string;
|
|
125
128
|
description: string | null;
|
|
129
|
+
inclusionsHtml: string | null;
|
|
130
|
+
exclusionsHtml: string | null;
|
|
131
|
+
termsHtml: string | null;
|
|
126
132
|
contentLanguageTag: string | null;
|
|
127
133
|
slug: string | null;
|
|
128
134
|
shortDescription: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-catalog.d.ts","sourceRoot":"","sources":["../src/service-catalog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,OAAO,EAWL,QAAQ,EAMT,MAAM,aAAa,CAAA;AACpB,OAAO,KAAK,EACV,qBAAqB,EACrB,8BAA8B,EAE/B,MAAM,yBAAyB,CAAA;AAEhC,KAAK,iBAAiB,GAAG,OAAO,QAAQ,CAAC,YAAY,CAAA;AAErD,KAAK,4BAA4B,GAAG;IAClC,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI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og.js
CHANGED
|
@@ -65,6 +65,7 @@ async function loadCatalogHydrationData(db, productRows, options = {}) {
|
|
|
65
65
|
name: productTranslations.name,
|
|
66
66
|
shortDescription: productTranslations.shortDescription,
|
|
67
67
|
description: productTranslations.description,
|
|
68
|
+
termsHtml: productTranslations.termsHtml,
|
|
68
69
|
seoTitle: productTranslations.seoTitle,
|
|
69
70
|
seoDescription: productTranslations.seoDescription,
|
|
70
71
|
updatedAt: productTranslations.updatedAt,
|
|
@@ -315,6 +316,9 @@ export const catalogProductsService = {
|
|
|
315
316
|
id: product.id,
|
|
316
317
|
name: translation?.name ?? product.name,
|
|
317
318
|
description: translation?.description ?? product.description ?? null,
|
|
319
|
+
inclusionsHtml: product.inclusionsHtml ?? null,
|
|
320
|
+
exclusionsHtml: product.exclusionsHtml ?? null,
|
|
321
|
+
termsHtml: translation?.termsHtml ?? product.termsHtml ?? null,
|
|
318
322
|
contentLanguageTag: translation?.languageTag ?? null,
|
|
319
323
|
slug: translation?.slug ?? null,
|
|
320
324
|
shortDescription: translation?.shortDescription ?? null,
|
package/dist/service-public.d.ts
CHANGED
|
@@ -6,6 +6,9 @@ export declare const publicProductsService: {
|
|
|
6
6
|
id: string;
|
|
7
7
|
name: string;
|
|
8
8
|
description: string | null;
|
|
9
|
+
inclusionsHtml: string | null;
|
|
10
|
+
exclusionsHtml: string | null;
|
|
11
|
+
termsHtml: string | null;
|
|
9
12
|
contentLanguageTag: string | null;
|
|
10
13
|
slug: string | null;
|
|
11
14
|
shortDescription: string | null;
|
|
@@ -117,6 +120,9 @@ export declare const publicProductsService: {
|
|
|
117
120
|
id: string;
|
|
118
121
|
name: string;
|
|
119
122
|
description: string | null;
|
|
123
|
+
inclusionsHtml: string | null;
|
|
124
|
+
exclusionsHtml: string | null;
|
|
125
|
+
termsHtml: string | null;
|
|
120
126
|
contentLanguageTag: string | null;
|
|
121
127
|
slug: string | null;
|
|
122
128
|
shortDescription: string | null;
|
|
@@ -196,6 +202,9 @@ export declare const publicProductsService: {
|
|
|
196
202
|
id: string;
|
|
197
203
|
name: string;
|
|
198
204
|
description: string | null;
|
|
205
|
+
inclusionsHtml: string | null;
|
|
206
|
+
exclusionsHtml: string | null;
|
|
207
|
+
termsHtml: string | null;
|
|
199
208
|
contentLanguageTag: string | null;
|
|
200
209
|
slug: string | null;
|
|
201
210
|
shortDescription: string | null;
|
|
@@ -269,6 +278,9 @@ export declare const publicProductsService: {
|
|
|
269
278
|
id: string;
|
|
270
279
|
name: string;
|
|
271
280
|
description: string | null;
|
|
281
|
+
inclusionsHtml: string | null;
|
|
282
|
+
exclusionsHtml: string | null;
|
|
283
|
+
termsHtml: string | null;
|
|
272
284
|
contentLanguageTag: string | null;
|
|
273
285
|
slug: string | null;
|
|
274
286
|
shortDescription: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service-public.d.ts","sourceRoot":"","sources":["../src/service-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAgBjE,OAAO,KAAK,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,qCAAqC,EACrC,yBAAyB,EAC1B,MAAM,wBAAwB,CAAA;AAgI/B,eAAO,MAAM,qBAAqB;4BACF,kBAAkB,SAAS,6BAA6B
|
|
1
|
+
{"version":3,"file":"service-public.d.ts","sourceRoot":"","sources":["../src/service-public.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAgBjE,OAAO,KAAK,EACV,8BAA8B,EAC9B,iCAAiC,EACjC,6BAA6B,EAC7B,qCAAqC,EACrC,yBAAyB,EAC1B,MAAM,wBAAwB,CAAA;AAgI/B,eAAO,MAAM,qBAAqB;4BACF,kBAAkB,SAAS,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BA2HhF,kBAAkB,MAClB,MAAM,UACH;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCA2BlC,kBAAkB,QAChB,MAAM,UACL,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAoCxC,kBAAkB,aACX,MAAM,UACV;QAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;8BAMR,kBAAkB,SAAS,8BAA8B;;;;;;;;;;;;;wBAkD/D,kBAAkB,SAAS,yBAAyB;;;;;;;;;gCA+B5C,kBAAkB,SAAS,iCAAiC;;;;;;;;;;;;;;;;CA8F/F,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/products",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -132,13 +132,13 @@
|
|
|
132
132
|
"pdf-lib": "^1.17.1",
|
|
133
133
|
"sanitize-html": "^2.17.4",
|
|
134
134
|
"zod": "^4.3.6",
|
|
135
|
-
"@voyantjs/action-ledger": "0.62.
|
|
136
|
-
"@voyantjs/core": "0.62.
|
|
137
|
-
"@voyantjs/db": "0.62.
|
|
138
|
-
"@voyantjs/hono": "0.62.
|
|
139
|
-
"@voyantjs/utils": "0.62.
|
|
140
|
-
"@voyantjs/catalog": "0.62.
|
|
141
|
-
"@voyantjs/storage": "0.62.
|
|
135
|
+
"@voyantjs/action-ledger": "0.62.1",
|
|
136
|
+
"@voyantjs/core": "0.62.1",
|
|
137
|
+
"@voyantjs/db": "0.62.1",
|
|
138
|
+
"@voyantjs/hono": "0.62.1",
|
|
139
|
+
"@voyantjs/utils": "0.62.1",
|
|
140
|
+
"@voyantjs/catalog": "0.62.1",
|
|
141
|
+
"@voyantjs/storage": "0.62.1"
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
144
|
"@types/sanitize-html": "^2.16.1",
|