@c15t/backend 1.2.1 → 1.2.2-canary-20250514203718

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.
@@ -1,53 +1,53 @@
1
1
 
2
- > @c15t/backend@1.2.1 build /home/runner/work/c15t/c15t/packages/backend
2
+ > @c15t/backend@1.2.2-canary-20250514203718 build /home/runner/work/c15t/c15t/packages/backend
3
3
  > rslib build
4
4
 
5
5
  Rslib v0.6.2
6
6
 
7
- ready built in 1.18 s (esm)
8
- ready built in 1.18 s (cjs)
7
+ ready built in 0.72 s (esm)
8
+ ready built in 0.72 s (cjs)
9
9
  start generating declaration files... (cjs)
10
10
  start generating declaration files... (esm)
11
- ready declaration files generated in 12.2 s (cjs)
12
- ready declaration files generated in 12.2 s (esm)
13
-
14
-  File (cjs) Size 
15
- dist/pkgs/types/index.cjs 0.60 kB
16
- dist/pkgs/data-model/fields/index.cjs 7.3 kB
17
- dist/pkgs/results/index.cjs 18.5 kB
18
- dist/contracts.cjs 30.6 kB
19
- dist/pkgs/db-adapters/adapters/memory-adapter/index.cjs 45.3 kB
20
- dist/router.cjs 48.3 kB
21
- dist/pkgs/db-adapters/adapters/prisma-adapter/index.cjs 48.4 kB
22
- dist/pkgs/db-adapters/adapters/drizzle-adapter/index.cjs 50.7 kB
23
- dist/pkgs/migrations/index.cjs 52.3 kB
24
- dist/pkgs/db-adapters/adapters/kysely-adapter/index.cjs 56.3 kB
25
- dist/pkgs/data-model/schema/index.cjs 64.0 kB
26
- dist/schema/index.cjs 64.5 kB
27
- dist/pkgs/data-model/index.cjs 66.0 kB
28
- dist/pkgs/db-adapters/index.cjs 90.8 kB
29
- dist/core.cjs 152.1 kB
30
-
31
- Total: 795.7 kB
32
-
33
-  -----
11
+ ready declaration files generated in 8.71 s (esm)
12
+ ready declaration files generated in 8.81 s (cjs)
34
13
 
35
14
   File (esm) Size 
36
15
  dist/pkgs/types/index.js 0.00 kB
37
16
  dist/pkgs/data-model/fields/index.js 5.6 kB
38
17
  dist/pkgs/results/index.js 16.4 kB
39
- dist/contracts.js 30.2 kB
18
+ dist/contracts.js 31.3 kB
40
19
  dist/pkgs/db-adapters/adapters/memory-adapter/index.js 44.3 kB
41
20
  dist/pkgs/db-adapters/adapters/prisma-adapter/index.js 47.5 kB
42
- dist/router.js 48.4 kB
43
21
  dist/pkgs/db-adapters/adapters/drizzle-adapter/index.js 50.0 kB
22
+ dist/router.js 50.3 kB
44
23
  dist/pkgs/migrations/index.js 50.7 kB
45
24
  dist/pkgs/db-adapters/adapters/kysely-adapter/index.js 55.3 kB
46
25
  dist/pkgs/data-model/schema/index.js 60.9 kB
47
26
  dist/schema/index.js 61.2 kB
48
27
  dist/pkgs/data-model/index.js 61.8 kB
49
28
  dist/pkgs/db-adapters/index.js 89.6 kB
