@01.software/sdk 0.4.2 → 0.4.3-dev.1774320860782
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-CWZ70tFe.d.cts → const-BO4SPN7f.d.ts} +2 -2
- package/dist/{const-nftKBzYp.d.ts → const-hqVXNZoy.d.cts} +2 -2
- package/dist/index.cjs +3 -1
- 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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-BbEEk9Ji.d.cts → payload-types-mZpmjJBz.d.cts} +123 -4
- package/dist/{payload-types-BbEEk9Ji.d.ts → payload-types-mZpmjJBz.d.ts} +123 -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 +57 -4
- package/dist/ui/flow.d.ts +57 -4
- 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-C4nmpBmQ.d.ts → webhook-CMi4JRCp.d.ts} +3 -3
- package/dist/{webhook-DRGm9rPn.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>;
|
|
@@ -387,7 +391,7 @@ interface Tenant {
|
|
|
387
391
|
interface FieldConfig {
|
|
388
392
|
id: string;
|
|
389
393
|
tenant?: (string | null) | Tenant;
|
|
390
|
-
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' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
|
|
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';
|
|
391
395
|
isHidden?: boolean | null;
|
|
392
396
|
hiddenFields?: {
|
|
393
397
|
[k: string]: unknown;
|
|
@@ -2689,8 +2693,28 @@ interface Music {
|
|
|
2689
2693
|
* Duration in seconds (auto-filled from YouTube)
|
|
2690
2694
|
*/
|
|
2691
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;
|
|
2692
2717
|
album?: string | null;
|
|
2693
|
-
genre?: string | null;
|
|
2694
2718
|
releaseDate?: string | null;
|
|
2695
2719
|
metadata?: {
|
|
2696
2720
|
[k: string]: unknown;
|
|
@@ -2700,6 +2724,56 @@ interface Music {
|
|
|
2700
2724
|
createdAt: string;
|
|
2701
2725
|
deletedAt?: string | null;
|
|
2702
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
|
+
}
|
|
2703
2777
|
/**
|
|
2704
2778
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2705
2779
|
* via the `definition` "galleries".
|
|
@@ -3413,6 +3487,12 @@ interface PayloadLockedDocument {
|
|
|
3413
3487
|
} | null) | ({
|
|
3414
3488
|
relationTo: 'musics';
|
|
3415
3489
|
value: string | Music;
|
|
3490
|
+
} | null) | ({
|
|
3491
|
+
relationTo: 'music-categories';
|
|
3492
|
+
value: string | MusicCategory;
|
|
3493
|
+
} | null) | ({
|
|
3494
|
+
relationTo: 'music-tags';
|
|
3495
|
+
value: string | MusicTag;
|
|
3416
3496
|
} | null) | ({
|
|
3417
3497
|
relationTo: 'galleries';
|
|
3418
3498
|
value: string | Gallery;
|
|
@@ -4844,8 +4924,11 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4844
4924
|
title?: T;
|
|
4845
4925
|
artist?: T;
|
|
4846
4926
|
duration?: T;
|
|
4927
|
+
description?: T;
|
|
4928
|
+
content?: T;
|
|
4929
|
+
categories?: T;
|
|
4930
|
+
tags?: T;
|
|
4847
4931
|
album?: T;
|
|
4848
|
-
genre?: T;
|
|
4849
4932
|
releaseDate?: T;
|
|
4850
4933
|
metadata?: T;
|
|
4851
4934
|
isValid?: T;
|
|
@@ -4853,6 +4936,42 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4853
4936
|
createdAt?: T;
|
|
4854
4937
|
deletedAt?: T;
|
|
4855
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
|
+
}
|
|
4856
4975
|
/**
|
|
4857
4976
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4858
4977
|
* via the `definition` "galleries_select".
|
|
@@ -5375,4 +5494,4 @@ declare module 'payload' {
|
|
|
5375
5494
|
}
|
|
5376
5495
|
}
|
|
5377
5496
|
|
|
5378
|
-
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>;
|
|
@@ -387,7 +391,7 @@ interface Tenant {
|
|
|
387
391
|
interface FieldConfig {
|
|
388
392
|
id: string;
|
|
389
393
|
tenant?: (string | null) | Tenant;
|
|
390
|
-
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' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'flows' | 'flow-categories' | 'flow-tags' | 'flow-node-types' | 'flow-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms';
|
|
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';
|
|
391
395
|
isHidden?: boolean | null;
|
|
392
396
|
hiddenFields?: {
|
|
393
397
|
[k: string]: unknown;
|
|
@@ -2689,8 +2693,28 @@ interface Music {
|
|
|
2689
2693
|
* Duration in seconds (auto-filled from YouTube)
|
|
2690
2694
|
*/
|
|
2691
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;
|
|
2692
2717
|
album?: string | null;
|
|
2693
|
-
genre?: string | null;
|
|
2694
2718
|
releaseDate?: string | null;
|
|
2695
2719
|
metadata?: {
|
|
2696
2720
|
[k: string]: unknown;
|
|
@@ -2700,6 +2724,56 @@ interface Music {
|
|
|
2700
2724
|
createdAt: string;
|
|
2701
2725
|
deletedAt?: string | null;
|
|
2702
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
|
+
}
|
|
2703
2777
|
/**
|
|
2704
2778
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2705
2779
|
* via the `definition` "galleries".
|
|
@@ -3413,6 +3487,12 @@ interface PayloadLockedDocument {
|
|
|
3413
3487
|
} | null) | ({
|
|
3414
3488
|
relationTo: 'musics';
|
|
3415
3489
|
value: string | Music;
|
|
3490
|
+
} | null) | ({
|
|
3491
|
+
relationTo: 'music-categories';
|
|
3492
|
+
value: string | MusicCategory;
|
|
3493
|
+
} | null) | ({
|
|
3494
|
+
relationTo: 'music-tags';
|
|
3495
|
+
value: string | MusicTag;
|
|
3416
3496
|
} | null) | ({
|
|
3417
3497
|
relationTo: 'galleries';
|
|
3418
3498
|
value: string | Gallery;
|
|
@@ -4844,8 +4924,11 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4844
4924
|
title?: T;
|
|
4845
4925
|
artist?: T;
|
|
4846
4926
|
duration?: T;
|
|
4927
|
+
description?: T;
|
|
4928
|
+
content?: T;
|
|
4929
|
+
categories?: T;
|
|
4930
|
+
tags?: T;
|
|
4847
4931
|
album?: T;
|
|
4848
|
-
genre?: T;
|
|
4849
4932
|
releaseDate?: T;
|
|
4850
4933
|
metadata?: T;
|
|
4851
4934
|
isValid?: T;
|
|
@@ -4853,6 +4936,42 @@ interface MusicsSelect<T extends boolean = true> {
|
|
|
4853
4936
|
createdAt?: T;
|
|
4854
4937
|
deletedAt?: T;
|
|
4855
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
|
+
}
|
|
4856
4975
|
/**
|
|
4857
4976
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
4858
4977
|
* via the `definition` "galleries_select".
|
|
@@ -5375,4 +5494,4 @@ declare module 'payload' {
|
|
|
5375
5494
|
}
|
|
5376
5495
|
}
|
|
5377
5496
|
|
|
5378
|
-
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. */
|