@01.software/sdk 0.29.0 → 0.31.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 +331 -77
- package/dist/analytics/react.cjs +4 -1
- package/dist/analytics/react.cjs.map +1 -1
- package/dist/analytics/react.js +4 -1
- package/dist/analytics/react.js.map +1 -1
- package/dist/analytics.cjs +4 -1
- package/dist/analytics.cjs.map +1 -1
- package/dist/analytics.js +4 -1
- package/dist/analytics.js.map +1 -1
- package/dist/client.cjs +1541 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +28 -0
- package/dist/client.d.ts +28 -0
- package/dist/client.js +1518 -0
- package/dist/client.js.map +1 -0
- package/dist/collection-client-ByzY3hWK.d.ts +218 -0
- package/dist/collection-client-DFXXz0vk.d.cts +218 -0
- package/dist/{const-DAjQYNuM.d.ts → const-AytzliEu.d.cts} +5 -7
- package/dist/{const-Dsixdi6z.d.cts → const-BGCP-OJL.d.ts} +5 -7
- package/dist/index-BGEhoDUs.d.cts +106 -0
- package/dist/index-BGEhoDUs.d.ts +106 -0
- package/dist/index.cjs +1006 -1615
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -115
- package/dist/index.d.ts +11 -115
- package/dist/index.js +932 -1559
- package/dist/index.js.map +1 -1
- package/dist/metadata.cjs +91 -0
- package/dist/metadata.cjs.map +1 -0
- package/dist/metadata.d.cts +58 -0
- package/dist/metadata.d.ts +58 -0
- package/dist/metadata.js +68 -0
- package/dist/metadata.js.map +1 -0
- package/dist/{payload-types-Ci-ZA7aM.d.cts → payload-types-Wa4-eC6x.d.cts} +794 -532
- package/dist/{payload-types-Ci-ZA7aM.d.ts → payload-types-Wa4-eC6x.d.ts} +794 -532
- package/dist/query.cjs +1841 -0
- package/dist/query.cjs.map +1 -0
- package/dist/query.d.cts +244 -0
- package/dist/query.d.ts +244 -0
- package/dist/query.js +1836 -0
- package/dist/query.js.map +1 -0
- package/dist/realtime.cjs +4 -1
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/realtime.js +4 -1
- package/dist/realtime.js.map +1 -1
- package/dist/{server-BINWywT8.d.cts → server-CrsPyqEc.d.cts} +14 -31
- package/dist/{server-BINWywT8.d.ts → server-CrsPyqEc.d.ts} +14 -31
- package/dist/server.cjs +430 -846
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +137 -7
- package/dist/server.d.ts +137 -7
- package/dist/server.js +430 -864
- package/dist/server.js.map +1 -1
- package/dist/{server-Cv0Q4dPQ.d.ts → types-BX2mqDf6.d.ts} +270 -743
- package/dist/{types-BWq_WlbB.d.ts → types-CVA10VC-.d.ts} +6 -2
- package/dist/{types-zKjATmDK.d.cts → types-CmLG-7RL.d.cts} +6 -2
- package/dist/{server-C0C8dtms.d.cts → types-DChFjQGz.d.cts} +270 -743
- package/dist/ui/canvas/server.cjs +7 -6
- package/dist/ui/canvas/server.cjs.map +1 -1
- package/dist/ui/canvas/server.d.cts +1 -3
- package/dist/ui/canvas/server.d.ts +1 -3
- package/dist/ui/canvas/server.js +7 -6
- package/dist/ui/canvas/server.js.map +1 -1
- package/dist/ui/canvas.cjs +11 -10
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.d.cts +29 -6
- package/dist/ui/canvas.d.ts +29 -6
- package/dist/ui/canvas.js +11 -10
- package/dist/ui/canvas.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.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +84 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerProfile, a as CustomerProfileList,
|
|
1
|
+
import { P as Product, C as CustomerProfile, a as CustomerProfileList, b as ProductCollection, c as Post, d as Comment, R as Reaction, e as Config } from './payload-types-Wa4-eC6x.js';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicProfileRelation = string | PublicCustomerProfile;
|
|
@@ -27,13 +27,17 @@ type PublicComment = Omit<Comment, 'authorProfile'> & {
|
|
|
27
27
|
type PublicReaction = Omit<Reaction, 'actorProfile'> & {
|
|
28
28
|
actorProfile: PublicProfileRelation;
|
|
29
29
|
};
|
|
30
|
+
type PublicProduct = Omit<Product, 'collectionItems'>;
|
|
31
|
+
type PublicProductCollection = Omit<ProductCollection, 'items'>;
|
|
30
32
|
type PublicCollectionOverrides = {
|
|
31
33
|
'customer-profiles': PublicCustomerProfile;
|
|
32
34
|
'customer-profile-lists': PublicCustomerProfileList;
|
|
35
|
+
products: PublicProduct;
|
|
36
|
+
'product-collections': PublicProductCollection;
|
|
33
37
|
posts: PublicPost;
|
|
34
38
|
comments: PublicComment;
|
|
35
39
|
reactions: PublicReaction;
|
|
36
40
|
};
|
|
37
41
|
type CollectionType<T extends string> = T extends keyof PublicCollectionOverrides ? PublicCollectionOverrides[T] : T extends keyof Config['collections'] ? Config['collections'][T] : never;
|
|
38
42
|
|
|
39
|
-
export type { CollectionType as C };
|
|
43
|
+
export type { CollectionType as C, PublicProduct as P, PublicProductCollection as a };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerProfile, a as CustomerProfileList,
|
|
1
|
+
import { P as Product, C as CustomerProfile, a as CustomerProfileList, b as ProductCollection, c as Post, d as Comment, R as Reaction, e as Config } from './payload-types-Wa4-eC6x.cjs';
|
|
2
2
|
|
|
3
3
|
type PublicCustomerProfile = Omit<CustomerProfile, 'tenant' | 'customer' | 'isPublic' | 'anonymizedAt' | 'metadata'>;
|
|
4
4
|
type PublicProfileRelation = string | PublicCustomerProfile;
|
|
@@ -27,13 +27,17 @@ type PublicComment = Omit<Comment, 'authorProfile'> & {
|
|
|
27
27
|
type PublicReaction = Omit<Reaction, 'actorProfile'> & {
|
|
28
28
|
actorProfile: PublicProfileRelation;
|
|
29
29
|
};
|
|
30
|
+
type PublicProduct = Omit<Product, 'collectionItems'>;
|
|
31
|
+
type PublicProductCollection = Omit<ProductCollection, 'items'>;
|
|
30
32
|
type PublicCollectionOverrides = {
|
|
31
33
|
'customer-profiles': PublicCustomerProfile;
|
|
32
34
|
'customer-profile-lists': PublicCustomerProfileList;
|
|
35
|
+
products: PublicProduct;
|
|
36
|
+
'product-collections': PublicProductCollection;
|
|
33
37
|
posts: PublicPost;
|
|
34
38
|
comments: PublicComment;
|
|
35
39
|
reactions: PublicReaction;
|
|
36
40
|
};
|
|
37
41
|
type CollectionType<T extends string> = T extends keyof PublicCollectionOverrides ? PublicCollectionOverrides[T] : T extends keyof Config['collections'] ? Config['collections'][T] : never;
|
|
38
42
|
|
|
39
|
-
export type { CollectionType as C };
|
|
43
|
+
export type { CollectionType as C, PublicProduct as P, PublicProductCollection as a };
|