50
- dist/core.js 153.1 kB
29
+ dist/core.js 155.1 kB
30
+
31
+ Total: 779.9 kB
32
+
33
+  -----
34
+
35
+  File (cjs) Size 
36
+ dist/pkgs/types/index.cjs 0.60 kB
37
+ dist/pkgs/data-model/fields/index.cjs 7.3 kB
38
+ dist/pkgs/results/index.cjs 18.5 kB
39
+ dist/contracts.cjs 31.7 kB
40
+ dist/pkgs/db-adapters/adapters/memory-adapter/index.cjs 45.3 kB
41
+ dist/pkgs/db-adapters/adapters/prisma-adapter/index.cjs 48.4 kB
42
+ dist/router.cjs 50.1 kB
43
+ dist/pkgs/db-adapters/adapters/drizzle-adapter/index.cjs 50.7 kB
44
+ dist/pkgs/migrations/index.cjs 52.3 kB
45
+ dist/pkgs/db-adapters/adapters/kysely-adapter/index.cjs 56.3 kB
46
+ dist/pkgs/data-model/schema/index.cjs 64.0 kB
47
+ dist/schema/index.cjs 64.5 kB
48
+ dist/pkgs/data-model/index.cjs 66.0 kB
49
+ dist/pkgs/db-adapters/index.cjs 90.8 kB
50
+ dist/core.cjs 153.9 kB
51
51
 
52
- Total: 774.9 kB
52
+ Total: 800.4 kB
53
53
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @c15t/backend
2
2
 
3
+ ## 1.2.2-canary-20250514203718
4
+
5
+ ### Patch Changes
6
+
7
+ - f24f11b: bump package
8
+ - Updated dependencies [f24f11b]
9
+ - @c15t/translations@1.2.2-canary-20250514203718
10
+
11
+ ## 1.2.2-canary-20250514183211
12
+
13
+ ### Patch Changes
14
+
15
+ - f64f000: feat: added @c15t/nextjs, @c15t/translations for better integration, server-side translations & fetching of consent banner
16
+ - Updated dependencies [f64f000]
17
+ - @c15t/translations@1.2.2-canary-20250514183211
18
+
3
19
  ## 1.2.1
4
20
 
5
21
  ### Patch Changes
@@ -231,6 +231,295 @@ export declare const consentContracts: {
231
231
  countryCode: string | null;
232
232
  regionCode: string | null;
233
233
  }>;
