@01.software/sdk 0.10.0 → 0.10.1
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-Dmgge6oQ.d.ts → const-Cv2Wikcq.d.ts} +1 -1
- package/dist/{const-k0fqIBda.d.cts → const-RfHA7d5C.d.cts} +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/{payload-types-D0zFPijW.d.cts → payload-types-Bz2HCi4m.d.cts} +23 -0
- package/dist/{payload-types-D0zFPijW.d.ts → payload-types-Bz2HCi4m.d.ts} +23 -0
- 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-DXr8B9E6.d.cts → webhook-DRFCvRt5.d.cts} +2 -2
- package/dist/{webhook-caDRhnd7.d.ts → webhook-DmO6DslJ.d.ts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { O as Order, a as OrderItem$1, T as Transaction, b as Fulfillment, R as Return, c as Cart, d as CartItem, P as Product } from './payload-types-
|
|
2
|
-
export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-
|
|
1
|
+
import { O as Order, a as OrderItem$1, T as Transaction, b as Fulfillment, R as Return, c as Cart, d as CartItem, P as Product } from './payload-types-Bz2HCi4m.cjs';
|
|
2
|
+
export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Bz2HCi4m.cjs';
|
|
3
3
|
import { Sort, Where } from 'payload';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { QueryClient, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { Metadata } from 'next';
|
|
7
|
-
import { P as PublicCollection } from './const-
|
|
8
|
-
export { a as COLLECTIONS, C as Collection } from './const-
|
|
9
|
-
import { C as CollectionType } from './webhook-
|
|
10
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
7
|
+
import { P as PublicCollection } from './const-RfHA7d5C.cjs';
|
|
8
|
+
export { a as COLLECTIONS, C as Collection } from './const-RfHA7d5C.cjs';
|
|
9
|
+
import { C as CollectionType } from './webhook-DRFCvRt5.cjs';
|
|
10
|
+
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-DRFCvRt5.cjs';
|
|
11
11
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
|
|
12
12
|
export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.cjs';
|
|
13
13
|
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';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { O as Order, a as OrderItem$1, T as Transaction, b as Fulfillment, R as Return, c as Cart, d as CartItem, P as Product } from './payload-types-
|
|
2
|
-
export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-
|
|
1
|
+
import { O as Order, a as OrderItem$1, T as Transaction, b as Fulfillment, R as Return, c as Cart, d as CartItem, P as Product } from './payload-types-Bz2HCi4m.js';
|
|
2
|
+
export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Bz2HCi4m.js';
|
|
3
3
|
import { Sort, Where } from 'payload';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { QueryClient, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { Metadata } from 'next';
|
|
7
|
-
import { P as PublicCollection } from './const-
|
|
8
|
-
export { a as COLLECTIONS, C as Collection } from './const-
|
|
9
|
-
import { C as CollectionType } from './webhook-
|
|
10
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
7
|
+
import { P as PublicCollection } from './const-Cv2Wikcq.js';
|
|
8
|
+
export { a as COLLECTIONS, C as Collection } from './const-Cv2Wikcq.js';
|
|
9
|
+
import { C as CollectionType } from './webhook-DmO6DslJ.js';
|
|
10
|
+
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-DmO6DslJ.js';
|
|
11
11
|
export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
|
|
12
12
|
export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.js';
|
|
13
13
|
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';
|
|
@@ -1255,6 +1255,19 @@ interface Product {
|
|
|
1255
1255
|
* Maximum order quantity
|
|
1256
1256
|
*/
|
|
1257
1257
|
maxOrderQuantity?: number | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* Derived listing projection for product cards and search
|
|
1260
|
+
*/
|
|
1261
|
+
listing?: {
|
|
1262
|
+
selectionHintVariant?: (string | null) | ProductVariant;
|
|
1263
|
+
primaryImage?: (string | null) | Image;
|
|
1264
|
+
minPrice?: number | null;
|
|
1265
|
+
maxPrice?: number | null;
|
|
1266
|
+
minCompareAtPrice?: number | null;
|
|
1267
|
+
maxCompareAtPrice?: number | null;
|
|
1268
|
+
isPriceRange?: boolean | null;
|
|
1269
|
+
availableForSale?: boolean | null;
|
|
1270
|
+
};
|
|
1258
1271
|
metadata?: {
|
|
1259
1272
|
[k: string]: unknown;
|
|
1260
1273
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -4887,6 +4900,16 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
4887
4900
|
collections?: T;
|
|
4888
4901
|
minOrderQuantity?: T;
|
|
4889
4902
|
maxOrderQuantity?: T;
|
|
4903
|
+
listing?: T | {
|
|
4904
|
+
selectionHintVariant?: T;
|
|
4905
|
+
primaryImage?: T;
|
|
4906
|
+
minPrice?: T;
|
|
4907
|
+
maxPrice?: T;
|
|
4908
|
+
minCompareAtPrice?: T;
|
|
4909
|
+
maxCompareAtPrice?: T;
|
|
4910
|
+
isPriceRange?: T;
|
|
4911
|
+
availableForSale?: T;
|
|
4912
|
+
};
|
|
4890
4913
|
metadata?: T;
|
|
4891
4914
|
seo?: T | {
|
|
4892
4915
|
title?: T;
|
|
@@ -1255,6 +1255,19 @@ interface Product {
|
|
|
1255
1255
|
* Maximum order quantity
|
|
1256
1256
|
*/
|
|
1257
1257
|
maxOrderQuantity?: number | null;
|
|
1258
|
+
/**
|
|
1259
|
+
* Derived listing projection for product cards and search
|
|
1260
|
+
*/
|
|
1261
|
+
listing?: {
|
|
1262
|
+
selectionHintVariant?: (string | null) | ProductVariant;
|
|
1263
|
+
primaryImage?: (string | null) | Image;
|
|
1264
|
+
minPrice?: number | null;
|
|
1265
|
+
maxPrice?: number | null;
|
|
1266
|
+
minCompareAtPrice?: number | null;
|
|
1267
|
+
maxCompareAtPrice?: number | null;
|
|
1268
|
+
isPriceRange?: boolean | null;
|
|
1269
|
+
availableForSale?: boolean | null;
|
|
1270
|
+
};
|
|
1258
1271
|
metadata?: {
|
|
1259
1272
|
[k: string]: unknown;
|
|
1260
1273
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -4887,6 +4900,16 @@ interface ProductsSelect<T extends boolean = true> {
|
|
|
4887
4900
|
collections?: T;
|
|
4888
4901
|
minOrderQuantity?: T;
|
|
4889
4902
|
maxOrderQuantity?: T;
|
|
4903
|
+
listing?: T | {
|
|
4904
|
+
selectionHintVariant?: T;
|
|
4905
|
+
primaryImage?: T;
|
|
4906
|
+
minPrice?: T;
|
|
4907
|
+
maxPrice?: T;
|
|
4908
|
+
minCompareAtPrice?: T;
|
|
4909
|
+
maxCompareAtPrice?: T;
|
|
4910
|
+
isPriceRange?: T;
|
|
4911
|
+
availableForSale?: T;
|
|
4912
|
+
};
|
|
4890
4913
|
metadata?: T;
|
|
4891
4914
|
seo?: T | {
|
|
4892
4915
|
title?: 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-RfHA7d5C.cjs';
|
|
4
|
+
import './payload-types-Bz2HCi4m.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-Cv2Wikcq.js';
|
|
4
|
+
import './payload-types-Bz2HCi4m.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-Bz2HCi4m.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-Bz2HCi4m.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-Bz2HCi4m.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-Bz2HCi4m.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-RfHA7d5C.cjs';
|
|
2
|
+
import { C as Config } from './payload-types-Bz2HCi4m.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-Cv2Wikcq.js';
|
|
2
|
+
import { C as Config } from './payload-types-Bz2HCi4m.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-DRFCvRt5.cjs';
|
|
2
|
+
import './const-RfHA7d5C.cjs';
|
|
3
|
+
import './payload-types-Bz2HCi4m.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-DmO6DslJ.js';
|
|
2
|
+
import './const-Cv2Wikcq.js';
|
|
3
|
+
import './payload-types-Bz2HCi4m.js';
|