@01.software/sdk 0.15.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.
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { F as Form } from '../payload-types-Cjbr7XZZ.cjs';
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-Cjbr7XZZ.js';
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';
@@ -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-Cjbr7XZZ.cjs';
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 {
@@ -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-Cjbr7XZZ.js';
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-9RunqFfj.cjs';
2
- import { C as Config } from './payload-types-Cjbr7XZZ.cjs';
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-ovU3MmND.js';
2
- import { C as Config } from './payload-types-Cjbr7XZZ.js';
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
 
@@ -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-BVA28ptL.cjs';
2
- import './const-9RunqFfj.cjs';
3
- import './payload-types-Cjbr7XZZ.cjs';
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-2zxdCwB4.js';
2
- import './const-ovU3MmND.js';
3
- import './payload-types-Cjbr7XZZ.js';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@01.software/sdk",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "01.software SDK",
5
5
  "author": "<office@01.works>",
6
6
  "keywords": [],
@@ -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 };
@@ -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 };