-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
2841 lines (2789 loc) · 99.6 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
require("dotenv").config();
const express = require("express");
const cors = require("cors");
const reviews = require("./src/utils/reviews");
const app = express();
app.use(express.json());
app.use(express.static("public"));
app.use(cors());
const authRouter = require("./src/routers/auth.router.js");
const adminRouter = require("./src/routers/admin.router.js");
const uiRouter = require("./src/routers/ui.router");
const { prisma } = require("./prisma/prisma.js");
app.use("/auth", authRouter);
app.use("/admin", adminRouter);
app.use("/ui", uiRouter);
const bcrypt = require("bcrypt");
app.listen(4500, () => {
console.log("API is running on port 4500");
});
const createAdmin = async () => {
const isAdminFound = await prisma.users.findMany({
where: {
email: {
in: [process.env.EMAIL_ADMIN, process.env.MY_EMAIL_ADMIN],
},
},
});
const hashedPassword = await bcrypt.hash(process.env.PASSWORD_ADMIN, 10);
if (!isAdminFound.length) {
await prisma.users.createMany({
data: [
{
lastName: "admin",
firstName: "admin",
email: process.env.EMAIL_ADMIN,
password: hashedPassword,
roles: "admin",
},
{
lastName: "admin",
firstName: "admin",
email: process.env.MY_EMAIL_ADMIN,
password: hashedPassword,
roles: "admin",
},
],
});
}
return;
};
const initBanner = async () => {
const isBannerFound = await prisma.banner.findMany();
if (!isBannerFound.length) {
await prisma.banner.create({
data: {
background: "#7548FE",
text: "Check this out Knock Clipper",
textColor: "white",
bannerUrl: "/knock-clipper",
bannerUrlText: "here",
isAddToCartButton: false,
disable: false,
},
});
}
return;
};
const initMainSection = async () => {
const isMainSection = await prisma.main_section.findMany();
const isKnockMainSection = await prisma.knock_main_section.findMany();
const isDTKPage = await prisma.dtk_page.findMany();
if (!isMainSection.length) {
await prisma.main_section.create({
data: {
h2: "KNOCK",
p: "Make your drums KNOCK and punch through the mix.",
buttonText: "Explore It Now",
buttonUrl: "/knock",
h2Color: "#fff",
pColor: "#c5c5c5",
mainImageUrl: "/images/534aaf62a986c03ee09ee62a138d3845.gif",
},
});
}
if (!isKnockMainSection.length) {
await prisma.knock_main_section.create({
data: {
h2: "MAKE YOUR DRUMS",
tradeMark: "KNOCK",
p: "Make your drums KNOCK and punch through the mix.",
mainImageUrl: "/images/29f8b3dde3b1d7e7a476bf19c95536f1.png",
buttonText: "Add To Cart",
},
});
}
if (!isDTKPage.length) {
await prisma.main_section_dtk_page.create({
data: {
h2: ["DRUMS", "THAT"],
p: [
"Designed from scratch by DECAP.",
"Premium quality, groundbreaking as always.",
"These drums",
],
tradeMark: "KNOCK",
},
});
}
return;
};
const initPopup = async () => {
const isPopup = await prisma.popup.findMany();
if (!isPopup.length) {
await prisma.popup.create({
data: {
h2: "KNOCK CLIPPER",
p: "Adjustable hard & soft clipper module from KNOCK.",
h2Color: "#FFFFFF",
pColor: "#FFFFFF",
buttonText: "Explore it",
buttonColor: "#7548FE",
buttonLink: "/knock-clipper",
mainImageUrl: "/images/abc59a63fe5ed68da58bff746fd14cce.png",
disable: false,
},
});
}
return;
};
const initHomePage = async () => {
const isHomePage = await prisma.home_page.findMany();
if (isHomePage.length) {
return;
}
await prisma.home_page.create({
data: {
second_section_home_page: {
create: [
{
h2: "CLIPPER",
tradeMark: "KNOCK",
p: "Adjustable hard + soft clipper module from KNOCK.",
button: "Explore It Now",
buttonUrl: "/knock-clipper",
buttonColor: "#7548FE",
imageUrl: "/images/knock-clipper.png",
},
],
},
third_section_home_page: {
create: [
{
h2: "MAKE YOUR DRUMS",
tradeMark: "KNOCK",
p: "DECAP is a Billboard Top 10, platinum-certified producer, sound designer, and the creator of Drums That Knock. The series garnered over 5 million downloads, and it has helped shape the sound of modern rap, r&b, and pop music. Drums That Knock are being used on grammy winning songs, and trusted by producers all over the world.",
},
],
},
forth_section_home_page: {
create: [
{
h2: ["DRUMS THAT", "SAMPLE PACKS"],
tradeMark: "KNOCK",
p: [
"Designed from scratch by DECAP.",
"Premium quality, groundbreaking as always.",
],
button: "Explore Them",
buttonColor: "#7548FE",
buttonUrl: "/drums-that-knock",
itemOneHandle: "drums-that-knock-vol-9",
itemTwoHandle: "drums-that-knock-x",
},
],
},
},
});
};
const initKnockPage = async () => {
const isKnockPage = await prisma.knock_page.findMany();
if (isKnockPage.length) {
return;
}
await prisma.knock_page.create({
data: {
second_section_knock_page: {
create: {
p: "KNOCK is the last plugin you will ever need to make your drums slap and punch through your mix. This plugin was meticulously crafted by platinum producer & award winning sound designer, DECAP. It is inspired by the signature sound of his popular drum kit series DRUMS THAT KNOCK, which has helped shaped the sonics of modern music. ",
},
},
third_section_knock_page: {
create: {
h2: "HOW KNOCK SHAPES YOUR DRUMS",
tradeMark: "",
third_section_knock_page_content: {
createMany: {
data: [
{
image: "/images/knock/I1_266x266 1.png",
h3: "PUNCH",
p: "Transient shaper, amplifies the attack of your drums, making them more snappy and punchy. Add a touch of Punch to bring your drum tracks to life. Great for drum loops or one shots. ",
},
{
image: "/images/knock/Saturate_266x266 1.png",
h3: "SATURATE",
p: "Adds harmonic distortion while compensating perceived loudness volume. Choose from three selectable modes (soft, medium, hard). Perfect for 808s, one shots, or drum loops.",
},
{
image: "/images/knock/SUB_266x266 1.png",
h3: "SUB",
p: "Detects when a kick drum is present, and generates a layered sub frequency tone, giving your kick a deep low end presence. Select the pitch of your sub tone. Perfect for breakbeats, and tuning your kick drum to the key of your song.",
},
{
image: "/images/knock/AIR_266x266 1.png",
h3: "AIR",
p: "Adds smooth, transparent top end to your drum tracks without even a hint of harshness. There are two user selectable modes (vintage and clean).",
},
{
image: "/images/knock/CLERP_266x266 1.png",
h3: "CLIP",
p: "A user adjustable hard & soft clipper. Push your drums hard without clipping to give your drums a warm, aggressive tone reminiscent of pushing vintage analogue gear into 'the red'. Select a harder clip curve for a more aggressive tone, or a softer clip curve for a more rounded tone.",
},
],
},
},
},
},
forth_section_knock_page: {
create: [
{
h2: "EASY TO USE",
p: "KNOCK is optimized for extreme ease of use for beginners and professionals alike. Use KNOCK to make your drums slap, and take you to the next level. Whether you are new to producing, or a seasoned pro, KNOCK will seamlessly fit into your workflow. It's lightweight on your CPU too - use iton a bunch of tracks!",
button: "Add to Cart",
imageUrl: "/images/laptop final 1.png",
},
],
},
fifth_section_knock_page: {
create: [
{
imageUrl: "/images/29f8b3dde3b1d7e7a476bf19c95536f1.png",
p: "This plugin includes every feature DECAP used in order to craft his signature sound heard in DRUMS THAT KNOCK, and has been optimized for the highest quality sound possible. Every feature has been fine tuned to perfection to DECAP's production standards. KNOCK also comes bundled with factory presets crafted by DECAP.",
button: "Add To Cart",
h2: "DRUMS THAT",
tradeMark: "KNOCK",
},
],
},
six_section_knock_page: {
create: [
{
six_section_knock_page_content: {
createMany: {
data: reviews.reviews,
},
},
},
],
},
seven_section_knock_page: {
create: [
{
h2: "SYSTEM REQUIREMENTS",
p: "Supported by all major DAWs in 64-bit VST3, AU and AAX format.",
seven_section_knock_page_mac: {
createMany: {
data: [
{
li: "9 OSX 10.12+ - AU, VST3, AAX (Fully compatible with both Mac OS Ventura and Apple M1 & M2.)",
},
{
li: "Intel Core i5, i7, i9, Xeon, Apple M1",
},
{
li: "8GB RAM required, 16GB recommended",
},
{
li: "HDD Space requirements: Minimum of 500MB",
},
],
},
},
seven_section_knock_page_pc: {
createMany: {
data: [
{
li: "Intel Core i5, i7, i9, Xeon (all Gen 5 and above), AMD Quad Core",
},
{
li: "Windows 8.1, 10 - 64 bit VST3, AAX",
},
{
li: "8GB RAM required, 16GB recommended",
},
{
li: "HDD Space requirements: Minimum of 500MB",
},
],
},
},
},
],
},
eight_section_knock_page: {
create: {
h2: "TAKE YOUR DRUMS TO THE NEXT LEVEL",
youtubeUrl: "https://www.youtube.com/embed/adhIJxIHzkg",
youtubeImageUrl: "https://i.ytimg.com/vi/adhIJxIHzkg/sddefault.jpg",
youtubeUrl2: "https://www.youtube.com/embed/LMOG2rvxqGk",
youtubeImageUrl2:
"https://i.ytimg.com/vi/LMOG2rvxqGk/sddefault.jpg?sqp=-oaymwEmCIAFEOAD8quKqQMa8AEB-AHUBoAC4AOKAgwIABABGGMgYyhjMA8=&rs=AOn4CLCBtGH38Chf3EaWBsf4pnHCWR6oQw",
button: "Add To Cart",
},
},
ios_section_knock_page: {
create: {
h2: "AVAILABLE ON IOS",
tradeMark: "",
p: "KNOCK is now available for both iPad and iPhone on the Apple Store. Use KNOCK in your favorite mobile DAW that supports AUv3 plugins.",
button: "App Store",
buttonUrl: "https://apps.apple.com/us/app/knock/id6443654114",
buttonColor: "",
imageUrl: "/images/7f06f68fcc36f36e4fc8dee2d1991a8ad6be59e0.png",
},
},
},
});
};
const initKnockClipperPage = async () => {
const isKnockPage = await prisma.knock_clipper_page.findMany();
if (isKnockPage.length) {
return;
}
await prisma.knock_clipper_main_section.create({
data: {
h2: "CLIPPER",
p: "Adjustable hard & soft clipper module from KNOCK.",
tradeMark: "KNOCK",
mainImageUrl: "/images/abc59a63fe5ed68da58bff746fd14cce.png",
buttonText: "Add To Cart",
},
});
await prisma.knock_clipper_page.create({
data: {
second_section_knock_clipper_page: {
create: {
p: "KNOCK Clipper is a premium quality, user adjustable hard / soft clipper designed by DECAP. It is the CLIP module from his acclaimed plugin, KNOCK. It is inspired by the signature sound of his popular drum kit series DRUMS THAT KNOCK, which has helped shaped the sonics of modern music.",
},
},
third_section_knock_clipper_page: {
create: {
h2: "CLIPPER",
tradeMark: "KNOCK",
p: 'Push your drums hard without ever going above 0db to give your drums a warm, aggressive tone reminiscent of pushing vintage analogue gear into "the red". Select a harder clip curve for a more aggressive tone, or a softer clip curve for a rounder tone. KNOCK Clipper has an optional high quality mode to enable oversampling.',
imageUrl: "/images/f53123f1bc1e263458b5926c1b1422c3.png",
button: "Add To Cart",
},
},
forth_section_knock_clipper_page: {
create: {
h2: "SYSTEM REQUIREMENTS",
p: "Supported by all major DAWs in 64-bit VST3, AU and AAX format.",
forth_section_knock_clipper_page_mac: {
createMany: {
data: [
{
li: "9 OSX 11+ - AU, VST3, AAX (Fully compatible with both Mac OS Ventura and Apple M1 & M2.)",
},
{
li: "Intel Core i5, i7, i9, Xeon, Apple M1",
},
{
li: "8GB RAM required, 16GB recommended",
},
{
li: "HDD Space requirements: Minimum of 500MB",
},
],
},
},
forth_section_knock_clipper_page_pc: {
createMany: {
data: [
{
li: "Intel Core i5, i7, i9, Xeon (all Gen 5 and above), AMD Quad Core",
},
{
li: "Windows 8.1, 10 - 64 bit VST3, AAX",
},
{
li: "8GB RAM required, 16GB recommended",
},
{
li: "HDD Space requirements: Minimum of 500MB",
},
],
},
},
},
},
fifth_section_knock_clipper_page: {
create: {
h2: "TAKE YOUR DRUMS TO THE NEXT LEVEL",
button: "Add To Cart",
youtubeImageUrl: "https://i.ytimg.com/vi/0u4-MZiPtPI/sddefault.jpg",
youtubeUrl: "https://www.youtube.com/embed/0u4-MZiPtPI",
youtubeImageUrl2: "https://i.ytimg.com/vi/hM3IMIPc6DA/sddefault.jpg",
youtubeUrl2: "https://www.youtube.com/embed/hM3IMIPc6DA",
},
},
},
});
};
const initDTKPage = async () => {
const isDTKPage = await prisma.dtk_page.findMany();
if (isDTKPage.length) {
return;
}
await prisma.dtk_page.create({
data: {
artist_section_dtk_page: {
create: {
h2: "SOME ARTISTS WHO HAVE USED DRUMS THAT",
tradeMark: "KNOCK",
artist_section_dtk_page_content: {
createMany: {
data: reviews.artists,
},
},
},
},
review_section_dtk_page: {
create: {
review_section_dtk_page_content: {
createMany: {
data: reviews.reviewsDTKPage,
},
},
},
},
last_section_dtk_page: {
create: {
tradeMark: "KNOCK",
p: "This is the last plugin you will ever need to make your drums KNOCK and punch through your mix. This plugin was meticulously crafted by DECAP. It is inspired by the signature sound of Drums That Knock, which has helped shaped the sonics of modern music.",
button: "Learn More",
buttonUrl: "/knock",
h2: "",
imageUrl:
"/images/Knock-Hero_640eb224-a363-45df-a1b0-7adf680e8473.webp",
},
},
},
});
};
const initFAQPage = async () => {
const isFAQ = await prisma.faq_page.findMany();
if (isFAQ.length) {
return;
}
await prisma.faq_page.create({
data: {
h2: "DOES KNOCK COME WITH PRESETS?",
p: "Yes! KNOCK comes bundled with factory presets crafted by DECAP.",
answer_type: "answer",
},
});
await prisma.faq_page.create({
data: {
h2: "ARE YOUR PLUGINS COMPATIBLE WITH MY DAW?",
p: "Our plugins are compatible with every DAW that supports VST3, AU or AAX plugin formats. Please note that VST2 is not supported. This includes the latest versions of: Ableton Live, FL Studio, Pro Tools, Logic Studio, Reaper, Studio One, and others.",
answer_type: "answer",
},
});
await prisma.faq_page.create({
data: {
h2: "WHAT ARE THE SYSTEM REQUIREMENTS / COMPATIBILITY?",
p: "Supported by all major DAWs in 64-bit VST3, AU and AAX format.",
h3: "OS/Processor:",
faq_list: {
createMany: {
data: [
{
li: "Mac: Intel Core i5, i7, i9, Xeon, Apple M1 - OSX 11+ - AU, VST3, AAX",
},
{
li: "Windows: Intel Core i5, i7, i9, Xeon (all Gen 5 and above), AMD Quad Core - WIN 8.1, 10 - 64 bit VST3, AAX",
},
{
li: "HDD Space requirements: Minimum of 500MB - 8GB RAM required, 16GB recommended",
},
],
},
},
answer_type: "opening_and_lists",
},
});
await prisma.faq_page.create({
data: {
h2: "DO YOU OFFER A DEMO VERSION?",
p: "At the moment, there are no demo versions.",
answer_type: "answer",
},
});
await prisma.faq_page.create({
data: {
h2: "DO YOU SUPPORT MAC OS VENTURA & APPLE SILICON M1 & M2?",
p: "Our plugins are fully compatible with both Mac OS Ventura and Apple M1 & M2 processors.",
answer_type: "answer",
},
});
await prisma.faq_page.create({
data: {
h2: "IS PRO TOOLS / AAX SUPPORTED?",
p: "Yes! Our plugins are compatible with Pro Tools / AAX.",
answer_type: "answer",
},
});
};
const initDTKproduct = async () => {
const isDTKproduct = await prisma.dtk_product.findMany();
if (isDTKproduct.length) {
return;
}
await prisma.dtk_product.create({
data: {
handle: "melodies-that-knock-vol-1",
fileCount: 0,
description: {
create: {
text: "DECAP - Melodies That Knock Vol. 1 melodic sample pack. This kit is perfectly paired with Drums That Knock.",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/du81OLTutOc",
srcImage:
"https://img.youtube.com/vi/du81OLTutOc/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "14 original samples composed by DECAP",
},
{
li: "Every sound from each sample is isolated into individual stems (73 total stems)",
},
{
li: "All samples are labeled with tempo, and key, and ready to drop right into your DAW. No editing required.",
},
{
li: "All samples can be re-arranged, chopped, flipped, stretched, etc",
},
{
li: "Samples and stems are in high quality 44.1kHz/32bit format",
},
{
li: "2.48gb of top notch content",
},
{
li: "Compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
{
li: "Contact info for sample clearance contained in download file. Clearance is guaranteed.",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "melodies-that-knock-vol-2-free-download",
fileCount: 0,
description: {
create: {
text: "DECAP - Melodies That Knock Vol. 2 melodic sample pack. This kit is perfectly paired with Drums That Knock.",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/T64PcrQaC-A",
srcImage:
"https://img.youtube.com/vi/T64PcrQaC-A/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "10 original samples composed by DECAP",
},
{
li: "All samples are labeled with tempo, and key, and ready to drop right into your DAW. No editing required.",
},
{
li: "All samples can be re-arranged, chopped, flipped, stretched, etc",
},
{
li: "Samples and stems are in high quality 44.1kHz/24bit format",
},
{
li: "Compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
{
li: "Contact info for sample clearance contained in download file. Clearance is guaranteed.",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "drums-that-knock-vol-1",
fileCount: 95,
description: {
create: {
text: "DECAP - Drums That Knock Vol. 1",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/EduPz5KmANk",
srcImage:
"https://img.youtube.com/vi/EduPz5KmANk/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "All sounds and loops are 100% royalty free",
},
{
li: "All sounds are crafted, sculpted, specially designed to KNOCK / punch through your mix",
},
{
li: "All sounds are 100% original (no recycled sounds)",
},
{
li: "All loops are labeled with the tempo and ready to drop right into your DAW with no editing required",
},
{
li: "All sounds are 24bit/44.1kHz format",
},
{
li: "Drums That Knock is compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
],
},
},
filesIncluded: {
createMany: {
data: [
{
li: "10 808s",
},
{
li: "14 Kicks",
},
{
li: "14 Snares",
},
{
li: "12 Hihats",
},
{
li: "20 Loops",
},
{
li: "25 Percussion + Other",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "drums-that-knock-vol-2",
fileCount: 105,
description: {
create: {
text: "DECAP - Drums That Knock Vol. 2",
},
},
features: {
createMany: {
data: [
{
li: "All sounds and loops are 100% royalty free",
},
{
li: "All sounds are crafted, sculpted, specially designed to KNOCK / punch through your mix",
},
{
li: "All sounds are 100% original (no recycled sounds)",
},
{
li: "All loops are labeled with the tempo and ready to drop right into your DAW with no editing required",
},
{
li: "All sounds are 24bit/44.1kHz format",
},
{
li: "Drums That Knock is compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
],
},
},
filesIncluded: {
createMany: {
data: [
{
li: "10 808s",
},
{
li: "20 Kicks",
},
{
li: "20 Snares",
},
{
li: "25 loopsforbeats",
},
{
li: "20 Hihats",
},
{
li: "25 Shouts",
},
{
li: "25 Textures",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "drums-that-knock-vol-3",
fileCount: 154,
description: {
create: {
text: "DECAP - Drums That Knock Vol. 3",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/23e9wz11lqA",
srcImage:
"https://img.youtube.com/vi/23e9wz11lqA/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "All sounds and loops are 100% royalty free",
},
{
li: "All sounds are crafted, sculpted, specially designed to KNOCK / punch through your mix",
},
{
li: "All sounds are 100% original (no recycled sounds)",
},
{
li: "All loops are labeled with the tempo and ready to drop right into your DAW with no editing required",
},
{
li: "All sounds are 24bit/44.1kHz format",
},
{
li: "Drums That Knock is compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
],
},
},
filesIncluded: {
createMany: {
data: [
{
li: "10 808s",
},
{
li: "20 Kicks",
},
{
li: "20 Snares",
},
{
li: "25 loopsforbeats",
},
{
li: "20 Hihats",
},
{
li: "25 Shouts",
},
{
li: "25 Textures",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "drums-that-knock-vol-4",
fileCount: 132,
description: {
create: {
text: "DECAP - Drums That Knock Vol. 4",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/zXklcm6yYdk",
srcImage:
"https://img.youtube.com/vi/zXklcm6yYdk/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "All sounds and loops are 100% royalty free",
},
{
li: "All sounds are crafted, sculpted, specially designed to KNOCK / punch through your mix",
},
{
li: "All sounds are 100% original (no recycled sounds)",
},
{
li: "All loops are labeled with the tempo and ready to drop right into your DAW with no editing required",
},
{
li: "All sounds are 24bit/44.1kHz format",
},
{
li: "Drums That Knock is compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
],
},
},
filesIncluded: {
createMany: {
data: [
{
li: "13 Analog 808s",
},
{
li: "23 Kicks",
},
{
li: "19 Snares",
},
{
li: "8 Hihats",
},
{
li: "19 Melodic Loops",
},
{
li: "14 Percussion One Shots",
},
{
li: "22 Shouts",
},
{
li: "14 Textures",
},
],
},
},
},
});
await prisma.dtk_product.create({
data: {
handle: "drums-that-knock-vol-5",
fileCount: 190,
description: {
create: {
text: "DECAP - Drums That Knock Vol. 5",
},
},
youtubeVideo: {
createMany: {
data: [
{
src: "https://www.youtube.com/embed/Vrn2jOXbtXU",
srcImage:
"https://img.youtube.com/vi/Vrn2jOXbtXU/maxresdefault.jpg",
title: "",
},
],
},
},
features: {
createMany: {
data: [
{
li: "All sounds and loops are 100% royalty free",
},
{
li: "All sounds are crafted, sculpted, specially designed to KNOCK / punch through your mix",
},
{
li: "All sounds are 100% original (no recycled sounds)",
},
{
li: "All loops are labeled with the tempo and ready to drop right into your DAW with no editing required",
},
{
li: "All sounds are 24bit/44.1kHz format",
},
{
li: "Drums That Knock is compatible with any DAW software or beat machine (Ableton, FL Studio, Logic, Reason, MPC, Maschine, Studio One, etc)",
},
],
},
},
filesIncluded: {
createMany: {
data: [
{
li: "16 808s and Bass Sounds",
},
{
li: "18 Kicks",
},
{
li: "24 Snares",
},
{
li: "13 Hihats",
},
{
li: "35 Shouts",
},
{
li: "9 Hihat Loops",