@01.software/sdk 0.16.0 → 0.17.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.
- package/README.md +24 -19
- package/dist/{const-RMD3ZVaS.d.ts → const-D2K5HxpP.d.cts} +2 -2
- package/dist/{const-BLwHrFZ-.d.cts → const-DG8TrouX.d.ts} +2 -2
- package/dist/index.cjs +1 -0
- 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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DRvL_bS2.d.cts → payload-types-CMoyAOjJ.d.cts} +142 -78
- package/dist/{payload-types-DRvL_bS2.d.ts → payload-types-CMoyAOjJ.d.ts} +142 -78
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- 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-CIcWL95t.d.cts → webhook-Dm2zz7FQ.d.cts} +2 -2
- package/dist/{webhook-7_KR18M-.d.ts → webhook-IhuUWnt5.d.ts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +1 -1
|
@@ -52,6 +52,7 @@ interface Config {
|
|
|
52
52
|
'return-items': ReturnItem;
|
|
53
53
|
'shipping-policies': ShippingPolicy;
|
|
54
54
|
customers: Customer;
|
|
55
|
+
'customer-profiles': CustomerProfile;
|
|
55
56
|
'customer-addresses': CustomerAddress;
|
|
56
57
|
'customer-groups': CustomerGroup;
|
|
57
58
|
carts: Cart;
|
|
@@ -132,6 +133,7 @@ interface Config {
|
|
|
132
133
|
customers: {
|
|
133
134
|
orders: 'orders';
|
|
134
135
|
addresses: 'customer-addresses';
|
|
136
|
+
profile: 'customer-profiles';
|
|
135
137
|
};
|
|
136
138
|
'customer-groups': {
|
|
137
139
|
customers: 'customers';
|
|
@@ -193,6 +195,7 @@ interface Config {
|
|
|
193
195
|
'return-items': ReturnItemsSelect<false> | ReturnItemsSelect<true>;
|
|
194
196
|
'shipping-policies': ShippingPoliciesSelect<false> | ShippingPoliciesSelect<true>;
|
|
195
197
|
customers: CustomersSelect<false> | CustomersSelect<true>;
|
|
198
|
+
'customer-profiles': CustomerProfilesSelect<false> | CustomerProfilesSelect<true>;
|
|
196
199
|
'customer-addresses': CustomerAddressesSelect<false> | CustomerAddressesSelect<true>;
|
|
197
200
|
'customer-groups': CustomerGroupsSelect<false> | CustomerGroupsSelect<true>;
|
|
198
201
|
carts: CartsSelect<false> | CartsSelect<true>;
|
|
@@ -490,11 +493,6 @@ interface Image {
|
|
|
490
493
|
id: string;
|
|
491
494
|
tenant?: (string | null) | Tenant;
|
|
492
495
|
alt?: string | null;
|
|
493
|
-
caption?: string | null;
|
|
494
|
-
/**
|
|
495
|
-
* Photographer or source attribution
|
|
496
|
-
*/
|
|
497
|
-
credit?: string | null;
|
|
498
496
|
/**
|
|
499
497
|
* Low quality image placeholder
|
|
500
498
|
*/
|
|
@@ -570,7 +568,7 @@ interface Image {
|
|
|
570
568
|
interface FieldConfig {
|
|
571
569
|
id: string;
|
|
572
570
|
tenant?: (string | null) | Tenant;
|
|
573
|
-
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' | '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';
|
|
571
|
+
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' | 'customer-profiles' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | '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';
|
|
574
572
|
isHidden?: boolean | null;
|
|
575
573
|
hiddenFields?: {
|
|
576
574
|
[k: string]: unknown;
|
|
@@ -957,11 +955,6 @@ interface BrandLogo {
|
|
|
957
955
|
id: string;
|
|
958
956
|
tenant?: (string | null) | Tenant;
|
|
959
957
|
alt?: string | null;
|
|
960
|
-
caption?: string | null;
|
|
961
|
-
/**
|
|
962
|
-
* Photographer or source attribution
|
|
963
|
-
*/
|
|
964
|
-
credit?: string | null;
|
|
965
958
|
/**
|
|
966
959
|
* Low quality image placeholder
|
|
967
960
|
*/
|
|
@@ -1167,11 +1160,11 @@ interface TenantAnalyticsDaily {
|
|
|
1167
1160
|
};
|
|
1168
1161
|
snapshottedAt?: string | null;
|
|
1169
1162
|
/**
|
|
1170
|
-
*
|
|
1163
|
+
* Tenant timezone used to bucket this snapshot's date.
|
|
1171
1164
|
*/
|
|
1172
1165
|
bucketTz: string;
|
|
1173
1166
|
/**
|
|
1174
|
-
*
|
|
1167
|
+
* Hash of the dimension key set in this aggregate (shape mismatch detection). "pageview-only" when no custom events exist.
|
|
1175
1168
|
*/
|
|
1176
1169
|
schemaShape: string;
|
|
1177
1170
|
/**
|
|
@@ -1433,11 +1426,6 @@ interface TenantLogo {
|
|
|
1433
1426
|
id: string;
|
|
1434
1427
|
tenant?: (string | null) | Tenant;
|
|
1435
1428
|
alt?: string | null;
|
|
1436
|
-
caption?: string | null;
|
|
1437
|
-
/**
|
|
1438
|
-
* Photographer or source attribution
|
|
1439
|
-
*/
|
|
1440
|
-
credit?: string | null;
|
|
1441
1429
|
/**
|
|
1442
1430
|
* Low quality image placeholder
|
|
1443
1431
|
*/
|
|
@@ -2367,16 +2355,24 @@ interface Customer {
|
|
|
2367
2355
|
email?: string | null;
|
|
2368
2356
|
phone?: string | null;
|
|
2369
2357
|
groups?: (string | CustomerGroup)[] | null;
|
|
2370
|
-
/**
|
|
2371
|
-
* External provider user ID
|
|
2372
|
-
*/
|
|
2373
|
-
providerUserId?: string | null;
|
|
2374
2358
|
/**
|
|
2375
2359
|
* Internal notes (not visible to customers)
|
|
2376
2360
|
*/
|
|
2377
2361
|
note?: string | null;
|
|
2378
2362
|
birthDate?: string | null;
|
|
2379
2363
|
gender?: ('male' | 'female' | 'other' | 'prefer_not_to_say') | null;
|
|
2364
|
+
isGuest?: boolean | null;
|
|
2365
|
+
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2366
|
+
/**
|
|
2367
|
+
* External provider user ID
|
|
2368
|
+
*/
|
|
2369
|
+
providerUserId?: string | null;
|
|
2370
|
+
isEmailVerified?: boolean | null;
|
|
2371
|
+
lastLoginAt?: string | null;
|
|
2372
|
+
/**
|
|
2373
|
+
* Last password change timestamp (used for JWT revocation)
|
|
2374
|
+
*/
|
|
2375
|
+
passwordChangedAt?: string | null;
|
|
2380
2376
|
orders?: {
|
|
2381
2377
|
docs?: (string | Order)[];
|
|
2382
2378
|
hasNextPage?: boolean;
|
|
@@ -2387,6 +2383,21 @@ interface Customer {
|
|
|
2387
2383
|
hasNextPage?: boolean;
|
|
2388
2384
|
totalDocs?: number;
|
|
2389
2385
|
};
|
|
2386
|
+
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2387
|
+
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2388
|
+
totalOrderCount?: number | null;
|
|
2389
|
+
lifetimeValue?: number | null;
|
|
2390
|
+
firstOrderAt?: string | null;
|
|
2391
|
+
lastOrderAt?: string | null;
|
|
2392
|
+
profile?: {
|
|
2393
|
+
docs?: (string | CustomerProfile)[];
|
|
2394
|
+
hasNextPage?: boolean;
|
|
2395
|
+
totalDocs?: number;
|
|
2396
|
+
};
|
|
2397
|
+
threadCount?: number | null;
|
|
2398
|
+
commentCount?: number | null;
|
|
2399
|
+
reactionCount?: number | null;
|
|
2400
|
+
isMinor?: boolean | null;
|
|
2390
2401
|
marketingConsent?: {
|
|
2391
2402
|
email?: {
|
|
2392
2403
|
isConsented?: boolean | null;
|
|
@@ -2417,6 +2428,8 @@ interface Customer {
|
|
|
2417
2428
|
guardianPhone?: string | null;
|
|
2418
2429
|
guardianConsentedAt?: string | null;
|
|
2419
2430
|
};
|
|
2431
|
+
acceptsTos?: boolean | null;
|
|
2432
|
+
tosVersion?: string | null;
|
|
2420
2433
|
/**
|
|
2421
2434
|
* Withdrawal reason (internal)
|
|
2422
2435
|
*/
|
|
@@ -2434,30 +2447,10 @@ interface Customer {
|
|
|
2434
2447
|
resetPasswordExpiresAt?: string | null;
|
|
2435
2448
|
loginAttemptCount?: number | null;
|
|
2436
2449
|
lockedUntil?: string | null;
|
|
2437
|
-
authProvider?: ('local' | 'google' | 'apple' | 'kakao' | 'naver') | null;
|
|
2438
|
-
isGuest?: boolean | null;
|
|
2439
2450
|
/**
|
|
2440
2451
|
* Account suspension
|
|
2441
2452
|
*/
|
|
2442
2453
|
isSuspended?: boolean | null;
|
|
2443
|
-
/**
|
|
2444
|
-
* Last password change timestamp (used for JWT revocation)
|
|
2445
|
-
*/
|
|
2446
|
-
passwordChangedAt?: string | null;
|
|
2447
|
-
isEmailVerified?: boolean | null;
|
|
2448
|
-
lastLoginAt?: string | null;
|
|
2449
|
-
isMinor?: boolean | null;
|
|
2450
|
-
acceptsTos?: boolean | null;
|
|
2451
|
-
tosVersion?: string | null;
|
|
2452
|
-
defaultShippingAddress?: (string | null) | CustomerAddress;
|
|
2453
|
-
defaultBillingAddress?: (string | null) | CustomerAddress;
|
|
2454
|
-
totalOrderCount?: number | null;
|
|
2455
|
-
lifetimeValue?: number | null;
|
|
2456
|
-
firstOrderAt?: string | null;
|
|
2457
|
-
lastOrderAt?: string | null;
|
|
2458
|
-
threadCount?: number | null;
|
|
2459
|
-
commentCount?: number | null;
|
|
2460
|
-
reactionCount?: number | null;
|
|
2461
2454
|
metadata?: {
|
|
2462
2455
|
[k: string]: unknown;
|
|
2463
2456
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -2552,6 +2545,40 @@ interface CustomerAddress {
|
|
|
2552
2545
|
createdAt: string;
|
|
2553
2546
|
deletedAt?: string | null;
|
|
2554
2547
|
}
|
|
2548
|
+
/**
|
|
2549
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
2550
|
+
* via the `definition` "customer-profiles".
|
|
2551
|
+
*/
|
|
2552
|
+
interface CustomerProfile {
|
|
2553
|
+
id: string;
|
|
2554
|
+
tenant?: (string | null) | Tenant;
|
|
2555
|
+
customer: string | Customer;
|
|
2556
|
+
handle?: string | null;
|
|
2557
|
+
displayName: string;
|
|
2558
|
+
avatar?: (string | null) | Image;
|
|
2559
|
+
bio?: string | null;
|
|
2560
|
+
bioRichText?: {
|
|
2561
|
+
root: {
|
|
2562
|
+
type: string;
|
|
2563
|
+
children: {
|
|
2564
|
+
type: any;
|
|
2565
|
+
version: number;
|
|
2566
|
+
[k: string]: unknown;
|
|
2567
|
+
}[];
|
|
2568
|
+
direction: ('ltr' | 'rtl') | null;
|
|
2569
|
+
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
|
2570
|
+
indent: number;
|
|
2571
|
+
version: number;
|
|
2572
|
+
};
|
|
2573
|
+
[k: string]: unknown;
|
|
2574
|
+
} | null;
|
|
2575
|
+
joinedAt: string;
|
|
2576
|
+
isPublic?: boolean | null;
|
|
2577
|
+
anonymizedAt?: string | null;
|
|
2578
|
+
metadata?: {
|
|
2579
|
+
[k: string]: unknown;
|
|
2580
|
+
} | unknown[] | string | number | boolean | null;
|
|
2581
|
+
}
|
|
2555
2582
|
/**
|
|
2556
2583
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
2557
2584
|
* via the `definition` "order-items".
|
|
@@ -2915,7 +2942,7 @@ interface Discount {
|
|
|
2915
2942
|
productSelection?: {
|
|
2916
2943
|
type?: ('all' | 'included' | 'excluded') | null;
|
|
2917
2944
|
products?: (string | Product)[] | null;
|
|
2918
|
-
|
|
2945
|
+
collections?: (string | ProductCollection)[] | null;
|
|
2919
2946
|
};
|
|
2920
2947
|
/**
|
|
2921
2948
|
* Total usage limit (empty = unlimited)
|
|
@@ -3366,7 +3393,6 @@ interface Playlist {
|
|
|
3366
3393
|
thumbnail?: (string | null) | Image;
|
|
3367
3394
|
coverArt?: (string | null) | Image;
|
|
3368
3395
|
isCollaborative?: boolean | null;
|
|
3369
|
-
customer?: (string | null) | Customer;
|
|
3370
3396
|
/**
|
|
3371
3397
|
* When enabled, the slug will auto-generate from the title field on save and autosave.
|
|
3372
3398
|
*/
|
|
@@ -4149,7 +4175,13 @@ interface Thread {
|
|
|
4149
4175
|
generateSlug?: boolean | null;
|
|
4150
4176
|
slug?: string | null;
|
|
4151
4177
|
thumbnail?: (string | null) | Image;
|
|
4152
|
-
|
|
4178
|
+
authorProfile: string | CustomerProfile;
|
|
4179
|
+
authorSnapshot: {
|
|
4180
|
+
displayName: string;
|
|
4181
|
+
handle?: string | null;
|
|
4182
|
+
avatar?: (string | null) | Image;
|
|
4183
|
+
avatarUrl?: string | null;
|
|
4184
|
+
};
|
|
4153
4185
|
moderationStatus?: ('pending' | 'approved' | 'rejected' | 'reported' | 'hidden') | null;
|
|
4154
4186
|
viewCount?: number | null;
|
|
4155
4187
|
commentCount?: number | null;
|
|
@@ -4163,7 +4195,7 @@ interface Thread {
|
|
|
4163
4195
|
*/
|
|
4164
4196
|
isLocked?: boolean | null;
|
|
4165
4197
|
lastActivityAt?: string | null;
|
|
4166
|
-
|
|
4198
|
+
lastCommentByProfile?: (string | null) | CustomerProfile;
|
|
4167
4199
|
isFeatured?: boolean | null;
|
|
4168
4200
|
publishedAt?: string | null;
|
|
4169
4201
|
metadata?: {
|
|
@@ -4206,7 +4238,13 @@ interface Comment {
|
|
|
4206
4238
|
id: string;
|
|
4207
4239
|
tenant?: (string | null) | Tenant;
|
|
4208
4240
|
thread: string | Thread;
|
|
4209
|
-
|
|
4241
|
+
authorProfile: string | CustomerProfile;
|
|
4242
|
+
authorSnapshot: {
|
|
4243
|
+
displayName: string;
|
|
4244
|
+
handle?: string | null;
|
|
4245
|
+
avatar?: (string | null) | Image;
|
|
4246
|
+
avatarUrl?: string | null;
|
|
4247
|
+
};
|
|
4210
4248
|
body?: string | null;
|
|
4211
4249
|
parent?: (string | null) | Comment;
|
|
4212
4250
|
depth?: number | null;
|
|
@@ -4234,7 +4272,7 @@ interface Reaction {
|
|
|
4234
4272
|
tenant?: (string | null) | Tenant;
|
|
4235
4273
|
thread?: (string | null) | Thread;
|
|
4236
4274
|
comment?: (string | null) | Comment;
|
|
4237
|
-
|
|
4275
|
+
actorProfile: string | CustomerProfile;
|
|
4238
4276
|
type: string | ReactionType;
|
|
4239
4277
|
metadata?: {
|
|
4240
4278
|
[k: string]: unknown;
|
|
@@ -4671,6 +4709,9 @@ interface PayloadLockedDocument {
|
|
|
4671
4709
|
} | null) | ({
|
|
4672
4710
|
relationTo: 'customers';
|
|
4673
4711
|
value: string | Customer;
|
|
4712
|
+
} | null) | ({
|
|
4713
|
+
relationTo: 'customer-profiles';
|
|
4714
|
+
value: string | CustomerProfile;
|
|
4674
4715
|
} | null) | ({
|
|
4675
4716
|
relationTo: 'customer-addresses';
|
|
4676
4717
|
value: string | CustomerAddress;
|
|
@@ -4925,8 +4966,6 @@ interface FieldConfigsSelect<T extends boolean = true> {
|
|
|
4925
4966
|
interface ImagesSelect<T extends boolean = true> {
|
|
4926
4967
|
tenant?: T;
|
|
4927
4968
|
alt?: T;
|
|
4928
|
-
caption?: T;
|
|
4929
|
-
credit?: T;
|
|
4930
4969
|
lqip?: T;
|
|
4931
4970
|
palette?: T | {
|
|
4932
4971
|
vibrant?: T;
|
|
@@ -5495,8 +5534,6 @@ interface WebhooksSelect<T extends boolean = true> {
|
|
|
5495
5534
|
interface TenantLogosSelect<T extends boolean = true> {
|
|
5496
5535
|
tenant?: T;
|
|
5497
5536
|
alt?: T;
|
|
5498
|
-
caption?: T;
|
|
5499
|
-
credit?: T;
|
|
5500
5537
|
lqip?: T;
|
|
5501
5538
|
palette?: T | {
|
|
5502
5539
|
vibrant?: T;
|
|
@@ -5813,8 +5850,6 @@ interface BrandsSelect<T extends boolean = true> {
|
|
|
5813
5850
|
interface BrandLogosSelect<T extends boolean = true> {
|
|
5814
5851
|
tenant?: T;
|
|
5815
5852
|
alt?: T;
|
|
5816
|
-
caption?: T;
|
|
5817
|
-
credit?: T;
|
|
5818
5853
|
lqip?: T;
|
|
5819
5854
|
palette?: T | {
|
|
5820
5855
|
vibrant?: T;
|
|
@@ -6144,12 +6179,28 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
6144
6179
|
email?: T;
|
|
6145
6180
|
phone?: T;
|
|
6146
6181
|
groups?: T;
|
|
6147
|
-
providerUserId?: T;
|
|
6148
6182
|
note?: T;
|
|
6149
6183
|
birthDate?: T;
|
|
6150
6184
|
gender?: T;
|
|
6185
|
+
isGuest?: T;
|
|
6186
|
+
authProvider?: T;
|
|
6187
|
+
providerUserId?: T;
|
|
6188
|
+
isEmailVerified?: T;
|
|
6189
|
+
lastLoginAt?: T;
|
|
6190
|
+
passwordChangedAt?: T;
|
|
6151
6191
|
orders?: T;
|
|
6152
6192
|
addresses?: T;
|
|
6193
|
+
defaultShippingAddress?: T;
|
|
6194
|
+
defaultBillingAddress?: T;
|
|
6195
|
+
totalOrderCount?: T;
|
|
6196
|
+
lifetimeValue?: T;
|
|
6197
|
+
firstOrderAt?: T;
|
|
6198
|
+
lastOrderAt?: T;
|
|
6199
|
+
profile?: T;
|
|
6200
|
+
threadCount?: T;
|
|
6201
|
+
commentCount?: T;
|
|
6202
|
+
reactionCount?: T;
|
|
6203
|
+
isMinor?: T;
|
|
6153
6204
|
marketingConsent?: T | {
|
|
6154
6205
|
email?: T | {
|
|
6155
6206
|
isConsented?: T;
|
|
@@ -6177,6 +6228,8 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
6177
6228
|
guardianPhone?: T;
|
|
6178
6229
|
guardianConsentedAt?: T;
|
|
6179
6230
|
};
|
|
6231
|
+
acceptsTos?: T;
|
|
6232
|
+
tosVersion?: T;
|
|
6180
6233
|
withdrawReason?: T;
|
|
6181
6234
|
withdrawnAt?: T;
|
|
6182
6235
|
retainUntil?: T;
|
|
@@ -6188,29 +6241,29 @@ interface CustomersSelect<T extends boolean = true> {
|
|
|
6188
6241
|
resetPasswordExpiresAt?: T;
|
|
6189
6242
|
loginAttemptCount?: T;
|
|
6190
6243
|
lockedUntil?: T;
|
|
6191
|
-
authProvider?: T;
|
|
6192
|
-
isGuest?: T;
|
|
6193
6244
|
isSuspended?: T;
|
|
6194
|
-
passwordChangedAt?: T;
|
|
6195
|
-
isEmailVerified?: T;
|
|
6196
|
-
lastLoginAt?: T;
|
|
6197
|
-
isMinor?: T;
|
|
6198
|
-
acceptsTos?: T;
|
|
6199
|
-
tosVersion?: T;
|
|
6200
|
-
defaultShippingAddress?: T;
|
|
6201
|
-
defaultBillingAddress?: T;
|
|
6202
|
-
totalOrderCount?: T;
|
|
6203
|
-
lifetimeValue?: T;
|
|
6204
|
-
firstOrderAt?: T;
|
|
6205
|
-
lastOrderAt?: T;
|
|
6206
|
-
threadCount?: T;
|
|
6207
|
-
commentCount?: T;
|
|
6208
|
-
reactionCount?: T;
|
|
6209
6245
|
metadata?: T;
|
|
6210
6246
|
updatedAt?: T;
|
|
6211
6247
|
createdAt?: T;
|
|
6212
6248
|
deletedAt?: T;
|
|
6213
6249
|
}
|
|
6250
|
+
/**
|
|
6251
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
6252
|
+
* via the `definition` "customer-profiles_select".
|
|
6253
|
+
*/
|
|
6254
|
+
interface CustomerProfilesSelect<T extends boolean = true> {
|
|
6255
|
+
tenant?: T;
|
|
6256
|
+
customer?: T;
|
|
6257
|
+
handle?: T;
|
|
6258
|
+
displayName?: T;
|
|
6259
|
+
avatar?: T;
|
|
6260
|
+
bio?: T;
|
|
6261
|
+
bioRichText?: T;
|
|
6262
|
+
joinedAt?: T;
|
|
6263
|
+
isPublic?: T;
|
|
6264
|
+
anonymizedAt?: T;
|
|
6265
|
+
metadata?: T;
|
|
6266
|
+
}
|
|
6214
6267
|
/**
|
|
6215
6268
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
6216
6269
|
* via the `definition` "customer-addresses_select".
|
|
@@ -6335,7 +6388,7 @@ interface DiscountsSelect<T extends boolean = true> {
|
|
|
6335
6388
|
productSelection?: T | {
|
|
6336
6389
|
type?: T;
|
|
6337
6390
|
products?: T;
|
|
6338
|
-
|
|
6391
|
+
collections?: T;
|
|
6339
6392
|
};
|
|
6340
6393
|
maxUses?: T;
|
|
6341
6394
|
usesCount?: T;
|
|
@@ -6578,7 +6631,6 @@ interface PlaylistsSelect<T extends boolean = true> {
|
|
|
6578
6631
|
thumbnail?: T;
|
|
6579
6632
|
coverArt?: T;
|
|
6580
6633
|
isCollaborative?: T;
|
|
6581
|
-
customer?: T;
|
|
6582
6634
|
generateSlug?: T;
|
|
6583
6635
|
slug?: T;
|
|
6584
6636
|
status?: T;
|
|
@@ -7188,7 +7240,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7188
7240
|
generateSlug?: T;
|
|
7189
7241
|
slug?: T;
|
|
7190
7242
|
thumbnail?: T;
|
|
7191
|
-
|
|
7243
|
+
authorProfile?: T;
|
|
7244
|
+
authorSnapshot?: T | {
|
|
7245
|
+
displayName?: T;
|
|
7246
|
+
handle?: T;
|
|
7247
|
+
avatar?: T;
|
|
7248
|
+
avatarUrl?: T;
|
|
7249
|
+
};
|
|
7192
7250
|
moderationStatus?: T;
|
|
7193
7251
|
viewCount?: T;
|
|
7194
7252
|
commentCount?: T;
|
|
@@ -7199,7 +7257,7 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7199
7257
|
visibility?: T;
|
|
7200
7258
|
isLocked?: T;
|
|
7201
7259
|
lastActivityAt?: T;
|
|
7202
|
-
|
|
7260
|
+
lastCommentByProfile?: T;
|
|
7203
7261
|
isFeatured?: T;
|
|
7204
7262
|
publishedAt?: T;
|
|
7205
7263
|
metadata?: T;
|
|
@@ -7214,7 +7272,13 @@ interface ThreadsSelect<T extends boolean = true> {
|
|
|
7214
7272
|
interface CommentsSelect<T extends boolean = true> {
|
|
7215
7273
|
tenant?: T;
|
|
7216
7274
|
thread?: T;
|
|
7217
|
-
|
|
7275
|
+
authorProfile?: T;
|
|
7276
|
+
authorSnapshot?: T | {
|
|
7277
|
+
displayName?: T;
|
|
7278
|
+
handle?: T;
|
|
7279
|
+
avatar?: T;
|
|
7280
|
+
avatarUrl?: T;
|
|
7281
|
+
};
|
|
7218
7282
|
body?: T;
|
|
7219
7283
|
parent?: T;
|
|
7220
7284
|
depth?: T;
|
|
@@ -7239,7 +7303,7 @@ interface ReactionsSelect<T extends boolean = true> {
|
|
|
7239
7303
|
tenant?: T;
|
|
7240
7304
|
thread?: T;
|
|
7241
7305
|
comment?: T;
|
|
7242
|
-
|
|
7306
|
+
actorProfile?: T;
|
|
7243
7307
|
type?: T;
|
|
7244
7308
|
metadata?: T;
|
|
7245
7309
|
updatedAt?: T;
|
package/dist/realtime.d.cts
CHANGED
|
@@ -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-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-D2K5HxpP.cjs';
|
|
4
|
+
import './payload-types-CMoyAOjJ.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-D7HtUpqt.js';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-D7HtUpqt.js';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-DG8TrouX.js';
|
|
4
|
+
import './payload-types-CMoyAOjJ.js';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { F as Form } from '../payload-types-
|
|
2
|
+
import { F as Form } from '../payload-types-CMoyAOjJ.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-
|
|
2
|
+
import { F as Form } from '../payload-types-CMoyAOjJ.js';
|
|
3
3
|
import { RichTextData } from './rich-text.js';
|
|
4
4
|
import '@payloadcms/richtext-lexical';
|
|
5
5
|
import '@payloadcms/richtext-lexical/lexical';
|
package/dist/ui/video.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
|
|
3
3
|
export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
|
|
4
|
-
import { V as Video } from '../payload-types-
|
|
4
|
+
import { V as Video } from '../payload-types-CMoyAOjJ.cjs';
|
|
5
5
|
export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from '../video-DbLL8yuc.cjs';
|
|
6
6
|
|
|
7
7
|
interface VideoPlayerCSSProperties extends CSSProperties {
|
package/dist/ui/video.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties } from 'react';
|
|
2
2
|
import { MuxPlayerProps, MuxPlayerRefAttributes } from '@mux/mux-player-react';
|
|
3
3
|
export { MuxPlayerRefAttributes as VideoPlayerRef } from '@mux/mux-player-react';
|
|
4
|
-
import { V as Video } from '../payload-types-
|
|
4
|
+
import { V as Video } from '../payload-types-CMoyAOjJ.js';
|
|
5
5
|
export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from '../video-DbLL8yuc.js';
|
|
6
6
|
|
|
7
7
|
interface VideoPlayerCSSProperties extends CSSProperties {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Collection } from './const-
|
|
2
|
-
import { C as Config } from './payload-types-
|
|
1
|
+
import { C as Collection } from './const-D2K5HxpP.cjs';
|
|
2
|
+
import { C as Config } from './payload-types-CMoyAOjJ.cjs';
|
|
3
3
|
|
|
4
4
|
type CollectionType<T extends string> = T extends keyof Config['collections'] ? Config['collections'][T] : never;
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Collection } from './const-
|
|
2
|
-
import { C as Config } from './payload-types-
|
|
1
|
+
import { C as Collection } from './const-DG8TrouX.js';
|
|
2
|
+
import { C as Config } from './payload-types-CMoyAOjJ.js';
|
|
3
3
|
|
|
4
4
|
type CollectionType<T extends string> = T extends keyof Config['collections'] ? Config['collections'][T] : never;
|
|
5
5
|
|
package/dist/webhook.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
2
|
-
import './const-
|
|
3
|
-
import './payload-types-
|
|
1
|
+
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-Dm2zz7FQ.cjs';
|
|
2
|
+
import './const-D2K5HxpP.cjs';
|
|
3
|
+
import './payload-types-CMoyAOjJ.cjs';
|
package/dist/webhook.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
2
|
-
import './const-
|
|
3
|
-
import './payload-types-
|
|
1
|
+
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-IhuUWnt5.js';
|
|
2
|
+
import './const-DG8TrouX.js';
|
|
3
|
+
import './payload-types-CMoyAOjJ.js';
|