@01.software/sdk 0.24.0 → 0.25.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/dist/{const-CMdmNgEs.d.ts → const-Bs-QcTj0.d.ts} +2 -2
- package/dist/{const-Cgd4op4V.d.cts → const-C8UhtzLn.d.cts} +2 -2
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-D8-G1PiT.d.cts → payload-types-BaK4zCQ8.d.cts} +63 -8
- package/dist/{payload-types-D8-G1PiT.d.ts → payload-types-BaK4zCQ8.d.ts} +63 -8
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/{server-DJcDyOmM.d.cts → server-CkGfBnSx.d.cts} +3 -3
- package/dist/{server-D7FcHj7J.d.ts → server-DQYWLnkt.d.ts} +3 -3
- package/dist/server.d.cts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/{types-C_kwEIvY.d.cts → types-BH-YBrFs.d.cts} +1 -1
- package/dist/{types-BQqfXbB2.d.ts → types-DjaaBExv.d.ts} +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.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +3 -3
|
@@ -108,6 +108,7 @@ interface Config {
|
|
|
108
108
|
forms: Form;
|
|
109
109
|
'form-submissions': FormSubmission;
|
|
110
110
|
'payload-kv': PayloadKv;
|
|
111
|
+
'payload-folders': FolderInterface;
|
|
111
112
|
'payload-locked-documents': PayloadLockedDocument;
|
|
112
113
|
'payload-preferences': PayloadPreference;
|
|
113
114
|
'payload-migrations': PayloadMigration;
|
|
@@ -156,6 +157,9 @@ interface Config {
|
|
|
156
157
|
posts: {
|
|
157
158
|
comments: 'comments';
|
|
158
159
|
};
|
|
160
|
+
'payload-folders': {
|
|
161
|
+
documentsAndFolders: 'payload-folders' | 'images' | 'system-media';
|
|
162
|
+
};
|
|
159
163
|
};
|
|
160
164
|
collectionsSelect: {
|
|
161
165
|
users: UsersSelect<false> | UsersSelect<true>;
|
|
@@ -257,6 +261,7 @@ interface Config {
|
|
|
257
261
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
258
262
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
259
263
|
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
264
|
+
'payload-folders': PayloadFoldersSelect<false> | PayloadFoldersSelect<true>;
|
|
260
265
|
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
|
|
261
266
|
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
|
|
262
267
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
@@ -529,6 +534,7 @@ interface Image {
|
|
|
529
534
|
uploadStatus?: ('ready' | 'finalizing' | 'failed') | null;
|
|
530
535
|
processingStatus?: ('ready' | 'processing' | 'failed') | null;
|
|
531
536
|
processingError?: string | null;
|
|
537
|
+
folder?: (string | null) | FolderInterface;
|
|
532
538
|
updatedAt: string;
|
|
533
539
|
createdAt: string;
|
|
534
540
|
deletedAt?: string | null;
|
|
@@ -586,19 +592,33 @@ interface Image {
|
|
|
586
592
|
}
|
|
587
593
|
/**
|
|
588
594
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
589
|
-
* via the `definition` "
|
|
595
|
+
* via the `definition` "payload-folders".
|
|
590
596
|
*/
|
|
591
|
-
interface
|
|
597
|
+
interface FolderInterface {
|
|
592
598
|
id: string;
|
|
599
|
+
/**
|
|
600
|
+
* Required only for image folders. Leave empty for system media folders.
|
|
601
|
+
*/
|
|
593
602
|
tenant?: (string | null) | Tenant;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
603
|
+
name: string;
|
|
604
|
+
folder?: (string | null) | FolderInterface;
|
|
605
|
+
documentsAndFolders?: {
|
|
606
|
+
docs?: ({
|
|
607
|
+
relationTo?: 'payload-folders';
|
|
608
|
+
value: string | FolderInterface;
|
|
609
|
+
} | {
|
|
610
|
+
relationTo?: 'images';
|
|
611
|
+
value: string | Image;
|
|
612
|
+
} | {
|
|
613
|
+
relationTo?: 'system-media';
|
|
614
|
+
value: string | SystemMedia;
|
|
615
|
+
})[];
|
|
616
|
+
hasNextPage?: boolean;
|
|
617
|
+
totalDocs?: number;
|
|
618
|
+
};
|
|
619
|
+
folderType?: ('images' | 'system-media')[] | null;
|
|
599
620
|
updatedAt: string;
|
|
600
621
|
createdAt: string;
|
|
601
|
-
deletedAt?: string | null;
|
|
602
622
|
}
|
|
603
623
|
/**
|
|
604
624
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -619,6 +639,7 @@ interface SystemMedia {
|
|
|
619
639
|
*/
|
|
620
640
|
credit?: string | null;
|
|
621
641
|
prefix?: string | null;
|
|
642
|
+
folder?: (string | null) | FolderInterface;
|
|
622
643
|
updatedAt: string;
|
|
623
644
|
createdAt: string;
|
|
624
645
|
deletedAt?: string | null;
|
|
@@ -632,6 +653,22 @@ interface SystemMedia {
|
|
|
632
653
|
focalX?: number | null;
|
|
633
654
|
focalY?: number | null;
|
|
634
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
658
|
+
* via the `definition` "field-configs".
|
|
659
|
+
*/
|
|
660
|
+
interface FieldConfig {
|
|
661
|
+
id: string;
|
|
662
|
+
tenant?: (string | null) | Tenant;
|
|
663
|
+
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' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-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' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
|
|
664
|
+
isHidden?: boolean | null;
|
|
665
|
+
hiddenFields?: {
|
|
666
|
+
[k: string]: unknown;
|
|
667
|
+
} | unknown[] | string | number | boolean | null;
|
|
668
|
+
updatedAt: string;
|
|
669
|
+
createdAt: string;
|
|
670
|
+
deletedAt?: string | null;
|
|
671
|
+
}
|
|
635
672
|
/**
|
|
636
673
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
637
674
|
* via the `definition` "audiences".
|
|
@@ -5558,6 +5595,9 @@ interface PayloadLockedDocument {
|
|
|
5558
5595
|
} | null) | ({
|
|
5559
5596
|
relationTo: 'form-submissions';
|
|
5560
5597
|
value: string | FormSubmission;
|
|
5598
|
+
} | null) | ({
|
|
5599
|
+
relationTo: 'payload-folders';
|
|
5600
|
+
value: string | FolderInterface;
|
|
5561
5601
|
} | null);
|
|
5562
5602
|
globalSlug?: string | null;
|
|
5563
5603
|
user: {
|
|
@@ -5681,6 +5721,7 @@ interface ImagesSelect<T extends boolean = true> {
|
|
|
5681
5721
|
uploadStatus?: T;
|
|
5682
5722
|
processingStatus?: T;
|
|
5683
5723
|
processingError?: T;
|
|
5724
|
+
folder?: T;
|
|
5684
5725
|
updatedAt?: T;
|
|
5685
5726
|
createdAt?: T;
|
|
5686
5727
|
deletedAt?: T;
|
|
@@ -5745,6 +5786,7 @@ interface SystemMediaSelect<T extends boolean = true> {
|
|
|
5745
5786
|
caption?: T;
|
|
5746
5787
|
credit?: T;
|
|
5747
5788
|
prefix?: T;
|
|
5789
|
+
folder?: T;
|
|
5748
5790
|
updatedAt?: T;
|
|
5749
5791
|
createdAt?: T;
|
|
5750
5792
|
deletedAt?: T;
|
|
@@ -8511,6 +8553,19 @@ interface PayloadKvSelect<T extends boolean = true> {
|
|
|
8511
8553
|
key?: T;
|
|
8512
8554
|
data?: T;
|
|
8513
8555
|
}
|
|
8556
|
+
/**
|
|
8557
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
8558
|
+
* via the `definition` "payload-folders_select".
|
|
8559
|
+
*/
|
|
8560
|
+
interface PayloadFoldersSelect<T extends boolean = true> {
|
|
8561
|
+
tenant?: T;
|
|
8562
|
+
name?: T;
|
|
8563
|
+
folder?: T;
|
|
8564
|
+
documentsAndFolders?: T;
|
|
8565
|
+
folderType?: T;
|
|
8566
|
+
updatedAt?: T;
|
|
8567
|
+
createdAt?: T;
|
|
8568
|
+
}
|
|
8514
8569
|
/**
|
|
8515
8570
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
8516
8571
|
* via the `definition` "payload-locked-documents_select".
|
|
@@ -108,6 +108,7 @@ interface Config {
|
|
|
108
108
|
forms: Form;
|
|
109
109
|
'form-submissions': FormSubmission;
|
|
110
110
|
'payload-kv': PayloadKv;
|
|
111
|
+
'payload-folders': FolderInterface;
|
|
111
112
|
'payload-locked-documents': PayloadLockedDocument;
|
|
112
113
|
'payload-preferences': PayloadPreference;
|
|
113
114
|
'payload-migrations': PayloadMigration;
|
|
@@ -156,6 +157,9 @@ interface Config {
|
|
|
156
157
|
posts: {
|
|
157
158
|
comments: 'comments';
|
|
158
159
|
};
|
|
160
|
+
'payload-folders': {
|
|
161
|
+
documentsAndFolders: 'payload-folders' | 'images' | 'system-media';
|
|
162
|
+
};
|
|
159
163
|
};
|
|
160
164
|
collectionsSelect: {
|
|
161
165
|
users: UsersSelect<false> | UsersSelect<true>;
|
|
@@ -257,6 +261,7 @@ interface Config {
|
|
|
257
261
|
forms: FormsSelect<false> | FormsSelect<true>;
|
|
258
262
|
'form-submissions': FormSubmissionsSelect<false> | FormSubmissionsSelect<true>;
|
|
259
263
|
'payload-kv': PayloadKvSelect<false> | PayloadKvSelect<true>;
|
|
264
|
+
'payload-folders': PayloadFoldersSelect<false> | PayloadFoldersSelect<true>;
|
|
260
265
|
'payload-locked-documents': PayloadLockedDocumentsSelect<false> | PayloadLockedDocumentsSelect<true>;
|
|
261
266
|
'payload-preferences': PayloadPreferencesSelect<false> | PayloadPreferencesSelect<true>;
|
|
262
267
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
@@ -529,6 +534,7 @@ interface Image {
|
|
|
529
534
|
uploadStatus?: ('ready' | 'finalizing' | 'failed') | null;
|
|
530
535
|
processingStatus?: ('ready' | 'processing' | 'failed') | null;
|
|
531
536
|
processingError?: string | null;
|
|
537
|
+
folder?: (string | null) | FolderInterface;
|
|
532
538
|
updatedAt: string;
|
|
533
539
|
createdAt: string;
|
|
534
540
|
deletedAt?: string | null;
|
|
@@ -586,19 +592,33 @@ interface Image {
|
|
|
586
592
|
}
|
|
587
593
|
/**
|
|
588
594
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
589
|
-
* via the `definition` "
|
|
595
|
+
* via the `definition` "payload-folders".
|
|
590
596
|
*/
|
|
591
|
-
interface
|
|
597
|
+
interface FolderInterface {
|
|
592
598
|
id: string;
|
|
599
|
+
/**
|
|
600
|
+
* Required only for image folders. Leave empty for system media folders.
|
|
601
|
+
*/
|
|
593
602
|
tenant?: (string | null) | Tenant;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
603
|
+
name: string;
|
|
604
|
+
folder?: (string | null) | FolderInterface;
|
|
605
|
+
documentsAndFolders?: {
|
|
606
|
+
docs?: ({
|
|
607
|
+
relationTo?: 'payload-folders';
|
|
608
|
+
value: string | FolderInterface;
|
|
609
|
+
} | {
|
|
610
|
+
relationTo?: 'images';
|
|
611
|
+
value: string | Image;
|
|
612
|
+
} | {
|
|
613
|
+
relationTo?: 'system-media';
|
|
614
|
+
value: string | SystemMedia;
|
|
615
|
+
})[];
|
|
616
|
+
hasNextPage?: boolean;
|
|
617
|
+
totalDocs?: number;
|
|
618
|
+
};
|
|
619
|
+
folderType?: ('images' | 'system-media')[] | null;
|
|
599
620
|
updatedAt: string;
|
|
600
621
|
createdAt: string;
|
|
601
|
-
deletedAt?: string | null;
|
|
602
622
|
}
|
|
603
623
|
/**
|
|
604
624
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
@@ -619,6 +639,7 @@ interface SystemMedia {
|
|
|
619
639
|
*/
|
|
620
640
|
credit?: string | null;
|
|
621
641
|
prefix?: string | null;
|
|
642
|
+
folder?: (string | null) | FolderInterface;
|
|
622
643
|
updatedAt: string;
|
|
623
644
|
createdAt: string;
|
|
624
645
|
deletedAt?: string | null;
|
|
@@ -632,6 +653,22 @@ interface SystemMedia {
|
|
|
632
653
|
focalX?: number | null;
|
|
633
654
|
focalY?: number | null;
|
|
634
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
658
|
+
* via the `definition` "field-configs".
|
|
659
|
+
*/
|
|
660
|
+
interface FieldConfig {
|
|
661
|
+
id: string;
|
|
662
|
+
tenant?: (string | null) | Tenant;
|
|
663
|
+
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' | 'customer-profile-lists' | 'article-authors' | 'articles' | 'article-categories' | 'article-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' | 'posts' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'post-categories' | 'event-calendars' | 'events' | 'event-categories' | 'event-tags' | 'event-occurrences' | 'event-registrations';
|
|
664
|
+
isHidden?: boolean | null;
|
|
665
|
+
hiddenFields?: {
|
|
666
|
+
[k: string]: unknown;
|
|
667
|
+
} | unknown[] | string | number | boolean | null;
|
|
668
|
+
updatedAt: string;
|
|
669
|
+
createdAt: string;
|
|
670
|
+
deletedAt?: string | null;
|
|
671
|
+
}
|
|
635
672
|
/**
|
|
636
673
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
637
674
|
* via the `definition` "audiences".
|
|
@@ -5558,6 +5595,9 @@ interface PayloadLockedDocument {
|
|
|
5558
5595
|
} | null) | ({
|
|
5559
5596
|
relationTo: 'form-submissions';
|
|
5560
5597
|
value: string | FormSubmission;
|
|
5598
|
+
} | null) | ({
|
|
5599
|
+
relationTo: 'payload-folders';
|
|
5600
|
+
value: string | FolderInterface;
|
|
5561
5601
|
} | null);
|
|
5562
5602
|
globalSlug?: string | null;
|
|
5563
5603
|
user: {
|
|
@@ -5681,6 +5721,7 @@ interface ImagesSelect<T extends boolean = true> {
|
|
|
5681
5721
|
uploadStatus?: T;
|
|
5682
5722
|
processingStatus?: T;
|
|
5683
5723
|
processingError?: T;
|
|
5724
|
+
folder?: T;
|
|
5684
5725
|
updatedAt?: T;
|
|
5685
5726
|
createdAt?: T;
|
|
5686
5727
|
deletedAt?: T;
|
|
@@ -5745,6 +5786,7 @@ interface SystemMediaSelect<T extends boolean = true> {
|
|
|
5745
5786
|
caption?: T;
|
|
5746
5787
|
credit?: T;
|
|
5747
5788
|
prefix?: T;
|
|
5789
|
+
folder?: T;
|
|
5748
5790
|
updatedAt?: T;
|
|
5749
5791
|
createdAt?: T;
|
|
5750
5792
|
deletedAt?: T;
|
|
@@ -8511,6 +8553,19 @@ interface PayloadKvSelect<T extends boolean = true> {
|
|
|
8511
8553
|
key?: T;
|
|
8512
8554
|
data?: T;
|
|
8513
8555
|
}
|
|
8556
|
+
/**
|
|
8557
|
+
* This interface was referenced by `Config`'s JSON-Schema
|
|
8558
|
+
* via the `definition` "payload-folders_select".
|
|
8559
|
+
*/
|
|
8560
|
+
interface PayloadFoldersSelect<T extends boolean = true> {
|
|
8561
|
+
tenant?: T;
|
|
8562
|
+
name?: T;
|
|
8563
|
+
folder?: T;
|
|
8564
|
+
documentsAndFolders?: T;
|
|
8565
|
+
folderType?: T;
|
|
8566
|
+
updatedAt?: T;
|
|
8567
|
+
createdAt?: T;
|
|
8568
|
+
}
|
|
8514
8569
|
/**
|
|
8515
8570
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
8516
8571
|
* via the `definition` "payload-locked-documents_select".
|
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-C8UhtzLn.cjs';
|
|
4
|
+
import './payload-types-BaK4zCQ8.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-Bs-QcTj0.js';
|
|
4
|
+
import './payload-types-BaK4zCQ8.js';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { QueryClient, InfiniteData } from '@tanstack/react-query';
|
|
3
|
-
import { O as Order, d as Cart, e as CartItem, f as Product, l as OrderItem, m as Transaction, n as Fulfillment, o as Return } from './payload-types-
|
|
3
|
+
import { O as Order, d as Cart, e as CartItem, f as Product, l as OrderItem, m as Transaction, n as Fulfillment, o as Return } from './payload-types-BaK4zCQ8.cjs';
|
|
4
4
|
import { Sort, Where } from 'payload';
|
|
5
5
|
import { Metadata } from 'next';
|
|
6
|
-
import { C as CollectionType } from './types-
|
|
7
|
-
import { P as PublicCollection, S as ServerCollection } from './const-
|
|
6
|
+
import { C as CollectionType } from './types-BH-YBrFs.cjs';
|
|
7
|
+
import { P as PublicCollection, S as ServerCollection } from './const-C8UhtzLn.cjs';
|
|
8
8
|
|
|
9
9
|
declare function resolveApiUrl(): string;
|
|
10
10
|
interface ClientConfig {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { QueryClient, InfiniteData } from '@tanstack/react-query';
|
|
3
|
-
import { O as Order, d as Cart, e as CartItem, f as Product, l as OrderItem, m as Transaction, n as Fulfillment, o as Return } from './payload-types-
|
|
3
|
+
import { O as Order, d as Cart, e as CartItem, f as Product, l as OrderItem, m as Transaction, n as Fulfillment, o as Return } from './payload-types-BaK4zCQ8.js';
|
|
4
4
|
import { Sort, Where } from 'payload';
|
|
5
5
|
import { Metadata } from 'next';
|
|
6
|
-
import { C as CollectionType } from './types-
|
|
7
|
-
import { P as PublicCollection, S as ServerCollection } from './const-
|
|
6
|
+
import { C as CollectionType } from './types-DjaaBExv.js';
|
|
7
|
+
import { P as PublicCollection, S as ServerCollection } from './const-Bs-QcTj0.js';
|
|
8
8
|
|
|
9
9
|
declare function resolveApiUrl(): string;
|
|
10
10
|
interface ClientConfig {
|
package/dist/server.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ab as ClientServerConfig, aL as CollectionClient, n as CommunityClient, aS as ModerationApi, a9 as ServerClient, aM as ServerCollectionClient, aO as ServerCommerceClient, a8 as createServerClient } from './server-
|
|
2
|
-
import './payload-types-
|
|
1
|
+
export { ab as ClientServerConfig, aL as CollectionClient, n as CommunityClient, aS as ModerationApi, a9 as ServerClient, aM as ServerCollectionClient, aO as ServerCommerceClient, a8 as createServerClient } from './server-CkGfBnSx.cjs';
|
|
2
|
+
import './payload-types-BaK4zCQ8.cjs';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import 'payload';
|
|
5
5
|
import 'next';
|
|
6
|
-
import './types-
|
|
7
|
-
import './const-
|
|
6
|
+
import './types-BH-YBrFs.cjs';
|
|
7
|
+
import './const-C8UhtzLn.cjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ab as ClientServerConfig, aL as CollectionClient, n as CommunityClient, aS as ModerationApi, a9 as ServerClient, aM as ServerCollectionClient, aO as ServerCommerceClient, a8 as createServerClient } from './server-
|
|
2
|
-
import './payload-types-
|
|
1
|
+
export { ab as ClientServerConfig, aL as CollectionClient, n as CommunityClient, aS as ModerationApi, a9 as ServerClient, aM as ServerCollectionClient, aO as ServerCommerceClient, a8 as createServerClient } from './server-DQYWLnkt.js';
|
|
2
|
+
import './payload-types-BaK4zCQ8.js';
|
|
3
3
|
import '@tanstack/react-query';
|
|
4
4
|
import 'payload';
|
|
5
5
|
import 'next';
|
|
6
|
-
import './types-
|
|
7
|
-
import './const-
|
|
6
|
+
import './types-DjaaBExv.js';
|
|
7
|
+
import './const-Bs-QcTj0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerProfile, a as CustomerProfileList, P as Post, b as Comment, R as Reaction, c as Config } from './payload-types-
|
|
1
|
+
import { C as CustomerProfile, a as CustomerProfileList, P as Post, b as Comment, R as Reaction, c as Config } from './payload-types-BaK4zCQ8.cjs';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicProfileRelation = string | PublicCustomerProfile;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerProfile, a as CustomerProfileList, P as Post, b as Comment, R as Reaction, c as Config } from './payload-types-
|
|
1
|
+
import { C as CustomerProfile, a as CustomerProfileList, P as Post, b as Comment, R as Reaction, c as Config } from './payload-types-BaK4zCQ8.js';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicProfileRelation = string | PublicCustomerProfile;
|
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-BaK4zCQ8.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-BaK4zCQ8.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-BaK4zCQ8.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-BaK4zCQ8.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 {
|
package/dist/webhook.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Collection } from './const-
|
|
2
|
-
import { C as CollectionType } from './types-
|
|
3
|
-
import './payload-types-
|
|
1
|
+
import { C as Collection } from './const-C8UhtzLn.cjs';
|
|
2
|
+
import { C as CollectionType } from './types-BH-YBrFs.cjs';
|
|
3
|
+
import './payload-types-BaK4zCQ8.cjs';
|
|
4
4
|
|
|
5
5
|
type WebhookOperation = string;
|
|
6
6
|
interface WebhookEvent<T extends Collection | string = Collection, TData = T extends Collection ? CollectionType<T> : Record<string, unknown>> {
|
package/dist/webhook.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as Collection } from './const-
|
|
2
|
-
import { C as CollectionType } from './types-
|
|
3
|
-
import './payload-types-
|
|
1
|
+
import { C as Collection } from './const-Bs-QcTj0.js';
|
|
2
|
+
import { C as CollectionType } from './types-DjaaBExv.js';
|
|
3
|
+
import './payload-types-BaK4zCQ8.js';
|
|
4
4
|
|
|
5
5
|
type WebhookOperation = string;
|
|
6
6
|
interface WebhookEvent<T extends Collection | string = Collection, TData = T extends Collection ? CollectionType<T> : Record<string, unknown>> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@01.software/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "01.software SDK",
|
|
5
5
|
"author": "<office@01.works>",
|
|
6
6
|
"keywords": [],
|
|
@@ -159,8 +159,8 @@
|
|
|
159
159
|
"shadcn": "^3.6.3",
|
|
160
160
|
"tsup": "^8.3.7",
|
|
161
161
|
"vitest": "^3.2.3",
|
|
162
|
-
"@repo/
|
|
163
|
-
"@repo/
|
|
162
|
+
"@repo/typescript-config": "0.0.0",
|
|
163
|
+
"@repo/eslint-config": "0.0.0"
|
|
164
164
|
},
|
|
165
165
|
"dependencies": {
|
|
166
166
|
"@payloadcms/richtext-lexical": ">=3.84.1",
|