@01.software/sdk 0.2.9-dev.260309.c56872d → 0.2.9-dev.260311.926a6d4
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/README.md +21 -8
- package/dist/auth.cjs +3 -1
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +36 -3
- package/dist/auth.d.ts +36 -3
- package/dist/auth.js +3 -1
- package/dist/auth.js.map +1 -1
- package/dist/components/code-block.cjs +182 -0
- package/dist/components/code-block.cjs.map +1 -0
- package/dist/components/code-block.d.cts +62 -0
- package/dist/components/code-block.d.ts +62 -0
- package/dist/components/code-block.js +152 -0
- package/dist/components/code-block.js.map +1 -0
- package/dist/{flow.cjs → components/flow.cjs} +111 -87
- package/dist/components/flow.cjs.map +1 -0
- package/dist/{flow.d.cts → components/flow.d.cts} +27 -11
- package/dist/{flow.d.ts → components/flow.d.ts} +27 -11
- package/dist/{flow.js → components/flow.js} +113 -88
- package/dist/components/flow.js.map +1 -0
- package/dist/{components.cjs → components/form.cjs} +25 -518
- package/dist/components/form.cjs.map +1 -0
- package/dist/components/form.d.cts +37 -0
- package/dist/components/form.d.ts +37 -0
- package/dist/{components.js → components/form.js} +17 -513
- package/dist/components/form.js.map +1 -0
- package/dist/components/image.cjs +208 -0
- package/dist/components/image.cjs.map +1 -0
- package/dist/components/image.d.cts +44 -0
- package/dist/components/image.d.ts +44 -0
- package/dist/components/image.js +180 -0
- package/dist/components/image.js.map +1 -0
- package/dist/components/rich-text.cjs +258 -0
- package/dist/components/rich-text.cjs.map +1 -0
- package/dist/components/rich-text.d.cts +110 -0
- package/dist/components/rich-text.d.ts +110 -0
- package/dist/components/rich-text.js +235 -0
- package/dist/components/rich-text.js.map +1 -0
- package/dist/index.cjs +252 -258
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +324 -161
- package/dist/index.d.ts +324 -161
- package/dist/index.js +255 -258
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-2wbfaDxp.d.cts → payload-types-BjvBwB8Z.d.cts} +1633 -507
- package/dist/{payload-types-2wbfaDxp.d.ts → payload-types-BjvBwB8Z.d.ts} +1633 -507
- package/dist/{webhook-I6ZDGW1d.d.ts → webhook-CszIpUKn.d.cts} +2 -2
- package/dist/{webhook-Byzl1A0g.d.cts → webhook-_LdLdjGa.d.ts} +2 -2
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +66 -33
- package/dist/auth-BieKA-OQ.d.ts +0 -298
- package/dist/auth-CAV8xgZk.d.cts +0 -298
- package/dist/components.cjs.map +0 -1
- package/dist/components.d.cts +0 -240
- package/dist/components.d.ts +0 -240
- package/dist/components.js.map +0 -1
- package/dist/flow.cjs.map +0 -1
- package/dist/flow.js.map +0 -1
|
@@ -22,6 +22,7 @@ interface Config {
|
|
|
22
22
|
};
|
|
23
23
|
collections: {
|
|
24
24
|
users: User;
|
|
25
|
+
'field-configs': FieldConfig;
|
|
25
26
|
media: Media;
|
|
26
27
|
audiences: Audience;
|
|
27
28
|
'email-logs': EmailLog;
|
|
@@ -69,16 +70,24 @@ interface Config {
|
|
|
69
70
|
'document-types': DocumentType;
|
|
70
71
|
'document-images': DocumentImage;
|
|
71
72
|
playlists: Playlist;
|
|
73
|
+
'playlist-categories': PlaylistCategory;
|
|
74
|
+
'playlist-tags': PlaylistTag;
|
|
72
75
|
musics: Music;
|
|
73
76
|
'playlist-images': PlaylistImage;
|
|
74
77
|
galleries: Gallery;
|
|
75
78
|
'gallery-images': GalleryImage;
|
|
76
79
|
'gallery-categories': GalleryCategory;
|
|
80
|
+
'gallery-tags': GalleryTag;
|
|
77
81
|
flows: Flow;
|
|
78
82
|
'flow-node-types': FlowNodeType;
|
|
79
83
|
'flow-edge-types': FlowEdgeType;
|
|
84
|
+
'flow-categories': FlowCategory;
|
|
80
85
|
'flow-images': FlowImage;
|
|
86
|
+
'flow-tags': FlowTag;
|
|
81
87
|
videos: Video;
|
|
88
|
+
'video-categories': VideoCategory;
|
|
89
|
+
'video-tags': VideoTag;
|
|
90
|
+
'video-images': VideoImage;
|
|
82
91
|
'live-streams': LiveStream;
|
|
83
92
|
'live-stream-images': LiveStreamImage;
|
|
84
93
|
forms: Form;
|
|
@@ -135,6 +144,7 @@ interface Config {
|
|
|
135
144
|
};
|
|
136
145
|
collectionsSelect: {
|
|
137
146
|
users: UsersSelect<false> | UsersSelect<true>;
|
|
147
|
+
'field-configs': FieldConfigsSelect<false> | FieldConfigsSelect<true>;
|
|
138
148
|
media: MediaSelect<false> | MediaSelect<true>;
|
|
139
149
|
audiences: AudiencesSelect<false> | AudiencesSelect<true>;
|
|
140
150
|
'email-logs': EmailLogsSelect<false> | EmailLogsSelect<true>;
|
|
@@ -182,16 +192,24 @@ interface Config {
|
|
|
182
192
|
'document-types': DocumentTypesSelect<false> | DocumentTypesSelect<true>;
|
|
183
193
|
'document-images': DocumentImagesSelect<false> | DocumentImagesSelect<true>;
|
|
184
194
|
playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
|
|
195
|
+
'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
|
|
196
|
+
'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
|
|
185
197
|
musics: MusicsSelect<false> | MusicsSelect<true>;
|
|
186
198
|
'playlist-images': PlaylistImagesSelect<false> | PlaylistImagesSelect<true>;
|
|
187
199
|
galleries: GalleriesSelect<false> | GalleriesSelect<true>;
|
|
188
200
|
'gallery-images': GalleryImagesSelect<false> | GalleryImagesSelect<true>;
|
|
189
201
|
'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
|
|
202
|
+
'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
|
|
190
203
|
flows: FlowsSelect<false> | FlowsSelect<true>;
|
|
191
204
|
'flow-node-types': FlowNodeTypesSelect<false> | FlowNodeTypesSelect<true>;
|
|
192
205
|
'flow-edge-types': FlowEdgeTypesSelect<false> | FlowEdgeTypesSelect<true>;
|
|
206
|
+
'flow-categories': FlowCategoriesSelect<false> | FlowCategoriesSelect<true>;
|
|
193
207
|
'flow-images': FlowImagesSelect<false> | FlowImagesSelect<true>;
|
|
208
|
+
'flow-tags': FlowTagsSelect<false> | FlowTagsSelect<true>;
|
|
194
209
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
210
|
+
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
211
|
+
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
212
|
+
'video-images': VideoImagesSelect<false> | VideoImagesSelect<true>;
|
|
195
213
|
'live-streams': LiveStreamsSelect<false> | LiveStreamsSelect<true>;
|
|
196
214
|
'live-stream-images': LiveStreamImagesSelect<false> | LiveStreamImagesSelect<true>;
|
|
197
215
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
@@ -303,6 +321,9 @@ interface User {
|
|
|
303
321
|
emailPreferences?: {
|
|
304
322
|
usageAlerts?: boolean | null;
|
|
305
323
|
};
|
|
324
|
+
fieldConfigs?: {
|
|
325
|
+
[k: string]: unknown;
|
|
326
|
+
} | unknown[] | string | number | boolean | null;
|
|
306
327
|
updatedAt: string;
|
|
307
328
|
createdAt: string;
|
|
308
329
|
email: string;
|
|
@@ -370,6 +391,21 @@ interface Tenant {
|
|
|
370
391
|
updatedAt: string;
|
|
371
392
|
createdAt: string;
|
|
372
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
396
|
+
* via the `definition` "field-configs".
|
|
397
|
+
*/
|
|
398
|
+
interface FieldConfig {
|
|
399
|
+
id: string;
|
|
400
|
+
tenant?: (string | null) | Tenant;
|
|
401
|
+
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'customers' | 'customer-groups' | 'carts' | 'transactions' | 'returns' | 'exchanges' | 'post-authors' | 'documents' | 'posts' | 'post-categories' | 'post-tags' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'document-categories' | 'document-types' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'forms' | 'musics' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams';
|
|
402
|
+
isHidden?: boolean | null;
|
|
403
|
+
hiddenFields?: {
|
|
404
|
+
[k: string]: unknown;
|
|
405
|
+
} | unknown[] | string | number | boolean | null;
|
|
406
|
+
updatedAt: string;
|
|
407
|
+
createdAt: string;
|
|
408
|
+
}
|
|
373
409
|
/**
|
|
374
410
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
375
411
|
* via the `definition` "media".
|
|
@@ -484,6 +520,46 @@ interface TenantMetadatum {
|
|
|
484
520
|
*/
|
|
485
521
|
themeColor?: string | null;
|
|
486
522
|
};
|
|
523
|
+
seo?: {
|
|
524
|
+
/**
|
|
525
|
+
* Robots meta tag (e.g., "index, follow" or "noindex, nofollow")
|
|
526
|
+
*/
|
|
527
|
+
robots?: string | null;
|
|
528
|
+
/**
|
|
529
|
+
* Google Site Verification code
|
|
530
|
+
*/
|
|
531
|
+
googleSiteVerification?: string | null;
|
|
532
|
+
/**
|
|
533
|
+
* Bing Site Verification code
|
|
534
|
+
*/
|
|
535
|
+
bingSiteVerification?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* Naver Site Verification code
|
|
538
|
+
*/
|
|
539
|
+
naverSiteVerification?: string | null;
|
|
540
|
+
/**
|
|
541
|
+
* Canonical URL (if different from site URL)
|
|
542
|
+
*/
|
|
543
|
+
canonicalUrl?: string | null;
|
|
544
|
+
};
|
|
545
|
+
analytics?: {
|
|
546
|
+
/**
|
|
547
|
+
* Google Analytics ID (e.g., G-XXXXXXXXXX)
|
|
548
|
+
*/
|
|
549
|
+
googleAnalyticsId?: string | null;
|
|
550
|
+
/**
|
|
551
|
+
* Google Tag Manager ID (e.g., GTM-XXXXXXX)
|
|
552
|
+
*/
|
|
553
|
+
googleTagManagerId?: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* Facebook Pixel ID
|
|
556
|
+
*/
|
|
557
|
+
facebookPixelId?: string | null;
|
|
558
|
+
/**
|
|
559
|
+
* LinkedIn Partner ID
|
|
560
|
+
*/
|
|
561
|
+
linkedInPartnerId?: string | null;
|
|
562
|
+
};
|
|
487
563
|
openGraph?: {
|
|
488
564
|
/**
|
|
489
565
|
* Open Graph title (falls back to site title)
|
|
@@ -532,28 +608,6 @@ interface TenantMetadatum {
|
|
|
532
608
|
*/
|
|
533
609
|
twitterImage?: (string | null) | TenantOgImage;
|
|
534
610
|
};
|
|
535
|
-
seo?: {
|
|
536
|
-
/**
|
|
537
|
-
* Robots meta tag (e.g., "index, follow" or "noindex, nofollow")
|
|
538
|
-
*/
|
|
539
|
-
robots?: string | null;
|
|
540
|
-
/**
|
|
541
|
-
* Google Site Verification code
|
|
542
|
-
*/
|
|
543
|
-
googleSiteVerification?: string | null;
|
|
544
|
-
/**
|
|
545
|
-
* Bing Site Verification code
|
|
546
|
-
*/
|
|
547
|
-
bingSiteVerification?: string | null;
|
|
548
|
-
/**
|
|
549
|
-
* Naver Site Verification code
|
|
550
|
-
*/
|
|
551
|
-
naverSiteVerification?: string | null;
|
|
552
|
-
/**
|
|
553
|
-
* Canonical URL (if different from site URL)
|
|
554
|
-
*/
|
|
555
|
-
canonicalUrl?: string | null;
|
|
556
|
-
};
|
|
557
611
|
pwa?: {
|
|
558
612
|
/**
|
|
559
613
|
* Short name for PWA (12 characters max)
|
|
@@ -568,24 +622,6 @@ interface TenantMetadatum {
|
|
|
568
622
|
*/
|
|
569
623
|
display?: ('fullscreen' | 'standalone' | 'minimal-ui' | 'browser') | null;
|
|
570
624
|
};
|
|
571
|
-
analytics?: {
|
|
572
|
-
/**
|
|
573
|
-
* Google Analytics ID (e.g., G-XXXXXXXXXX)
|
|
574
|
-
*/
|
|
575
|
-
googleAnalyticsId?: string | null;
|
|
576
|
-
/**
|
|
577
|
-
* Google Tag Manager ID (e.g., GTM-XXXXXXX)
|
|
578
|
-
*/
|
|
579
|
-
googleTagManagerId?: string | null;
|
|
580
|
-
/**
|
|
581
|
-
* Facebook Pixel ID
|
|
582
|
-
*/
|
|
583
|
-
facebookPixelId?: string | null;
|
|
584
|
-
/**
|
|
585
|
-
* LinkedIn Partner ID
|
|
586
|
-
*/
|
|
587
|
-
linkedInPartnerId?: string | null;
|
|
588
|
-
};
|
|
589
625
|
updatedAt: string;
|
|
590
626
|
createdAt: string;
|
|
591
627
|
}
|
|
@@ -754,6 +790,10 @@ interface ApiUsage {
|
|
|
754
790
|
* Weighted video minutes used (duration × quality multiplier)
|
|
755
791
|
*/
|
|
756
792
|
videoMinutesUsed?: number | null;
|
|
793
|
+
/**
|
|
794
|
+
* Monthly viewer watch time from Mux Data
|
|
795
|
+
*/
|
|
796
|
+
deliveryMinutesUsed?: number | null;
|
|
757
797
|
updatedAt: string;
|
|
758
798
|
createdAt: string;
|
|
759
799
|
}
|
|
@@ -763,8 +803,6 @@ interface ApiUsage {
|
|
|
763
803
|
*/
|
|
764
804
|
interface Subscription {
|
|
765
805
|
id: string;
|
|
766
|
-
provider: 'toss' | 'polar';
|
|
767
|
-
currency: 'KRW' | 'USD';
|
|
768
806
|
tenant: string | Tenant;
|
|
769
807
|
plan: 'starter' | 'basic' | 'pro';
|
|
770
808
|
billingCycle: 'monthly' | 'yearly';
|
|
@@ -773,6 +811,11 @@ interface Subscription {
|
|
|
773
811
|
*/
|
|
774
812
|
amount: number;
|
|
775
813
|
status: 'active' | 'past_due' | 'canceled' | 'expired' | 'suspended';
|
|
814
|
+
currency: 'KRW' | 'USD';
|
|
815
|
+
provider: 'toss' | 'polar';
|
|
816
|
+
currentPeriodStart?: string | null;
|
|
817
|
+
currentPeriodEnd?: string | null;
|
|
818
|
+
nextBillingDate?: string | null;
|
|
776
819
|
/**
|
|
777
820
|
* Toss billing key (AES-256-GCM encrypted)
|
|
778
821
|
*/
|
|
@@ -804,9 +847,6 @@ interface Subscription {
|
|
|
804
847
|
* Polar product ID
|
|
805
848
|
*/
|
|
806
849
|
polarProductId?: string | null;
|
|
807
|
-
currentPeriodStart?: string | null;
|
|
808
|
-
currentPeriodEnd?: string | null;
|
|
809
|
-
nextBillingDate?: string | null;
|
|
810
850
|
cancelAtPeriodEnd?: boolean | null;
|
|
811
851
|
canceledAt?: string | null;
|
|
812
852
|
cancelReason?: string | null;
|
|
@@ -827,8 +867,6 @@ interface Subscription {
|
|
|
827
867
|
*/
|
|
828
868
|
interface BillingHistory {
|
|
829
869
|
id: string;
|
|
830
|
-
provider: 'toss' | 'polar';
|
|
831
|
-
currency: 'KRW' | 'USD';
|
|
832
870
|
tenant: string | Tenant;
|
|
833
871
|
subscription?: (string | null) | Subscription;
|
|
834
872
|
type: 'payment' | 'refund' | 'plan_change';
|
|
@@ -838,21 +876,23 @@ interface BillingHistory {
|
|
|
838
876
|
*/
|
|
839
877
|
amount: number;
|
|
840
878
|
/**
|
|
841
|
-
*
|
|
879
|
+
* Plan at time of payment
|
|
842
880
|
*/
|
|
843
|
-
|
|
881
|
+
plan?: string | null;
|
|
882
|
+
provider: 'toss' | 'polar';
|
|
883
|
+
currency: 'KRW' | 'USD';
|
|
884
|
+
billingCycle?: ('monthly' | 'yearly') | null;
|
|
885
|
+
periodStart?: string | null;
|
|
886
|
+
periodEnd?: string | null;
|
|
844
887
|
/**
|
|
845
888
|
* Unique order number
|
|
846
889
|
*/
|
|
847
890
|
orderId: string;
|
|
848
891
|
orderName?: string | null;
|
|
849
892
|
/**
|
|
850
|
-
*
|
|
893
|
+
* Toss payment key
|
|
851
894
|
*/
|
|
852
|
-
|
|
853
|
-
billingCycle?: ('monthly' | 'yearly') | null;
|
|
854
|
-
periodStart?: string | null;
|
|
855
|
-
periodEnd?: string | null;
|
|
895
|
+
paymentKey?: string | null;
|
|
856
896
|
/**
|
|
857
897
|
* Full Toss API response
|
|
858
898
|
*/
|
|
@@ -975,24 +1015,19 @@ interface Product {
|
|
|
975
1015
|
tenant?: (string | null) | Tenant;
|
|
976
1016
|
title: string;
|
|
977
1017
|
subtitle?: string | null;
|
|
1018
|
+
/**
|
|
1019
|
+
* Short summary for listing/cards
|
|
1020
|
+
*/
|
|
1021
|
+
description?: string | null;
|
|
978
1022
|
thumbnail?: (string | null) | ProductImage;
|
|
979
1023
|
images?: (string | ProductImage)[] | null;
|
|
1024
|
+
videos?: (string | Video)[] | null;
|
|
980
1025
|
price: number;
|
|
981
1026
|
/**
|
|
982
1027
|
* Original price before discount
|
|
983
1028
|
*/
|
|
984
1029
|
compareAtPrice?: number | null;
|
|
985
|
-
|
|
986
|
-
docs?: (string | ProductVariant)[];
|
|
987
|
-
hasNextPage?: boolean;
|
|
988
|
-
totalDocs?: number;
|
|
989
|
-
};
|
|
990
|
-
options?: {
|
|
991
|
-
docs?: (string | ProductOption)[];
|
|
992
|
-
hasNextPage?: boolean;
|
|
993
|
-
totalDocs?: number;
|
|
994
|
-
};
|
|
995
|
-
description?: {
|
|
1030
|
+
content?: {
|
|
996
1031
|
root: {
|
|
997
1032
|
type: string;
|
|
998
1033
|
children: {
|
|
@@ -1007,29 +1042,102 @@ interface Product {
|
|
|
1007
1042
|
};
|
|
1008
1043
|
[k: string]: unknown;
|
|
1009
1044
|
} | null;
|
|
1045
|
+
variants?: {
|
|
1046
|
+
docs?: (string | ProductVariant)[];
|
|
1047
|
+
hasNextPage?: boolean;
|
|
1048
|
+
totalDocs?: number;
|
|
1049
|
+
};
|
|
1050
|
+
options?: {
|
|
1051
|
+
docs?: (string | ProductOption)[];
|
|
1052
|
+
hasNextPage?: boolean;
|
|
1053
|
+
totalDocs?: number;
|
|
1054
|
+
};
|
|
1055
|
+
categories?: (string | ProductCategory)[] | null;
|
|
1056
|
+
tags?: (string | ProductTag)[] | null;
|
|
1057
|
+
brand?: (string | null) | Brand;
|
|
1058
|
+
shippingPolicy?: (string | null) | ShippingPolicy;
|
|
1010
1059
|
/**
|
|
1011
|
-
*
|
|
1060
|
+
* Product weight (g)
|
|
1012
1061
|
*/
|
|
1013
|
-
|
|
1014
|
-
|
|
1062
|
+
weight?: number | null;
|
|
1063
|
+
dimensions?: {
|
|
1064
|
+
width?: number | null;
|
|
1065
|
+
height?: number | null;
|
|
1066
|
+
depth?: number | null;
|
|
1067
|
+
};
|
|
1015
1068
|
/**
|
|
1016
|
-
*
|
|
1069
|
+
* Digital product (no shipping required)
|
|
1017
1070
|
*/
|
|
1018
|
-
|
|
1019
|
-
status?: ('draft' | 'published' | 'archived') | null;
|
|
1020
|
-
isSoldOut?: boolean | null;
|
|
1021
|
-
categories?: (string | ProductCategory)[] | null;
|
|
1022
|
-
tags?: (string | ProductTag)[] | null;
|
|
1071
|
+
isDigital?: boolean | null;
|
|
1023
1072
|
collections?: {
|
|
1024
1073
|
docs?: (string | ProductCollection)[];
|
|
1025
1074
|
hasNextPage?: boolean;
|
|
1026
1075
|
totalDocs?: number;
|
|
1027
1076
|
};
|
|
1028
|
-
|
|
1029
|
-
|
|
1077
|
+
/**
|
|
1078
|
+
* Stock Keeping Unit
|
|
1079
|
+
*/
|
|
1080
|
+
sku?: string | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* UPC/EAN barcode
|
|
1083
|
+
*/
|
|
1084
|
+
barcode?: string | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* External system ID (ERP, POS)
|
|
1087
|
+
*/
|
|
1088
|
+
externalId?: string | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* Minimum order quantity
|
|
1091
|
+
*/
|
|
1092
|
+
minOrderQuantity?: number | null;
|
|
1093
|
+
/**
|
|
1094
|
+
* Maximum order quantity
|
|
1095
|
+
*/
|
|
1096
|
+
maxOrderQuantity?: number | null;
|
|
1030
1097
|
metadata?: {
|
|
1031
1098
|
[k: string]: unknown;
|
|
1032
1099
|
} | unknown[] | string | number | boolean | null;
|
|
1100
|
+
seo?: {
|
|
1101
|
+
/**
|
|
1102
|
+
* Search result title (falls back to document title)
|
|
1103
|
+
*/
|
|
1104
|
+
title?: string | null;
|
|
1105
|
+
/**
|
|
1106
|
+
* Search result description
|
|
1107
|
+
*/
|
|
1108
|
+
description?: string | null;
|
|
1109
|
+
/**
|
|
1110
|
+
* Block search engine indexing
|
|
1111
|
+
*/
|
|
1112
|
+
noIndex?: boolean | null;
|
|
1113
|
+
/**
|
|
1114
|
+
* Canonical URL (prevents duplicate content)
|
|
1115
|
+
*/
|
|
1116
|
+
canonical?: string | null;
|
|
1117
|
+
openGraph?: {
|
|
1118
|
+
/**
|
|
1119
|
+
* OG title (falls back to seo.title)
|
|
1120
|
+
*/
|
|
1121
|
+
title?: string | null;
|
|
1122
|
+
/**
|
|
1123
|
+
* OG description (falls back to seo.description)
|
|
1124
|
+
*/
|
|
1125
|
+
description?: string | null;
|
|
1126
|
+
/**
|
|
1127
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
1128
|
+
*/
|
|
1129
|
+
image?: (string | null) | ProductImage;
|
|
1130
|
+
};
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1134
|
+
*/
|
|
1135
|
+
generateSlug?: boolean | null;
|
|
1136
|
+
slug?: string | null;
|
|
1137
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
1138
|
+
isSoldOut?: boolean | null;
|
|
1139
|
+
isFeatured?: boolean | null;
|
|
1140
|
+
publishedAt?: string | null;
|
|
1033
1141
|
updatedAt: string;
|
|
1034
1142
|
createdAt: string;
|
|
1035
1143
|
deletedAt?: string | null;
|
|
@@ -1100,23 +1208,316 @@ interface ProductImage {
|
|
|
1100
1208
|
}
|
|
1101
1209
|
/**
|
|
1102
1210
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1103
|
-
* via the `definition` "
|
|
1211
|
+
* via the `definition` "videos".
|
|
1104
1212
|
*/
|
|
1105
|
-
interface
|
|
1213
|
+
interface Video {
|
|
1106
1214
|
id: string;
|
|
1107
|
-
_order?: string | null;
|
|
1108
|
-
'_product-variants_variants_order'?: string | null;
|
|
1109
1215
|
tenant?: (string | null) | Tenant;
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1216
|
+
title?: string | null;
|
|
1217
|
+
filename?: string | null;
|
|
1218
|
+
description?: string | null;
|
|
1219
|
+
content?: {
|
|
1220
|
+
root: {
|
|
1221
|
+
type: string;
|
|
1222
|
+
children: {
|
|
1223
|
+
type: any;
|
|
1224
|
+
version: number;
|
|
1225
|
+
[k: string]: unknown;
|
|
1226
|
+
}[];
|
|
1227
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1228
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1229
|
+
indent: number;
|
|
1230
|
+
version: number;
|
|
1231
|
+
};
|
|
1232
|
+
[k: string]: unknown;
|
|
1233
|
+
} | null;
|
|
1234
|
+
sourceLiveStream?: (string | null) | LiveStream;
|
|
1235
|
+
status?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
|
|
1236
|
+
duration?: number | null;
|
|
1237
|
+
aspectRatio?: string | null;
|
|
1238
|
+
maxResolution?: string | null;
|
|
1239
|
+
videoQuality?: ('basic' | 'plus' | 'premium') | null;
|
|
1240
|
+
mp4Support?: ('none' | 'standard' | 'capped-1080p') | null;
|
|
1241
|
+
muxAssetId?: string | null;
|
|
1242
|
+
muxPlaybackId?: string | null;
|
|
1243
|
+
muxUploadId?: string | null;
|
|
1244
|
+
seo?: {
|
|
1245
|
+
/**
|
|
1246
|
+
* Search result title (falls back to document title)
|
|
1247
|
+
*/
|
|
1248
|
+
title?: string | null;
|
|
1249
|
+
/**
|
|
1250
|
+
* Search result description
|
|
1251
|
+
*/
|
|
1252
|
+
description?: string | null;
|
|
1253
|
+
/**
|
|
1254
|
+
* Block search engine indexing
|
|
1255
|
+
*/
|
|
1256
|
+
noIndex?: boolean | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Canonical URL (prevents duplicate content)
|
|
1259
|
+
*/
|
|
1260
|
+
canonical?: string | null;
|
|
1261
|
+
openGraph?: {
|
|
1262
|
+
/**
|
|
1263
|
+
* OG title (falls back to seo.title)
|
|
1264
|
+
*/
|
|
1265
|
+
title?: string | null;
|
|
1266
|
+
/**
|
|
1267
|
+
* OG description (falls back to seo.description)
|
|
1268
|
+
*/
|
|
1269
|
+
description?: string | null;
|
|
1270
|
+
/**
|
|
1271
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
1272
|
+
*/
|
|
1273
|
+
image?: (string | null) | VideoImage;
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1276
|
+
thumbnail?: (string | null) | VideoImage;
|
|
1116
1277
|
/**
|
|
1117
|
-
*
|
|
1278
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1118
1279
|
*/
|
|
1119
|
-
|
|
1280
|
+
generateSlug?: boolean | null;
|
|
1281
|
+
slug?: string | null;
|
|
1282
|
+
publishedAt?: string | null;
|
|
1283
|
+
isFeatured?: boolean | null;
|
|
1284
|
+
categories?: (string | VideoCategory)[] | null;
|
|
1285
|
+
tags?: (string | VideoTag)[] | null;
|
|
1286
|
+
metadata?: {
|
|
1287
|
+
[k: string]: unknown;
|
|
1288
|
+
} | unknown[] | string | number | boolean | null;
|
|
1289
|
+
updatedAt: string;
|
|
1290
|
+
createdAt: string;
|
|
1291
|
+
deletedAt?: string | null;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1295
|
+
* via the `definition` "live-streams".
|
|
1296
|
+
*/
|
|
1297
|
+
interface LiveStream {
|
|
1298
|
+
id: string;
|
|
1299
|
+
tenant?: (string | null) | Tenant;
|
|
1300
|
+
title?: string | null;
|
|
1301
|
+
description?: string | null;
|
|
1302
|
+
isFeatured?: boolean | null;
|
|
1303
|
+
/**
|
|
1304
|
+
* Scheduled start time
|
|
1305
|
+
*/
|
|
1306
|
+
scheduledAt?: string | null;
|
|
1307
|
+
thumbnail?: (string | null) | LiveStreamImage;
|
|
1308
|
+
/**
|
|
1309
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1310
|
+
*/
|
|
1311
|
+
generateSlug?: boolean | null;
|
|
1312
|
+
slug?: string | null;
|
|
1313
|
+
muxLiveStreamId?: string | null;
|
|
1314
|
+
muxPlaybackId?: string | null;
|
|
1315
|
+
streamKey?: string | null;
|
|
1316
|
+
status?: ('idle' | 'active' | 'disabled') | null;
|
|
1317
|
+
latencyMode?: ('standard' | 'reduced' | 'low') | null;
|
|
1318
|
+
/**
|
|
1319
|
+
* Reconnect window (seconds)
|
|
1320
|
+
*/
|
|
1321
|
+
reconnectWindow?: number | null;
|
|
1322
|
+
activeAssetId?: string | null;
|
|
1323
|
+
recentAssetIds?: {
|
|
1324
|
+
[k: string]: unknown;
|
|
1325
|
+
} | unknown[] | string | number | boolean | null;
|
|
1326
|
+
updatedAt: string;
|
|
1327
|
+
createdAt: string;
|
|
1328
|
+
deletedAt?: string | null;
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1332
|
+
* via the `definition` "live-stream-images".
|
|
1333
|
+
*/
|
|
1334
|
+
interface LiveStreamImage {
|
|
1335
|
+
id: string;
|
|
1336
|
+
tenant?: (string | null) | Tenant;
|
|
1337
|
+
alt?: string | null;
|
|
1338
|
+
lqip?: string | null;
|
|
1339
|
+
palette?: {
|
|
1340
|
+
vibrant?: string | null;
|
|
1341
|
+
muted?: string | null;
|
|
1342
|
+
darkVibrant?: string | null;
|
|
1343
|
+
darkMuted?: string | null;
|
|
1344
|
+
lightVibrant?: string | null;
|
|
1345
|
+
lightMuted?: string | null;
|
|
1346
|
+
};
|
|
1347
|
+
prefix?: string | null;
|
|
1348
|
+
updatedAt: string;
|
|
1349
|
+
createdAt: string;
|
|
1350
|
+
url?: string | null;
|
|
1351
|
+
thumbnailURL?: string | null;
|
|
1352
|
+
filename?: string | null;
|
|
1353
|
+
mimeType?: string | null;
|
|
1354
|
+
filesize?: number | null;
|
|
1355
|
+
width?: number | null;
|
|
1356
|
+
height?: number | null;
|
|
1357
|
+
focalX?: number | null;
|
|
1358
|
+
focalY?: number | null;
|
|
1359
|
+
sizes?: {
|
|
1360
|
+
'200'?: {
|
|
1361
|
+
url?: string | null;
|
|
1362
|
+
width?: number | null;
|
|
1363
|
+
height?: number | null;
|
|
1364
|
+
mimeType?: string | null;
|
|
1365
|
+
filesize?: number | null;
|
|
1366
|
+
filename?: string | null;
|
|
1367
|
+
};
|
|
1368
|
+
'400'?: {
|
|
1369
|
+
url?: string | null;
|
|
1370
|
+
width?: number | null;
|
|
1371
|
+
height?: number | null;
|
|
1372
|
+
mimeType?: string | null;
|
|
1373
|
+
filesize?: number | null;
|
|
1374
|
+
filename?: string | null;
|
|
1375
|
+
};
|
|
1376
|
+
'800'?: {
|
|
1377
|
+
url?: string | null;
|
|
1378
|
+
width?: number | null;
|
|
1379
|
+
height?: number | null;
|
|
1380
|
+
mimeType?: string | null;
|
|
1381
|
+
filesize?: number | null;
|
|
1382
|
+
filename?: string | null;
|
|
1383
|
+
};
|
|
1384
|
+
'1600'?: {
|
|
1385
|
+
url?: string | null;
|
|
1386
|
+
width?: number | null;
|
|
1387
|
+
height?: number | null;
|
|
1388
|
+
mimeType?: string | null;
|
|
1389
|
+
filesize?: number | null;
|
|
1390
|
+
filename?: string | null;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
/**
|
|
1395
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1396
|
+
* via the `definition` "video-images".
|
|
1397
|
+
*/
|
|
1398
|
+
interface VideoImage {
|
|
1399
|
+
id: string;
|
|
1400
|
+
tenant?: (string | null) | Tenant;
|
|
1401
|
+
alt?: string | null;
|
|
1402
|
+
lqip?: string | null;
|
|
1403
|
+
palette?: {
|
|
1404
|
+
vibrant?: string | null;
|
|
1405
|
+
muted?: string | null;
|
|
1406
|
+
darkVibrant?: string | null;
|
|
1407
|
+
darkMuted?: string | null;
|
|
1408
|
+
lightVibrant?: string | null;
|
|
1409
|
+
lightMuted?: string | null;
|
|
1410
|
+
};
|
|
1411
|
+
prefix?: string | null;
|
|
1412
|
+
updatedAt: string;
|
|
1413
|
+
createdAt: string;
|
|
1414
|
+
url?: string | null;
|
|
1415
|
+
thumbnailURL?: string | null;
|
|
1416
|
+
filename?: string | null;
|
|
1417
|
+
mimeType?: string | null;
|
|
1418
|
+
filesize?: number | null;
|
|
1419
|
+
width?: number | null;
|
|
1420
|
+
height?: number | null;
|
|
1421
|
+
focalX?: number | null;
|
|
1422
|
+
focalY?: number | null;
|
|
1423
|
+
sizes?: {
|
|
1424
|
+
'200'?: {
|
|
1425
|
+
url?: string | null;
|
|
1426
|
+
width?: number | null;
|
|
1427
|
+
height?: number | null;
|
|
1428
|
+
mimeType?: string | null;
|
|
1429
|
+
filesize?: number | null;
|
|
1430
|
+
filename?: string | null;
|
|
1431
|
+
};
|
|
1432
|
+
'400'?: {
|
|
1433
|
+
url?: string | null;
|
|
1434
|
+
width?: number | null;
|
|
1435
|
+
height?: number | null;
|
|
1436
|
+
mimeType?: string | null;
|
|
1437
|
+
filesize?: number | null;
|
|
1438
|
+
filename?: string | null;
|
|
1439
|
+
};
|
|
1440
|
+
'800'?: {
|
|
1441
|
+
url?: string | null;
|
|
1442
|
+
width?: number | null;
|
|
1443
|
+
height?: number | null;
|
|
1444
|
+
mimeType?: string | null;
|
|
1445
|
+
filesize?: number | null;
|
|
1446
|
+
filename?: string | null;
|
|
1447
|
+
};
|
|
1448
|
+
'1600'?: {
|
|
1449
|
+
url?: string | null;
|
|
1450
|
+
width?: number | null;
|
|
1451
|
+
height?: number | null;
|
|
1452
|
+
mimeType?: string | null;
|
|
1453
|
+
filesize?: number | null;
|
|
1454
|
+
filename?: string | null;
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1460
|
+
* via the `definition` "video-categories".
|
|
1461
|
+
*/
|
|
1462
|
+
interface VideoCategory {
|
|
1463
|
+
id: string;
|
|
1464
|
+
_order?: string | null;
|
|
1465
|
+
tenant?: (string | null) | Tenant;
|
|
1466
|
+
title: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1469
|
+
*/
|
|
1470
|
+
generateSlug?: boolean | null;
|
|
1471
|
+
slug?: string | null;
|
|
1472
|
+
description?: string | null;
|
|
1473
|
+
image?: (string | null) | VideoImage;
|
|
1474
|
+
parent?: (string | null) | VideoCategory;
|
|
1475
|
+
color?: string | null;
|
|
1476
|
+
updatedAt: string;
|
|
1477
|
+
createdAt: string;
|
|
1478
|
+
deletedAt?: string | null;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1482
|
+
* via the `definition` "video-tags".
|
|
1483
|
+
*/
|
|
1484
|
+
interface VideoTag {
|
|
1485
|
+
id: string;
|
|
1486
|
+
_order?: string | null;
|
|
1487
|
+
tenant?: (string | null) | Tenant;
|
|
1488
|
+
title: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1491
|
+
*/
|
|
1492
|
+
generateSlug?: boolean | null;
|
|
1493
|
+
slug?: string | null;
|
|
1494
|
+
description?: string | null;
|
|
1495
|
+
image?: (string | null) | VideoImage;
|
|
1496
|
+
parent?: (string | null) | VideoTag;
|
|
1497
|
+
color?: string | null;
|
|
1498
|
+
updatedAt: string;
|
|
1499
|
+
createdAt: string;
|
|
1500
|
+
deletedAt?: string | null;
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1504
|
+
* via the `definition` "product-variants".
|
|
1505
|
+
*/
|
|
1506
|
+
interface ProductVariant {
|
|
1507
|
+
id: string;
|
|
1508
|
+
_order?: string | null;
|
|
1509
|
+
'_product-variants_variants_order'?: string | null;
|
|
1510
|
+
tenant?: (string | null) | Tenant;
|
|
1511
|
+
product: string | Product;
|
|
1512
|
+
title: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* Variant-specific SKU
|
|
1515
|
+
*/
|
|
1516
|
+
sku?: string | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* Override price (uses product price if empty)
|
|
1519
|
+
*/
|
|
1520
|
+
price?: number | null;
|
|
1120
1521
|
/**
|
|
1121
1522
|
* Barcode (EAN, UPC, etc.)
|
|
1122
1523
|
*/
|
|
@@ -1127,6 +1528,20 @@ interface ProductVariant {
|
|
|
1127
1528
|
weight?: number | null;
|
|
1128
1529
|
isSoldOut?: boolean | null;
|
|
1129
1530
|
images?: (string | ProductImage)[] | null;
|
|
1531
|
+
dimensions?: {
|
|
1532
|
+
width?: number | null;
|
|
1533
|
+
height?: number | null;
|
|
1534
|
+
depth?: number | null;
|
|
1535
|
+
};
|
|
1536
|
+
/**
|
|
1537
|
+
* External system ID
|
|
1538
|
+
*/
|
|
1539
|
+
externalId?: string | null;
|
|
1540
|
+
status?: ('active' | 'inactive') | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* Sort order
|
|
1543
|
+
*/
|
|
1544
|
+
position?: number | null;
|
|
1130
1545
|
metadata?: {
|
|
1131
1546
|
[k: string]: unknown;
|
|
1132
1547
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1165,6 +1580,22 @@ interface ProductOption {
|
|
|
1165
1580
|
* Price adjustment (add/subtract from base price)
|
|
1166
1581
|
*/
|
|
1167
1582
|
priceAdjustment?: number | null;
|
|
1583
|
+
/**
|
|
1584
|
+
* Option-specific barcode
|
|
1585
|
+
*/
|
|
1586
|
+
barcode?: string | null;
|
|
1587
|
+
/**
|
|
1588
|
+
* Option-specific weight (g)
|
|
1589
|
+
*/
|
|
1590
|
+
weight?: number | null;
|
|
1591
|
+
/**
|
|
1592
|
+
* Low stock alert threshold
|
|
1593
|
+
*/
|
|
1594
|
+
lowStockThreshold?: number | null;
|
|
1595
|
+
/**
|
|
1596
|
+
* External system ID
|
|
1597
|
+
*/
|
|
1598
|
+
externalId?: string | null;
|
|
1168
1599
|
metadata?: {
|
|
1169
1600
|
[k: string]: unknown;
|
|
1170
1601
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1218,16 +1649,18 @@ interface ProductTag {
|
|
|
1218
1649
|
}
|
|
1219
1650
|
/**
|
|
1220
1651
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1221
|
-
* via the `definition` "
|
|
1652
|
+
* via the `definition` "brands".
|
|
1222
1653
|
*/
|
|
1223
|
-
interface
|
|
1654
|
+
interface Brand {
|
|
1224
1655
|
id: string;
|
|
1225
1656
|
_order?: string | null;
|
|
1226
1657
|
tenant?: (string | null) | Tenant;
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1658
|
+
name: string;
|
|
1659
|
+
/**
|
|
1660
|
+
* Short intro for listing/cards
|
|
1661
|
+
*/
|
|
1662
|
+
description?: string | null;
|
|
1663
|
+
content?: {
|
|
1231
1664
|
root: {
|
|
1232
1665
|
type: string;
|
|
1233
1666
|
children: {
|
|
@@ -1242,35 +1675,6 @@ interface ProductCollection {
|
|
|
1242
1675
|
};
|
|
1243
1676
|
[k: string]: unknown;
|
|
1244
1677
|
} | null;
|
|
1245
|
-
products?: (string | Product)[] | null;
|
|
1246
|
-
/**
|
|
1247
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1248
|
-
*/
|
|
1249
|
-
generateSlug?: boolean | null;
|
|
1250
|
-
slug?: string | null;
|
|
1251
|
-
status?: ('draft' | 'published' | 'archived') | null;
|
|
1252
|
-
sortOrder?: ('manual' | 'alphabetical' | 'price-asc' | 'price-desc' | 'newest') | null;
|
|
1253
|
-
metadata?: {
|
|
1254
|
-
[k: string]: unknown;
|
|
1255
|
-
} | unknown[] | string | number | boolean | null;
|
|
1256
|
-
updatedAt: string;
|
|
1257
|
-
createdAt: string;
|
|
1258
|
-
deletedAt?: string | null;
|
|
1259
|
-
}
|
|
1260
|
-
/**
|
|
1261
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
1262
|
-
* via the `definition` "brands".
|
|
1263
|
-
*/
|
|
1264
|
-
interface Brand {
|
|
1265
|
-
id: string;
|
|
1266
|
-
_order?: string | null;
|
|
1267
|
-
tenant?: (string | null) | Tenant;
|
|
1268
|
-
name: string;
|
|
1269
|
-
/**
|
|
1270
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1271
|
-
*/
|
|
1272
|
-
generateSlug?: boolean | null;
|
|
1273
|
-
slug?: string | null;
|
|
1274
1678
|
/**
|
|
1275
1679
|
* Primary brand logo
|
|
1276
1680
|
*/
|
|
@@ -1283,25 +1687,17 @@ interface Brand {
|
|
|
1283
1687
|
* Logo mark / Icon (optional)
|
|
1284
1688
|
*/
|
|
1285
1689
|
logomark?: (string | null) | BrandLogo;
|
|
1286
|
-
description?: {
|
|
1287
|
-
root: {
|
|
1288
|
-
type: string;
|
|
1289
|
-
children: {
|
|
1290
|
-
type: any;
|
|
1291
|
-
version: number;
|
|
1292
|
-
[k: string]: unknown;
|
|
1293
|
-
}[];
|
|
1294
|
-
direction: ('ltr' | 'rtl') | null;
|
|
1295
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1296
|
-
indent: number;
|
|
1297
|
-
version: number;
|
|
1298
|
-
};
|
|
1299
|
-
[k: string]: unknown;
|
|
1300
|
-
} | null;
|
|
1301
1690
|
/**
|
|
1302
1691
|
* Brand official website URL
|
|
1303
1692
|
*/
|
|
1304
1693
|
website?: string | null;
|
|
1694
|
+
/**
|
|
1695
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1696
|
+
*/
|
|
1697
|
+
generateSlug?: boolean | null;
|
|
1698
|
+
slug?: string | null;
|
|
1699
|
+
status?: ('draft' | 'published') | null;
|
|
1700
|
+
isFeatured?: boolean | null;
|
|
1305
1701
|
metadata?: {
|
|
1306
1702
|
[k: string]: unknown;
|
|
1307
1703
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1342,6 +1738,12 @@ interface ShippingPolicy {
|
|
|
1342
1738
|
*/
|
|
1343
1739
|
generateSlug?: boolean | null;
|
|
1344
1740
|
slug?: string | null;
|
|
1741
|
+
description?: string | null;
|
|
1742
|
+
/**
|
|
1743
|
+
* Estimated delivery days
|
|
1744
|
+
*/
|
|
1745
|
+
estimatedDays?: number | null;
|
|
1746
|
+
status?: ('active' | 'inactive') | null;
|
|
1345
1747
|
isDefault?: boolean | null;
|
|
1346
1748
|
metadata?: {
|
|
1347
1749
|
[k: string]: unknown;
|
|
@@ -1350,6 +1752,81 @@ interface ShippingPolicy {
|
|
|
1350
1752
|
createdAt: string;
|
|
1351
1753
|
deletedAt?: string | null;
|
|
1352
1754
|
}
|
|
1755
|
+
/**
|
|
1756
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
1757
|
+
* via the `definition` "product-collections".
|
|
1758
|
+
*/
|
|
1759
|
+
interface ProductCollection {
|
|
1760
|
+
id: string;
|
|
1761
|
+
_order?: string | null;
|
|
1762
|
+
tenant?: (string | null) | Tenant;
|
|
1763
|
+
title: string;
|
|
1764
|
+
thumbnail?: (string | null) | ProductImage;
|
|
1765
|
+
images?: (string | ProductImage)[] | null;
|
|
1766
|
+
description?: {
|
|
1767
|
+
root: {
|
|
1768
|
+
type: string;
|
|
1769
|
+
children: {
|
|
1770
|
+
type: any;
|
|
1771
|
+
version: number;
|
|
1772
|
+
[k: string]: unknown;
|
|
1773
|
+
}[];
|
|
1774
|
+
direction: ('ltr' | 'rtl') | null;
|
|
1775
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
1776
|
+
indent: number;
|
|
1777
|
+
version: number;
|
|
1778
|
+
};
|
|
1779
|
+
[k: string]: unknown;
|
|
1780
|
+
} | null;
|
|
1781
|
+
products?: (string | Product)[] | null;
|
|
1782
|
+
seo?: {
|
|
1783
|
+
/**
|
|
1784
|
+
* Search result title (falls back to document title)
|
|
1785
|
+
*/
|
|
1786
|
+
title?: string | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Search result description
|
|
1789
|
+
*/
|
|
1790
|
+
description?: string | null;
|
|
1791
|
+
/**
|
|
1792
|
+
* Block search engine indexing
|
|
1793
|
+
*/
|
|
1794
|
+
noIndex?: boolean | null;
|
|
1795
|
+
/**
|
|
1796
|
+
* Canonical URL (prevents duplicate content)
|
|
1797
|
+
*/
|
|
1798
|
+
canonical?: string | null;
|
|
1799
|
+
openGraph?: {
|
|
1800
|
+
/**
|
|
1801
|
+
* OG title (falls back to seo.title)
|
|
1802
|
+
*/
|
|
1803
|
+
title?: string | null;
|
|
1804
|
+
/**
|
|
1805
|
+
* OG description (falls back to seo.description)
|
|
1806
|
+
*/
|
|
1807
|
+
description?: string | null;
|
|
1808
|
+
/**
|
|
1809
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
1810
|
+
*/
|
|
1811
|
+
image?: (string | null) | ProductImage;
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
/**
|
|
1815
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
1816
|
+
*/
|
|
1817
|
+
generateSlug?: boolean | null;
|
|
1818
|
+
slug?: string | null;
|
|
1819
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
1820
|
+
sortOrder?: ('manual' | 'alphabetical' | 'price-asc' | 'price-desc' | 'newest') | null;
|
|
1821
|
+
isFeatured?: boolean | null;
|
|
1822
|
+
publishedAt?: string | null;
|
|
1823
|
+
metadata?: {
|
|
1824
|
+
[k: string]: unknown;
|
|
1825
|
+
} | unknown[] | string | number | boolean | null;
|
|
1826
|
+
updatedAt: string;
|
|
1827
|
+
createdAt: string;
|
|
1828
|
+
deletedAt?: string | null;
|
|
1829
|
+
}
|
|
1353
1830
|
/**
|
|
1354
1831
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1355
1832
|
* via the `definition` "orders".
|
|
@@ -1367,9 +1844,18 @@ interface Order {
|
|
|
1367
1844
|
*/
|
|
1368
1845
|
refundedAmount?: number | null;
|
|
1369
1846
|
/**
|
|
1370
|
-
*
|
|
1847
|
+
* Shipping fee at time of order
|
|
1848
|
+
*/
|
|
1849
|
+
shippingFee?: number | null;
|
|
1850
|
+
source?: ('web' | 'app' | 'manual') | null;
|
|
1851
|
+
/**
|
|
1852
|
+
* Internal admin notes (not visible to customers)
|
|
1853
|
+
*/
|
|
1854
|
+
adminNotes?: string | null;
|
|
1855
|
+
/**
|
|
1856
|
+
* Notes left by customer at checkout
|
|
1371
1857
|
*/
|
|
1372
|
-
|
|
1858
|
+
customerNotes?: string | null;
|
|
1373
1859
|
customer?: (string | null) | Customer;
|
|
1374
1860
|
/**
|
|
1375
1861
|
* Customer info at the time of order
|
|
@@ -1439,6 +1925,8 @@ interface Customer {
|
|
|
1439
1925
|
* Internal notes (not visible to customers)
|
|
1440
1926
|
*/
|
|
1441
1927
|
note?: string | null;
|
|
1928
|
+
birthDate?: string | null;
|
|
1929
|
+
gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
|
|
1442
1930
|
orders?: {
|
|
1443
1931
|
docs?: (string | Order)[];
|
|
1444
1932
|
hasNextPage?: boolean;
|
|
@@ -1467,6 +1955,7 @@ interface Customer {
|
|
|
1467
1955
|
* Date marketing consent was given
|
|
1468
1956
|
*/
|
|
1469
1957
|
consentedAt?: string | null;
|
|
1958
|
+
lastLoginAt?: string | null;
|
|
1470
1959
|
metadata?: {
|
|
1471
1960
|
[k: string]: unknown;
|
|
1472
1961
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1491,6 +1980,7 @@ interface CustomerGroup {
|
|
|
1491
1980
|
description?: string | null;
|
|
1492
1981
|
color?: string | null;
|
|
1493
1982
|
image?: (string | null) | CustomerGroupImage;
|
|
1983
|
+
status?: ('active' | 'inactive') | null;
|
|
1494
1984
|
metadata?: {
|
|
1495
1985
|
[k: string]: unknown;
|
|
1496
1986
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1627,6 +2117,13 @@ interface Transaction {
|
|
|
1627
2117
|
paymentMethod?: string | null;
|
|
1628
2118
|
receiptUrl?: string | null;
|
|
1629
2119
|
totalAmount?: number | null;
|
|
2120
|
+
/**
|
|
2121
|
+
* Payment gateway provider (e.g. toss, stripe)
|
|
2122
|
+
*/
|
|
2123
|
+
pgProvider?: string | null;
|
|
2124
|
+
metadata?: {
|
|
2125
|
+
[k: string]: unknown;
|
|
2126
|
+
} | unknown[] | string | number | boolean | null;
|
|
1630
2127
|
updatedAt: string;
|
|
1631
2128
|
createdAt: string;
|
|
1632
2129
|
}
|
|
@@ -1689,6 +2186,15 @@ interface Return {
|
|
|
1689
2186
|
hasNextPage?: boolean;
|
|
1690
2187
|
totalDocs?: number;
|
|
1691
2188
|
};
|
|
2189
|
+
/**
|
|
2190
|
+
* Internal notes
|
|
2191
|
+
*/
|
|
2192
|
+
adminNotes?: string | null;
|
|
2193
|
+
completedAt?: string | null;
|
|
2194
|
+
/**
|
|
2195
|
+
* Refund receipt URL
|
|
2196
|
+
*/
|
|
2197
|
+
refundReceiptUrl?: string | null;
|
|
1692
2198
|
refundAmount: number;
|
|
1693
2199
|
updatedAt: string;
|
|
1694
2200
|
createdAt: string;
|
|
@@ -1727,6 +2233,11 @@ interface Exchange {
|
|
|
1727
2233
|
*/
|
|
1728
2234
|
reasonDetail?: string | null;
|
|
1729
2235
|
shippingFee?: number | null;
|
|
2236
|
+
/**
|
|
2237
|
+
* Internal notes
|
|
2238
|
+
*/
|
|
2239
|
+
adminNotes?: string | null;
|
|
2240
|
+
completedAt?: string | null;
|
|
1730
2241
|
exchangeProducts?: {
|
|
1731
2242
|
docs?: (string | ExchangeProduct)[];
|
|
1732
2243
|
hasNextPage?: boolean;
|
|
@@ -1846,6 +2357,8 @@ interface Discount {
|
|
|
1846
2357
|
id: string;
|
|
1847
2358
|
_order?: string | null;
|
|
1848
2359
|
tenant?: (string | null) | Tenant;
|
|
2360
|
+
type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
|
|
2361
|
+
isActive?: boolean | null;
|
|
1849
2362
|
/**
|
|
1850
2363
|
* Unique discount code
|
|
1851
2364
|
*/
|
|
@@ -1874,7 +2387,7 @@ interface Discount {
|
|
|
1874
2387
|
/**
|
|
1875
2388
|
* Discount rate (%) or fixed amount
|
|
1876
2389
|
*/
|
|
1877
|
-
value
|
|
2390
|
+
value?: number | null;
|
|
1878
2391
|
id?: string | null;
|
|
1879
2392
|
}[] | null;
|
|
1880
2393
|
/**
|
|
@@ -1895,8 +2408,6 @@ interface Discount {
|
|
|
1895
2408
|
* Leave empty to apply to all categories
|
|
1896
2409
|
*/
|
|
1897
2410
|
applicableCategories?: (string | ProductCategory)[] | null;
|
|
1898
|
-
type: 'percentage' | 'fixed_amount' | 'free_shipping' | 'tiered';
|
|
1899
|
-
isActive?: boolean | null;
|
|
1900
2411
|
/**
|
|
1901
2412
|
* Total usage limit (empty = unlimited)
|
|
1902
2413
|
*/
|
|
@@ -1906,6 +2417,15 @@ interface Discount {
|
|
|
1906
2417
|
* Usage limit per customer (empty = unlimited)
|
|
1907
2418
|
*/
|
|
1908
2419
|
perCustomerLimit?: number | null;
|
|
2420
|
+
customerGroups?: (string | CustomerGroup)[] | null;
|
|
2421
|
+
/**
|
|
2422
|
+
* Auto-apply discount
|
|
2423
|
+
*/
|
|
2424
|
+
isAutoApply?: boolean | null;
|
|
2425
|
+
/**
|
|
2426
|
+
* Discount priority (higher = first)
|
|
2427
|
+
*/
|
|
2428
|
+
priority?: number | null;
|
|
1909
2429
|
metadata?: {
|
|
1910
2430
|
[k: string]: unknown;
|
|
1911
2431
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1926,7 +2446,7 @@ interface Post {
|
|
|
1926
2446
|
/**
|
|
1927
2447
|
* Brief summary for listing pages
|
|
1928
2448
|
*/
|
|
1929
|
-
|
|
2449
|
+
description?: string | null;
|
|
1930
2450
|
content?: {
|
|
1931
2451
|
root: {
|
|
1932
2452
|
type: string;
|
|
@@ -1940,8 +2460,44 @@ interface Post {
|
|
|
1940
2460
|
indent: number;
|
|
1941
2461
|
version: number;
|
|
1942
2462
|
};
|
|
1943
|
-
[k: string]: unknown;
|
|
1944
|
-
} | null;
|
|
2463
|
+
[k: string]: unknown;
|
|
2464
|
+
} | null;
|
|
2465
|
+
author?: (string | null) | PostAuthor;
|
|
2466
|
+
categories?: (string | PostCategory)[] | null;
|
|
2467
|
+
tags?: (string | PostTag)[] | null;
|
|
2468
|
+
videos?: (string | Video)[] | null;
|
|
2469
|
+
seo?: {
|
|
2470
|
+
/**
|
|
2471
|
+
* Search result title (falls back to document title)
|
|
2472
|
+
*/
|
|
2473
|
+
title?: string | null;
|
|
2474
|
+
/**
|
|
2475
|
+
* Search result description
|
|
2476
|
+
*/
|
|
2477
|
+
description?: string | null;
|
|
2478
|
+
/**
|
|
2479
|
+
* Block search engine indexing
|
|
2480
|
+
*/
|
|
2481
|
+
noIndex?: boolean | null;
|
|
2482
|
+
/**
|
|
2483
|
+
* Canonical URL (prevents duplicate content)
|
|
2484
|
+
*/
|
|
2485
|
+
canonical?: string | null;
|
|
2486
|
+
openGraph?: {
|
|
2487
|
+
/**
|
|
2488
|
+
* OG title (falls back to seo.title)
|
|
2489
|
+
*/
|
|
2490
|
+
title?: string | null;
|
|
2491
|
+
/**
|
|
2492
|
+
* OG description (falls back to seo.description)
|
|
2493
|
+
*/
|
|
2494
|
+
description?: string | null;
|
|
2495
|
+
/**
|
|
2496
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
2497
|
+
*/
|
|
2498
|
+
image?: (string | null) | PostImage;
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
1945
2501
|
thumbnail?: (string | null) | PostImage;
|
|
1946
2502
|
images?: (string | PostImage)[] | null;
|
|
1947
2503
|
/**
|
|
@@ -1949,10 +2505,12 @@ interface Post {
|
|
|
1949
2505
|
*/
|
|
1950
2506
|
generateSlug?: boolean | null;
|
|
1951
2507
|
slug?: string | null;
|
|
1952
|
-
author?: (string | null) | PostAuthor;
|
|
1953
2508
|
publishedAt?: string | null;
|
|
1954
|
-
|
|
1955
|
-
|
|
2509
|
+
isFeatured?: boolean | null;
|
|
2510
|
+
/**
|
|
2511
|
+
* Read time (minutes)
|
|
2512
|
+
*/
|
|
2513
|
+
readTime?: number | null;
|
|
1956
2514
|
metadata?: {
|
|
1957
2515
|
[k: string]: unknown;
|
|
1958
2516
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -1961,6 +2519,36 @@ interface Post {
|
|
|
1961
2519
|
deletedAt?: string | null;
|
|
1962
2520
|
_status?: ('draft' | 'published') | null;
|
|
1963
2521
|
}
|
|
2522
|
+
/**
|
|
2523
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2524
|
+
* via the `definition` "post-authors".
|
|
2525
|
+
*/
|
|
2526
|
+
interface PostAuthor {
|
|
2527
|
+
id: string;
|
|
2528
|
+
_order?: string | null;
|
|
2529
|
+
tenant?: (string | null) | Tenant;
|
|
2530
|
+
name: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2533
|
+
*/
|
|
2534
|
+
generateSlug?: boolean | null;
|
|
2535
|
+
slug?: string | null;
|
|
2536
|
+
avatar?: (string | null) | PostImage;
|
|
2537
|
+
bio?: string | null;
|
|
2538
|
+
posts?: {
|
|
2539
|
+
docs?: (string | Post)[];
|
|
2540
|
+
hasNextPage?: boolean;
|
|
2541
|
+
totalDocs?: number;
|
|
2542
|
+
};
|
|
2543
|
+
email?: string | null;
|
|
2544
|
+
status?: ('active' | 'inactive') | null;
|
|
2545
|
+
metadata?: {
|
|
2546
|
+
[k: string]: unknown;
|
|
2547
|
+
} | unknown[] | string | number | boolean | null;
|
|
2548
|
+
updatedAt: string;
|
|
2549
|
+
createdAt: string;
|
|
2550
|
+
deletedAt?: string | null;
|
|
2551
|
+
}
|
|
1964
2552
|
/**
|
|
1965
2553
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1966
2554
|
* via the `definition` "post-images".
|
|
@@ -2025,34 +2613,6 @@ interface PostImage {
|
|
|
2025
2613
|
};
|
|
2026
2614
|
};
|
|
2027
2615
|
}
|
|
2028
|
-
/**
|
|
2029
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
2030
|
-
* via the `definition` "post-authors".
|
|
2031
|
-
*/
|
|
2032
|
-
interface PostAuthor {
|
|
2033
|
-
id: string;
|
|
2034
|
-
_order?: string | null;
|
|
2035
|
-
tenant?: (string | null) | Tenant;
|
|
2036
|
-
name: string;
|
|
2037
|
-
/**
|
|
2038
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2039
|
-
*/
|
|
2040
|
-
generateSlug?: boolean | null;
|
|
2041
|
-
slug?: string | null;
|
|
2042
|
-
avatar?: (string | null) | PostImage;
|
|
2043
|
-
bio?: string | null;
|
|
2044
|
-
posts?: {
|
|
2045
|
-
docs?: (string | Post)[];
|
|
2046
|
-
hasNextPage?: boolean;
|
|
2047
|
-
totalDocs?: number;
|
|
2048
|
-
};
|
|
2049
|
-
metadata?: {
|
|
2050
|
-
[k: string]: unknown;
|
|
2051
|
-
} | unknown[] | string | number | boolean | null;
|
|
2052
|
-
updatedAt: string;
|
|
2053
|
-
createdAt: string;
|
|
2054
|
-
deletedAt?: string | null;
|
|
2055
|
-
}
|
|
2056
2616
|
/**
|
|
2057
2617
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2058
2618
|
* via the `definition` "post-categories".
|
|
@@ -2106,7 +2666,7 @@ interface Document {
|
|
|
2106
2666
|
_order?: string | null;
|
|
2107
2667
|
tenant?: (string | null) | Tenant;
|
|
2108
2668
|
title: string;
|
|
2109
|
-
|
|
2669
|
+
description?: string | null;
|
|
2110
2670
|
content: {
|
|
2111
2671
|
root: {
|
|
2112
2672
|
type: string;
|
|
@@ -2122,27 +2682,11 @@ interface Document {
|
|
|
2122
2682
|
};
|
|
2123
2683
|
[k: string]: unknown;
|
|
2124
2684
|
};
|
|
2125
|
-
|
|
2126
|
-
* Tags for search (e.g. GDPR, CCPA)
|
|
2127
|
-
*/
|
|
2128
|
-
tags?: {
|
|
2129
|
-
tag?: string | null;
|
|
2130
|
-
id?: string | null;
|
|
2131
|
-
}[] | null;
|
|
2132
|
-
/**
|
|
2133
|
-
* Changelog (differences from previous version)
|
|
2134
|
-
*/
|
|
2135
|
-
changeLog?: string | null;
|
|
2136
|
-
/**
|
|
2137
|
-
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2138
|
-
*/
|
|
2139
|
-
generateSlug?: boolean | null;
|
|
2140
|
-
slug?: string | null;
|
|
2141
|
-
type?: (string | null) | DocumentType;
|
|
2685
|
+
videos?: (string | Video)[] | null;
|
|
2142
2686
|
/**
|
|
2143
2687
|
* Document version (e.g. 1.0, 1.1, 2.0)
|
|
2144
2688
|
*/
|
|
2145
|
-
version
|
|
2689
|
+
version?: string | null;
|
|
2146
2690
|
/**
|
|
2147
2691
|
* Effective date
|
|
2148
2692
|
*/
|
|
@@ -2151,39 +2695,71 @@ interface Document {
|
|
|
2151
2695
|
* Expiry date (optional)
|
|
2152
2696
|
*/
|
|
2153
2697
|
expiryDate?: string | null;
|
|
2154
|
-
|
|
2698
|
+
/**
|
|
2699
|
+
* Changelog (differences from previous version)
|
|
2700
|
+
*/
|
|
2701
|
+
changeLog?: string | null;
|
|
2155
2702
|
/**
|
|
2156
2703
|
* Document that requires user agreement
|
|
2157
2704
|
*/
|
|
2158
2705
|
isRequired?: boolean | null;
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
/**
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2706
|
+
/**
|
|
2707
|
+
* Tags for search (e.g. GDPR, CCPA)
|
|
2708
|
+
*/
|
|
2709
|
+
tags?: {
|
|
2710
|
+
tag?: string | null;
|
|
2711
|
+
id?: string | null;
|
|
2712
|
+
}[] | null;
|
|
2713
|
+
seo?: {
|
|
2714
|
+
/**
|
|
2715
|
+
* Search result title (falls back to document title)
|
|
2716
|
+
*/
|
|
2717
|
+
title?: string | null;
|
|
2718
|
+
/**
|
|
2719
|
+
* Search result description
|
|
2720
|
+
*/
|
|
2721
|
+
description?: string | null;
|
|
2722
|
+
/**
|
|
2723
|
+
* Block search engine indexing
|
|
2724
|
+
*/
|
|
2725
|
+
noIndex?: boolean | null;
|
|
2726
|
+
/**
|
|
2727
|
+
* Canonical URL (prevents duplicate content)
|
|
2728
|
+
*/
|
|
2729
|
+
canonical?: string | null;
|
|
2730
|
+
openGraph?: {
|
|
2731
|
+
/**
|
|
2732
|
+
* OG title (falls back to seo.title)
|
|
2733
|
+
*/
|
|
2734
|
+
title?: string | null;
|
|
2735
|
+
/**
|
|
2736
|
+
* OG description (falls back to seo.description)
|
|
2737
|
+
*/
|
|
2738
|
+
description?: string | null;
|
|
2739
|
+
/**
|
|
2740
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
2741
|
+
*/
|
|
2742
|
+
image?: (string | null) | DocumentImage;
|
|
2743
|
+
};
|
|
2744
|
+
};
|
|
2176
2745
|
/**
|
|
2177
2746
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2178
2747
|
*/
|
|
2179
2748
|
generateSlug?: boolean | null;
|
|
2180
2749
|
slug?: string | null;
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2750
|
+
type?: (string | null) | DocumentType;
|
|
2751
|
+
category?: (string | null) | DocumentCategory;
|
|
2752
|
+
thumbnail?: (string | null) | DocumentImage;
|
|
2753
|
+
images?: (string | DocumentImage)[] | null;
|
|
2754
|
+
publishedAt?: string | null;
|
|
2755
|
+
isFeatured?: boolean | null;
|
|
2756
|
+
metadata?: {
|
|
2757
|
+
[k: string]: unknown;
|
|
2758
|
+
} | unknown[] | string | number | boolean | null;
|
|
2184
2759
|
updatedAt: string;
|
|
2185
2760
|
createdAt: string;
|
|
2186
2761
|
deletedAt?: string | null;
|
|
2762
|
+
_status?: ('draft' | 'published') | null;
|
|
2187
2763
|
}
|
|
2188
2764
|
/**
|
|
2189
2765
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -2251,9 +2827,9 @@ interface DocumentImage {
|
|
|
2251
2827
|
}
|
|
2252
2828
|
/**
|
|
2253
2829
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2254
|
-
* via the `definition` "document-
|
|
2830
|
+
* via the `definition` "document-types".
|
|
2255
2831
|
*/
|
|
2256
|
-
interface
|
|
2832
|
+
interface DocumentType {
|
|
2257
2833
|
id: string;
|
|
2258
2834
|
_order?: string | null;
|
|
2259
2835
|
tenant?: (string | null) | Tenant;
|
|
@@ -2265,7 +2841,6 @@ interface DocumentCategory {
|
|
|
2265
2841
|
slug?: string | null;
|
|
2266
2842
|
description?: string | null;
|
|
2267
2843
|
image?: (string | null) | DocumentImage;
|
|
2268
|
-
parent?: (string | null) | DocumentCategory;
|
|
2269
2844
|
color?: string | null;
|
|
2270
2845
|
updatedAt: string;
|
|
2271
2846
|
createdAt: string;
|
|
@@ -2273,150 +2848,89 @@ interface DocumentCategory {
|
|
|
2273
2848
|
}
|
|
2274
2849
|
/**
|
|
2275
2850
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2276
|
-
* via the `definition` "
|
|
2851
|
+
* via the `definition` "document-categories".
|
|
2277
2852
|
*/
|
|
2278
|
-
interface
|
|
2853
|
+
interface DocumentCategory {
|
|
2279
2854
|
id: string;
|
|
2280
2855
|
_order?: string | null;
|
|
2281
2856
|
tenant?: (string | null) | Tenant;
|
|
2282
2857
|
title: string;
|
|
2283
|
-
description?: string | null;
|
|
2284
|
-
musics?: {
|
|
2285
|
-
docs?: (string | Music)[];
|
|
2286
|
-
hasNextPage?: boolean;
|
|
2287
|
-
totalDocs?: number;
|
|
2288
|
-
};
|
|
2289
|
-
image?: (string | null) | PlaylistImage;
|
|
2290
2858
|
/**
|
|
2291
2859
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2292
2860
|
*/
|
|
2293
2861
|
generateSlug?: boolean | null;
|
|
2294
2862
|
slug?: string | null;
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
createdAt: string;
|
|
2300
|
-
deletedAt?: string | null;
|
|
2301
|
-
}
|
|
2302
|
-
/**
|
|
2303
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
2304
|
-
* via the `definition` "musics".
|
|
2305
|
-
*/
|
|
2306
|
-
interface Music {
|
|
2307
|
-
id: string;
|
|
2308
|
-
_order?: string | null;
|
|
2309
|
-
_musics_musics_order?: string | null;
|
|
2310
|
-
tenant?: (string | null) | Tenant;
|
|
2311
|
-
playlist: string | Playlist;
|
|
2312
|
-
url: string;
|
|
2313
|
-
/**
|
|
2314
|
-
* Auto-filled from YouTube
|
|
2315
|
-
*/
|
|
2316
|
-
title: string;
|
|
2317
|
-
/**
|
|
2318
|
-
* Auto-filled from YouTube channel
|
|
2319
|
-
*/
|
|
2320
|
-
artist?: string | null;
|
|
2321
|
-
/**
|
|
2322
|
-
* Duration in seconds (auto-filled from YouTube)
|
|
2323
|
-
*/
|
|
2324
|
-
duration?: number | null;
|
|
2325
|
-
metadata?: {
|
|
2326
|
-
[k: string]: unknown;
|
|
2327
|
-
} | unknown[] | string | number | boolean | null;
|
|
2328
|
-
isValid?: boolean | null;
|
|
2863
|
+
description?: string | null;
|
|
2864
|
+
image?: (string | null) | DocumentImage;
|
|
2865
|
+
parent?: (string | null) | DocumentCategory;
|
|
2866
|
+
color?: string | null;
|
|
2329
2867
|
updatedAt: string;
|
|
2330
2868
|
createdAt: string;
|
|
2331
2869
|
deletedAt?: string | null;
|
|
2332
2870
|
}
|
|
2333
2871
|
/**
|
|
2334
2872
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2335
|
-
* via the `definition` "
|
|
2336
|
-
*/
|
|
2337
|
-
interface PlaylistImage {
|
|
2338
|
-
id: string;
|
|
2339
|
-
tenant?: (string | null) | Tenant;
|
|
2340
|
-
alt?: string | null;
|
|
2341
|
-
lqip?: string | null;
|
|
2342
|
-
palette?: {
|
|
2343
|
-
vibrant?: string | null;
|
|
2344
|
-
muted?: string | null;
|
|
2345
|
-
darkVibrant?: string | null;
|
|
2346
|
-
darkMuted?: string | null;
|
|
2347
|
-
lightVibrant?: string | null;
|
|
2348
|
-
lightMuted?: string | null;
|
|
2349
|
-
};
|
|
2350
|
-
prefix?: string | null;
|
|
2351
|
-
updatedAt: string;
|
|
2352
|
-
createdAt: string;
|
|
2353
|
-
url?: string | null;
|
|
2354
|
-
thumbnailURL?: string | null;
|
|
2355
|
-
filename?: string | null;
|
|
2356
|
-
mimeType?: string | null;
|
|
2357
|
-
filesize?: number | null;
|
|
2358
|
-
width?: number | null;
|
|
2359
|
-
height?: number | null;
|
|
2360
|
-
focalX?: number | null;
|
|
2361
|
-
focalY?: number | null;
|
|
2362
|
-
sizes?: {
|
|
2363
|
-
'200'?: {
|
|
2364
|
-
url?: string | null;
|
|
2365
|
-
width?: number | null;
|
|
2366
|
-
height?: number | null;
|
|
2367
|
-
mimeType?: string | null;
|
|
2368
|
-
filesize?: number | null;
|
|
2369
|
-
filename?: string | null;
|
|
2370
|
-
};
|
|
2371
|
-
'400'?: {
|
|
2372
|
-
url?: string | null;
|
|
2373
|
-
width?: number | null;
|
|
2374
|
-
height?: number | null;
|
|
2375
|
-
mimeType?: string | null;
|
|
2376
|
-
filesize?: number | null;
|
|
2377
|
-
filename?: string | null;
|
|
2378
|
-
};
|
|
2379
|
-
'800'?: {
|
|
2380
|
-
url?: string | null;
|
|
2381
|
-
width?: number | null;
|
|
2382
|
-
height?: number | null;
|
|
2383
|
-
mimeType?: string | null;
|
|
2384
|
-
filesize?: number | null;
|
|
2385
|
-
filename?: string | null;
|
|
2386
|
-
};
|
|
2387
|
-
'1600'?: {
|
|
2388
|
-
url?: string | null;
|
|
2389
|
-
width?: number | null;
|
|
2390
|
-
height?: number | null;
|
|
2391
|
-
mimeType?: string | null;
|
|
2392
|
-
filesize?: number | null;
|
|
2393
|
-
filename?: string | null;
|
|
2394
|
-
};
|
|
2395
|
-
};
|
|
2396
|
-
}
|
|
2397
|
-
/**
|
|
2398
|
-
* This interface was referenced by `Config`'s JSON-Schema
|
|
2399
|
-
* via the `definition` "galleries".
|
|
2873
|
+
* via the `definition` "playlists".
|
|
2400
2874
|
*/
|
|
2401
|
-
interface
|
|
2875
|
+
interface Playlist {
|
|
2402
2876
|
id: string;
|
|
2403
2877
|
_order?: string | null;
|
|
2404
2878
|
tenant?: (string | null) | Tenant;
|
|
2405
2879
|
title: string;
|
|
2406
2880
|
description?: string | null;
|
|
2407
|
-
|
|
2408
|
-
|
|
2881
|
+
videos?: (string | Video)[] | null;
|
|
2882
|
+
categories?: (string | PlaylistCategory)[] | null;
|
|
2883
|
+
tags?: (string | PlaylistTag)[] | null;
|
|
2884
|
+
musics?: {
|
|
2885
|
+
docs?: (string | Music)[];
|
|
2409
2886
|
hasNextPage?: boolean;
|
|
2410
2887
|
totalDocs?: number;
|
|
2411
2888
|
};
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2889
|
+
seo?: {
|
|
2890
|
+
/**
|
|
2891
|
+
* Search result title (falls back to document title)
|
|
2892
|
+
*/
|
|
2893
|
+
title?: string | null;
|
|
2894
|
+
/**
|
|
2895
|
+
* Search result description
|
|
2896
|
+
*/
|
|
2897
|
+
description?: string | null;
|
|
2898
|
+
/**
|
|
2899
|
+
* Block search engine indexing
|
|
2900
|
+
*/
|
|
2901
|
+
noIndex?: boolean | null;
|
|
2902
|
+
/**
|
|
2903
|
+
* Canonical URL (prevents duplicate content)
|
|
2904
|
+
*/
|
|
2905
|
+
canonical?: string | null;
|
|
2906
|
+
openGraph?: {
|
|
2907
|
+
/**
|
|
2908
|
+
* OG title (falls back to seo.title)
|
|
2909
|
+
*/
|
|
2910
|
+
title?: string | null;
|
|
2911
|
+
/**
|
|
2912
|
+
* OG description (falls back to seo.description)
|
|
2913
|
+
*/
|
|
2914
|
+
description?: string | null;
|
|
2915
|
+
/**
|
|
2916
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
2917
|
+
*/
|
|
2918
|
+
image?: (string | null) | PlaylistImage;
|
|
2919
|
+
};
|
|
2920
|
+
};
|
|
2921
|
+
thumbnail?: (string | null) | PlaylistImage;
|
|
2415
2922
|
/**
|
|
2416
2923
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2417
2924
|
*/
|
|
2418
2925
|
generateSlug?: boolean | null;
|
|
2419
2926
|
slug?: string | null;
|
|
2927
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
2928
|
+
publishedAt?: string | null;
|
|
2929
|
+
isFeatured?: boolean | null;
|
|
2930
|
+
/**
|
|
2931
|
+
* Total duration (seconds)
|
|
2932
|
+
*/
|
|
2933
|
+
totalDuration?: number | null;
|
|
2420
2934
|
metadata?: {
|
|
2421
2935
|
[k: string]: unknown;
|
|
2422
2936
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -2426,29 +2940,33 @@ interface Gallery {
|
|
|
2426
2940
|
}
|
|
2427
2941
|
/**
|
|
2428
2942
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2429
|
-
* via the `definition` "
|
|
2943
|
+
* via the `definition` "playlist-categories".
|
|
2430
2944
|
*/
|
|
2431
|
-
interface
|
|
2945
|
+
interface PlaylistCategory {
|
|
2946
|
+
id: string;
|
|
2947
|
+
_order?: string | null;
|
|
2948
|
+
tenant?: (string | null) | Tenant;
|
|
2949
|
+
title: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2952
|
+
*/
|
|
2953
|
+
generateSlug?: boolean | null;
|
|
2954
|
+
slug?: string | null;
|
|
2955
|
+
description?: string | null;
|
|
2956
|
+
image?: (string | null) | PlaylistImage;
|
|
2957
|
+
parent?: (string | null) | PlaylistCategory;
|
|
2958
|
+
color?: string | null;
|
|
2959
|
+
updatedAt: string;
|
|
2960
|
+
createdAt: string;
|
|
2961
|
+
deletedAt?: string | null;
|
|
2962
|
+
}
|
|
2963
|
+
/**
|
|
2964
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2965
|
+
* via the `definition` "playlist-images".
|
|
2966
|
+
*/
|
|
2967
|
+
interface PlaylistImage {
|
|
2432
2968
|
id: string;
|
|
2433
|
-
'_gallery-images_images_order'?: string | null;
|
|
2434
2969
|
tenant?: (string | null) | Tenant;
|
|
2435
|
-
gallery: string | Gallery;
|
|
2436
|
-
title?: string | null;
|
|
2437
|
-
content?: {
|
|
2438
|
-
root: {
|
|
2439
|
-
type: string;
|
|
2440
|
-
children: {
|
|
2441
|
-
type: any;
|
|
2442
|
-
version: number;
|
|
2443
|
-
[k: string]: unknown;
|
|
2444
|
-
}[];
|
|
2445
|
-
direction: ('ltr' | 'rtl') | null;
|
|
2446
|
-
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2447
|
-
indent: number;
|
|
2448
|
-
version: number;
|
|
2449
|
-
};
|
|
2450
|
-
[k: string]: unknown;
|
|
2451
|
-
} | null;
|
|
2452
2970
|
alt?: string | null;
|
|
2453
2971
|
lqip?: string | null;
|
|
2454
2972
|
palette?: {
|
|
@@ -2508,9 +3026,9 @@ interface GalleryImage {
|
|
|
2508
3026
|
}
|
|
2509
3027
|
/**
|
|
2510
3028
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2511
|
-
* via the `definition` "
|
|
3029
|
+
* via the `definition` "playlist-tags".
|
|
2512
3030
|
*/
|
|
2513
|
-
interface
|
|
3031
|
+
interface PlaylistTag {
|
|
2514
3032
|
id: string;
|
|
2515
3033
|
_order?: string | null;
|
|
2516
3034
|
tenant?: (string | null) | Tenant;
|
|
@@ -2521,8 +3039,8 @@ interface GalleryCategory {
|
|
|
2521
3039
|
generateSlug?: boolean | null;
|
|
2522
3040
|
slug?: string | null;
|
|
2523
3041
|
description?: string | null;
|
|
2524
|
-
image?: (string | null) |
|
|
2525
|
-
parent?: (string | null) |
|
|
3042
|
+
image?: (string | null) | PlaylistImage;
|
|
3043
|
+
parent?: (string | null) | PlaylistTag;
|
|
2526
3044
|
color?: string | null;
|
|
2527
3045
|
updatedAt: string;
|
|
2528
3046
|
createdAt: string;
|
|
@@ -2530,81 +3048,109 @@ interface GalleryCategory {
|
|
|
2530
3048
|
}
|
|
2531
3049
|
/**
|
|
2532
3050
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2533
|
-
* via the `definition` "
|
|
3051
|
+
* via the `definition` "musics".
|
|
2534
3052
|
*/
|
|
2535
|
-
interface
|
|
3053
|
+
interface Music {
|
|
2536
3054
|
id: string;
|
|
3055
|
+
_order?: string | null;
|
|
3056
|
+
_musics_musics_order?: string | null;
|
|
2537
3057
|
tenant?: (string | null) | Tenant;
|
|
3058
|
+
playlist: string | Playlist;
|
|
3059
|
+
url: string;
|
|
3060
|
+
/**
|
|
3061
|
+
* Auto-filled from YouTube
|
|
3062
|
+
*/
|
|
2538
3063
|
title: string;
|
|
2539
3064
|
/**
|
|
2540
|
-
*
|
|
3065
|
+
* Auto-filled from YouTube channel
|
|
2541
3066
|
*/
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
3067
|
+
artist?: string | null;
|
|
3068
|
+
/**
|
|
3069
|
+
* Duration in seconds (auto-filled from YouTube)
|
|
3070
|
+
*/
|
|
3071
|
+
duration?: number | null;
|
|
3072
|
+
album?: string | null;
|
|
3073
|
+
genre?: string | null;
|
|
3074
|
+
releaseDate?: string | null;
|
|
2549
3075
|
metadata?: {
|
|
2550
3076
|
[k: string]: unknown;
|
|
2551
3077
|
} | unknown[] | string | number | boolean | null;
|
|
3078
|
+
isValid?: boolean | null;
|
|
2552
3079
|
updatedAt: string;
|
|
2553
3080
|
createdAt: string;
|
|
2554
3081
|
deletedAt?: string | null;
|
|
2555
|
-
_status?: ('draft' | 'published') | null;
|
|
2556
3082
|
}
|
|
2557
3083
|
/**
|
|
2558
3084
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2559
|
-
* via the `definition` "
|
|
3085
|
+
* via the `definition` "galleries".
|
|
2560
3086
|
*/
|
|
2561
|
-
interface
|
|
3087
|
+
interface Gallery {
|
|
2562
3088
|
id: string;
|
|
2563
3089
|
_order?: string | null;
|
|
2564
3090
|
tenant?: (string | null) | Tenant;
|
|
2565
3091
|
title: string;
|
|
3092
|
+
description?: string | null;
|
|
3093
|
+
videos?: (string | Video)[] | null;
|
|
3094
|
+
categories?: (string | GalleryCategory)[] | null;
|
|
3095
|
+
tags?: (string | GalleryTag)[] | null;
|
|
3096
|
+
images?: {
|
|
3097
|
+
docs?: (string | GalleryImage)[];
|
|
3098
|
+
hasNextPage?: boolean;
|
|
3099
|
+
totalDocs?: number;
|
|
3100
|
+
};
|
|
3101
|
+
seo?: {
|
|
3102
|
+
/**
|
|
3103
|
+
* Search result title (falls back to document title)
|
|
3104
|
+
*/
|
|
3105
|
+
title?: string | null;
|
|
3106
|
+
/**
|
|
3107
|
+
* Search result description
|
|
3108
|
+
*/
|
|
3109
|
+
description?: string | null;
|
|
3110
|
+
/**
|
|
3111
|
+
* Block search engine indexing
|
|
3112
|
+
*/
|
|
3113
|
+
noIndex?: boolean | null;
|
|
3114
|
+
/**
|
|
3115
|
+
* Canonical URL (prevents duplicate content)
|
|
3116
|
+
*/
|
|
3117
|
+
canonical?: string | null;
|
|
3118
|
+
openGraph?: {
|
|
3119
|
+
/**
|
|
3120
|
+
* OG title (falls back to seo.title)
|
|
3121
|
+
*/
|
|
3122
|
+
title?: string | null;
|
|
3123
|
+
/**
|
|
3124
|
+
* OG description (falls back to seo.description)
|
|
3125
|
+
*/
|
|
3126
|
+
description?: string | null;
|
|
3127
|
+
/**
|
|
3128
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
3129
|
+
*/
|
|
3130
|
+
image?: (string | null) | GalleryImage;
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
status: 'draft' | 'published' | 'archived';
|
|
3134
|
+
thumbnail?: (string | null) | GalleryImage;
|
|
2566
3135
|
/**
|
|
2567
3136
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2568
3137
|
*/
|
|
2569
3138
|
generateSlug?: boolean | null;
|
|
2570
3139
|
slug?: string | null;
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
};
|
|
2576
|
-
/**
|
|
2577
|
-
* Display node with transparent background
|
|
2578
|
-
*/
|
|
2579
|
-
transparentBackground?: boolean | null;
|
|
2580
|
-
/**
|
|
2581
|
-
* Define custom fields to display on node
|
|
2582
|
-
*/
|
|
2583
|
-
fields?: {
|
|
2584
|
-
/**
|
|
2585
|
-
* English key (e.g. body, url)
|
|
2586
|
-
*/
|
|
2587
|
-
name: string;
|
|
2588
|
-
label: string;
|
|
2589
|
-
fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'image' | 'select' | 'toggle';
|
|
2590
|
-
options?: {
|
|
2591
|
-
label: string;
|
|
2592
|
-
value: string;
|
|
2593
|
-
id?: string | null;
|
|
2594
|
-
}[] | null;
|
|
2595
|
-
defaultValue?: string | null;
|
|
2596
|
-
required?: boolean | null;
|
|
2597
|
-
id?: string | null;
|
|
2598
|
-
}[] | null;
|
|
3140
|
+
isFeatured?: boolean | null;
|
|
3141
|
+
publishedAt?: string | null;
|
|
3142
|
+
metadata?: {
|
|
3143
|
+
[k: string]: unknown;
|
|
3144
|
+
} | unknown[] | string | number | boolean | null;
|
|
2599
3145
|
updatedAt: string;
|
|
2600
3146
|
createdAt: string;
|
|
2601
3147
|
deletedAt?: string | null;
|
|
2602
3148
|
}
|
|
2603
3149
|
/**
|
|
2604
3150
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2605
|
-
* via the `definition` "
|
|
3151
|
+
* via the `definition` "gallery-categories".
|
|
2606
3152
|
*/
|
|
2607
|
-
interface
|
|
3153
|
+
interface GalleryCategory {
|
|
2608
3154
|
id: string;
|
|
2609
3155
|
_order?: string | null;
|
|
2610
3156
|
tenant?: (string | null) | Tenant;
|
|
@@ -2614,40 +3160,39 @@ interface FlowEdgeType {
|
|
|
2614
3160
|
*/
|
|
2615
3161
|
generateSlug?: boolean | null;
|
|
2616
3162
|
slug?: string | null;
|
|
3163
|
+
description?: string | null;
|
|
3164
|
+
image?: (string | null) | GalleryImage;
|
|
3165
|
+
parent?: (string | null) | GalleryCategory;
|
|
2617
3166
|
color?: string | null;
|
|
2618
|
-
strokeWidth?: number | null;
|
|
2619
|
-
animated?: boolean | null;
|
|
2620
|
-
lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
|
|
2621
|
-
/**
|
|
2622
|
-
* Define custom fields to display on edge
|
|
2623
|
-
*/
|
|
2624
|
-
fields?: {
|
|
2625
|
-
/**
|
|
2626
|
-
* English key (e.g. condition, weight)
|
|
2627
|
-
*/
|
|
2628
|
-
name: string;
|
|
2629
|
-
label: string;
|
|
2630
|
-
fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'select' | 'toggle';
|
|
2631
|
-
options?: {
|
|
2632
|
-
label: string;
|
|
2633
|
-
value: string;
|
|
2634
|
-
id?: string | null;
|
|
2635
|
-
}[] | null;
|
|
2636
|
-
defaultValue?: string | null;
|
|
2637
|
-
required?: boolean | null;
|
|
2638
|
-
id?: string | null;
|
|
2639
|
-
}[] | null;
|
|
2640
3167
|
updatedAt: string;
|
|
2641
3168
|
createdAt: string;
|
|
2642
3169
|
deletedAt?: string | null;
|
|
2643
3170
|
}
|
|
2644
3171
|
/**
|
|
2645
3172
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2646
|
-
* via the `definition` "
|
|
3173
|
+
* via the `definition` "gallery-images".
|
|
2647
3174
|
*/
|
|
2648
|
-
interface
|
|
3175
|
+
interface GalleryImage {
|
|
2649
3176
|
id: string;
|
|
3177
|
+
'_gallery-images_images_order'?: string | null;
|
|
2650
3178
|
tenant?: (string | null) | Tenant;
|
|
3179
|
+
gallery: string | Gallery;
|
|
3180
|
+
title?: string | null;
|
|
3181
|
+
content?: {
|
|
3182
|
+
root: {
|
|
3183
|
+
type: string;
|
|
3184
|
+
children: {
|
|
3185
|
+
type: any;
|
|
3186
|
+
version: number;
|
|
3187
|
+
[k: string]: unknown;
|
|
3188
|
+
}[];
|
|
3189
|
+
direction: ('ltr' | 'rtl') | null;
|
|
3190
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
3191
|
+
indent: number;
|
|
3192
|
+
version: number;
|
|
3193
|
+
};
|
|
3194
|
+
[k: string]: unknown;
|
|
3195
|
+
} | null;
|
|
2651
3196
|
alt?: string | null;
|
|
2652
3197
|
lqip?: string | null;
|
|
2653
3198
|
palette?: {
|
|
@@ -2707,62 +3252,117 @@ interface FlowImage {
|
|
|
2707
3252
|
}
|
|
2708
3253
|
/**
|
|
2709
3254
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2710
|
-
* via the `definition` "
|
|
3255
|
+
* via the `definition` "gallery-tags".
|
|
2711
3256
|
*/
|
|
2712
|
-
interface
|
|
3257
|
+
interface GalleryTag {
|
|
2713
3258
|
id: string;
|
|
3259
|
+
_order?: string | null;
|
|
2714
3260
|
tenant?: (string | null) | Tenant;
|
|
2715
|
-
title
|
|
2716
|
-
|
|
3261
|
+
title: string;
|
|
3262
|
+
/**
|
|
3263
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3264
|
+
*/
|
|
3265
|
+
generateSlug?: boolean | null;
|
|
3266
|
+
slug?: string | null;
|
|
2717
3267
|
description?: string | null;
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
3268
|
+
image?: (string | null) | GalleryImage;
|
|
3269
|
+
parent?: (string | null) | GalleryTag;
|
|
3270
|
+
color?: string | null;
|
|
3271
|
+
updatedAt: string;
|
|
3272
|
+
createdAt: string;
|
|
3273
|
+
deletedAt?: string | null;
|
|
3274
|
+
}
|
|
3275
|
+
/**
|
|
3276
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3277
|
+
* via the `definition` "flows".
|
|
3278
|
+
*/
|
|
3279
|
+
interface Flow {
|
|
3280
|
+
id: string;
|
|
3281
|
+
tenant?: (string | null) | Tenant;
|
|
3282
|
+
title: string;
|
|
3283
|
+
description?: string | null;
|
|
3284
|
+
videos?: (string | Video)[] | null;
|
|
3285
|
+
canvas: {
|
|
3286
|
+
[k: string]: unknown;
|
|
3287
|
+
} | unknown[] | string | number | boolean | null;
|
|
3288
|
+
categories?: (string | FlowCategory)[] | null;
|
|
3289
|
+
seo?: {
|
|
3290
|
+
/**
|
|
3291
|
+
* Search result title (falls back to document title)
|
|
3292
|
+
*/
|
|
3293
|
+
title?: string | null;
|
|
3294
|
+
/**
|
|
3295
|
+
* Search result description
|
|
3296
|
+
*/
|
|
3297
|
+
description?: string | null;
|
|
3298
|
+
/**
|
|
3299
|
+
* Block search engine indexing
|
|
3300
|
+
*/
|
|
3301
|
+
noIndex?: boolean | null;
|
|
3302
|
+
/**
|
|
3303
|
+
* Canonical URL (prevents duplicate content)
|
|
3304
|
+
*/
|
|
3305
|
+
canonical?: string | null;
|
|
3306
|
+
openGraph?: {
|
|
3307
|
+
/**
|
|
3308
|
+
* OG title (falls back to seo.title)
|
|
3309
|
+
*/
|
|
3310
|
+
title?: string | null;
|
|
3311
|
+
/**
|
|
3312
|
+
* OG description (falls back to seo.description)
|
|
3313
|
+
*/
|
|
3314
|
+
description?: string | null;
|
|
3315
|
+
/**
|
|
3316
|
+
* OG / Twitter Card image (1200×630 recommended)
|
|
3317
|
+
*/
|
|
3318
|
+
image?: (string | null) | FlowImage;
|
|
3319
|
+
};
|
|
3320
|
+
};
|
|
3321
|
+
/**
|
|
3322
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3323
|
+
*/
|
|
3324
|
+
generateSlug?: boolean | null;
|
|
3325
|
+
slug?: string | null;
|
|
3326
|
+
status?: ('draft' | 'published' | 'archived') | null;
|
|
3327
|
+
isFeatured?: boolean | null;
|
|
3328
|
+
publishedAt?: string | null;
|
|
3329
|
+
thumbnail?: (string | null) | FlowImage;
|
|
3330
|
+
tags?: (string | FlowTag)[] | null;
|
|
2728
3331
|
metadata?: {
|
|
2729
3332
|
[k: string]: unknown;
|
|
2730
3333
|
} | unknown[] | string | number | boolean | null;
|
|
2731
3334
|
updatedAt: string;
|
|
2732
3335
|
createdAt: string;
|
|
2733
3336
|
deletedAt?: string | null;
|
|
3337
|
+
_status?: ('draft' | 'published') | null;
|
|
2734
3338
|
}
|
|
2735
3339
|
/**
|
|
2736
3340
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2737
|
-
* via the `definition` "
|
|
3341
|
+
* via the `definition` "flow-categories".
|
|
2738
3342
|
*/
|
|
2739
|
-
interface
|
|
3343
|
+
interface FlowCategory {
|
|
2740
3344
|
id: string;
|
|
3345
|
+
_order?: string | null;
|
|
2741
3346
|
tenant?: (string | null) | Tenant;
|
|
2742
|
-
title
|
|
2743
|
-
description?: string | null;
|
|
2744
|
-
muxLiveStreamId?: string | null;
|
|
2745
|
-
muxPlaybackId?: string | null;
|
|
2746
|
-
streamKey?: string | null;
|
|
2747
|
-
status?: ('idle' | 'active' | 'disabled') | null;
|
|
2748
|
-
latencyMode?: ('standard' | 'reduced' | 'low') | null;
|
|
3347
|
+
title: string;
|
|
2749
3348
|
/**
|
|
2750
|
-
*
|
|
3349
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2751
3350
|
*/
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
3351
|
+
generateSlug?: boolean | null;
|
|
3352
|
+
slug?: string | null;
|
|
3353
|
+
description?: string | null;
|
|
3354
|
+
image?: (string | null) | FlowImage;
|
|
3355
|
+
parent?: (string | null) | FlowCategory;
|
|
3356
|
+
color?: string | null;
|
|
2757
3357
|
updatedAt: string;
|
|
2758
3358
|
createdAt: string;
|
|
2759
3359
|
deletedAt?: string | null;
|
|
2760
3360
|
}
|
|
2761
3361
|
/**
|
|
2762
3362
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2763
|
-
* via the `definition` "
|
|
3363
|
+
* via the `definition` "flow-images".
|
|
2764
3364
|
*/
|
|
2765
|
-
interface
|
|
3365
|
+
interface FlowImage {
|
|
2766
3366
|
id: string;
|
|
2767
3367
|
tenant?: (string | null) | Tenant;
|
|
2768
3368
|
alt?: string | null;
|
|
@@ -2822,6 +3422,117 @@ interface LiveStreamImage {
|
|
|
2822
3422
|
};
|
|
2823
3423
|
};
|
|
2824
3424
|
}
|
|
3425
|
+
/**
|
|
3426
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3427
|
+
* via the `definition` "flow-tags".
|
|
3428
|
+
*/
|
|
3429
|
+
interface FlowTag {
|
|
3430
|
+
id: string;
|
|
3431
|
+
_order?: string | null;
|
|
3432
|
+
tenant?: (string | null) | Tenant;
|
|
3433
|
+
title: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3436
|
+
*/
|
|
3437
|
+
generateSlug?: boolean | null;
|
|
3438
|
+
slug?: string | null;
|
|
3439
|
+
description?: string | null;
|
|
3440
|
+
image?: (string | null) | FlowImage;
|
|
3441
|
+
parent?: (string | null) | FlowTag;
|
|
3442
|
+
color?: string | null;
|
|
3443
|
+
updatedAt: string;
|
|
3444
|
+
createdAt: string;
|
|
3445
|
+
deletedAt?: string | null;
|
|
3446
|
+
}
|
|
3447
|
+
/**
|
|
3448
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3449
|
+
* via the `definition` "flow-node-types".
|
|
3450
|
+
*/
|
|
3451
|
+
interface FlowNodeType {
|
|
3452
|
+
id: string;
|
|
3453
|
+
_order?: string | null;
|
|
3454
|
+
tenant?: (string | null) | Tenant;
|
|
3455
|
+
title: string;
|
|
3456
|
+
/**
|
|
3457
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3458
|
+
*/
|
|
3459
|
+
generateSlug?: boolean | null;
|
|
3460
|
+
slug?: string | null;
|
|
3461
|
+
color?: string | null;
|
|
3462
|
+
defaultSize?: {
|
|
3463
|
+
width?: number | null;
|
|
3464
|
+
height?: number | null;
|
|
3465
|
+
};
|
|
3466
|
+
/**
|
|
3467
|
+
* Display node with transparent background
|
|
3468
|
+
*/
|
|
3469
|
+
transparentBackground?: boolean | null;
|
|
3470
|
+
/**
|
|
3471
|
+
* Define custom fields to display on node
|
|
3472
|
+
*/
|
|
3473
|
+
fields?: {
|
|
3474
|
+
/**
|
|
3475
|
+
* English key (e.g. body, url)
|
|
3476
|
+
*/
|
|
3477
|
+
name: string;
|
|
3478
|
+
label: string;
|
|
3479
|
+
fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'image' | 'select' | 'toggle';
|
|
3480
|
+
options?: {
|
|
3481
|
+
label: string;
|
|
3482
|
+
value: string;
|
|
3483
|
+
id?: string | null;
|
|
3484
|
+
}[] | null;
|
|
3485
|
+
defaultValue?: string | null;
|
|
3486
|
+
required?: boolean | null;
|
|
3487
|
+
id?: string | null;
|
|
3488
|
+
}[] | null;
|
|
3489
|
+
updatedAt: string;
|
|
3490
|
+
createdAt: string;
|
|
3491
|
+
deletedAt?: string | null;
|
|
3492
|
+
}
|
|
3493
|
+
/**
|
|
3494
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
3495
|
+
* via the `definition` "flow-edge-types".
|
|
3496
|
+
*/
|
|
3497
|
+
interface FlowEdgeType {
|
|
3498
|
+
id: string;
|
|
3499
|
+
_order?: string | null;
|
|
3500
|
+
tenant?: (string | null) | Tenant;
|
|
3501
|
+
title: string;
|
|
3502
|
+
/**
|
|
3503
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3504
|
+
*/
|
|
3505
|
+
generateSlug?: boolean | null;
|
|
3506
|
+
slug?: string | null;
|
|
3507
|
+
color?: string | null;
|
|
3508
|
+
strokeWidth?: number | null;
|
|
3509
|
+
animated?: boolean | null;
|
|
3510
|
+
lineStyle?: ('default' | 'step' | 'smoothstep' | 'bezier') | null;
|
|
3511
|
+
markerStart?: ('none' | 'arrow' | 'arrowclosed') | null;
|
|
3512
|
+
markerEnd?: ('none' | 'arrow' | 'arrowclosed') | null;
|
|
3513
|
+
/**
|
|
3514
|
+
* Define custom fields to display on edge
|
|
3515
|
+
*/
|
|
3516
|
+
fields?: {
|
|
3517
|
+
/**
|
|
3518
|
+
* English key (e.g. condition, weight)
|
|
3519
|
+
*/
|
|
3520
|
+
name: string;
|
|
3521
|
+
label: string;
|
|
3522
|
+
fieldType: 'text' | 'textarea' | 'number' | 'url' | 'color' | 'select' | 'toggle';
|
|
3523
|
+
options?: {
|
|
3524
|
+
label: string;
|
|
3525
|
+
value: string;
|
|
3526
|
+
id?: string | null;
|
|
3527
|
+
}[] | null;
|
|
3528
|
+
defaultValue?: string | null;
|
|
3529
|
+
required?: boolean | null;
|
|
3530
|
+
id?: string | null;
|
|
3531
|
+
}[] | null;
|
|
3532
|
+
updatedAt: string;
|
|
3533
|
+
createdAt: string;
|
|
3534
|
+
deletedAt?: string | null;
|
|
3535
|
+
}
|
|
2825
3536
|
/**
|
|
2826
3537
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2827
3538
|
* via the `definition` "forms".
|
|
@@ -3028,6 +3739,9 @@ interface PayloadLockedDocument {
|
|
|
3028
3739
|
document?: ({
|
|
3029
3740
|
relationTo: 'users';
|
|
3030
3741
|
value: string | User;
|
|
3742
|
+
} | null) | ({
|
|
3743
|
+
relationTo: 'field-configs';
|
|
3744
|
+
value: string | FieldConfig;
|
|
3031
3745
|
} | null) | ({
|
|
3032
3746
|
relationTo: 'media';
|
|
3033
3747
|
value: string | Media;
|
|
@@ -3169,6 +3883,12 @@ interface PayloadLockedDocument {
|
|
|
3169
3883
|
} | null) | ({
|
|
3170
3884
|
relationTo: 'playlists';
|
|
3171
3885
|
value: string | Playlist;
|
|
3886
|
+
} | null) | ({
|
|
3887
|
+
relationTo: 'playlist-categories';
|
|
3888
|
+
value: string | PlaylistCategory;
|
|
3889
|
+
} | null) | ({
|
|
3890
|
+
relationTo: 'playlist-tags';
|
|
3891
|
+
value: string | PlaylistTag;
|
|
3172
3892
|
} | null) | ({
|
|
3173
3893
|
relationTo: 'musics';
|
|
3174
3894
|
value: string | Music;
|
|
@@ -3184,6 +3904,9 @@ interface PayloadLockedDocument {
|
|
|
3184
3904
|
} | null) | ({
|
|
3185
3905
|
relationTo: 'gallery-categories';
|
|
3186
3906
|
value: string | GalleryCategory;
|
|
3907
|
+
} | null) | ({
|
|
3908
|
+
relationTo: 'gallery-tags';
|
|
3909
|
+
value: string | GalleryTag;
|
|
3187
3910
|
} | null) | ({
|
|
3188
3911
|
relationTo: 'flows';
|
|
3189
3912
|
value: string | Flow;
|
|
@@ -3193,12 +3916,27 @@ interface PayloadLockedDocument {
|
|
|
3193
3916
|
} | null) | ({
|
|
3194
3917
|
relationTo: 'flow-edge-types';
|
|
3195
3918
|
value: string | FlowEdgeType;
|
|
3919
|
+
} | null) | ({
|
|
3920
|
+
relationTo: 'flow-categories';
|
|
3921
|
+
value: string | FlowCategory;
|
|
3196
3922
|
} | null) | ({
|
|
3197
3923
|
relationTo: 'flow-images';
|
|
3198
3924
|
value: string | FlowImage;
|
|
3925
|
+
} | null) | ({
|
|
3926
|
+
relationTo: 'flow-tags';
|
|
3927
|
+
value: string | FlowTag;
|
|
3199
3928
|
} | null) | ({
|
|
3200
3929
|
relationTo: 'videos';
|
|
3201
3930
|
value: string | Video;
|
|
3931
|
+
} | null) | ({
|
|
3932
|
+
relationTo: 'video-categories';
|
|
3933
|
+
value: string | VideoCategory;
|
|
3934
|
+
} | null) | ({
|
|
3935
|
+
relationTo: 'video-tags';
|
|
3936
|
+
value: string | VideoTag;
|
|
3937
|
+
} | null) | ({
|
|
3938
|
+
relationTo: 'video-images';
|
|
3939
|
+
value: string | VideoImage;
|
|
3202
3940
|
} | null) | ({
|
|
3203
3941
|
relationTo: 'live-streams';
|
|
3204
3942
|
value: string | LiveStream;
|
|
@@ -3268,6 +4006,7 @@ interface UsersSelect<T extends boolean = true> {
|
|
|
3268
4006
|
emailPreferences?: T | {
|
|
3269
4007
|
usageAlerts?: T;
|
|
3270
4008
|
};
|
|
4009
|
+
fieldConfigs?: T;
|
|
3271
4010
|
updatedAt?: T;
|
|
3272
4011
|
createdAt?: T;
|
|
3273
4012
|
email?: T;
|
|
@@ -3285,6 +4024,18 @@ interface UsersSelect<T extends boolean = true> {
|
|
|
3285
4024
|
expiresAt?: T;
|
|
3286
4025
|
};
|
|
3287
4026
|
}
|
|
4027
|
+
/**
|
|
4028
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4029
|
+
* via the `definition` "field-configs_select".
|
|
4030
|
+
*/
|
|
4031
|
+
interface FieldConfigsSelect<T extends boolean = true> {
|
|
4032
|
+
tenant?: T;
|
|
4033
|
+
collectionSlug?: T;
|
|
4034
|
+
isHidden?: T;
|
|
4035
|
+
hiddenFields?: T;
|
|
4036
|
+
updatedAt?: T;
|
|
4037
|
+
createdAt?: T;
|
|
4038
|
+
}
|
|
3288
4039
|
/**
|
|
3289
4040
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3290
4041
|
* via the `definition` "media_select".
|
|
@@ -3388,6 +4139,19 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
3388
4139
|
favicon?: T;
|
|
3389
4140
|
themeColor?: T;
|
|
3390
4141
|
};
|
|
4142
|
+
seo?: T | {
|
|
4143
|
+
robots?: T;
|
|
4144
|
+
googleSiteVerification?: T;
|
|
4145
|
+
bingSiteVerification?: T;
|
|
4146
|
+
naverSiteVerification?: T;
|
|
4147
|
+
canonicalUrl?: T;
|
|
4148
|
+
};
|
|
4149
|
+
analytics?: T | {
|
|
4150
|
+
googleAnalyticsId?: T;
|
|
4151
|
+
googleTagManagerId?: T;
|
|
4152
|
+
facebookPixelId?: T;
|
|
4153
|
+
linkedInPartnerId?: T;
|
|
4154
|
+
};
|
|
3391
4155
|
openGraph?: T | {
|
|
3392
4156
|
ogTitle?: T;
|
|
3393
4157
|
ogDescription?: T;
|
|
@@ -3403,24 +4167,11 @@ interface TenantMetadataSelect<T extends boolean = true> {
|
|
|
3403
4167
|
twitterDescription?: T;
|
|
3404
4168
|
twitterImage?: T;
|
|
3405
4169
|
};
|
|
3406
|
-
seo?: T | {
|
|
3407
|
-
robots?: T;
|
|
3408
|
-
googleSiteVerification?: T;
|
|
3409
|
-
bingSiteVerification?: T;
|
|
3410
|
-
naverSiteVerification?: T;
|
|
3411
|
-
canonicalUrl?: T;
|
|
3412
|
-
};
|
|
3413
4170
|
pwa?: T | {
|
|
3414
4171
|
shortName?: T;
|
|
3415
4172
|
backgroundColor?: T;
|
|
3416
4173
|
display?: T;
|
|
3417
4174
|
};
|
|
3418
|
-
analytics?: T | {
|
|
3419
|
-
googleAnalyticsId?: T;
|
|
3420
|
-
googleTagManagerId?: T;
|
|
3421
|
-
facebookPixelId?: T;
|
|
3422
|
-
linkedInPartnerId?: T;
|
|
3423
|
-
};
|
|
3424
4175
|
updatedAt?: T;
|
|
3425
4176
|
createdAt?: T;
|
|
3426
4177
|
}
|
|
@@ -3439,6 +4190,7 @@ interface ApiUsageSelect<T extends boolean = true> {
|
|
|
3439
4190
|
totalDocuments?: T;
|
|
3440
4191
|
videoCount?: T;
|
|
3441
4192
|
videoMinutesUsed?: T;
|
|
4193
|
+
deliveryMinutesUsed?: T;
|
|
3442
4194
|
updatedAt?: T;
|
|
3443
4195
|
createdAt?: T;
|
|
3444
4196
|
}
|
|
@@ -3447,13 +4199,16 @@ interface ApiUsageSelect<T extends boolean = true> {
|
|
|
3447
4199
|
* via the `definition` "subscriptions_select".
|
|
3448
4200
|
*/
|
|
3449
4201
|
interface SubscriptionsSelect<T extends boolean = true> {
|
|
3450
|
-
provider?: T;
|
|
3451
|
-
currency?: T;
|
|
3452
4202
|
tenant?: T;
|
|
3453
4203
|
plan?: T;
|
|
3454
4204
|
billingCycle?: T;
|
|
3455
4205
|
amount?: T;
|
|
3456
4206
|
status?: T;
|
|
4207
|
+
currency?: T;
|
|
4208
|
+
provider?: T;
|
|
4209
|
+
currentPeriodStart?: T;
|
|
4210
|
+
currentPeriodEnd?: T;
|
|
4211
|
+
nextBillingDate?: T;
|
|
3457
4212
|
billingKey?: T;
|
|
3458
4213
|
customerKey?: T;
|
|
3459
4214
|
cardInfo?: T | {
|
|
@@ -3464,9 +4219,6 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
3464
4219
|
polarSubscriptionId?: T;
|
|
3465
4220
|
polarCustomerId?: T;
|
|
3466
4221
|
polarProductId?: T;
|
|
3467
|
-
currentPeriodStart?: T;
|
|
3468
|
-
currentPeriodEnd?: T;
|
|
3469
|
-
nextBillingDate?: T;
|
|
3470
4222
|
cancelAtPeriodEnd?: T;
|
|
3471
4223
|
canceledAt?: T;
|
|
3472
4224
|
cancelReason?: T;
|
|
@@ -3486,20 +4238,20 @@ interface SubscriptionsSelect<T extends boolean = true> {
|
|
|
3486
4238
|
* via the `definition` "billing-history_select".
|
|
3487
4239
|
*/
|
|
3488
4240
|
interface BillingHistorySelect<T extends boolean = true> {
|
|
3489
|
-
provider?: T;
|
|
3490
|
-
currency?: T;
|
|
3491
4241
|
tenant?: T;
|
|
3492
4242
|
subscription?: T;
|
|
3493
4243
|
type?: T;
|
|
3494
4244
|
status?: T;
|
|
3495
4245
|
amount?: T;
|
|
3496
|
-
paymentKey?: T;
|
|
3497
|
-
orderId?: T;
|
|
3498
|
-
orderName?: T;
|
|
3499
4246
|
plan?: T;
|
|
4247
|
+
provider?: T;
|
|
4248
|
+
currency?: T;
|
|
3500
4249
|
billingCycle?: T;
|
|
3501
4250
|
periodStart?: T;
|
|
3502
4251
|
periodEnd?: T;
|
|
4252
|
+
orderId?: T;
|
|
4253
|
+
orderName?: T;
|
|
4254
|
+
paymentKey?: T;
|
|
3503
4255
|
tossResponse?: T;
|
|
3504
4256
|
polarOrderId?: T;
|
|
3505
4257
|
polarResponse?: T;
|
|
@@ -3643,24 +4395,50 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
3643
4395
|
tenant?: T;
|
|
3644
4396
|
title?: T;
|
|
3645
4397
|
subtitle?: T;
|
|
4398
|
+
description?: T;
|
|
3646
4399
|
thumbnail?: T;
|
|
3647
4400
|
images?: T;
|
|
4401
|
+
videos?: T;
|
|
3648
4402
|
price?: T;
|
|
3649
4403
|
compareAtPrice?: T;
|
|
4404
|
+
content?: T;
|
|
3650
4405
|
variants?: T;
|
|
3651
4406
|
options?: T;
|
|
3652
|
-
description?: T;
|
|
3653
|
-
generateSlug?: T;
|
|
3654
|
-
slug?: T;
|
|
3655
|
-
sku?: T;
|
|
3656
|
-
status?: T;
|
|
3657
|
-
isSoldOut?: T;
|
|
3658
4407
|
categories?: T;
|
|
3659
4408
|
tags?: T;
|
|
3660
|
-
collections?: T;
|
|
3661
4409
|
brand?: T;
|
|
3662
4410
|
shippingPolicy?: T;
|
|
4411
|
+
weight?: T;
|
|
4412
|
+
dimensions?: T | {
|
|
4413
|
+
width?: T;
|
|
4414
|
+
height?: T;
|
|
4415
|
+
depth?: T;
|
|
4416
|
+
};
|
|
4417
|
+
isDigital?: T;
|
|
4418
|
+
collections?: T;
|
|
4419
|
+
sku?: T;
|
|
4420
|
+
barcode?: T;
|
|
4421
|
+
externalId?: T;
|
|
4422
|
+
minOrderQuantity?: T;
|
|
4423
|
+
maxOrderQuantity?: T;
|
|
3663
4424
|
metadata?: T;
|
|
4425
|
+
seo?: T | {
|
|
4426
|
+
title?: T;
|
|
4427
|
+
description?: T;
|
|
4428
|
+
noIndex?: T;
|
|
4429
|
+
canonical?: T;
|
|
4430
|
+
openGraph?: T | {
|
|
4431
|
+
title?: T;
|
|
4432
|
+
description?: T;
|
|
4433
|
+
image?: T;
|
|
4434
|
+
};
|
|
4435
|
+
};
|
|
4436
|
+
generateSlug?: T;
|
|
4437
|
+
slug?: T;
|
|
4438
|
+
status?: T;
|
|
4439
|
+
isSoldOut?: T;
|
|
4440
|
+
isFeatured?: T;
|
|
4441
|
+
publishedAt?: T;
|
|
3664
4442
|
updatedAt?: T;
|
|
3665
4443
|
createdAt?: T;
|
|
3666
4444
|
deletedAt?: T;
|
|
@@ -3681,6 +4459,14 @@ interface ProductVariantsSelect<T extends boolean = true> {
|
|
|
3681
4459
|
weight?: T;
|
|
3682
4460
|
isSoldOut?: T;
|
|
3683
4461
|
images?: T;
|
|
4462
|
+
dimensions?: T | {
|
|
4463
|
+
width?: T;
|
|
4464
|
+
height?: T;
|
|
4465
|
+
depth?: T;
|
|
4466
|
+
};
|
|
4467
|
+
externalId?: T;
|
|
4468
|
+
status?: T;
|
|
4469
|
+
position?: T;
|
|
3684
4470
|
metadata?: T;
|
|
3685
4471
|
productOptions?: T;
|
|
3686
4472
|
updatedAt?: T;
|
|
@@ -3703,6 +4489,10 @@ interface ProductOptionsSelect<T extends boolean = true> {
|
|
|
3703
4489
|
stock?: T;
|
|
3704
4490
|
reservedStock?: T;
|
|
3705
4491
|
priceAdjustment?: T;
|
|
4492
|
+
barcode?: T;
|
|
4493
|
+
weight?: T;
|
|
4494
|
+
lowStockThreshold?: T;
|
|
4495
|
+
externalId?: T;
|
|
3706
4496
|
metadata?: T;
|
|
3707
4497
|
updatedAt?: T;
|
|
3708
4498
|
createdAt?: T;
|
|
@@ -3756,10 +4546,23 @@ interface ProductCollectionsSelect<T extends boolean = true> {
|
|
|
3756
4546
|
images?: T;
|
|
3757
4547
|
description?: T;
|
|
3758
4548
|
products?: T;
|
|
4549
|
+
seo?: T | {
|
|
4550
|
+
title?: T;
|
|
4551
|
+
description?: T;
|
|
4552
|
+
noIndex?: T;
|
|
4553
|
+
canonical?: T;
|
|
4554
|
+
openGraph?: T | {
|
|
4555
|
+
title?: T;
|
|
4556
|
+
description?: T;
|
|
4557
|
+
image?: T;
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
3759
4560
|
generateSlug?: T;
|
|
3760
4561
|
slug?: T;
|
|
3761
4562
|
status?: T;
|
|
3762
4563
|
sortOrder?: T;
|
|
4564
|
+
isFeatured?: T;
|
|
4565
|
+
publishedAt?: T;
|
|
3763
4566
|
metadata?: T;
|
|
3764
4567
|
updatedAt?: T;
|
|
3765
4568
|
createdAt?: T;
|
|
@@ -3773,13 +4576,16 @@ interface BrandsSelect<T extends boolean = true> {
|
|
|
3773
4576
|
_order?: T;
|
|
3774
4577
|
tenant?: T;
|
|
3775
4578
|
name?: T;
|
|
3776
|
-
|
|
3777
|
-
|
|
4579
|
+
description?: T;
|
|
4580
|
+
content?: T;
|
|
3778
4581
|
logo?: T;
|
|
3779
4582
|
logoDark?: T;
|
|
3780
4583
|
logomark?: T;
|
|
3781
|
-
description?: T;
|
|
3782
4584
|
website?: T;
|
|
4585
|
+
generateSlug?: T;
|
|
4586
|
+
slug?: T;
|
|
4587
|
+
status?: T;
|
|
4588
|
+
isFeatured?: T;
|
|
3783
4589
|
metadata?: T;
|
|
3784
4590
|
updatedAt?: T;
|
|
3785
4591
|
createdAt?: T;
|
|
@@ -3947,7 +4753,10 @@ interface OrdersSelect<T extends boolean = true> {
|
|
|
3947
4753
|
discountCode?: T;
|
|
3948
4754
|
discountAmount?: T;
|
|
3949
4755
|
refundedAmount?: T;
|
|
3950
|
-
|
|
4756
|
+
shippingFee?: T;
|
|
4757
|
+
source?: T;
|
|
4758
|
+
adminNotes?: T;
|
|
4759
|
+
customerNotes?: T;
|
|
3951
4760
|
customer?: T;
|
|
3952
4761
|
customerSnapshot?: T | {
|
|
3953
4762
|
name?: T;
|
|
@@ -4001,6 +4810,8 @@ interface TransactionsSelect<T extends boolean = true> {
|
|
|
4001
4810
|
paymentMethod?: T;
|
|
4002
4811
|
receiptUrl?: T;
|
|
4003
4812
|
totalAmount?: T;
|
|
4813
|
+
pgProvider?: T;
|
|
4814
|
+
metadata?: T;
|
|
4004
4815
|
updatedAt?: T;
|
|
4005
4816
|
createdAt?: T;
|
|
4006
4817
|
}
|
|
@@ -4059,6 +4870,9 @@ interface ReturnsSelect<T extends boolean = true> {
|
|
|
4059
4870
|
reason?: T;
|
|
4060
4871
|
reasonDetail?: T;
|
|
4061
4872
|
returnProducts?: T;
|
|
4873
|
+
adminNotes?: T;
|
|
4874
|
+
completedAt?: T;
|
|
4875
|
+
refundReceiptUrl?: T;
|
|
4062
4876
|
refundAmount?: T;
|
|
4063
4877
|
updatedAt?: T;
|
|
4064
4878
|
createdAt?: T;
|
|
@@ -4092,6 +4906,8 @@ interface ExchangesSelect<T extends boolean = true> {
|
|
|
4092
4906
|
reason?: T;
|
|
4093
4907
|
reasonDetail?: T;
|
|
4094
4908
|
shippingFee?: T;
|
|
4909
|
+
adminNotes?: T;
|
|
4910
|
+
completedAt?: T;
|
|
4095
4911
|
exchangeProducts?: T;
|
|
4096
4912
|
updatedAt?: T;
|
|
4097
4913
|
createdAt?: T;
|
|
@@ -4129,6 +4945,9 @@ interface ShippingPoliciesSelect<T extends boolean = true> {
|
|
|
4129
4945
|
islandExtraFee?: T;
|
|
4130
4946
|
generateSlug?: T;
|
|
4131
4947
|
slug?: T;
|
|
4948
|
+
description?: T;
|
|
4949
|
+
estimatedDays?: T;
|
|
4950
|
+
status?: T;
|
|
4132
4951
|
isDefault?: T;
|
|
4133
4952
|
metadata?: T;
|
|
4134
4953
|
updatedAt?: T;
|
|
@@ -4149,6 +4968,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
4149
4968
|
groups?: T;
|
|
4150
4969
|
socialId?: T;
|
|
4151
4970
|
note?: T;
|
|
4971
|
+
birthDate?: T;
|
|
4972
|
+
gender?: T;
|
|
4152
4973
|
orders?: T;
|
|
4153
4974
|
addresses?: T;
|
|
4154
4975
|
hashedPassword?: T;
|
|
@@ -4163,6 +4984,7 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
4163
4984
|
isVerified?: T;
|
|
4164
4985
|
marketingConsent?: T;
|
|
4165
4986
|
consentedAt?: T;
|
|
4987
|
+
lastLoginAt?: T;
|
|
4166
4988
|
metadata?: T;
|
|
4167
4989
|
updatedAt?: T;
|
|
4168
4990
|
createdAt?: T;
|
|
@@ -4198,6 +5020,7 @@ interface CustomerGroupsSelect<T extends boolean = true> {
|
|
|
4198
5020
|
description?: T;
|
|
4199
5021
|
color?: T;
|
|
4200
5022
|
image?: T;
|
|
5023
|
+
status?: T;
|
|
4201
5024
|
metadata?: T;
|
|
4202
5025
|
customers?: T;
|
|
4203
5026
|
updatedAt?: T;
|
|
@@ -4317,6 +5140,8 @@ interface CartItemsSelect<T extends boolean = true> {
|
|
|
4317
5140
|
interface DiscountsSelect<T extends boolean = true> {
|
|
4318
5141
|
_order?: T;
|
|
4319
5142
|
tenant?: T;
|
|
5143
|
+
type?: T;
|
|
5144
|
+
isActive?: T;
|
|
4320
5145
|
code?: T;
|
|
4321
5146
|
title?: T;
|
|
4322
5147
|
description?: T;
|
|
@@ -4333,11 +5158,12 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
4333
5158
|
endsAt?: T;
|
|
4334
5159
|
applicableProducts?: T;
|
|
4335
5160
|
applicableCategories?: T;
|
|
4336
|
-
type?: T;
|
|
4337
|
-
isActive?: T;
|
|
4338
5161
|
usageLimit?: T;
|
|
4339
5162
|
usageCount?: T;
|
|
4340
5163
|
perCustomerLimit?: T;
|
|
5164
|
+
customerGroups?: T;
|
|
5165
|
+
isAutoApply?: T;
|
|
5166
|
+
priority?: T;
|
|
4341
5167
|
metadata?: T;
|
|
4342
5168
|
updatedAt?: T;
|
|
4343
5169
|
createdAt?: T;
|
|
@@ -4352,16 +5178,30 @@ interface PostsSelect<T extends boolean = true> {
|
|
|
4352
5178
|
tenant?: T;
|
|
4353
5179
|
title?: T;
|
|
4354
5180
|
subtitle?: T;
|
|
4355
|
-
|
|
5181
|
+
description?: T;
|
|
4356
5182
|
content?: T;
|
|
5183
|
+
author?: T;
|
|
5184
|
+
categories?: T;
|
|
5185
|
+
tags?: T;
|
|
5186
|
+
videos?: T;
|
|
5187
|
+
seo?: T | {
|
|
5188
|
+
title?: T;
|
|
5189
|
+
description?: T;
|
|
5190
|
+
noIndex?: T;
|
|
5191
|
+
canonical?: T;
|
|
5192
|
+
openGraph?: T | {
|
|
5193
|
+
title?: T;
|
|
5194
|
+
description?: T;
|
|
5195
|
+
image?: T;
|
|
5196
|
+
};
|
|
5197
|
+
};
|
|
4357
5198
|
thumbnail?: T;
|
|
4358
5199
|
images?: T;
|
|
4359
5200
|
generateSlug?: T;
|
|
4360
5201
|
slug?: T;
|
|
4361
|
-
author?: T;
|
|
4362
5202
|
publishedAt?: T;
|
|
4363
|
-
|
|
4364
|
-
|
|
5203
|
+
isFeatured?: T;
|
|
5204
|
+
readTime?: T;
|
|
4365
5205
|
metadata?: T;
|
|
4366
5206
|
updatedAt?: T;
|
|
4367
5207
|
createdAt?: T;
|
|
@@ -4381,6 +5221,8 @@ interface PostAuthorsSelect<T extends boolean = true> {
|
|
|
4381
5221
|
avatar?: T;
|
|
4382
5222
|
bio?: T;
|
|
4383
5223
|
posts?: T;
|
|
5224
|
+
email?: T;
|
|
5225
|
+
status?: T;
|
|
4384
5226
|
metadata?: T;
|
|
4385
5227
|
updatedAt?: T;
|
|
4386
5228
|
createdAt?: T;
|
|
@@ -4493,21 +5335,37 @@ interface DocumentsSelect<T extends boolean = true> {
|
|
|
4493
5335
|
_order?: T;
|
|
4494
5336
|
tenant?: T;
|
|
4495
5337
|
title?: T;
|
|
4496
|
-
|
|
5338
|
+
description?: T;
|
|
4497
5339
|
content?: T;
|
|
5340
|
+
videos?: T;
|
|
5341
|
+
version?: T;
|
|
5342
|
+
effectiveDate?: T;
|
|
5343
|
+
expiryDate?: T;
|
|
5344
|
+
changeLog?: T;
|
|
5345
|
+
isRequired?: T;
|
|
4498
5346
|
tags?: T | {
|
|
4499
5347
|
tag?: T;
|
|
4500
5348
|
id?: T;
|
|
4501
5349
|
};
|
|
4502
|
-
|
|
5350
|
+
seo?: T | {
|
|
5351
|
+
title?: T;
|
|
5352
|
+
description?: T;
|
|
5353
|
+
noIndex?: T;
|
|
5354
|
+
canonical?: T;
|
|
5355
|
+
openGraph?: T | {
|
|
5356
|
+
title?: T;
|
|
5357
|
+
description?: T;
|
|
5358
|
+
image?: T;
|
|
5359
|
+
};
|
|
5360
|
+
};
|
|
4503
5361
|
generateSlug?: T;
|
|
4504
5362
|
slug?: T;
|
|
4505
5363
|
type?: T;
|
|
4506
|
-
version?: T;
|
|
4507
|
-
effectiveDate?: T;
|
|
4508
|
-
expiryDate?: T;
|
|
4509
5364
|
category?: T;
|
|
4510
|
-
|
|
5365
|
+
thumbnail?: T;
|
|
5366
|
+
images?: T;
|
|
5367
|
+
publishedAt?: T;
|
|
5368
|
+
isFeatured?: T;
|
|
4511
5369
|
metadata?: T;
|
|
4512
5370
|
updatedAt?: T;
|
|
4513
5371
|
createdAt?: T;
|
|
@@ -4621,15 +5479,69 @@ interface PlaylistsSelect<T extends boolean = true> {
|
|
|
4621
5479
|
tenant?: T;
|
|
4622
5480
|
title?: T;
|
|
4623
5481
|
description?: T;
|
|
5482
|
+
videos?: T;
|
|
5483
|
+
categories?: T;
|
|
5484
|
+
tags?: T;
|
|
4624
5485
|
musics?: T;
|
|
4625
|
-
|
|
5486
|
+
seo?: T | {
|
|
5487
|
+
title?: T;
|
|
5488
|
+
description?: T;
|
|
5489
|
+
noIndex?: T;
|
|
5490
|
+
canonical?: T;
|
|
5491
|
+
openGraph?: T | {
|
|
5492
|
+
title?: T;
|
|
5493
|
+
description?: T;
|
|
5494
|
+
image?: T;
|
|
5495
|
+
};
|
|
5496
|
+
};
|
|
5497
|
+
thumbnail?: T;
|
|
4626
5498
|
generateSlug?: T;
|
|
4627
5499
|
slug?: T;
|
|
5500
|
+
status?: T;
|
|
5501
|
+
publishedAt?: T;
|
|
5502
|
+
isFeatured?: T;
|
|
5503
|
+
totalDuration?: T;
|
|
4628
5504
|
metadata?: T;
|
|
4629
5505
|
updatedAt?: T;
|
|
4630
5506
|
createdAt?: T;
|
|
4631
5507
|
deletedAt?: T;
|
|
4632
5508
|
}
|
|
5509
|
+
/**
|
|
5510
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5511
|
+
* via the `definition` "playlist-categories_select".
|
|
5512
|
+
*/
|
|
5513
|
+
interface PlaylistCategoriesSelect<T extends boolean = true> {
|
|
5514
|
+
_order?: T;
|
|
5515
|
+
tenant?: T;
|
|
5516
|
+
title?: T;
|
|
5517
|
+
generateSlug?: T;
|
|
5518
|
+
slug?: T;
|
|
5519
|
+
description?: T;
|
|
5520
|
+
image?: T;
|
|
5521
|
+
parent?: T;
|
|
5522
|
+
color?: T;
|
|
5523
|
+
updatedAt?: T;
|
|
5524
|
+
createdAt?: T;
|
|
5525
|
+
deletedAt?: T;
|
|
5526
|
+
}
|
|
5527
|
+
/**
|
|
5528
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5529
|
+
* via the `definition` "playlist-tags_select".
|
|
5530
|
+
*/
|
|
5531
|
+
interface PlaylistTagsSelect<T extends boolean = true> {
|
|
5532
|
+
_order?: T;
|
|
5533
|
+
tenant?: T;
|
|
5534
|
+
title?: T;
|
|
5535
|
+
generateSlug?: T;
|
|
5536
|
+
slug?: T;
|
|
5537
|
+
description?: T;
|
|
5538
|
+
image?: T;
|
|
5539
|
+
parent?: T;
|
|
5540
|
+
color?: T;
|
|
5541
|
+
updatedAt?: T;
|
|
5542
|
+
createdAt?: T;
|
|
5543
|
+
deletedAt?: T;
|
|
5544
|
+
}
|
|
4633
5545
|
/**
|
|
4634
5546
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4635
5547
|
* via the `definition` "musics_select".
|
|
@@ -4643,6 +5555,9 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4643
5555
|
title?: T;
|
|
4644
5556
|
artist?: T;
|
|
4645
5557
|
duration?: T;
|
|
5558
|
+
album?: T;
|
|
5559
|
+
genre?: T;
|
|
5560
|
+
releaseDate?: T;
|
|
4646
5561
|
metadata?: T;
|
|
4647
5562
|
isValid?: T;
|
|
4648
5563
|
updatedAt?: T;
|
|
@@ -4721,12 +5636,27 @@ interface GalleriesSelect<T extends boolean = true> {
|
|
|
4721
5636
|
tenant?: T;
|
|
4722
5637
|
title?: T;
|
|
4723
5638
|
description?: T;
|
|
4724
|
-
|
|
5639
|
+
videos?: T;
|
|
4725
5640
|
categories?: T;
|
|
5641
|
+
tags?: T;
|
|
5642
|
+
images?: T;
|
|
5643
|
+
seo?: T | {
|
|
5644
|
+
title?: T;
|
|
5645
|
+
description?: T;
|
|
5646
|
+
noIndex?: T;
|
|
5647
|
+
canonical?: T;
|
|
5648
|
+
openGraph?: T | {
|
|
5649
|
+
title?: T;
|
|
5650
|
+
description?: T;
|
|
5651
|
+
image?: T;
|
|
5652
|
+
};
|
|
5653
|
+
};
|
|
4726
5654
|
status?: T;
|
|
4727
5655
|
thumbnail?: T;
|
|
4728
5656
|
generateSlug?: T;
|
|
4729
5657
|
slug?: T;
|
|
5658
|
+
isFeatured?: T;
|
|
5659
|
+
publishedAt?: T;
|
|
4730
5660
|
metadata?: T;
|
|
4731
5661
|
updatedAt?: T;
|
|
4732
5662
|
createdAt?: T;
|
|
@@ -4819,16 +5749,51 @@ interface GalleryCategoriesSelect<T extends boolean = true> {
|
|
|
4819
5749
|
}
|
|
4820
5750
|
/**
|
|
4821
5751
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4822
|
-
* via the `definition` "
|
|
5752
|
+
* via the `definition` "gallery-tags_select".
|
|
4823
5753
|
*/
|
|
4824
|
-
interface
|
|
5754
|
+
interface GalleryTagsSelect<T extends boolean = true> {
|
|
5755
|
+
_order?: T;
|
|
4825
5756
|
tenant?: T;
|
|
4826
5757
|
title?: T;
|
|
4827
5758
|
generateSlug?: T;
|
|
4828
5759
|
slug?: T;
|
|
4829
5760
|
description?: T;
|
|
5761
|
+
image?: T;
|
|
5762
|
+
parent?: T;
|
|
5763
|
+
color?: T;
|
|
5764
|
+
updatedAt?: T;
|
|
5765
|
+
createdAt?: T;
|
|
5766
|
+
deletedAt?: T;
|
|
5767
|
+
}
|
|
5768
|
+
/**
|
|
5769
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5770
|
+
* via the `definition` "flows_select".
|
|
5771
|
+
*/
|
|
5772
|
+
interface FlowsSelect<T extends boolean = true> {
|
|
5773
|
+
tenant?: T;
|
|
5774
|
+
title?: T;
|
|
5775
|
+
description?: T;
|
|
5776
|
+
videos?: T;
|
|
4830
5777
|
canvas?: T;
|
|
5778
|
+
categories?: T;
|
|
5779
|
+
seo?: T | {
|
|
5780
|
+
title?: T;
|
|
5781
|
+
description?: T;
|
|
5782
|
+
noIndex?: T;
|
|
5783
|
+
canonical?: T;
|
|
5784
|
+
openGraph?: T | {
|
|
5785
|
+
title?: T;
|
|
5786
|
+
description?: T;
|
|
5787
|
+
image?: T;
|
|
5788
|
+
};
|
|
5789
|
+
};
|
|
5790
|
+
generateSlug?: T;
|
|
5791
|
+
slug?: T;
|
|
4831
5792
|
status?: T;
|
|
5793
|
+
isFeatured?: T;
|
|
5794
|
+
publishedAt?: T;
|
|
5795
|
+
thumbnail?: T;
|
|
5796
|
+
tags?: T;
|
|
4832
5797
|
metadata?: T;
|
|
4833
5798
|
updatedAt?: T;
|
|
4834
5799
|
createdAt?: T;
|
|
@@ -4882,6 +5847,8 @@ interface FlowEdgeTypesSelect<T extends boolean = true> {
|
|
|
4882
5847
|
strokeWidth?: T;
|
|
4883
5848
|
animated?: T;
|
|
4884
5849
|
lineStyle?: T;
|
|
5850
|
+
markerStart?: T;
|
|
5851
|
+
markerEnd?: T;
|
|
4885
5852
|
fields?: T | {
|
|
4886
5853
|
name?: T;
|
|
4887
5854
|
label?: T;
|
|
@@ -4899,6 +5866,24 @@ interface FlowEdgeTypesSelect<T extends boolean = true> {
|
|
|
4899
5866
|
createdAt?: T;
|
|
4900
5867
|
deletedAt?: T;
|
|
4901
5868
|
}
|
|
5869
|
+
/**
|
|
5870
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5871
|
+
* via the `definition` "flow-categories_select".
|
|
5872
|
+
*/
|
|
5873
|
+
interface FlowCategoriesSelect<T extends boolean = true> {
|
|
5874
|
+
_order?: T;
|
|
5875
|
+
tenant?: T;
|
|
5876
|
+
title?: T;
|
|
5877
|
+
generateSlug?: T;
|
|
5878
|
+
slug?: T;
|
|
5879
|
+
description?: T;
|
|
5880
|
+
image?: T;
|
|
5881
|
+
parent?: T;
|
|
5882
|
+
color?: T;
|
|
5883
|
+
updatedAt?: T;
|
|
5884
|
+
createdAt?: T;
|
|
5885
|
+
deletedAt?: T;
|
|
5886
|
+
}
|
|
4902
5887
|
/**
|
|
4903
5888
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4904
5889
|
* via the `definition` "flow-images_select".
|
|
@@ -4962,6 +5947,24 @@ interface FlowImagesSelect<T extends boolean = true> {
|
|
|
4962
5947
|
};
|
|
4963
5948
|
};
|
|
4964
5949
|
}
|
|
5950
|
+
/**
|
|
5951
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
5952
|
+
* via the `definition` "flow-tags_select".
|
|
5953
|
+
*/
|
|
5954
|
+
interface FlowTagsSelect<T extends boolean = true> {
|
|
5955
|
+
_order?: T;
|
|
5956
|
+
tenant?: T;
|
|
5957
|
+
title?: T;
|
|
5958
|
+
generateSlug?: T;
|
|
5959
|
+
slug?: T;
|
|
5960
|
+
description?: T;
|
|
5961
|
+
image?: T;
|
|
5962
|
+
parent?: T;
|
|
5963
|
+
color?: T;
|
|
5964
|
+
updatedAt?: T;
|
|
5965
|
+
createdAt?: T;
|
|
5966
|
+
deletedAt?: T;
|
|
5967
|
+
}
|
|
4965
5968
|
/**
|
|
4966
5969
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4967
5970
|
* via the `definition` "videos_select".
|
|
@@ -4971,6 +5974,7 @@ interface VideosSelect<T extends boolean = true> {
|
|
|
4971
5974
|
title?: T;
|
|
4972
5975
|
filename?: T;
|
|
4973
5976
|
description?: T;
|
|
5977
|
+
content?: T;
|
|
4974
5978
|
sourceLiveStream?: T;
|
|
4975
5979
|
status?: T;
|
|
4976
5980
|
duration?: T;
|
|
@@ -4981,11 +5985,128 @@ interface VideosSelect<T extends boolean = true> {
|
|
|
4981
5985
|
muxAssetId?: T;
|
|
4982
5986
|
muxPlaybackId?: T;
|
|
4983
5987
|
muxUploadId?: T;
|
|
5988
|
+
seo?: T | {
|
|
5989
|
+
title?: T;
|
|
5990
|
+
description?: T;
|
|
5991
|
+
noIndex?: T;
|
|
5992
|
+
canonical?: T;
|
|
5993
|
+
openGraph?: T | {
|
|
5994
|
+
title?: T;
|
|
5995
|
+
description?: T;
|
|
5996
|
+
image?: T;
|
|
5997
|
+
};
|
|
5998
|
+
};
|
|
5999
|
+
thumbnail?: T;
|
|
6000
|
+
generateSlug?: T;
|
|
6001
|
+
slug?: T;
|
|
6002
|
+
publishedAt?: T;
|
|
6003
|
+
isFeatured?: T;
|
|
6004
|
+
categories?: T;
|
|
6005
|
+
tags?: T;
|
|
4984
6006
|
metadata?: T;
|
|
4985
6007
|
updatedAt?: T;
|
|
4986
6008
|
createdAt?: T;
|
|
4987
6009
|
deletedAt?: T;
|
|
4988
6010
|
}
|
|
6011
|
+
/**
|
|
6012
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6013
|
+
* via the `definition` "video-categories_select".
|
|
6014
|
+
*/
|
|
6015
|
+
interface VideoCategoriesSelect<T extends boolean = true> {
|
|
6016
|
+
_order?: T;
|
|
6017
|
+
tenant?: T;
|
|
6018
|
+
title?: T;
|
|
6019
|
+
generateSlug?: T;
|
|
6020
|
+
slug?: T;
|
|
6021
|
+
description?: T;
|
|
6022
|
+
image?: T;
|
|
6023
|
+
parent?: T;
|
|
6024
|
+
color?: T;
|
|
6025
|
+
updatedAt?: T;
|
|
6026
|
+
createdAt?: T;
|
|
6027
|
+
deletedAt?: T;
|
|
6028
|
+
}
|
|
6029
|
+
/**
|
|
6030
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6031
|
+
* via the `definition` "video-tags_select".
|
|
6032
|
+
*/
|
|
6033
|
+
interface VideoTagsSelect<T extends boolean = true> {
|
|
6034
|
+
_order?: T;
|
|
6035
|
+
tenant?: T;
|
|
6036
|
+
title?: T;
|
|
6037
|
+
generateSlug?: T;
|
|
6038
|
+
slug?: T;
|
|
6039
|
+
description?: T;
|
|
6040
|
+
image?: T;
|
|
6041
|
+
parent?: T;
|
|
6042
|
+
color?: T;
|
|
6043
|
+
updatedAt?: T;
|
|
6044
|
+
createdAt?: T;
|
|
6045
|
+
deletedAt?: T;
|
|
6046
|
+
}
|
|
6047
|
+
/**
|
|
6048
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6049
|
+
* via the `definition` "video-images_select".
|
|
6050
|
+
*/
|
|
6051
|
+
interface VideoImagesSelect<T extends boolean = true> {
|
|
6052
|
+
tenant?: T;
|
|
6053
|
+
alt?: T;
|
|
6054
|
+
lqip?: T;
|
|
6055
|
+
palette?: T | {
|
|
6056
|
+
vibrant?: T;
|
|
6057
|
+
muted?: T;
|
|
6058
|
+
darkVibrant?: T;
|
|
6059
|
+
darkMuted?: T;
|
|
6060
|
+
lightVibrant?: T;
|
|
6061
|
+
lightMuted?: T;
|
|
6062
|
+
};
|
|
6063
|
+
prefix?: T;
|
|
6064
|
+
updatedAt?: T;
|
|
6065
|
+
createdAt?: T;
|
|
6066
|
+
url?: T;
|
|
6067
|
+
thumbnailURL?: T;
|
|
6068
|
+
filename?: T;
|
|
6069
|
+
mimeType?: T;
|
|
6070
|
+
filesize?: T;
|
|
6071
|
+
width?: T;
|
|
6072
|
+
height?: T;
|
|
6073
|
+
focalX?: T;
|
|
6074
|
+
focalY?: T;
|
|
6075
|
+
sizes?: T | {
|
|
6076
|
+
'200'?: T | {
|
|
6077
|
+
url?: T;
|
|
6078
|
+
width?: T;
|
|
6079
|
+
height?: T;
|
|
6080
|
+
mimeType?: T;
|
|
6081
|
+
filesize?: T;
|
|
6082
|
+
filename?: T;
|
|
6083
|
+
};
|
|
6084
|
+
'400'?: T | {
|
|
6085
|
+
url?: T;
|
|
6086
|
+
width?: T;
|
|
6087
|
+
height?: T;
|
|
6088
|
+
mimeType?: T;
|
|
6089
|
+
filesize?: T;
|
|
6090
|
+
filename?: T;
|
|
6091
|
+
};
|
|
6092
|
+
'800'?: T | {
|
|
6093
|
+
url?: T;
|
|
6094
|
+
width?: T;
|
|
6095
|
+
height?: T;
|
|
6096
|
+
mimeType?: T;
|
|
6097
|
+
filesize?: T;
|
|
6098
|
+
filename?: T;
|
|
6099
|
+
};
|
|
6100
|
+
'1600'?: T | {
|
|
6101
|
+
url?: T;
|
|
6102
|
+
width?: T;
|
|
6103
|
+
height?: T;
|
|
6104
|
+
mimeType?: T;
|
|
6105
|
+
filesize?: T;
|
|
6106
|
+
filename?: T;
|
|
6107
|
+
};
|
|
6108
|
+
};
|
|
6109
|
+
}
|
|
4989
6110
|
/**
|
|
4990
6111
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4991
6112
|
* via the `definition` "live-streams_select".
|
|
@@ -4994,6 +6115,11 @@ interface LiveStreamsSelect<T extends boolean = true> {
|
|
|
4994
6115
|
tenant?: T;
|
|
4995
6116
|
title?: T;
|
|
4996
6117
|
description?: T;
|
|
6118
|
+
isFeatured?: T;
|
|
6119
|
+
scheduledAt?: T;
|
|
6120
|
+
thumbnail?: T;
|
|
6121
|
+
generateSlug?: T;
|
|
6122
|
+
slug?: T;
|
|
4997
6123
|
muxLiveStreamId?: T;
|
|
4998
6124
|
muxPlaybackId?: T;
|
|
4999
6125
|
streamKey?: T;
|
|
@@ -5262,4 +6388,4 @@ declare module 'payload' {
|
|
|
5262
6388
|
}
|
|
5263
6389
|
}
|
|
5264
6390
|
|
|
5265
|
-
export type {
|
|
6391
|
+
export type { Post as $, Audience as A, BrandLogo as B, Cart as C, Brand as D, Exchange as E, Form as F, ShippingPolicy as G, ProductCollection as H, IframeBlock as I, Customer as J, CustomerGroup as K, LiveStream as L, Media as M, CustomerGroupImage as N, Order as O, Product as P, CustomerAddress as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, FulfillmentItem as W, ReturnProduct as X, ExchangeProduct as Y, OrderStatusLog as Z, Discount as _, OrderProduct as a, CustomerGroupImagesSelect as a$, PostAuthor as a0, PostImage as a1, PostCategory as a2, PostTag as a3, Document as a4, DocumentImage as a5, DocumentType as a6, DocumentCategory as a7, Playlist as a8, PlaylistCategory as a9, SubscriptionsSelect as aA, BillingHistorySelect as aB, TenantLogosSelect as aC, TenantOgImagesSelect as aD, ProductsSelect as aE, ProductVariantsSelect as aF, ProductOptionsSelect as aG, ProductCategoriesSelect as aH, ProductTagsSelect as aI, ProductCollectionsSelect as aJ, BrandsSelect as aK, BrandLogosSelect as aL, ProductImagesSelect as aM, OrdersSelect as aN, OrderProductsSelect as aO, TransactionsSelect as aP, OrderStatusLogsSelect as aQ, FulfillmentsSelect as aR, FulfillmentItemsSelect as aS, ReturnsSelect as aT, ReturnProductsSelect as aU, ExchangesSelect as aV, ExchangeProductsSelect as aW, ShippingPoliciesSelect as aX, CustomersSelect as aY, CustomerAddressesSelect as aZ, CustomerGroupsSelect as a_, PlaylistImage as aa, PlaylistTag as ab, Music as ac, Gallery as ad, GalleryCategory as ae, GalleryImage as af, GalleryTag as ag, Flow as ah, FlowCategory as ai, FlowImage as aj, FlowTag as ak, FlowNodeType as al, FlowEdgeType as am, FormSubmission as an, PayloadKv as ao, PayloadLockedDocument as ap, PayloadPreference as aq, PayloadMigration as ar, UsersSelect as as, FieldConfigsSelect as at, MediaSelect as au, AudiencesSelect as av, EmailLogsSelect as aw, TenantsSelect as ax, TenantMetadataSelect as ay, ApiUsageSelect as az, Fulfillment as b, CartsSelect as b0, CartItemsSelect as b1, DiscountsSelect as b2, PostsSelect as b3, PostAuthorsSelect as b4, PostCategoriesSelect as b5, PostTagsSelect as b6, PostImagesSelect as b7, DocumentsSelect as b8, DocumentCategoriesSelect as b9, PayloadLockedDocumentsSelect as bA, PayloadPreferencesSelect as bB, PayloadMigrationsSelect as bC, CollectionsWidget as bD, Auth as bE, DocumentTypesSelect as ba, DocumentImagesSelect as bb, PlaylistsSelect as bc, PlaylistCategoriesSelect as bd, PlaylistTagsSelect as be, MusicsSelect as bf, PlaylistImagesSelect as bg, GalleriesSelect as bh, GalleryImagesSelect as bi, GalleryCategoriesSelect as bj, GalleryTagsSelect as bk, FlowsSelect as bl, FlowNodeTypesSelect as bm, FlowEdgeTypesSelect as bn, FlowCategoriesSelect as bo, FlowImagesSelect as bp, FlowTagsSelect as bq, VideosSelect as br, VideoCategoriesSelect as bs, VideoTagsSelect as bt, VideoImagesSelect as bu, LiveStreamsSelect as bv, LiveStreamImagesSelect as bw, FormsSelect as bx, FormSubmissionsSelect as by, PayloadKvSelect as bz, CartItem as c, Config as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, EmailLog as k, TenantMetadatum as l, TenantOgImage as m, ApiUsage as n, Subscription as o, BillingHistory as p, TenantLogo as q, ProductImage as r, LiveStreamImage as s, VideoImage as t, VideoCategory as u, VideoTag as v, ProductVariant as w, ProductOption as x, ProductCategory as y, ProductTag as z };
|