@01.software/sdk 0.4.1 → 0.4.3-dev.1774320821495
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/{const-BsO3aVX_.d.cts → const-BO4SPN7f.d.ts} +2 -2
- package/dist/{const-DZyvV9wU.d.ts → const-hqVXNZoy.d.cts} +2 -2
- package/dist/index.cjs +21 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BsjHfeAF.d.cts → payload-types-mZpmjJBz.d.cts} +128 -4
- package/dist/{payload-types-BsjHfeAF.d.ts → payload-types-mZpmjJBz.d.ts} +128 -4
- package/dist/realtime.cjs +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/realtime.js +1 -1
- package/dist/ui/flow.cjs +403 -92
- package/dist/ui/flow.cjs.map +1 -1
- package/dist/ui/flow.d.cts +58 -5
- package/dist/ui/flow.d.ts +58 -5
- package/dist/ui/flow.js +398 -87
- package/dist/ui/flow.js.map +1 -1
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/{webhook-BBWl8O2f.d.ts → webhook-CMi4JRCp.d.ts} +3 -3
- package/dist/{webhook-CkL56e65.d.cts → webhook-D65mzWt2.d.cts} +3 -3
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +7 -12
|
@@ -69,6 +69,8 @@ interface Config {
|
|
|
69
69
|
'playlist-categories': PlaylistCategory;
|
|
70
70
|
'playlist-tags': PlaylistTag;
|
|
71
71
|
musics: Music;
|
|
72
|
+
'music-categories': MusicCategory;
|
|
73
|
+
'music-tags': MusicTag;
|
|
72
74
|
galleries: Gallery;
|
|
73
75
|
'gallery-categories': GalleryCategory;
|
|
74
76
|
'gallery-tags': GalleryTag;
|
|
@@ -183,6 +185,8 @@ interface Config {
|
|
|
183
185
|
'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
|
|
184
186
|
'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
|
|
185
187
|
musics: MusicsSelect<false> | MusicsSelect<true>;
|
|
188
|
+
'music-categories': MusicCategoriesSelect<false> | MusicCategoriesSelect<true>;
|
|
189
|
+
'music-tags': MusicTagsSelect<false> | MusicTagsSelect<true>;
|
|
186
190
|
galleries: GalleriesSelect<false> | GalleriesSelect<true>;
|
|
187
191
|
'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
|
|
188
192
|
'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
|
|
@@ -341,6 +345,10 @@ interface Tenant {
|
|
|
341
345
|
* Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
|
|
342
346
|
*/
|
|
343
347
|
requireEmailVerification?: boolean | null;
|
|
348
|
+
/**
|
|
349
|
+
* Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
|
|
350
|
+
*/
|
|
351
|
+
devMode?: boolean | null;
|
|
344
352
|
/**
|
|
345
353
|
* Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
|
|
346
354
|
*/
|
|
@@ -383,7 +391,7 @@ interface Tenant {
|
|
|
383
391
|
interface FieldConfig {
|
|
384
392
|
id: string;
|
|
385
393
|
tenant?: (string | null) | Tenant;
|
|
386
|
-
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' | '
|
|
394
|
+
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' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
|
|
387
395
|
isHidden?: boolean | null;
|
|
388
396
|
hiddenFields?: {
|
|
389
397
|
[k: string]: unknown;
|
|
@@ -2685,8 +2693,28 @@ interface Music {
|
|
|
2685
2693
|
* Duration in seconds (auto-filled from YouTube)
|
|
2686
2694
|
*/
|
|
2687
2695
|
duration?: number | null;
|
|
2696
|
+
/**
|
|
2697
|
+
* Short summary for listing/cards
|
|
2698
|
+
*/
|
|
2699
|
+
description?: string | null;
|
|
2700
|
+
content?: {
|
|
2701
|
+
root: {
|
|
2702
|
+
type: string;
|
|
2703
|
+
children: {
|
|
2704
|
+
type: any;
|
|
2705
|
+
version: number;
|
|
2706
|
+
[k: string]: unknown;
|
|
2707
|
+
}[];
|
|
2708
|
+
direction: ('ltr' | 'rtl') | null;
|
|
2709
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2710
|
+
indent: number;
|
|
2711
|
+
version: number;
|
|
2712
|
+
};
|
|
2713
|
+
[k: string]: unknown;
|
|
2714
|
+
} | null;
|
|
2715
|
+
categories?: (string | MusicCategory)[] | null;
|
|
2716
|
+
tags?: (string | MusicTag)[] | null;
|
|
2688
2717
|
album?: string | null;
|
|
2689
|
-
genre?: string | null;
|
|
2690
2718
|
releaseDate?: string | null;
|
|
2691
2719
|
metadata?: {
|
|
2692
2720
|
[k: string]: unknown;
|
|
@@ -2696,6 +2724,56 @@ interface Music {
|
|
|
2696
2724
|
createdAt: string;
|
|
2697
2725
|
deletedAt?: string | null;
|
|
2698
2726
|
}
|
|
2727
|
+
/**
|
|
2728
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2729
|
+
* via the `definition` "music-categories".
|
|
2730
|
+
*/
|
|
2731
|
+
interface MusicCategory {
|
|
2732
|
+
id: string;
|
|
2733
|
+
_order?: string | null;
|
|
2734
|
+
tenant?: (string | null) | Tenant;
|
|
2735
|
+
title: string;
|
|
2736
|
+
/**
|
|
2737
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2738
|
+
*/
|
|
2739
|
+
generateSlug?: boolean | null;
|
|
2740
|
+
slug?: string | null;
|
|
2741
|
+
/**
|
|
2742
|
+
* Short summary for listing/cards
|
|
2743
|
+
*/
|
|
2744
|
+
description?: string | null;
|
|
2745
|
+
image?: (string | null) | Image;
|
|
2746
|
+
parent?: (string | null) | MusicCategory;
|
|
2747
|
+
color?: string | null;
|
|
2748
|
+
updatedAt: string;
|
|
2749
|
+
createdAt: string;
|
|
2750
|
+
deletedAt?: string | null;
|
|
2751
|
+
}
|
|
2752
|
+
/**
|
|
2753
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2754
|
+
* via the `definition` "music-tags".
|
|
2755
|
+
*/
|
|
2756
|
+
interface MusicTag {
|
|
2757
|
+
id: string;
|
|
2758
|
+
_order?: string | null;
|
|
2759
|
+
tenant?: (string | null) | Tenant;
|
|
2760
|
+
title: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2763
|
+
*/
|
|
2764
|
+
generateSlug?: boolean | null;
|
|
2765
|
+
slug?: string | null;
|
|
2766
|
+
/**
|
|
2767
|
+
* Short summary for listing/cards
|
|
2768
|
+
*/
|
|
2769
|
+
description?: string | null;
|
|
2770
|
+
image?: (string | null) | Image;
|
|
2771
|
+
parent?: (string | null) | MusicTag;
|
|
2772
|
+
color?: string | null;
|
|
2773
|
+
updatedAt: string;
|
|
2774
|
+
createdAt: string;
|
|
2775
|
+
deletedAt?: string | null;
|
|
2776
|
+
}
|
|
2699
2777
|
/**
|
|
2700
2778
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2701
2779
|
* via the `definition` "galleries".
|
|
@@ -3409,6 +3487,12 @@ interface PayloadLockedDocument {
|
|
|
3409
3487
|
} | null) | ({
|
|
3410
3488
|
relationTo: 'musics';
|
|
3411
3489
|
value: string | Music;
|
|
3490
|
+
} | null) | ({
|
|
3491
|
+
relationTo: 'music-categories';
|
|
3492
|
+
value: string | MusicCategory;
|
|
3493
|
+
} | null) | ({
|
|
3494
|
+
relationTo: 'music-tags';
|
|
3495
|
+
value: string | MusicTag;
|
|
3412
3496
|
} | null) | ({
|
|
3413
3497
|
relationTo: 'galleries';
|
|
3414
3498
|
value: string | Gallery;
|
|
@@ -3674,6 +3758,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
3674
3758
|
plan?: T;
|
|
3675
3759
|
features?: T;
|
|
3676
3760
|
requireEmailVerification?: T;
|
|
3761
|
+
devMode?: T;
|
|
3677
3762
|
cors?: T | {
|
|
3678
3763
|
origin?: T;
|
|
3679
3764
|
id?: T;
|
|
@@ -4839,8 +4924,11 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4839
4924
|
title?: T;
|
|
4840
4925
|
artist?: T;
|
|
4841
4926
|
duration?: T;
|
|
4927
|
+
description?: T;
|
|
4928
|
+
content?: T;
|
|
4929
|
+
categories?: T;
|
|
4930
|
+
tags?: T;
|
|
4842
4931
|
album?: T;
|
|
4843
|
-
genre?: T;
|
|
4844
4932
|
releaseDate?: T;
|
|
4845
4933
|
metadata?: T;
|
|
4846
4934
|
isValid?: T;
|
|
@@ -4848,6 +4936,42 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4848
4936
|
createdAt?: T;
|
|
4849
4937
|
deletedAt?: T;
|
|
4850
4938
|
}
|
|
4939
|
+
/**
|
|
4940
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4941
|
+
* via the `definition` "music-categories_select".
|
|
4942
|
+
*/
|
|
4943
|
+
interface MusicCategoriesSelect<T extends boolean = true> {
|
|
4944
|
+
_order?: T;
|
|
4945
|
+
tenant?: T;
|
|
4946
|
+
title?: T;
|
|
4947
|
+
generateSlug?: T;
|
|
4948
|
+
slug?: T;
|
|
4949
|
+
description?: T;
|
|
4950
|
+
image?: T;
|
|
4951
|
+
parent?: T;
|
|
4952
|
+
color?: T;
|
|
4953
|
+
updatedAt?: T;
|
|
4954
|
+
createdAt?: T;
|
|
4955
|
+
deletedAt?: T;
|
|
4956
|
+
}
|
|
4957
|
+
/**
|
|
4958
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4959
|
+
* via the `definition` "music-tags_select".
|
|
4960
|
+
*/
|
|
4961
|
+
interface MusicTagsSelect<T extends boolean = true> {
|
|
4962
|
+
_order?: T;
|
|
4963
|
+
tenant?: T;
|
|
4964
|
+
title?: T;
|
|
4965
|
+
generateSlug?: T;
|
|
4966
|
+
slug?: T;
|
|
4967
|
+
description?: T;
|
|
4968
|
+
image?: T;
|
|
4969
|
+
parent?: T;
|
|
4970
|
+
color?: T;
|
|
4971
|
+
updatedAt?: T;
|
|
4972
|
+
createdAt?: T;
|
|
4973
|
+
deletedAt?: T;
|
|
4974
|
+
}
|
|
4851
4975
|
/**
|
|
4852
4976
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4853
4977
|
* via the `definition` "galleries_select".
|
|
@@ -5370,4 +5494,4 @@ declare module 'payload' {
|
|
|
5370
5494
|
}
|
|
5371
5495
|
}
|
|
5372
5496
|
|
|
5373
|
-
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a,
|
|
5497
|
+
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, DocumentsSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, ProductOptionsSelect as aA, ProductCategoriesSelect as aB, ProductTagsSelect as aC, ProductCollectionsSelect as aD, BrandsSelect as aE, BrandLogosSelect as aF, OrdersSelect as aG, OrderProductsSelect as aH, TransactionsSelect as aI, OrderStatusLogsSelect as aJ, FulfillmentsSelect as aK, FulfillmentItemsSelect as aL, ReturnsSelect as aM, ReturnProductsSelect as aN, ExchangesSelect as aO, ExchangeProductsSelect as aP, ShippingPoliciesSelect as aQ, CustomersSelect as aR, CustomerAddressesSelect as aS, CustomerGroupsSelect as aT, CartsSelect as aU, CartItemsSelect as aV, DiscountsSelect as aW, PostsSelect as aX, PostAuthorsSelect as aY, PostCategoriesSelect as aZ, PostTagsSelect as a_, GalleryTag as aa, GalleryItem as ab, Flow as ac, FlowCategory as ad, FlowTag as ae, FlowNodeType as af, FlowEdgeType as ag, FormSubmission as ah, PayloadKv as ai, PayloadLockedDocument as aj, PayloadPreference as ak, PayloadMigration as al, UsersSelect as am, FieldConfigsSelect as an, ImagesSelect as ao, SystemMediaSelect as ap, AudiencesSelect as aq, EmailLogsSelect as ar, TenantsSelect as as, TenantMetadataSelect as at, ApiUsageSelect as au, SubscriptionsSelect as av, BillingHistorySelect as aw, TenantLogosSelect as ax, ProductsSelect as ay, ProductVariantsSelect as az, Fulfillment as b, DocumentCategoriesSelect as b0, DocumentTypesSelect as b1, PlaylistsSelect as b2, PlaylistCategoriesSelect as b3, PlaylistTagsSelect as b4, MusicsSelect as b5, MusicCategoriesSelect as b6, MusicTagsSelect as b7, GalleriesSelect as b8, GalleryCategoriesSelect as b9, GalleryTagsSelect as ba, GalleryItemsSelect as bb, FlowsSelect as bc, FlowNodeTypesSelect as bd, FlowEdgeTypesSelect as be, FlowCategoriesSelect as bf, FlowTagsSelect as bg, VideosSelect as bh, VideoCategoriesSelect as bi, VideoTagsSelect as bj, LiveStreamsSelect as bk, FormsSelect as bl, FormSubmissionsSelect as bm, PayloadKvSelect as bn, PayloadLockedDocumentsSelect as bo, PayloadPreferencesSelect as bp, PayloadMigrationsSelect as bq, CollectionsWidget as br, Auth as bs, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
|
|
@@ -69,6 +69,8 @@ interface Config {
|
|
|
69
69
|
'playlist-categories': PlaylistCategory;
|
|
70
70
|
'playlist-tags': PlaylistTag;
|
|
71
71
|
musics: Music;
|
|
72
|
+
'music-categories': MusicCategory;
|
|
73
|
+
'music-tags': MusicTag;
|
|
72
74
|
galleries: Gallery;
|
|
73
75
|
'gallery-categories': GalleryCategory;
|
|
74
76
|
'gallery-tags': GalleryTag;
|
|
@@ -183,6 +185,8 @@ interface Config {
|
|
|
183
185
|
'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
|
|
184
186
|
'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
|
|
185
187
|
musics: MusicsSelect<false> | MusicsSelect<true>;
|
|
188
|
+
'music-categories': MusicCategoriesSelect<false> | MusicCategoriesSelect<true>;
|
|
189
|
+
'music-tags': MusicTagsSelect<false> | MusicTagsSelect<true>;
|
|
186
190
|
galleries: GalleriesSelect<false> | GalleriesSelect<true>;
|
|
187
191
|
'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
|
|
188
192
|
'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
|
|
@@ -341,6 +345,10 @@ interface Tenant {
|
|
|
341
345
|
* Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
|
|
342
346
|
*/
|
|
343
347
|
requireEmailVerification?: boolean | null;
|
|
348
|
+
/**
|
|
349
|
+
* Dev mode shows configuration tools like the field settings panel. Turn off after setup for a clean production UI.
|
|
350
|
+
*/
|
|
351
|
+
devMode?: boolean | null;
|
|
344
352
|
/**
|
|
345
353
|
* Allowed CORS origins for browser SDK requests. Empty = all origins allowed.
|
|
346
354
|
*/
|
|
@@ -383,7 +391,7 @@ interface Tenant {
|
|
|
383
391
|
interface FieldConfig {
|
|
384
392
|
id: string;
|
|
385
393
|
tenant?: (string | null) | Tenant;
|
|
386
|
-
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' | '
|
|
394
|
+
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' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
|
|
387
395
|
isHidden?: boolean | null;
|
|
388
396
|
hiddenFields?: {
|
|
389
397
|
[k: string]: unknown;
|
|
@@ -2685,8 +2693,28 @@ interface Music {
|
|
|
2685
2693
|
* Duration in seconds (auto-filled from YouTube)
|
|
2686
2694
|
*/
|
|
2687
2695
|
duration?: number | null;
|
|
2696
|
+
/**
|
|
2697
|
+
* Short summary for listing/cards
|
|
2698
|
+
*/
|
|
2699
|
+
description?: string | null;
|
|
2700
|
+
content?: {
|
|
2701
|
+
root: {
|
|
2702
|
+
type: string;
|
|
2703
|
+
children: {
|
|
2704
|
+
type: any;
|
|
2705
|
+
version: number;
|
|
2706
|
+
[k: string]: unknown;
|
|
2707
|
+
}[];
|
|
2708
|
+
direction: ('ltr' | 'rtl') | null;
|
|
2709
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2710
|
+
indent: number;
|
|
2711
|
+
version: number;
|
|
2712
|
+
};
|
|
2713
|
+
[k: string]: unknown;
|
|
2714
|
+
} | null;
|
|
2715
|
+
categories?: (string | MusicCategory)[] | null;
|
|
2716
|
+
tags?: (string | MusicTag)[] | null;
|
|
2688
2717
|
album?: string | null;
|
|
2689
|
-
genre?: string | null;
|
|
2690
2718
|
releaseDate?: string | null;
|
|
2691
2719
|
metadata?: {
|
|
2692
2720
|
[k: string]: unknown;
|
|
@@ -2696,6 +2724,56 @@ interface Music {
|
|
|
2696
2724
|
createdAt: string;
|
|
2697
2725
|
deletedAt?: string | null;
|
|
2698
2726
|
}
|
|
2727
|
+
/**
|
|
2728
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2729
|
+
* via the `definition` "music-categories".
|
|
2730
|
+
*/
|
|
2731
|
+
interface MusicCategory {
|
|
2732
|
+
id: string;
|
|
2733
|
+
_order?: string | null;
|
|
2734
|
+
tenant?: (string | null) | Tenant;
|
|
2735
|
+
title: string;
|
|
2736
|
+
/**
|
|
2737
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2738
|
+
*/
|
|
2739
|
+
generateSlug?: boolean | null;
|
|
2740
|
+
slug?: string | null;
|
|
2741
|
+
/**
|
|
2742
|
+
* Short summary for listing/cards
|
|
2743
|
+
*/
|
|
2744
|
+
description?: string | null;
|
|
2745
|
+
image?: (string | null) | Image;
|
|
2746
|
+
parent?: (string | null) | MusicCategory;
|
|
2747
|
+
color?: string | null;
|
|
2748
|
+
updatedAt: string;
|
|
2749
|
+
createdAt: string;
|
|
2750
|
+
deletedAt?: string | null;
|
|
2751
|
+
}
|
|
2752
|
+
/**
|
|
2753
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2754
|
+
* via the `definition` "music-tags".
|
|
2755
|
+
*/
|
|
2756
|
+
interface MusicTag {
|
|
2757
|
+
id: string;
|
|
2758
|
+
_order?: string | null;
|
|
2759
|
+
tenant?: (string | null) | Tenant;
|
|
2760
|
+
title: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
2763
|
+
*/
|
|
2764
|
+
generateSlug?: boolean | null;
|
|
2765
|
+
slug?: string | null;
|
|
2766
|
+
/**
|
|
2767
|
+
* Short summary for listing/cards
|
|
2768
|
+
*/
|
|
2769
|
+
description?: string | null;
|
|
2770
|
+
image?: (string | null) | Image;
|
|
2771
|
+
parent?: (string | null) | MusicTag;
|
|
2772
|
+
color?: string | null;
|
|
2773
|
+
updatedAt: string;
|
|
2774
|
+
createdAt: string;
|
|
2775
|
+
deletedAt?: string | null;
|
|
2776
|
+
}
|
|
2699
2777
|
/**
|
|
2700
2778
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2701
2779
|
* via the `definition` "galleries".
|
|
@@ -3409,6 +3487,12 @@ interface PayloadLockedDocument {
|
|
|
3409
3487
|
} | null) | ({
|
|
3410
3488
|
relationTo: 'musics';
|
|
3411
3489
|
value: string | Music;
|
|
3490
|
+
} | null) | ({
|
|
3491
|
+
relationTo: 'music-categories';
|
|
3492
|
+
value: string | MusicCategory;
|
|
3493
|
+
} | null) | ({
|
|
3494
|
+
relationTo: 'music-tags';
|
|
3495
|
+
value: string | MusicTag;
|
|
3412
3496
|
} | null) | ({
|
|
3413
3497
|
relationTo: 'galleries';
|
|
3414
3498
|
value: string | Gallery;
|
|
@@ -3674,6 +3758,7 @@ interface TenantsSelect<T extends boolean = true> {
|
|
|
3674
3758
|
plan?: T;
|
|
3675
3759
|
features?: T;
|
|
3676
3760
|
requireEmailVerification?: T;
|
|
3761
|
+
devMode?: T;
|
|
3677
3762
|
cors?: T | {
|
|
3678
3763
|
origin?: T;
|
|
3679
3764
|
id?: T;
|
|
@@ -4839,8 +4924,11 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4839
4924
|
title?: T;
|
|
4840
4925
|
artist?: T;
|
|
4841
4926
|
duration?: T;
|
|
4927
|
+
description?: T;
|
|
4928
|
+
content?: T;
|
|
4929
|
+
categories?: T;
|
|
4930
|
+
tags?: T;
|
|
4842
4931
|
album?: T;
|
|
4843
|
-
genre?: T;
|
|
4844
4932
|
releaseDate?: T;
|
|
4845
4933
|
metadata?: T;
|
|
4846
4934
|
isValid?: T;
|
|
@@ -4848,6 +4936,42 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4848
4936
|
createdAt?: T;
|
|
4849
4937
|
deletedAt?: T;
|
|
4850
4938
|
}
|
|
4939
|
+
/**
|
|
4940
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4941
|
+
* via the `definition` "music-categories_select".
|
|
4942
|
+
*/
|
|
4943
|
+
interface MusicCategoriesSelect<T extends boolean = true> {
|
|
4944
|
+
_order?: T;
|
|
4945
|
+
tenant?: T;
|
|
4946
|
+
title?: T;
|
|
4947
|
+
generateSlug?: T;
|
|
4948
|
+
slug?: T;
|
|
4949
|
+
description?: T;
|
|
4950
|
+
image?: T;
|
|
4951
|
+
parent?: T;
|
|
4952
|
+
color?: T;
|
|
4953
|
+
updatedAt?: T;
|
|
4954
|
+
createdAt?: T;
|
|
4955
|
+
deletedAt?: T;
|
|
4956
|
+
}
|
|
4957
|
+
/**
|
|
4958
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
4959
|
+
* via the `definition` "music-tags_select".
|
|
4960
|
+
*/
|
|
4961
|
+
interface MusicTagsSelect<T extends boolean = true> {
|
|
4962
|
+
_order?: T;
|
|
4963
|
+
tenant?: T;
|
|
4964
|
+
title?: T;
|
|
4965
|
+
generateSlug?: T;
|
|
4966
|
+
slug?: T;
|
|
4967
|
+
description?: T;
|
|
4968
|
+
image?: T;
|
|
4969
|
+
parent?: T;
|
|
4970
|
+
color?: T;
|
|
4971
|
+
updatedAt?: T;
|
|
4972
|
+
createdAt?: T;
|
|
4973
|
+
deletedAt?: T;
|
|
4974
|
+
}
|
|
4851
4975
|
/**
|
|
4852
4976
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4853
4977
|
* via the `definition` "galleries_select".
|
|
@@ -5370,4 +5494,4 @@ declare module 'payload' {
|
|
|
5370
5494
|
}
|
|
5371
5495
|
}
|
|
5372
5496
|
|
|
5373
|
-
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a,
|
|
5497
|
+
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, DocumentsSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, ProductOptionsSelect as aA, ProductCategoriesSelect as aB, ProductTagsSelect as aC, ProductCollectionsSelect as aD, BrandsSelect as aE, BrandLogosSelect as aF, OrdersSelect as aG, OrderProductsSelect as aH, TransactionsSelect as aI, OrderStatusLogsSelect as aJ, FulfillmentsSelect as aK, FulfillmentItemsSelect as aL, ReturnsSelect as aM, ReturnProductsSelect as aN, ExchangesSelect as aO, ExchangeProductsSelect as aP, ShippingPoliciesSelect as aQ, CustomersSelect as aR, CustomerAddressesSelect as aS, CustomerGroupsSelect as aT, CartsSelect as aU, CartItemsSelect as aV, DiscountsSelect as aW, PostsSelect as aX, PostAuthorsSelect as aY, PostCategoriesSelect as aZ, PostTagsSelect as a_, GalleryTag as aa, GalleryItem as ab, Flow as ac, FlowCategory as ad, FlowTag as ae, FlowNodeType as af, FlowEdgeType as ag, FormSubmission as ah, PayloadKv as ai, PayloadLockedDocument as aj, PayloadPreference as ak, PayloadMigration as al, UsersSelect as am, FieldConfigsSelect as an, ImagesSelect as ao, SystemMediaSelect as ap, AudiencesSelect as aq, EmailLogsSelect as ar, TenantsSelect as as, TenantMetadataSelect as at, ApiUsageSelect as au, SubscriptionsSelect as av, BillingHistorySelect as aw, TenantLogosSelect as ax, ProductsSelect as ay, ProductVariantsSelect as az, Fulfillment as b, DocumentCategoriesSelect as b0, DocumentTypesSelect as b1, PlaylistsSelect as b2, PlaylistCategoriesSelect as b3, PlaylistTagsSelect as b4, MusicsSelect as b5, MusicCategoriesSelect as b6, MusicTagsSelect as b7, GalleriesSelect as b8, GalleryCategoriesSelect as b9, GalleryTagsSelect as ba, GalleryItemsSelect as bb, FlowsSelect as bc, FlowNodeTypesSelect as bd, FlowEdgeTypesSelect as be, FlowCategoriesSelect as bf, FlowTagsSelect as bg, VideosSelect as bh, VideoCategoriesSelect as bi, VideoTagsSelect as bj, LiveStreamsSelect as bk, FormsSelect as bl, FormSubmissionsSelect as bm, PayloadKvSelect as bn, PayloadLockedDocumentsSelect as bo, PayloadPreferencesSelect as bp, PayloadMigrationsSelect as bq, CollectionsWidget as br, Auth as bs, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
|
package/dist/realtime.cjs
CHANGED
package/dist/realtime.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RealtimeEvent } from './realtime-DupPIYx-.cjs';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.cjs';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-hqVXNZoy.cjs';
|
|
4
|
+
import './payload-types-mZpmjJBz.cjs';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|
package/dist/realtime.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RealtimeEvent } from './realtime-DupPIYx-.js';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.js';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-BO4SPN7f.js';
|
|
4
|
+
import './payload-types-mZpmjJBz.js';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|