@01.software/sdk 0.15.0 → 0.16.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 +16 -0
- package/dist/const-BLwHrFZ-.d.cts +24 -0
- package/dist/const-RMD3ZVaS.d.ts +24 -0
- package/dist/index.cjs +32 -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 +32 -0
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-Cjbr7XZZ.d.cts → payload-types-DRvL_bS2.d.cts} +477 -22
- package/dist/{payload-types-Cjbr7XZZ.d.ts → payload-types-DRvL_bS2.d.ts} +477 -22
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/ui/canvas.cjs +4 -14
- package/dist/ui/canvas.cjs.map +1 -1
- package/dist/ui/canvas.js +4 -14
- 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-2zxdCwB4.d.ts → webhook-7_KR18M-.d.ts} +2 -2
- package/dist/{webhook-BVA28ptL.d.cts → webhook-CIcWL95t.d.cts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +1 -1
- package/dist/const-9RunqFfj.d.cts +0 -19
- package/dist/const-ovU3MmND.d.ts +0 -19
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-DRvL_bS2.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-DRvL_bS2.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-DRvL_bS2.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-DRvL_bS2.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-RMD3ZVaS.js';
|
|
2
|
+
import { C as Config } from './payload-types-DRvL_bS2.js';
|
|
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-BLwHrFZ-.cjs';
|
|
2
|
+
import { C as Config } from './payload-types-DRvL_bS2.cjs';
|
|
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-CIcWL95t.cjs';
|
|
2
|
+
import './const-BLwHrFZ-.cjs';
|
|
3
|
+
import './payload-types-DRvL_bS2.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-7_KR18M-.js';
|
|
2
|
+
import './const-RMD3ZVaS.js';
|
|
3
|
+
import './payload-types-DRvL_bS2.js';
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { C as Config } from './payload-types-Cjbr7XZZ.cjs';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Collection type derived from Payload Config.
|
|
5
|
-
* This ensures type safety and automatic synchronization with payload-types.ts
|
|
6
|
-
*/
|
|
7
|
-
type Collection = keyof Config['collections'];
|
|
8
|
-
/**
|
|
9
|
-
* Array of all public collection names for runtime use (e.g., Zod enum validation).
|
|
10
|
-
* This is the single source of truth for which collections are publicly accessible via SDK.
|
|
11
|
-
*/
|
|
12
|
-
declare const COLLECTIONS: readonly ["tenants", "tenant-metadata", "tenant-logos", "products", "product-variants", "product-options", "product-option-values", "product-categories", "product-tags", "product-collections", "brands", "brand-logos", "orders", "order-items", "returns", "return-items", "fulfillments", "fulfillment-items", "transactions", "customers", "customer-addresses", "customer-groups", "carts", "cart-items", "discounts", "shipping-policies", "documents", "document-categories", "document-types", "posts", "post-authors", "post-categories", "post-tags", "playlists", "playlist-categories", "playlist-tags", "tracks", "track-categories", "track-tags", "galleries", "gallery-categories", "gallery-tags", "gallery-items", "links", "link-categories", "link-tags", "canvases", "canvas-node-types", "canvas-edge-types", "canvas-categories", "canvas-tags", "videos", "video-categories", "video-tags", "live-streams", "images", "forms", "form-submissions", "threads", "comments", "reactions", "reaction-types", "bookmarks", "thread-categories", "reports", "community-bans"];
|
|
13
|
-
/**
|
|
14
|
-
* Public collections available for SDK access.
|
|
15
|
-
* Derived from the COLLECTIONS array (single source of truth).
|
|
16
|
-
*/
|
|
17
|
-
type PublicCollection = (typeof COLLECTIONS)[number];
|
|
18
|
-
|
|
19
|
-
export { type Collection as C, type PublicCollection as P, COLLECTIONS as a };
|
package/dist/const-ovU3MmND.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { C as Config } from './payload-types-Cjbr7XZZ.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Collection type derived from Payload Config.
|
|
5
|
-
* This ensures type safety and automatic synchronization with payload-types.ts
|
|
6
|
-
*/
|
|
7
|
-
type Collection = keyof Config['collections'];
|
|
8
|
-
/**
|
|
9
|
-
* Array of all public collection names for runtime use (e.g., Zod enum validation).
|
|
10
|
-
* This is the single source of truth for which collections are publicly accessible via SDK.
|
|
11
|
-
*/
|
|
12
|
-
declare const COLLECTIONS: readonly ["tenants", "tenant-metadata", "tenant-logos", "products", "product-variants", "product-options", "product-option-values", "product-categories", "product-tags", "product-collections", "brands", "brand-logos", "orders", "order-items", "returns", "return-items", "fulfillments", "fulfillment-items", "transactions", "customers", "customer-addresses", "customer-groups", "carts", "cart-items", "discounts", "shipping-policies", "documents", "document-categories", "document-types", "posts", "post-authors", "post-categories", "post-tags", "playlists", "playlist-categories", "playlist-tags", "tracks", "track-categories", "track-tags", "galleries", "gallery-categories", "gallery-tags", "gallery-items", "links", "link-categories", "link-tags", "canvases", "canvas-node-types", "canvas-edge-types", "canvas-categories", "canvas-tags", "videos", "video-categories", "video-tags", "live-streams", "images", "forms", "form-submissions", "threads", "comments", "reactions", "reaction-types", "bookmarks", "thread-categories", "reports", "community-bans"];
|
|
13
|
-
/**
|
|
14
|
-
* Public collections available for SDK access.
|
|
15
|
-
* Derived from the COLLECTIONS array (single source of truth).
|
|
16
|
-
*/
|
|
17
|
-
type PublicCollection = (typeof COLLECTIONS)[number];
|
|
18
|
-
|
|
19
|
-
export { type Collection as C, type PublicCollection as P, COLLECTIONS as a };
|