@01.software/sdk 0.6.0 → 0.7.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 +2 -2
- package/dist/auth.d.cts +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/{const-DQZQAXex.d.cts → const-6BfmvZug.d.cts} +2 -2
- package/dist/{const-Bk3-zigV.d.ts → const-DQYzabjw.d.ts} +2 -2
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-DCVm1syH.d.cts → payload-types-CFDtFiSz.d.cts} +47 -47
- package/dist/{payload-types-DCVm1syH.d.ts → payload-types-CFDtFiSz.d.ts} +47 -47
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/{server-StNHlSjW.d.cts → server-DxhuG-_s.d.cts} +34 -34
- package/dist/{server-StNHlSjW.d.ts → server-DxhuG-_s.d.ts} +34 -34
- package/dist/ui/{flow → canvas}/server.cjs +20 -20
- package/dist/ui/canvas/server.cjs.map +1 -0
- package/dist/ui/canvas/server.d.cts +3 -0
- package/dist/ui/canvas/server.d.ts +3 -0
- package/dist/ui/{flow → canvas}/server.js +19 -19
- package/dist/ui/canvas/server.js.map +1 -0
- package/dist/ui/{flow.cjs → canvas.cjs} +63 -63
- package/dist/ui/canvas.cjs.map +1 -0
- package/dist/ui/{flow.d.cts → canvas.d.cts} +35 -35
- package/dist/ui/{flow.d.ts → canvas.d.ts} +35 -35
- package/dist/ui/{flow.js → canvas.js} +59 -59
- package/dist/ui/canvas.js.map +1 -0
- 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-BTtG_8f2.d.ts → webhook-BB8amLBv.d.ts} +2 -2
- package/dist/{webhook-TDfT7aKA.d.cts → webhook-CrBjPpUT.d.cts} +2 -2
- package/dist/webhook.d.cts +3 -3
- package/dist/webhook.d.ts +3 -3
- package/package.json +13 -13
- package/dist/ui/flow/server.cjs.map +0 -1
- package/dist/ui/flow/server.d.cts +0 -3
- package/dist/ui/flow/server.d.ts +0 -3
- package/dist/ui/flow/server.js.map +0 -1
- package/dist/ui/flow.cjs.map +0 -1
- package/dist/ui/flow.js.map +0 -1
|
@@ -78,11 +78,11 @@ interface Config {
|
|
|
78
78
|
links: Link;
|
|
79
79
|
'link-categories': LinkCategory;
|
|
80
80
|
'link-tags': LinkTag;
|
|
81
|
-
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
81
|
+
canvases: Canvase;
|
|
82
|
+
'canvas-node-types': CanvasNodeType;
|
|
83
|
+
'canvas-edge-types': CanvasEdgeType;
|
|
84
|
+
'canvas-categories': CanvasCategory;
|
|
85
|
+
'canvas-tags': CanvasTag;
|
|
86
86
|
videos: Video;
|
|
87
87
|
'video-categories': VideoCategory;
|
|
88
88
|
'video-tags': VideoTag;
|
|
@@ -211,11 +211,11 @@ interface Config {
|
|
|
211
211
|
links: LinksSelect<false> | LinksSelect<true>;
|
|
212
212
|
'link-categories': LinkCategoriesSelect<false> | LinkCategoriesSelect<true>;
|
|
213
213
|
'link-tags': LinkTagsSelect<false> | LinkTagsSelect<true>;
|
|
214
|
-
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
214
|
+
canvases: CanvasesSelect<false> | CanvasesSelect<true>;
|
|
215
|
+
'canvas-node-types': CanvasNodeTypesSelect<false> | CanvasNodeTypesSelect<true>;
|
|
216
|
+
'canvas-edge-types': CanvasEdgeTypesSelect<false> | CanvasEdgeTypesSelect<true>;
|
|
217
|
+
'canvas-categories': CanvasCategoriesSelect<false> | CanvasCategoriesSelect<true>;
|
|
218
|
+
'canvas-tags': CanvasTagsSelect<false> | CanvasTagsSelect<true>;
|
|
219
219
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
220
220
|
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
221
221
|
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
@@ -370,7 +370,7 @@ interface Tenant {
|
|
|
370
370
|
*/
|
|
371
371
|
owner: string | User;
|
|
372
372
|
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
373
|
-
features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | '
|
|
373
|
+
features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
374
374
|
/**
|
|
375
375
|
* Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
|
|
376
376
|
*/
|
|
@@ -433,7 +433,7 @@ interface Tenant {
|
|
|
433
433
|
interface FieldConfig {
|
|
434
434
|
id: string;
|
|
435
435
|
tenant?: (string | null) | Tenant;
|
|
436
|
-
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | '
|
|
436
|
+
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-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' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
|
|
437
437
|
isHidden?: boolean | null;
|
|
438
438
|
hiddenFields?: {
|
|
439
439
|
[k: string]: unknown;
|
|
@@ -3143,9 +3143,9 @@ interface LinkTag {
|
|
|
3143
3143
|
}
|
|
3144
3144
|
/**
|
|
3145
3145
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3146
|
-
* via the `definition` "
|
|
3146
|
+
* via the `definition` "canvases".
|
|
3147
3147
|
*/
|
|
3148
|
-
interface
|
|
3148
|
+
interface Canvase {
|
|
3149
3149
|
id: string;
|
|
3150
3150
|
tenant?: (string | null) | Tenant;
|
|
3151
3151
|
title: string;
|
|
@@ -3157,7 +3157,7 @@ interface Flow {
|
|
|
3157
3157
|
canvas: {
|
|
3158
3158
|
[k: string]: unknown;
|
|
3159
3159
|
} | unknown[] | string | number | boolean | null;
|
|
3160
|
-
categories?: (string |
|
|
3160
|
+
categories?: (string | CanvasCategory)[] | null;
|
|
3161
3161
|
seo?: {
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Search result title (falls back to document title)
|
|
@@ -3199,7 +3199,7 @@ interface Flow {
|
|
|
3199
3199
|
status?: ('draft' | 'published' | 'archived') | null;
|
|
3200
3200
|
isFeatured?: boolean | null;
|
|
3201
3201
|
publishedAt?: string | null;
|
|
3202
|
-
tags?: (string |
|
|
3202
|
+
tags?: (string | CanvasTag)[] | null;
|
|
3203
3203
|
metadata?: {
|
|
3204
3204
|
[k: string]: unknown;
|
|
3205
3205
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -3210,9 +3210,9 @@ interface Flow {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
/**
|
|
3212
3212
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3213
|
-
* via the `definition` "
|
|
3213
|
+
* via the `definition` "canvas-categories".
|
|
3214
3214
|
*/
|
|
3215
|
-
interface
|
|
3215
|
+
interface CanvasCategory {
|
|
3216
3216
|
id: string;
|
|
3217
3217
|
_order?: string | null;
|
|
3218
3218
|
tenant?: (string | null) | Tenant;
|
|
@@ -3227,7 +3227,7 @@ interface FlowCategory {
|
|
|
3227
3227
|
*/
|
|
3228
3228
|
description?: string | null;
|
|
3229
3229
|
image?: (string | null) | Image;
|
|
3230
|
-
parent?: (string | null) |
|
|
3230
|
+
parent?: (string | null) | CanvasCategory;
|
|
3231
3231
|
color?: string | null;
|
|
3232
3232
|
updatedAt: string;
|
|
3233
3233
|
createdAt: string;
|
|
@@ -3235,9 +3235,9 @@ interface FlowCategory {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
/**
|
|
3237
3237
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3238
|
-
* via the `definition` "
|
|
3238
|
+
* via the `definition` "canvas-tags".
|
|
3239
3239
|
*/
|
|
3240
|
-
interface
|
|
3240
|
+
interface CanvasTag {
|
|
3241
3241
|
id: string;
|
|
3242
3242
|
_order?: string | null;
|
|
3243
3243
|
tenant?: (string | null) | Tenant;
|
|
@@ -3252,7 +3252,7 @@ interface FlowTag {
|
|
|
3252
3252
|
*/
|
|
3253
3253
|
description?: string | null;
|
|
3254
3254
|
image?: (string | null) | Image;
|
|
3255
|
-
parent?: (string | null) |
|
|
3255
|
+
parent?: (string | null) | CanvasTag;
|
|
3256
3256
|
color?: string | null;
|
|
3257
3257
|
updatedAt: string;
|
|
3258
3258
|
createdAt: string;
|
|
@@ -3260,9 +3260,9 @@ interface FlowTag {
|
|
|
3260
3260
|
}
|
|
3261
3261
|
/**
|
|
3262
3262
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3263
|
-
* via the `definition` "
|
|
3263
|
+
* via the `definition` "canvas-node-types".
|
|
3264
3264
|
*/
|
|
3265
|
-
interface
|
|
3265
|
+
interface CanvasNodeType {
|
|
3266
3266
|
id: string;
|
|
3267
3267
|
_order?: string | null;
|
|
3268
3268
|
tenant?: (string | null) | Tenant;
|
|
@@ -3325,9 +3325,9 @@ interface FlowNodeType {
|
|
|
3325
3325
|
}
|
|
3326
3326
|
/**
|
|
3327
3327
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3328
|
-
* via the `definition` "
|
|
3328
|
+
* via the `definition` "canvas-edge-types".
|
|
3329
3329
|
*/
|
|
3330
|
-
interface
|
|
3330
|
+
interface CanvasEdgeType {
|
|
3331
3331
|
id: string;
|
|
3332
3332
|
_order?: string | null;
|
|
3333
3333
|
tenant?: (string | null) | Tenant;
|
|
@@ -3946,20 +3946,20 @@ interface PayloadLockedDocument {
|
|
|
3946
3946
|
relationTo: 'link-tags';
|
|
3947
3947
|
value: string | LinkTag;
|
|
3948
3948
|
} | null) | ({
|
|
3949
|
-
relationTo: '
|
|
3950
|
-
value: string |
|
|
3949
|
+
relationTo: 'canvases';
|
|
3950
|
+
value: string | Canvase;
|
|
3951
3951
|
} | null) | ({
|
|
3952
|
-
relationTo: '
|
|
3953
|
-
value: string |
|
|
3952
|
+
relationTo: 'canvas-node-types';
|
|
3953
|
+
value: string | CanvasNodeType;
|
|
3954
3954
|
} | null) | ({
|
|
3955
|
-
relationTo: '
|
|
3956
|
-
value: string |
|
|
3955
|
+
relationTo: 'canvas-edge-types';
|
|
3956
|
+
value: string | CanvasEdgeType;
|
|
3957
3957
|
} | null) | ({
|
|
3958
|
-
relationTo: '
|
|
3959
|
-
value: string |
|
|
3958
|
+
relationTo: 'canvas-categories';
|
|
3959
|
+
value: string | CanvasCategory;
|
|
3960
3960
|
} | null) | ({
|
|
3961
|
-
relationTo: '
|
|
3962
|
-
value: string |
|
|
3961
|
+
relationTo: 'canvas-tags';
|
|
3962
|
+
value: string | CanvasTag;
|
|
3963
3963
|
} | null) | ({
|
|
3964
3964
|
relationTo: 'videos';
|
|
3965
3965
|
value: string | Video;
|
|
@@ -5601,9 +5601,9 @@ interface LinkTagsSelect<T extends boolean = true> {
|
|
|
5601
5601
|
}
|
|
5602
5602
|
/**
|
|
5603
5603
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5604
|
-
* via the `definition` "
|
|
5604
|
+
* via the `definition` "canvases_select".
|
|
5605
5605
|
*/
|
|
5606
|
-
interface
|
|
5606
|
+
interface CanvasesSelect<T extends boolean = true> {
|
|
5607
5607
|
tenant?: T;
|
|
5608
5608
|
title?: T;
|
|
5609
5609
|
description?: T;
|
|
@@ -5636,9 +5636,9 @@ interface FlowsSelect<T extends boolean = true> {
|
|
|
5636
5636
|
}
|
|
5637
5637
|
/**
|
|
5638
5638
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5639
|
-
* via the `definition` "
|
|
5639
|
+
* via the `definition` "canvas-node-types_select".
|
|
5640
5640
|
*/
|
|
5641
|
-
interface
|
|
5641
|
+
interface CanvasNodeTypesSelect<T extends boolean = true> {
|
|
5642
5642
|
_order?: T;
|
|
5643
5643
|
tenant?: T;
|
|
5644
5644
|
title?: T;
|
|
@@ -5673,9 +5673,9 @@ interface FlowNodeTypesSelect<T extends boolean = true> {
|
|
|
5673
5673
|
}
|
|
5674
5674
|
/**
|
|
5675
5675
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5676
|
-
* via the `definition` "
|
|
5676
|
+
* via the `definition` "canvas-edge-types_select".
|
|
5677
5677
|
*/
|
|
5678
|
-
interface
|
|
5678
|
+
interface CanvasEdgeTypesSelect<T extends boolean = true> {
|
|
5679
5679
|
_order?: T;
|
|
5680
5680
|
tenant?: T;
|
|
5681
5681
|
title?: T;
|
|
@@ -5707,9 +5707,9 @@ interface FlowEdgeTypesSelect<T extends boolean = true> {
|
|
|
5707
5707
|
}
|
|
5708
5708
|
/**
|
|
5709
5709
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5710
|
-
* via the `definition` "
|
|
5710
|
+
* via the `definition` "canvas-categories_select".
|
|
5711
5711
|
*/
|
|
5712
|
-
interface
|
|
5712
|
+
interface CanvasCategoriesSelect<T extends boolean = true> {
|
|
5713
5713
|
_order?: T;
|
|
5714
5714
|
tenant?: T;
|
|
5715
5715
|
title?: T;
|
|
@@ -5725,9 +5725,9 @@ interface FlowCategoriesSelect<T extends boolean = true> {
|
|
|
5725
5725
|
}
|
|
5726
5726
|
/**
|
|
5727
5727
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5728
|
-
* via the `definition` "
|
|
5728
|
+
* via the `definition` "canvas-tags_select".
|
|
5729
5729
|
*/
|
|
5730
|
-
interface
|
|
5730
|
+
interface CanvasTagsSelect<T extends boolean = true> {
|
|
5731
5731
|
_order?: T;
|
|
5732
5732
|
tenant?: T;
|
|
5733
5733
|
title?: T;
|
|
@@ -6188,4 +6188,4 @@ declare module 'payload' {
|
|
|
6188
6188
|
}
|
|
6189
6189
|
}
|
|
6190
6190
|
|
|
6191
|
-
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, ShippingPoliciesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, SystemMediaSelect as aA, AudiencesSelect as aB, EmailLogsSelect as aC, TenantsSelect as aD, TenantMetadataSelect as aE, ApiUsageSelect as aF, SubscriptionsSelect as aG, BillingHistorySelect as aH, TenantLogosSelect as aI, ProductsSelect as aJ, ProductVariantsSelect as aK, ProductOptionsSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderProductsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnProductsSelect as aY, ExchangesSelect as aZ, ExchangeProductsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae,
|
|
6191
|
+
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, ShippingPoliciesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, SystemMediaSelect as aA, AudiencesSelect as aB, EmailLogsSelect as aC, TenantsSelect as aD, TenantMetadataSelect as aE, ApiUsageSelect as aF, SubscriptionsSelect as aG, BillingHistorySelect as aH, TenantLogosSelect as aI, ProductsSelect as aJ, ProductVariantsSelect as aK, ProductOptionsSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderProductsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnProductsSelect as aY, ExchangesSelect as aZ, ExchangeProductsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae, Canvase as af, CanvasCategory as ag, CanvasTag as ah, CanvasNodeType as ai, CanvasEdgeType as aj, Thread as ak, ThreadCategory as al, Comment as am, Reaction as an, ReactionType as ao, Bookmark as ap, Report as aq, CommunityBan as ar, FormSubmission as as, PayloadKv as at, PayloadLockedDocument as au, PayloadPreference as av, PayloadMigration as aw, UsersSelect as ax, FieldConfigsSelect as ay, ImagesSelect as az, Fulfillment as b, CustomersSelect as b0, CustomerAddressesSelect as b1, CustomerGroupsSelect as b2, CartsSelect as b3, CartItemsSelect as b4, DiscountsSelect as b5, PostsSelect as b6, PostAuthorsSelect as b7, PostCategoriesSelect as b8, PostTagsSelect as b9, CommentsSelect as bA, ReactionsSelect as bB, ReactionTypesSelect as bC, BookmarksSelect as bD, ThreadCategoriesSelect as bE, ReportsSelect as bF, CommunityBansSelect as bG, FormsSelect as bH, FormSubmissionsSelect as bI, PayloadKvSelect as bJ, PayloadLockedDocumentsSelect as bK, PayloadPreferencesSelect as bL, PayloadMigrationsSelect as bM, CollectionsWidget as bN, Auth as bO, DocumentsSelect as ba, DocumentCategoriesSelect as bb, DocumentTypesSelect as bc, PlaylistsSelect as bd, PlaylistCategoriesSelect as be, PlaylistTagsSelect as bf, MusicsSelect as bg, MusicCategoriesSelect as bh, MusicTagsSelect as bi, GalleriesSelect as bj, GalleryCategoriesSelect as bk, GalleryTagsSelect as bl, GalleryItemsSelect as bm, LinksSelect as bn, LinkCategoriesSelect as bo, LinkTagsSelect as bp, CanvasesSelect as bq, CanvasNodeTypesSelect as br, CanvasEdgeTypesSelect as bs, CanvasCategoriesSelect as bt, CanvasTagsSelect as bu, VideosSelect as bv, VideoCategoriesSelect as bw, VideoTagsSelect as bx, LiveStreamsSelect as by, ThreadsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
|
|
@@ -78,11 +78,11 @@ interface Config {
|
|
|
78
78
|
links: Link;
|
|
79
79
|
'link-categories': LinkCategory;
|
|
80
80
|
'link-tags': LinkTag;
|
|
81
|
-
|
|
82
|
-
'
|
|
83
|
-
'
|
|
84
|
-
'
|
|
85
|
-
'
|
|
81
|
+
canvases: Canvase;
|
|
82
|
+
'canvas-node-types': CanvasNodeType;
|
|
83
|
+
'canvas-edge-types': CanvasEdgeType;
|
|
84
|
+
'canvas-categories': CanvasCategory;
|
|
85
|
+
'canvas-tags': CanvasTag;
|
|
86
86
|
videos: Video;
|
|
87
87
|
'video-categories': VideoCategory;
|
|
88
88
|
'video-tags': VideoTag;
|
|
@@ -211,11 +211,11 @@ interface Config {
|
|
|
211
211
|
links: LinksSelect<false> | LinksSelect<true>;
|
|
212
212
|
'link-categories': LinkCategoriesSelect<false> | LinkCategoriesSelect<true>;
|
|
213
213
|
'link-tags': LinkTagsSelect<false> | LinkTagsSelect<true>;
|
|
214
|
-
|
|
215
|
-
'
|
|
216
|
-
'
|
|
217
|
-
'
|
|
218
|
-
'
|
|
214
|
+
canvases: CanvasesSelect<false> | CanvasesSelect<true>;
|
|
215
|
+
'canvas-node-types': CanvasNodeTypesSelect<false> | CanvasNodeTypesSelect<true>;
|
|
216
|
+
'canvas-edge-types': CanvasEdgeTypesSelect<false> | CanvasEdgeTypesSelect<true>;
|
|
217
|
+
'canvas-categories': CanvasCategoriesSelect<false> | CanvasCategoriesSelect<true>;
|
|
218
|
+
'canvas-tags': CanvasTagsSelect<false> | CanvasTagsSelect<true>;
|
|
219
219
|
videos: VideosSelect<false> | VideosSelect<true>;
|
|
220
220
|
'video-categories': VideoCategoriesSelect<false> | VideoCategoriesSelect<true>;
|
|
221
221
|
'video-tags': VideoTagsSelect<false> | VideoTagsSelect<true>;
|
|
@@ -370,7 +370,7 @@ interface Tenant {
|
|
|
370
370
|
*/
|
|
371
371
|
owner: string | User;
|
|
372
372
|
plan: 'free' | 'starter' | 'basic' | 'pro' | 'enterprise';
|
|
373
|
-
features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | '
|
|
373
|
+
features?: ('ecommerce' | 'customers' | 'playlists' | 'galleries' | 'links' | 'forms' | 'posts' | 'documents' | 'canvas' | 'videos' | 'live-streaming' | 'community')[] | null;
|
|
374
374
|
/**
|
|
375
375
|
* Require email verification on customer registration. Verification token is delivered via webhook (operation: verification). You must configure a webhook URL first.
|
|
376
376
|
*/
|
|
@@ -433,7 +433,7 @@ interface Tenant {
|
|
|
433
433
|
interface FieldConfig {
|
|
434
434
|
id: string;
|
|
435
435
|
tenant?: (string | null) | Tenant;
|
|
436
|
-
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-tags' | 'galleries' | 'gallery-categories' | 'gallery-tags' | 'gallery-items' | 'links' | 'link-categories' | 'link-tags' | '
|
|
436
|
+
collectionSlug: 'products' | 'product-variants' | 'product-options' | 'product-collections' | 'product-categories' | 'product-tags' | 'brands' | 'discounts' | 'shipping-policies' | 'orders' | 'carts' | 'transactions' | 'fulfillments' | 'returns' | 'exchanges' | 'customers' | 'customer-groups' | 'post-authors' | 'posts' | 'post-categories' | 'post-tags' | 'documents' | 'document-categories' | 'document-types' | 'playlists' | 'playlist-categories' | 'playlist-tags' | 'musics' | 'music-categories' | 'music-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' | 'threads' | 'comments' | 'reactions' | 'reaction-types' | 'bookmarks' | 'thread-categories';
|
|
437
437
|
isHidden?: boolean | null;
|
|
438
438
|
hiddenFields?: {
|
|
439
439
|
[k: string]: unknown;
|
|
@@ -3143,9 +3143,9 @@ interface LinkTag {
|
|
|
3143
3143
|
}
|
|
3144
3144
|
/**
|
|
3145
3145
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3146
|
-
* via the `definition` "
|
|
3146
|
+
* via the `definition` "canvases".
|
|
3147
3147
|
*/
|
|
3148
|
-
interface
|
|
3148
|
+
interface Canvase {
|
|
3149
3149
|
id: string;
|
|
3150
3150
|
tenant?: (string | null) | Tenant;
|
|
3151
3151
|
title: string;
|
|
@@ -3157,7 +3157,7 @@ interface Flow {
|
|
|
3157
3157
|
canvas: {
|
|
3158
3158
|
[k: string]: unknown;
|
|
3159
3159
|
} | unknown[] | string | number | boolean | null;
|
|
3160
|
-
categories?: (string |
|
|
3160
|
+
categories?: (string | CanvasCategory)[] | null;
|
|
3161
3161
|
seo?: {
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Search result title (falls back to document title)
|
|
@@ -3199,7 +3199,7 @@ interface Flow {
|
|
|
3199
3199
|
status?: ('draft' | 'published' | 'archived') | null;
|
|
3200
3200
|
isFeatured?: boolean | null;
|
|
3201
3201
|
publishedAt?: string | null;
|
|
3202
|
-
tags?: (string |
|
|
3202
|
+
tags?: (string | CanvasTag)[] | null;
|
|
3203
3203
|
metadata?: {
|
|
3204
3204
|
[k: string]: unknown;
|
|
3205
3205
|
} | unknown[] | string | number | boolean | null;
|
|
@@ -3210,9 +3210,9 @@ interface Flow {
|
|
|
3210
3210
|
}
|
|
3211
3211
|
/**
|
|
3212
3212
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3213
|
-
* via the `definition` "
|
|
3213
|
+
* via the `definition` "canvas-categories".
|
|
3214
3214
|
*/
|
|
3215
|
-
interface
|
|
3215
|
+
interface CanvasCategory {
|
|
3216
3216
|
id: string;
|
|
3217
3217
|
_order?: string | null;
|
|
3218
3218
|
tenant?: (string | null) | Tenant;
|
|
@@ -3227,7 +3227,7 @@ interface FlowCategory {
|
|
|
3227
3227
|
*/
|
|
3228
3228
|
description?: string | null;
|
|
3229
3229
|
image?: (string | null) | Image;
|
|
3230
|
-
parent?: (string | null) |
|
|
3230
|
+
parent?: (string | null) | CanvasCategory;
|
|
3231
3231
|
color?: string | null;
|
|
3232
3232
|
updatedAt: string;
|
|
3233
3233
|
createdAt: string;
|
|
@@ -3235,9 +3235,9 @@ interface FlowCategory {
|
|
|
3235
3235
|
}
|
|
3236
3236
|
/**
|
|
3237
3237
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3238
|
-
* via the `definition` "
|
|
3238
|
+
* via the `definition` "canvas-tags".
|
|
3239
3239
|
*/
|
|
3240
|
-
interface
|
|
3240
|
+
interface CanvasTag {
|
|
3241
3241
|
id: string;
|
|
3242
3242
|
_order?: string | null;
|
|
3243
3243
|
tenant?: (string | null) | Tenant;
|
|
@@ -3252,7 +3252,7 @@ interface FlowTag {
|
|
|
3252
3252
|
*/
|
|
3253
3253
|
description?: string | null;
|
|
3254
3254
|
image?: (string | null) | Image;
|
|
3255
|
-
parent?: (string | null) |
|
|
3255
|
+
parent?: (string | null) | CanvasTag;
|
|
3256
3256
|
color?: string | null;
|
|
3257
3257
|
updatedAt: string;
|
|
3258
3258
|
createdAt: string;
|
|
@@ -3260,9 +3260,9 @@ interface FlowTag {
|
|
|
3260
3260
|
}
|
|
3261
3261
|
/**
|
|
3262
3262
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3263
|
-
* via the `definition` "
|
|
3263
|
+
* via the `definition` "canvas-node-types".
|
|
3264
3264
|
*/
|
|
3265
|
-
interface
|
|
3265
|
+
interface CanvasNodeType {
|
|
3266
3266
|
id: string;
|
|
3267
3267
|
_order?: string | null;
|
|
3268
3268
|
tenant?: (string | null) | Tenant;
|
|
@@ -3325,9 +3325,9 @@ interface FlowNodeType {
|
|
|
3325
3325
|
}
|
|
3326
3326
|
/**
|
|
3327
3327
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3328
|
-
* via the `definition` "
|
|
3328
|
+
* via the `definition` "canvas-edge-types".
|
|
3329
3329
|
*/
|
|
3330
|
-
interface
|
|
3330
|
+
interface CanvasEdgeType {
|
|
3331
3331
|
id: string;
|
|
3332
3332
|
_order?: string | null;
|
|
3333
3333
|
tenant?: (string | null) | Tenant;
|
|
@@ -3946,20 +3946,20 @@ interface PayloadLockedDocument {
|
|
|
3946
3946
|
relationTo: 'link-tags';
|
|
3947
3947
|
value: string | LinkTag;
|
|
3948
3948
|
} | null) | ({
|
|
3949
|
-
relationTo: '
|
|
3950
|
-
value: string |
|
|
3949
|
+
relationTo: 'canvases';
|
|
3950
|
+
value: string | Canvase;
|
|
3951
3951
|
} | null) | ({
|
|
3952
|
-
relationTo: '
|
|
3953
|
-
value: string |
|
|
3952
|
+
relationTo: 'canvas-node-types';
|
|
3953
|
+
value: string | CanvasNodeType;
|
|
3954
3954
|
} | null) | ({
|
|
3955
|
-
relationTo: '
|
|
3956
|
-
value: string |
|
|
3955
|
+
relationTo: 'canvas-edge-types';
|
|
3956
|
+
value: string | CanvasEdgeType;
|
|
3957
3957
|
} | null) | ({
|
|
3958
|
-
relationTo: '
|
|
3959
|
-
value: string |
|
|
3958
|
+
relationTo: 'canvas-categories';
|
|
3959
|
+
value: string | CanvasCategory;
|
|
3960
3960
|
} | null) | ({
|
|
3961
|
-
relationTo: '
|
|
3962
|
-
value: string |
|
|
3961
|
+
relationTo: 'canvas-tags';
|
|
3962
|
+
value: string | CanvasTag;
|
|
3963
3963
|
} | null) | ({
|
|
3964
3964
|
relationTo: 'videos';
|
|
3965
3965
|
value: string | Video;
|
|
@@ -5601,9 +5601,9 @@ interface LinkTagsSelect<T extends boolean = true> {
|
|
|
5601
5601
|
}
|
|
5602
5602
|
/**
|
|
5603
5603
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5604
|
-
* via the `definition` "
|
|
5604
|
+
* via the `definition` "canvases_select".
|
|
5605
5605
|
*/
|
|
5606
|
-
interface
|
|
5606
|
+
interface CanvasesSelect<T extends boolean = true> {
|
|
5607
5607
|
tenant?: T;
|
|
5608
5608
|
title?: T;
|
|
5609
5609
|
description?: T;
|
|
@@ -5636,9 +5636,9 @@ interface FlowsSelect<T extends boolean = true> {
|
|
|
5636
5636
|
}
|
|
5637
5637
|
/**
|
|
5638
5638
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5639
|
-
* via the `definition` "
|
|
5639
|
+
* via the `definition` "canvas-node-types_select".
|
|
5640
5640
|
*/
|
|
5641
|
-
interface
|
|
5641
|
+
interface CanvasNodeTypesSelect<T extends boolean = true> {
|
|
5642
5642
|
_order?: T;
|
|
5643
5643
|
tenant?: T;
|
|
5644
5644
|
title?: T;
|
|
@@ -5673,9 +5673,9 @@ interface FlowNodeTypesSelect<T extends boolean = true> {
|
|
|
5673
5673
|
}
|
|
5674
5674
|
/**
|
|
5675
5675
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5676
|
-
* via the `definition` "
|
|
5676
|
+
* via the `definition` "canvas-edge-types_select".
|
|
5677
5677
|
*/
|
|
5678
|
-
interface
|
|
5678
|
+
interface CanvasEdgeTypesSelect<T extends boolean = true> {
|
|
5679
5679
|
_order?: T;
|
|
5680
5680
|
tenant?: T;
|
|
5681
5681
|
title?: T;
|
|
@@ -5707,9 +5707,9 @@ interface FlowEdgeTypesSelect<T extends boolean = true> {
|
|
|
5707
5707
|
}
|
|
5708
5708
|
/**
|
|
5709
5709
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5710
|
-
* via the `definition` "
|
|
5710
|
+
* via the `definition` "canvas-categories_select".
|
|
5711
5711
|
*/
|
|
5712
|
-
interface
|
|
5712
|
+
interface CanvasCategoriesSelect<T extends boolean = true> {
|
|
5713
5713
|
_order?: T;
|
|
5714
5714
|
tenant?: T;
|
|
5715
5715
|
title?: T;
|
|
@@ -5725,9 +5725,9 @@ interface FlowCategoriesSelect<T extends boolean = true> {
|
|
|
5725
5725
|
}
|
|
5726
5726
|
/**
|
|
5727
5727
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
5728
|
-
* via the `definition` "
|
|
5728
|
+
* via the `definition` "canvas-tags_select".
|
|
5729
5729
|
*/
|
|
5730
|
-
interface
|
|
5730
|
+
interface CanvasTagsSelect<T extends boolean = true> {
|
|
5731
5731
|
_order?: T;
|
|
5732
5732
|
tenant?: T;
|
|
5733
5733
|
title?: T;
|
|
@@ -6188,4 +6188,4 @@ declare module 'payload' {
|
|
|
6188
6188
|
}
|
|
6189
6189
|
}
|
|
6190
6190
|
|
|
6191
|
-
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, ShippingPoliciesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, SystemMediaSelect as aA, AudiencesSelect as aB, EmailLogsSelect as aC, TenantsSelect as aD, TenantMetadataSelect as aE, ApiUsageSelect as aF, SubscriptionsSelect as aG, BillingHistorySelect as aH, TenantLogosSelect as aI, ProductsSelect as aJ, ProductVariantsSelect as aK, ProductOptionsSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderProductsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnProductsSelect as aY, ExchangesSelect as aZ, ExchangeProductsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae,
|
|
6191
|
+
export type { Document as $, Audience as A, BrandLogo as B, Config as C, ProductCollection as D, Exchange as E, Form as F, Customer as G, CustomerGroup as H, IframeBlock as I, CustomerAddress as J, FulfillmentItem as K, LiveStream as L, ReturnProduct as M, ExchangeProduct as N, Order as O, Product as P, OrderStatusLog as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, Video as V, Discount as W, Post as X, PostAuthor as Y, PostCategory as Z, PostTag as _, OrderProduct as a, ShippingPoliciesSelect as a$, DocumentType as a0, DocumentCategory as a1, Playlist as a2, PlaylistCategory as a3, PlaylistTag as a4, Music as a5, MusicCategory as a6, MusicTag as a7, Gallery as a8, GalleryCategory as a9, SystemMediaSelect as aA, AudiencesSelect as aB, EmailLogsSelect as aC, TenantsSelect as aD, TenantMetadataSelect as aE, ApiUsageSelect as aF, SubscriptionsSelect as aG, BillingHistorySelect as aH, TenantLogosSelect as aI, ProductsSelect as aJ, ProductVariantsSelect as aK, ProductOptionsSelect as aL, ProductCategoriesSelect as aM, ProductTagsSelect as aN, ProductCollectionsSelect as aO, BrandsSelect as aP, BrandLogosSelect as aQ, OrdersSelect as aR, OrderProductsSelect as aS, TransactionsSelect as aT, OrderStatusLogsSelect as aU, FulfillmentsSelect as aV, FulfillmentItemsSelect as aW, ReturnsSelect as aX, ReturnProductsSelect as aY, ExchangesSelect as aZ, ExchangeProductsSelect as a_, GalleryTag as aa, GalleryItem as ab, Link as ac, LinkCategory as ad, LinkTag as ae, Canvase as af, CanvasCategory as ag, CanvasTag as ah, CanvasNodeType as ai, CanvasEdgeType as aj, Thread as ak, ThreadCategory as al, Comment as am, Reaction as an, ReactionType as ao, Bookmark as ap, Report as aq, CommunityBan as ar, FormSubmission as as, PayloadKv as at, PayloadLockedDocument as au, PayloadPreference as av, PayloadMigration as aw, UsersSelect as ax, FieldConfigsSelect as ay, ImagesSelect as az, Fulfillment as b, CustomersSelect as b0, CustomerAddressesSelect as b1, CustomerGroupsSelect as b2, CartsSelect as b3, CartItemsSelect as b4, DiscountsSelect as b5, PostsSelect as b6, PostAuthorsSelect as b7, PostCategoriesSelect as b8, PostTagsSelect as b9, CommentsSelect as bA, ReactionsSelect as bB, ReactionTypesSelect as bC, BookmarksSelect as bD, ThreadCategoriesSelect as bE, ReportsSelect as bF, CommunityBansSelect as bG, FormsSelect as bH, FormSubmissionsSelect as bI, PayloadKvSelect as bJ, PayloadLockedDocumentsSelect as bK, PayloadPreferencesSelect as bL, PayloadMigrationsSelect as bM, CollectionsWidget as bN, Auth as bO, DocumentsSelect as ba, DocumentCategoriesSelect as bb, DocumentTypesSelect as bc, PlaylistsSelect as bd, PlaylistCategoriesSelect as be, PlaylistTagsSelect as bf, MusicsSelect as bg, MusicCategoriesSelect as bh, MusicTagsSelect as bi, GalleriesSelect as bj, GalleryCategoriesSelect as bk, GalleryTagsSelect as bl, GalleryItemsSelect as bm, LinksSelect as bn, LinkCategoriesSelect as bo, LinkTagsSelect as bp, CanvasesSelect as bq, CanvasNodeTypesSelect as br, CanvasEdgeTypesSelect as bs, CanvasCategoriesSelect as bt, CanvasTagsSelect as bu, VideosSelect as bv, VideoCategoriesSelect as bw, VideoTagsSelect as bx, LiveStreamsSelect as by, ThreadsSelect as bz, Cart as c, CartItem as d, CustomerAuthOperations as e, PlayerBlock as f, CodeBlock as g, User as h, Tenant as i, FieldConfig as j, Image as k, SystemMedia as l, EmailLog as m, TenantMetadatum as n, ApiUsage as o, Subscription as p, BillingHistory as q, TenantLogo as r, VideoCategory as s, VideoTag as t, ProductVariant as u, ProductOption as v, ProductCategory as w, ProductTag as x, Brand as y, ShippingPolicy as z };
|
package/dist/realtime.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { R as RealtimeEvent } from './realtime-DupPIYx-.cjs';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.cjs';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-6BfmvZug.cjs';
|
|
4
|
+
import './payload-types-CFDtFiSz.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-DupPIYx-.js';
|
|
2
2
|
export { a as RealtimeConnection, b as RealtimeListener } from './realtime-DupPIYx-.js';
|
|
3
|
-
import { P as PublicCollection } from './const-
|
|
4
|
-
import './payload-types-
|
|
3
|
+
import { P as PublicCollection } from './const-DQYzabjw.js';
|
|
4
|
+
import './payload-types-CFDtFiSz.js';
|
|
5
5
|
|
|
6
6
|
interface UseRealtimeQueryOptions {
|
|
7
7
|
/** Filter events to specific collections. Empty/undefined = all collections. */
|