234
+ translations: import("zod").ZodObject<{
235
+ language: import("zod").ZodString;
236
+ translations: import("zod").ZodObject<{
237
+ common: import("zod").ZodObject<{
238
+ acceptAll: import("zod").ZodString;
239
+ rejectAll: import("zod").ZodString;
240
+ customize: import("zod").ZodString;
241
+ save: import("zod").ZodString;
242
+ }, "strip", import("zod").ZodTypeAny, {
243
+ acceptAll: string;
244
+ rejectAll: string;
245
+ customize: string;
246
+ save: string;
247
+ }, {
248
+ acceptAll: string;
249
+ rejectAll: string;
250
+ customize: string;
251
+ save: string;
252
+ }>;
253
+ cookieBanner: import("zod").ZodObject<{
254
+ title: import("zod").ZodString;
255
+ description: import("zod").ZodString;
256
+ }, "strip", import("zod").ZodTypeAny, {
257
+ description: string;
258
+ title: string;
259
+ }, {
260
+ description: string;
261
+ title: string;
262
+ }>;
263
+ consentManagerDialog: import("zod").ZodObject<{
264
+ title: import("zod").ZodString;
265
+ description: import("zod").ZodString;
266
+ }, "strip", import("zod").ZodTypeAny, {
267
+ description: string;
268
+ title: string;
269
+ }, {
270
+ description: string;
271
+ title: string;
272
+ }>;
273
+ consentTypes: import("zod").ZodObject<{
274
+ experience: import("zod").ZodObject<{
275
+ title: import("zod").ZodString;
276
+ description: import("zod").ZodString;
277
+ }, "strip", import("zod").ZodTypeAny, {
278
+ description: string;
279
+ title: string;
280
+ }, {
281
+ description: string;
282
+ title: string;
283
+ }>;
284
+ functionality: import("zod").ZodObject<{
285
+ title: import("zod").ZodString;
286
+ description: import("zod").ZodString;
287
+ }, "strip", import("zod").ZodTypeAny, {
288
+ description: string;
289
+ title: string;
290
+ }, {
291
+ description: string;
292
+ title: string;
293
+ }>;
294
+ marketing: import("zod").ZodObject<{
295
+ title: import("zod").ZodString;
296
+ description: import("zod").ZodString;
297
+ }, "strip", import("zod").ZodTypeAny, {
298
+ description: string;
299
+ title: string;
300
+ }, {
301
+ description: string;
302
+ title: string;
303
+ }>;
304
+ measurement: import("zod").ZodObject<{
305
+ title: import("zod").ZodString;
306
+ description: import("zod").ZodString;
307
+ }, "strip", import("zod").ZodTypeAny, {
308
+ description: string;
309
+ title: string;
310
+ }, {
311
+ description: string;
312
+ title: string;
313
+ }>;
314
+ necessary: import("zod").ZodObject<{
315
+ title: import("zod").ZodString;
316
+ description: import("zod").ZodString;
317
+ }, "strip", import("zod").ZodTypeAny, {
318
+ description: string;
319
+ title: string;
320
+ }, {
321
+ description: string;
322
+ title: string;
323
+ }>;
324
+ }, "strip", import("zod").ZodTypeAny, {
325
+ experience: {
326
+ description: string;
327
+ title: string;
328
+ };
329
+ functionality: {
330
+ description: string;
331
+ title: string;
332
+ };
333
+ marketing: {
334
+ description: string;
335
+ title: string;
336
+ };
337
+ measurement: {
338
+ description: string;
339
+ title: string;
340
+ };
341
+ necessary: {
342
+ description: string;
343
+ title: string;
344
+ };
345
+ }, {
346
+ experience: {
347
+ description: string;
348
+ title: string;
349
+ };
350
+ functionality: {
351
+ description: string;
352
+ title: string;
353
+ };
354
+ marketing: {
355
+ description: string;
356
+ title: string;
357
+ };
358
+ measurement: {
359
+ description: string;
360
+ title: string;
361
+ };
362
+ necessary: {
363
+ description: string;
364
+ title: string;
365
+ };
366
+ }>;
367
+ }, "strip", import("zod").ZodTypeAny, {
368
+ common: {
369
+ acceptAll: string;
370
+ rejectAll: string;
371
+ customize: string;
372
+ save: string;
373
+ };
374
+ cookieBanner: {
375
+ description: string;
376
+ title: string;
377
+ };
378
+ consentManagerDialog: {
379
+ description: string;
380
+ title: string;
381
+ };
382
+ consentTypes: {
383
+ experience: {
384
+ description: string;
385
+ title: string;
386
+ };
387
+ functionality: {
388
+ description: string;
389
+ title: string;
390
+ };
391
+ marketing: {
392
+ description: string;
393
+ title: string;
394
+ };
395
+ measurement: {
396
+ description: string;
397
+ title: string;
398
+ };
399
+ necessary: {
400
+ description: string;
401
+ title: string;
402
+ };
403
+ };
404
+ }, {
405
+ common: {
406
+ acceptAll: string;
407
+ rejectAll: string;
408
+ customize: string;
409
+ save: string;
410
+ };
411
+ cookieBanner: {
412
+ description: string;
413
+ title: string;
414
+ };
415
+ consentManagerDialog: {
416
+ description: string;
417
+ title: string;
418
+ };
419
+ consentTypes: {
420
+ experience: {
421
+ description: string;
422
+ title: string;
423
+ };
424
+ functionality: {
425
+ description: string;
426
+ title: string;
427
+ };
428
+ marketing: {
429
+ description: string;
430
+ title: string;
431
+ };
432
+ measurement: {
433
+ description: string;
434
+ title: string;
435
+ };
436
+ necessary: {
437
+ description: string;
438
+ title: string;
439
+ };
440
+ };
441
+ }>;
442
+ }, "strip", import("zod").ZodTypeAny, {
443
+ translations: {
444
+ common: {
445
+ acceptAll: string;
446
+ rejectAll: string;
447
+ customize: string;
448
+ save: string;
449
+ };
450
+ cookieBanner: {
451
+ description: string;
452
+ title: string;
453
+ };
454
+ consentManagerDialog: {
455
+ description: string;
456
+ title: string;
457
+ };
458
+ consentTypes: {
459
+ experience: {
460
+ description: string;
461
+ title: string;
462
+ };
463
+ functionality: {
464
+ description: string;
465
+ title: string;
466
+ };
467
+ marketing: {
468
+ description: string;
469
+ title: string;
470
+ };
471
+ measurement: {
472
+ description: string;
473
+ title: string;
474
+ };
475
+ necessary: {
476
+ description: string;
477
+ title: string;
478
+ };
479
+ };
480
+ };
481
+ language: string;
482
+ }, {
483
+ translations: {
484
+ common: {
485
+ acceptAll: string;
486
+ rejectAll: string;
487
+ customize: string;
488
+ save: string;
489
+ };
490
+ cookieBanner: {
491
+ description: string;
492
+ title: string;
493
+ };
494
+ consentManagerDialog: {
495
+ description: string;
496
+ title: string;
497
+ };
498
+ consentTypes: {
499
+ experience: {
500
+ description: string;
501
+ title: string;
502
+ };
503
+ functionality: {
504
+ description: string;
505
+ title: string;
506
+ };
507
+ marketing: {
508
+ description: string;
509
+ title: string;
510
+ };
511
+ measurement: {
512
+ description: string;
513
+ title: string;
514
+ };
515
+ necessary: {
516
+ description: string;
517
+ title: string;
518
+ };
519
+ };
520
+ };
521
+ language: string;
522
+ }>;
234
523
  }, "strip", import("zod").ZodTypeAny, {
235
524
  showConsentBanner: boolean;
236
525
  jurisdiction: {
@@ -241,6 +530,47 @@ export declare const consentContracts: {
241
530
  countryCode: string | null;
242
531
  regionCode: string | null;
243
532
  };
533
+ translations: {
534
+ translations: {
535
+ common: {
536
+ acceptAll: string;
537
+ rejectAll: string;
538
+ customize: string;
539
+ save: string;
540
+ };
541
+ cookieBanner: {
542
+ description: string;
543
+ title: string;
544
+ };
545
+ consentManagerDialog: {
546
+ description: string;
547
+ title: string;
548
+ };
549
+ consentTypes: {
550
+ experience: {
551
+ description: string;
552
+ title: string;
553
+ };
554
+ functionality: {
555
+ description: string;
556
+ title: string;
557
+ };
558
+ marketing: {
559
+ description: string;
560
+ title: string;
561
+ };
562
+ measurement: {
563
+ description: string;
564
+ title: string;
565
+ };
566
+ necessary: {
567
+ description: string;
568
+ title: string;
569
+ };
570
+ };
571
+ };
572
+ language: string;
573
+ };
244
574
  }, {
245
575
  showConsentBanner: boolean;
246
576
  jurisdiction: {
@@ -251,6 +581,47 @@ export declare const consentContracts: {
251
581
  countryCode: string | null;
252
582
  regionCode: string | null;
253
583
  };
584
+ translations: {
585
+ translations: {
586
+ common: {
587
+ acceptAll: string;
588
+ rejectAll: string;
589
+ customize: string;
590
+ save: string;
591
+ };
592
+ cookieBanner: {
593
+ description: string;
594
+ title: string;
595
+ };
596
+ consentManagerDialog: {
597
+ description: string;
598
+ title: string;
599
+ };
600
+ consentTypes: {
601
+ experience: {
602
+ description: string;
603
+ title: string;
604
+ };
605
+ functionality: {
606
+ description: string;
607
+ title: string;
608
+ };
609
+ marketing: {
610
+ description: string;
611
+ title: string;
612
+ };
613
+ measurement: {
614
+ description: string;
615
+ title: string;
616
+ };
617
+ necessary: {
618
+ description: string;
619
+ title: string;
620
+ };
621
+ };
622
+ };
623
+ language: string;
624
+ };
254
625
  }>, Record<never, never>, Record<never, never>>;
255
626
  verify: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
256
627
  subjectId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/consent/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI5B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/consent/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI5B,CAAC"}