@01.software/sdk 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,3 @@
1
- /**
2
- * This file was automatically generated by Payload.
3
- * DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
4
- * and re-run `payload generate:types` to regenerate this file.
5
- */
6
- /**
7
- * Supported timezones in IANA format.
8
- *
9
- * This interface was referenced by `Config`'s JSON-Schema
10
- * via the `definition` "supportedTimezones".
11
- */
12
- type SupportedTimezones = 'Pacific/Midway' | 'Pacific/Niue' | 'Pacific/Honolulu' | 'Pacific/Rarotonga' | 'America/Anchorage' | 'Pacific/Gambier' | 'America/Los_Angeles' | 'America/Tijuana' | 'America/Denver' | 'America/Phoenix' | 'America/Chicago' | 'America/Guatemala' | 'America/New_York' | 'America/Bogota' | 'America/Caracas' | 'America/Santiago' | 'America/Buenos_Aires' | 'America/Sao_Paulo' | 'Atlantic/South_Georgia' | 'Atlantic/Azores' | 'Atlantic/Cape_Verde' | 'Europe/London' | 'Europe/Berlin' | 'Africa/Lagos' | 'Europe/Athens' | 'Africa/Cairo' | 'Europe/Moscow' | 'Asia/Riyadh' | 'Asia/Dubai' | 'Asia/Baku' | 'Asia/Karachi' | 'Asia/Tashkent' | 'Asia/Calcutta' | 'Asia/Dhaka' | 'Asia/Almaty' | 'Asia/Jakarta' | 'Asia/Bangkok' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Tokyo' | 'Asia/Seoul' | 'Australia/Brisbane' | 'Australia/Sydney' | 'Pacific/Guam' | 'Pacific/Noumea' | 'Pacific/Auckland' | 'Pacific/Fiji';
13
1
  interface Config {
14
2
  auth: {
15
3
  users: UserAuthOperations;
@@ -69,9 +57,11 @@ interface Config {
69
57
  playlists: Playlist;
70
58
  'playlist-categories': PlaylistCategory;
71
59
  'playlist-tags': PlaylistTag;
72
- musics: Music;
73
- 'music-categories': MusicCategory;
74
- 'music-tags': MusicTag;
60
+ tracks: Track;
61
+ 'track-assets': TrackAsset;
62
+ 'playlist-tracks': PlaylistTrack;
63
+ 'track-categories': TrackCategory;
64
+ 'track-tags': TrackTag;
75
65
  galleries: Gallery;
76
66
  'gallery-categories': GalleryCategory;
77
67
  'gallery-tags': GalleryTag;
@@ -141,7 +131,10 @@ interface Config {
141
131
  posts: 'posts';
142
132
  };
143
133
  playlists: {
144
- tracks: 'musics';
134
+ items: 'playlist-tracks';
135
+ };
136
+ tracks: {
137
+ playlistEntries: 'playlist-tracks';
145
138
  };
146
139
  galleries: {
147
140
  items: 'gallery-items';
@@ -199,9 +192,11 @@ interface Config {
199
192
  playlists: PlaylistsSelect<false> | PlaylistsSelect<true>;
200
193
  'playlist-categories': PlaylistCategoriesSelect<false> | PlaylistCategoriesSelect<true>;
201
194
  'playlist-tags': PlaylistTagsSelect<false> | PlaylistTagsSelect<true>;
202
- musics: MusicsSelect<false> | MusicsSelect<true>;
203
- 'music-categories': MusicCategoriesSelect<false> | MusicCategoriesSelect<true>;
204
- 'music-tags': MusicTagsSelect<false> | MusicTagsSelect<true>;
195
+ tracks: TracksSelect<false> | TracksSelect<true>;
196
+ 'track-assets': TrackAssetsSelect<false> | TrackAssetsSelect<true>;
197
+ 'playlist-tracks': PlaylistTracksSelect<false> | PlaylistTracksSelect<true>;
198
+ 'track-categories': TrackCategoriesSelect<false> | TrackCategoriesSelect<true>;
199
+ 'track-tags': TrackTagsSelect<false> | TrackTagsSelect<true>;
205
200
  galleries: GalleriesSelect<false> | GalleriesSelect<true>;
206
201
  'gallery-categories': GalleryCategoriesSelect<false> | GalleryCategoriesSelect<true>;
207
202
  'gallery-tags': GalleryTagsSelect<false> | GalleryTagsSelect<true>;
@@ -527,7 +522,7 @@ interface Image {
527
522
  interface FieldConfig {
528
523
  id: string;
529
524
  tenant?: (string | null) | Tenant;
530
- collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | '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' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
525
+ collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-option-values' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'tracks' | 'playlist-tracks' | 'track-categories' | 'track-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | 'canvases' | 'canvas-categories' | 'canvas-tags' | 'canvas-node-types' | 'canvas-edge-types' | 'videos' | 'video-categories' | 'video-tags' | 'live-streams' | 'forms' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
531
526
  isHidden?: boolean | null;
532
527
  hiddenFields?: {
533
528
  [k: string]: unknown;
@@ -1212,7 +1207,6 @@ interface Product {
1212
1207
  * Short summary for listing/cards
1213
1208
  */
1214
1209
  description?: string | null;
1215
- thumbnail?: (string | null) | Image;
1216
1210
  images?: (string | Image)[] | null;
1217
1211
  videos?: (string | Video)[] | null;
1218
1212
  content?: {
@@ -1296,6 +1290,7 @@ interface Product {
1296
1290
  image?: (string | null) | Image;
1297
1291
  };
1298
1292
  };
1293
+ thumbnail?: (string | null) | Image;
1299
1294
  /**
1300
1295
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1301
1296
  */
@@ -1344,6 +1339,8 @@ interface Video {
1344
1339
  [k: string]: unknown;
1345
1340
  } | null;
1346
1341
  sourceLiveStream?: (string | null) | LiveStream;
1342
+ categories?: (string | VideoCategory)[] | null;
1343
+ tags?: (string | VideoTag)[] | null;
1347
1344
  muxStatus?: ('waiting' | 'preparing' | 'ready' | 'errored') | null;
1348
1345
  durationSeconds?: number | null;
1349
1346
  muxAspectRatio?: string | null;
@@ -1393,8 +1390,6 @@ interface Video {
1393
1390
  thumbnail?: (string | null) | Image;
1394
1391
  isFeatured?: boolean | null;
1395
1392
  publishedAt?: string | null;
1396
- categories?: (string | VideoCategory)[] | null;
1397
- tags?: (string | VideoTag)[] | null;
1398
1393
  metadata?: {
1399
1394
  [k: string]: unknown;
1400
1395
  } | unknown[] | string | number | boolean | null;
@@ -1552,6 +1547,8 @@ interface ProductVariant {
1552
1547
  tenant?: (string | null) | Tenant;
1553
1548
  product: string | Product;
1554
1549
  title?: string | null;
1550
+ thumbnail?: (string | null) | Image;
1551
+ images?: (string | Image)[] | null;
1555
1552
  /**
1556
1553
  * Variant-specific SKU
1557
1554
  */
@@ -1590,6 +1587,7 @@ interface ProductVariant {
1590
1587
  * Option value combination for this variant (e.g. Black + S)
1591
1588
  */
1592
1589
  optionValues?: (string | ProductOptionValue)[] | null;
1590
+ optionKey?: string | null;
1593
1591
  isActive?: boolean | null;
1594
1592
  metadata?: {
1595
1593
  [k: string]: unknown;
@@ -1866,7 +1864,6 @@ interface ProductCollection {
1866
1864
  };
1867
1865
  [k: string]: unknown;
1868
1866
  } | null;
1869
- thumbnail?: (string | null) | Image;
1870
1867
  images?: (string | Image)[] | null;
1871
1868
  products?: (string | Product)[] | null;
1872
1869
  seo?: {
@@ -1901,6 +1898,7 @@ interface ProductCollection {
1901
1898
  image?: (string | null) | Image;
1902
1899
  };
1903
1900
  };
1901
+ thumbnail?: (string | null) | Image;
1904
1902
  /**
1905
1903
  * When enabled, the slug will auto-generate from the title field on save and autosave.
1906
1904
  */
@@ -2774,6 +2772,7 @@ interface Document {
2774
2772
  keyword?: string | null;
2775
2773
  id?: string | null;
2776
2774
  }[] | null;
2775
+ categories?: (string | DocumentCategory)[] | null;
2777
2776
  seo?: {
2778
2777
  /**
2779
2778
  * Search result title (falls back to document title)
@@ -2812,7 +2811,6 @@ interface Document {
2812
2811
  generateSlug?: boolean | null;
2813
2812
  slug?: string | null;
2814
2813
  type?: (string | null) | DocumentType;
2815
- categories?: (string | DocumentCategory)[] | null;
2816
2814
  jurisdiction?: string | null;
2817
2815
  language?: string | null;
2818
2816
  /**
@@ -2833,9 +2831,9 @@ interface Document {
2833
2831
  }
2834
2832
  /**
2835
2833
  * This interface was referenced by `Config`'s JSON-Schema
2836
- * via the `definition` "document-types".
2834
+ * via the `definition` "document-categories".
2837
2835
  */
2838
- interface DocumentType {
2836
+ interface DocumentCategory {
2839
2837
  id: string;
2840
2838
  _order?: string | null;
2841
2839
  tenant?: (string | null) | Tenant;
@@ -2850,6 +2848,7 @@ interface DocumentType {
2850
2848
  */
2851
2849
  description?: string | null;
2852
2850
  image?: (string | null) | Image;
2851
+ parent?: (string | null) | DocumentCategory;
2853
2852
  color?: string | null;
2854
2853
  updatedAt: string;
2855
2854
  createdAt: string;
@@ -2857,9 +2856,9 @@ interface DocumentType {
2857
2856
  }
2858
2857
  /**
2859
2858
  * This interface was referenced by `Config`'s JSON-Schema
2860
- * via the `definition` "document-categories".
2859
+ * via the `definition` "document-types".
2861
2860
  */
2862
- interface DocumentCategory {
2861
+ interface DocumentType {
2863
2862
  id: string;
2864
2863
  _order?: string | null;
2865
2864
  tenant?: (string | null) | Tenant;
@@ -2874,7 +2873,6 @@ interface DocumentCategory {
2874
2873
  */
2875
2874
  description?: string | null;
2876
2875
  image?: (string | null) | Image;
2877
- parent?: (string | null) | DocumentCategory;
2878
2876
  color?: string | null;
2879
2877
  updatedAt: string;
2880
2878
  createdAt: string;
@@ -2896,8 +2894,8 @@ interface Playlist {
2896
2894
  videos?: (string | Video)[] | null;
2897
2895
  categories?: (string | PlaylistCategory)[] | null;
2898
2896
  tags?: (string | PlaylistTag)[] | null;
2899
- tracks?: {
2900
- docs?: (string | Music)[];
2897
+ items?: {
2898
+ docs?: (string | PlaylistTrack)[];
2901
2899
  hasNextPage?: boolean;
2902
2900
  totalDocs?: number;
2903
2901
  };
@@ -2936,6 +2934,7 @@ interface Playlist {
2936
2934
  thumbnail?: (string | null) | Image;
2937
2935
  coverArt?: (string | null) | Image;
2938
2936
  isCollaborative?: boolean | null;
2937
+ customer?: (string | null) | Customer;
2939
2938
  /**
2940
2939
  * When enabled, the slug will auto-generate from the title field on save and autosave.
2941
2940
  */
@@ -3003,23 +3002,40 @@ interface PlaylistTag {
3003
3002
  }
3004
3003
  /**
3005
3004
  * This interface was referenced by `Config`'s JSON-Schema
3006
- * via the `definition` "musics".
3005
+ * via the `definition` "playlist-tracks".
3007
3006
  */
3008
- interface Music {
3007
+ interface PlaylistTrack {
3008
+ id: string;
3009
+ '_playlist-tracks_items_order'?: string | null;
3010
+ _order?: string | null;
3011
+ tenant?: (string | null) | Tenant;
3012
+ playlist?: (string | null) | Playlist;
3013
+ track?: (string | null) | Track;
3014
+ addedAt?: string | null;
3015
+ addedBy?: (string | null) | Customer;
3016
+ titleOverride?: string | null;
3017
+ artistOverride?: string | null;
3018
+ note?: string | null;
3019
+ visibility?: ('visible' | 'hidden') | null;
3020
+ metadata?: {
3021
+ [k: string]: unknown;
3022
+ } | unknown[] | string | number | boolean | null;
3023
+ updatedAt: string;
3024
+ createdAt: string;
3025
+ deletedAt?: string | null;
3026
+ }
3027
+ /**
3028
+ * This interface was referenced by `Config`'s JSON-Schema
3029
+ * via the `definition` "tracks".
3030
+ */
3031
+ interface Track {
3009
3032
  id: string;
3010
- _musics_tracks_order?: string | null;
3011
3033
  _order?: string | null;
3012
3034
  tenant?: (string | null) | Tenant;
3013
- playlist: string | Playlist;
3014
- sourceUrl?: string | null;
3015
- /**
3016
- * Provider (e.g. youtube, soundcloud)
3017
- */
3018
- sourceProvider?: string | null;
3019
- sourceId?: string | null;
3020
3035
  /**
3021
- * Auto-filled from YouTube
3036
+ * Source type of this track
3022
3037
  */
3038
+ kind?: ('owned_asset' | 'external_reference') | null;
3023
3039
  title: string;
3024
3040
  /**
3025
3041
  * Short summary for listing/cards
@@ -3040,14 +3056,17 @@ interface Music {
3040
3056
  };
3041
3057
  [k: string]: unknown;
3042
3058
  } | null;
3043
- /**
3044
- * Auto-filled from YouTube channel
3045
- */
3046
3059
  artist?: string | null;
3047
3060
  album?: string | null;
3048
3061
  releaseDate?: string | null;
3049
- categories?: (string | MusicCategory)[] | null;
3050
- tags?: (string | MusicTag)[] | null;
3062
+ categories?: (string | TrackCategory)[] | null;
3063
+ tags?: (string | TrackTag)[] | null;
3064
+ playlistEntries?: {
3065
+ docs?: (string | PlaylistTrack)[];
3066
+ hasNextPage?: boolean;
3067
+ totalDocs?: number;
3068
+ };
3069
+ asset?: (string | null) | TrackAsset;
3051
3070
  /**
3052
3071
  * When enabled, the slug will auto-generate from the title field on save and autosave.
3053
3072
  */
@@ -3058,13 +3077,20 @@ interface Music {
3058
3077
  isFeatured?: boolean | null;
3059
3078
  publishedAt?: string | null;
3060
3079
  /**
3061
- * Duration in seconds (auto-filled)
3080
+ * Duration in seconds
3062
3081
  */
3063
3082
  durationSeconds?: number | null;
3064
3083
  isEmbeddable?: boolean | null;
3065
3084
  metadata?: {
3066
3085
  [k: string]: unknown;
3067
3086
  } | unknown[] | string | number | boolean | null;
3087
+ sourceUrl?: string | null;
3088
+ /**
3089
+ * Provider (e.g. youtube, soundcloud)
3090
+ */
3091
+ sourceProvider?: string | null;
3092
+ sourceId?: string | null;
3093
+ createdBy?: (string | null) | Customer;
3068
3094
  /**
3069
3095
  * ISRC
3070
3096
  */
@@ -3077,9 +3103,9 @@ interface Music {
3077
3103
  }
3078
3104
  /**
3079
3105
  * This interface was referenced by `Config`'s JSON-Schema
3080
- * via the `definition` "music-categories".
3106
+ * via the `definition` "track-categories".
3081
3107
  */
3082
- interface MusicCategory {
3108
+ interface TrackCategory {
3083
3109
  id: string;
3084
3110
  _order?: string | null;
3085
3111
  tenant?: (string | null) | Tenant;
@@ -3094,7 +3120,7 @@ interface MusicCategory {
3094
3120
  */
3095
3121
  description?: string | null;
3096
3122
  image?: (string | null) | Image;
3097
- parent?: (string | null) | MusicCategory;
3123
+ parent?: (string | null) | TrackCategory;
3098
3124
  color?: string | null;
3099
3125
  updatedAt: string;
3100
3126
  createdAt: string;
@@ -3102,9 +3128,9 @@ interface MusicCategory {
3102
3128
  }
3103
3129
  /**
3104
3130
  * This interface was referenced by `Config`'s JSON-Schema
3105
- * via the `definition` "music-tags".
3131
+ * via the `definition` "track-tags".
3106
3132
  */
3107
- interface MusicTag {
3133
+ interface TrackTag {
3108
3134
  id: string;
3109
3135
  _order?: string | null;
3110
3136
  tenant?: (string | null) | Tenant;
@@ -3119,12 +3145,37 @@ interface MusicTag {
3119
3145
  */
3120
3146
  description?: string | null;
3121
3147
  image?: (string | null) | Image;
3122
- parent?: (string | null) | MusicTag;
3148
+ parent?: (string | null) | TrackTag;
3123
3149
  color?: string | null;
3124
3150
  updatedAt: string;
3125
3151
  createdAt: string;
3126
3152
  deletedAt?: string | null;
3127
3153
  }
3154
+ /**
3155
+ * This interface was referenced by `Config`'s JSON-Schema
3156
+ * via the `definition` "track-assets".
3157
+ */
3158
+ interface TrackAsset {
3159
+ id: string;
3160
+ tenant?: (string | null) | Tenant;
3161
+ title?: string | null;
3162
+ customer?: (string | null) | Customer;
3163
+ metadata?: {
3164
+ [k: string]: unknown;
3165
+ } | unknown[] | string | number | boolean | null;
3166
+ prefix?: string | null;
3167
+ updatedAt: string;
3168
+ createdAt: string;
3169
+ url?: string | null;
3170
+ thumbnailURL?: string | null;
3171
+ filename?: string | null;
3172
+ mimeType?: string | null;
3173
+ filesize?: number | null;
3174
+ width?: number | null;
3175
+ height?: number | null;
3176
+ focalX?: number | null;
3177
+ focalY?: number | null;
3178
+ }
3128
3179
  /**
3129
3180
  * This interface was referenced by `Config`'s JSON-Schema
3130
3181
  * via the `definition` "galleries".
@@ -3389,6 +3440,7 @@ interface Canvase {
3389
3440
  [k: string]: unknown;
3390
3441
  } | unknown[] | string | number | boolean | null;
3391
3442
  categories?: (string | CanvasCategory)[] | null;
3443
+ tags?: (string | CanvasTag)[] | null;
3392
3444
  seo?: {
3393
3445
  /**
3394
3446
  * Search result title (falls back to document title)
@@ -3430,7 +3482,6 @@ interface Canvase {
3430
3482
  status?: ('draft' | 'published' | 'archived') | null;
3431
3483
  isFeatured?: boolean | null;
3432
3484
  publishedAt?: string | null;
3433
- tags?: (string | CanvasTag)[] | null;
3434
3485
  metadata?: {
3435
3486
  [k: string]: unknown;
3436
3487
  } | unknown[] | string | number | boolean | null;
@@ -4176,14 +4227,20 @@ interface PayloadLockedDocument {
4176
4227
  relationTo: 'playlist-tags';
4177
4228
  value: string | PlaylistTag;
4178
4229
  } | null) | ({
4179
- relationTo: 'musics';
4180
- value: string | Music;
4230
+ relationTo: 'tracks';
4231
+ value: string | Track;
4232
+ } | null) | ({
4233
+ relationTo: 'track-assets';
4234
+ value: string | TrackAsset;
4181
4235
  } | null) | ({
4182
- relationTo: 'music-categories';
4183
- value: string | MusicCategory;
4236
+ relationTo: 'playlist-tracks';
4237
+ value: string | PlaylistTrack;
4184
4238
  } | null) | ({
4185
- relationTo: 'music-tags';
4186
- value: string | MusicTag;
4239
+ relationTo: 'track-categories';
4240
+ value: string | TrackCategory;
4241
+ } | null) | ({
4242
+ relationTo: 'track-tags';
4243
+ value: string | TrackTag;
4187
4244
  } | null) | ({
4188
4245
  relationTo: 'galleries';
4189
4246
  value: string | Gallery;
@@ -4817,7 +4874,6 @@ interface ProductsSelect<T extends boolean = true> {
4817
4874
  title?: T;
4818
4875
  subtitle?: T;
4819
4876
  description?: T;
4820
- thumbnail?: T;
4821
4877
  images?: T;
4822
4878
  videos?: T;
4823
4879
  content?: T;
@@ -4843,6 +4899,7 @@ interface ProductsSelect<T extends boolean = true> {
4843
4899
  image?: T;
4844
4900
  };
4845
4901
  };
4902
+ thumbnail?: T;
4846
4903
  generateSlug?: T;
4847
4904
  slug?: T;
4848
4905
  status?: T;
@@ -4866,6 +4923,8 @@ interface ProductVariantsSelect<T extends boolean = true> {
4866
4923
  tenant?: T;
4867
4924
  product?: T;
4868
4925
  title?: T;
4926
+ thumbnail?: T;
4927
+ images?: T;
4869
4928
  sku?: T;
4870
4929
  price?: T;
4871
4930
  compareAtPrice?: T;
@@ -4877,6 +4936,7 @@ interface ProductVariantsSelect<T extends boolean = true> {
4877
4936
  requiresShipping?: T;
4878
4937
  externalId?: T;
4879
4938
  optionValues?: T;
4939
+ optionKey?: T;
4880
4940
  isActive?: T;
4881
4941
  metadata?: T;
4882
4942
  updatedAt?: T;
@@ -4961,7 +5021,6 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4961
5021
  title?: T;
4962
5022
  description?: T;
4963
5023
  content?: T;
4964
- thumbnail?: T;
4965
5024
  images?: T;
4966
5025
  products?: T;
4967
5026
  seo?: T | {
@@ -4975,6 +5034,7 @@ interface ProductCollectionsSelect<T extends boolean = true> {
4975
5034
  image?: T;
4976
5035
  };
4977
5036
  };
5037
+ thumbnail?: T;
4978
5038
  generateSlug?: T;
4979
5039
  slug?: T;
4980
5040
  status?: T;
@@ -5659,6 +5719,7 @@ interface DocumentsSelect<T extends boolean = true> {
5659
5719
  keyword?: T;
5660
5720
  id?: T;
5661
5721
  };
5722
+ categories?: T;
5662
5723
  seo?: T | {
5663
5724
  title?: T;
5664
5725
  description?: T;
@@ -5673,7 +5734,6 @@ interface DocumentsSelect<T extends boolean = true> {
5673
5734
  generateSlug?: T;
5674
5735
  slug?: T;
5675
5736
  type?: T;
5676
- categories?: T;
5677
5737
  jurisdiction?: T;
5678
5738
  language?: T;
5679
5739
  supersededBy?: T;
@@ -5734,7 +5794,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5734
5794
  videos?: T;
5735
5795
  categories?: T;
5736
5796
  tags?: T;
5737
- tracks?: T;
5797
+ items?: T;
5738
5798
  seo?: T | {
5739
5799
  title?: T;
5740
5800
  description?: T;
@@ -5749,6 +5809,7 @@ interface PlaylistsSelect<T extends boolean = true> {
5749
5809
  thumbnail?: T;
5750
5810
  coverArt?: T;
5751
5811
  isCollaborative?: T;
5812
+ customer?: T;
5752
5813
  generateSlug?: T;
5753
5814
  slug?: T;
5754
5815
  status?: T;
@@ -5797,16 +5858,12 @@ interface PlaylistTagsSelect<T extends boolean = true> {
5797
5858
  }
5798
5859
  /**
5799
5860
  * This interface was referenced by `Config`'s JSON-Schema
5800
- * via the `definition` "musics_select".
5861
+ * via the `definition` "tracks_select".
5801
5862
  */
5802
- interface MusicsSelect<T extends boolean = true> {
5803
- _musics_tracks_order?: T;
5863
+ interface TracksSelect<T extends boolean = true> {
5804
5864
  _order?: T;
5805
5865
  tenant?: T;
5806
- playlist?: T;
5807
- sourceUrl?: T;
5808
- sourceProvider?: T;
5809
- sourceId?: T;
5866
+ kind?: T;
5810
5867
  title?: T;
5811
5868
  description?: T;
5812
5869
  content?: T;
@@ -5815,6 +5872,8 @@ interface MusicsSelect<T extends boolean = true> {
5815
5872
  releaseDate?: T;
5816
5873
  categories?: T;
5817
5874
  tags?: T;
5875
+ playlistEntries?: T;
5876
+ asset?: T;
5818
5877
  generateSlug?: T;
5819
5878
  slug?: T;
5820
5879
  thumbnail?: T;
@@ -5824,6 +5883,10 @@ interface MusicsSelect<T extends boolean = true> {
5824
5883
  durationSeconds?: T;
5825
5884
  isEmbeddable?: T;
5826
5885
  metadata?: T;
5886
+ sourceUrl?: T;
5887
+ sourceProvider?: T;
5888
+ sourceId?: T;
5889
+ createdBy?: T;
5827
5890
  isrc?: T;
5828
5891
  isExplicit?: T;
5829
5892
  previewUrl?: T;
@@ -5833,9 +5896,52 @@ interface MusicsSelect<T extends boolean = true> {
5833
5896
  }
5834
5897
  /**
5835
5898
  * This interface was referenced by `Config`'s JSON-Schema
5836
- * via the `definition` "music-categories_select".
5899
+ * via the `definition` "track-assets_select".
5837
5900
  */
5838
- interface MusicCategoriesSelect<T extends boolean = true> {
5901
+ interface TrackAssetsSelect<T extends boolean = true> {
5902
+ tenant?: T;
5903
+ title?: T;
5904
+ customer?: T;
5905
+ metadata?: T;
5906
+ prefix?: T;
5907
+ updatedAt?: T;
5908
+ createdAt?: T;
5909
+ url?: T;
5910
+ thumbnailURL?: T;
5911
+ filename?: T;
5912
+ mimeType?: T;
5913
+ filesize?: T;
5914
+ width?: T;
5915
+ height?: T;
5916
+ focalX?: T;
5917
+ focalY?: T;
5918
+ }
5919
+ /**
5920
+ * This interface was referenced by `Config`'s JSON-Schema
5921
+ * via the `definition` "playlist-tracks_select".
5922
+ */
5923
+ interface PlaylistTracksSelect<T extends boolean = true> {
5924
+ '_playlist-tracks_items_order'?: T;
5925
+ _order?: T;
5926
+ tenant?: T;
5927
+ playlist?: T;
5928
+ track?: T;
5929
+ addedAt?: T;
5930
+ addedBy?: T;
5931
+ titleOverride?: T;
5932
+ artistOverride?: T;
5933
+ note?: T;
5934
+ visibility?: T;
5935
+ metadata?: T;
5936
+ updatedAt?: T;
5937
+ createdAt?: T;
5938
+ deletedAt?: T;
5939
+ }
5940
+ /**
5941
+ * This interface was referenced by `Config`'s JSON-Schema
5942
+ * via the `definition` "track-categories_select".
5943
+ */
5944
+ interface TrackCategoriesSelect<T extends boolean = true> {
5839
5945
  _order?: T;
5840
5946
  tenant?: T;
5841
5947
  title?: T;
@@ -5851,9 +5957,9 @@ interface MusicCategoriesSelect<T extends boolean = true> {
5851
5957
  }
5852
5958
  /**
5853
5959
  * This interface was referenced by `Config`'s JSON-Schema
5854
- * via the `definition` "music-tags_select".
5960
+ * via the `definition` "track-tags_select".
5855
5961
  */
5856
- interface MusicTagsSelect<T extends boolean = true> {
5962
+ interface TrackTagsSelect<T extends boolean = true> {
5857
5963
  _order?: T;
5858
5964
  tenant?: T;
5859
5965
  title?: T;
@@ -6031,6 +6137,7 @@ interface CanvasesSelect<T extends boolean = true> {
6031
6137
  videos?: T;
6032
6138
  canvas?: T;
6033
6139
  categories?: T;
6140
+ tags?: T;
6034
6141
  seo?: T | {
6035
6142
  title?: T;
6036
6143
  description?: T;
@@ -6048,7 +6155,6 @@ interface CanvasesSelect<T extends boolean = true> {
6048
6155
  status?: T;
6049
6156
  isFeatured?: T;
6050
6157
  publishedAt?: T;
6051
- tags?: T;
6052
6158
  metadata?: T;
6053
6159
  updatedAt?: T;
6054
6160
  createdAt?: T;
@@ -6173,6 +6279,8 @@ interface VideosSelect<T extends boolean = true> {
6173
6279
  description?: T;
6174
6280
  content?: T;
6175
6281
  sourceLiveStream?: T;
6282
+ categories?: T;
6283
+ tags?: T;
6176
6284
  muxStatus?: T;
6177
6285
  durationSeconds?: T;
6178
6286
  muxAspectRatio?: T;
@@ -6198,8 +6306,6 @@ interface VideosSelect<T extends boolean = true> {
6198
6306
  thumbnail?: T;
6199
6307
  isFeatured?: T;
6200
6308
  publishedAt?: T;
6201
- categories?: T;
6202
- tags?: T;
6203
6309
  metadata?: T;
6204
6310
  viewCount?: T;
6205
6311
  aspectRatio?: T;
@@ -6622,16 +6728,9 @@ interface CollectionsWidget {
6622
6728
  };
6623
6729
  width: 'full';
6624
6730
  }
6625
- /**
6626
- * This interface was referenced by `Config`'s JSON-Schema
6627
- * via the `definition` "auth".
6628
- */
6629
- interface Auth {
6630
- [k: string]: unknown;
6631
- }
6632
6731
  declare module 'payload' {
6633
6732
  interface GeneratedTypes extends Config {
6634
6733
  }
6635
6734
  }
6636
6735
 
6637
- export type { PostTag as $, Audience as A, BrandLogo as B, Config as C, Brand as D, EmailLog as E, Form as F, ShippingPolicy as G, ProductCollection as H, IframeBlock as I, Customer as J, CustomerGroup as K, LiveStream as L, CustomerAddress as M, FulfillmentItem as N, Order as O, Product as P, ReturnItem as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, OrderStatusLog as W, Discount as X, Post as Y, PostAuthor as Z, PostCategory as _, OrderItem as a, ReturnsSelect as a$, Document as a0, DocumentType as a1, DocumentCategory as a2, Playlist as a3, PlaylistCategory as a4, PlaylistTag as a5, Music as a6, MusicCategory as a7, MusicTag as a8, Gallery as a9, ImagesSelect as aA, SystemMediaSelect as aB, AudiencesSelect as aC, EmailLogsSelect as aD, ApiKeysSelect as aE, PersonalAccessTokensSelect as aF, TenantsSelect as aG, TenantMetadataSelect as aH, ApiUsageSelect as aI, SubscriptionsSelect as aJ, BillingHistorySelect as aK, TenantLogosSelect as aL, ProductsSelect as aM, ProductVariantsSelect as aN, ProductOptionsSelect as aO, ProductOptionValuesSelect as aP, ProductCategoriesSelect as aQ, ProductTagsSelect as aR, ProductCollectionsSelect as aS, BrandsSelect as aT, BrandLogosSelect as aU, OrdersSelect as aV, OrderItemsSelect as aW, TransactionsSelect as aX, OrderStatusLogsSelect as aY, FulfillmentsSelect as aZ, FulfillmentItemsSelect as a_, GalleryCategory as aa, GalleryTag as ab, GalleryItem as ac, Link as ad, LinkCategory as ae, LinkTag as af, Canvase as ag, CanvasCategory as ah, CanvasTag as ai, CanvasNodeType as aj, CanvasEdgeType as ak, Thread as al, ThreadCategory as am, Comment as an, Reaction as ao, ReactionType as ap, Bookmark as aq, Report as ar, CommunityBan as as, FormSubmission as at, PayloadKv as au, PayloadLockedDocument as av, PayloadPreference as aw, PayloadMigration as ax, UsersSelect as ay, FieldConfigsSelect as az, Fulfillment as b, ReturnItemsSelect as b0, ShippingPoliciesSelect as b1, CustomersSelect as b2, CustomerAddressesSelect as b3, CustomerGroupsSelect as b4, CartsSelect as b5, CartItemsSelect as b6, DiscountsSelect as b7, PostsSelect as b8, PostAuthorsSelect as b9, LiveStreamsSelect as bA, ThreadsSelect as bB, CommentsSelect as bC, ReactionsSelect as bD, ReactionTypesSelect as bE, BookmarksSelect as bF, ThreadCategoriesSelect as bG, ReportsSelect as bH, CommunityBansSelect as bI, FormsSelect as bJ, FormSubmissionsSelect as bK, PayloadKvSelect as bL, PayloadLockedDocumentsSelect as bM, PayloadPreferencesSelect as bN, PayloadMigrationsSelect as bO, CollectionsWidget as bP, Auth as bQ, PostCategoriesSelect as ba, PostTagsSelect as bb, DocumentsSelect as bc, DocumentCategoriesSelect as bd, DocumentTypesSelect as be, PlaylistsSelect as bf, PlaylistCategoriesSelect as bg, PlaylistTagsSelect as bh, MusicsSelect as bi, MusicCategoriesSelect as bj, MusicTagsSelect as bk, GalleriesSelect as bl, GalleryCategoriesSelect as bm, GalleryTagsSelect as bn, GalleryItemsSelect as bo, LinksSelect as bp, LinkCategoriesSelect as bq, LinkTagsSelect as br, CanvasesSelect as bs, CanvasNodeTypesSelect as bt, CanvasEdgeTypesSelect as bu, CanvasCategoriesSelect as bv, CanvasTagsSelect as bw, VideosSelect as bx, VideoCategoriesSelect as by, VideoTagsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, Image as j, FieldConfig as k, SystemMedia as l, ApiKey as m, PersonalAccessToken as n, TenantMetadatum as o, ApiUsage as p, Subscription as q, BillingHistory as r, TenantLogo as s, VideoCategory as t, VideoTag as u, ProductVariant as v, ProductOptionValue as w, ProductOption as x, ProductCategory as y, ProductTag as z };
6736
+ export type { Config as C, Document as D, Form as F, Image as I, Order as O, Product as P, Return as R, Transaction as T, Video as V, OrderItem as a, Fulfillment as b, Cart as c, CartItem as d, Post as e, PostCategory as f, PostTag as g, ProductVariant as h, Tenant as i };
@@ -1,7 +1,7 @@
1
1
  import { R as RealtimeEvent } from './realtime-D7HtUpqt.cjs';
2
2
  export { a as RealtimeConnection, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
3
- import { P as PublicCollection } from './const-DZ04SC2y.cjs';
4
- import './payload-types-DICC2-Zr.cjs';
3
+ import { P as PublicCollection } from './const-k0fqIBda.cjs';
4
+ import './payload-types-D0zFPijW.cjs';
5
5
 
6
6
  interface UseRealtimeQueryOptions {
7
7
  /** Filter events to specific collections. Empty/undefined = all collections. */
@@ -1,7 +1,7 @@
1
1
  import { R as RealtimeEvent } from './realtime-D7HtUpqt.js';
2
2
  export { a as RealtimeConnection, b as RealtimeListener } from './realtime-D7HtUpqt.js';
3
- import { P as PublicCollection } from './const-hXu9oG66.js';
4
- import './payload-types-DICC2-Zr.js';
3
+ import { P as PublicCollection } from './const-Dmgge6oQ.js';
4
+ import './payload-types-D0zFPijW.js';
5
5
 
6
6
  interface UseRealtimeQueryOptions {
7
7
  /** Filter events to specific collections. Empty/undefined = all collections. */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { F as Form } from '../payload-types-DICC2-Zr.cjs';
2
+ import { F as Form } from '../payload-types-D0zFPijW.cjs';
3
3
  import { RichTextData } from './rich-text.cjs';
4
4
  import '@payloadcms/richtext-lexical';
5
5
  import '@payloadcms/richtext-lexical/lexical';
package/dist/ui/form.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { F as Form } from '../payload-types-DICC2-Zr.js';
2
+ import { F as Form } from '../payload-types-D0zFPijW.js';
3
3
  import { RichTextData } from './rich-text.js';
4
4
  import '@payloadcms/richtext-lexical';
5
5
  import '@payloadcms/richtext-lexical/lexical';