@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/index.d.cts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } 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 Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DRvL_bS2.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-DRvL_bS2.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 { C as CollectionType } from './webhook-
|
|
8
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
9
|
-
import { P as PublicCollection } from './const-
|
|
10
|
-
export { a as COLLECTIONS, C as Collection } from './const-
|
|
7
|
+
import { C as CollectionType } from './webhook-CIcWL95t.cjs';
|
|
8
|
+
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';
|
|
9
|
+
import { P as PublicCollection } from './const-BLwHrFZ-.cjs';
|
|
10
|
+
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-BLwHrFZ-.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 Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } 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 Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DRvL_bS2.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-DRvL_bS2.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 { C as CollectionType } from './webhook-
|
|
8
|
-
export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
9
|
-
import { P as PublicCollection } from './const-
|
|
10
|
-
export { a as COLLECTIONS, C as Collection } from './const-
|
|
7
|
+
import { C as CollectionType } from './webhook-7_KR18M-.js';
|
|
8
|
+
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';
|
|
9
|
+
import { P as PublicCollection } from './const-RMD3ZVaS.js';
|
|
10
|
+
export { a as COLLECTIONS, C as Collection, I as INTERNAL_COLLECTIONS } from './const-RMD3ZVaS.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';
|
package/dist/index.js
CHANGED
|
@@ -955,6 +955,34 @@ var CollectionClient = class extends HttpClient {
|
|
|
955
955
|
};
|
|
956
956
|
|
|
957
957
|
// src/core/collection/const.ts
|
|
958
|
+
var INTERNAL_COLLECTIONS = [
|
|
959
|
+
"users",
|
|
960
|
+
"payload-kv",
|
|
961
|
+
"payload-locked-documents",
|
|
962
|
+
"payload-preferences",
|
|
963
|
+
"payload-migrations",
|
|
964
|
+
"field-configs",
|
|
965
|
+
"system-media",
|
|
966
|
+
"track-assets",
|
|
967
|
+
"audiences",
|
|
968
|
+
"email-logs",
|
|
969
|
+
"tenant-auth-settings",
|
|
970
|
+
"tenant-community-settings",
|
|
971
|
+
"api-usage",
|
|
972
|
+
"tenant-analytics-daily",
|
|
973
|
+
"analytics-event-schemas",
|
|
974
|
+
"subscriptions",
|
|
975
|
+
"billing-history",
|
|
976
|
+
"order-status-logs",
|
|
977
|
+
"api-keys",
|
|
978
|
+
"personal-access-tokens",
|
|
979
|
+
"tenant-entitlements",
|
|
980
|
+
"webhook-events",
|
|
981
|
+
"webhook-deliveries",
|
|
982
|
+
"audit-logs",
|
|
983
|
+
"plans",
|
|
984
|
+
"webhooks"
|
|
985
|
+
];
|
|
958
986
|
var COLLECTIONS = [
|
|
959
987
|
"tenants",
|
|
960
988
|
"tenant-metadata",
|
|
@@ -981,6 +1009,7 @@ var COLLECTIONS = [
|
|
|
981
1009
|
"carts",
|
|
982
1010
|
"cart-items",
|
|
983
1011
|
"discounts",
|
|
1012
|
+
"promotions",
|
|
984
1013
|
"shipping-policies",
|
|
985
1014
|
"documents",
|
|
986
1015
|
"document-categories",
|
|
@@ -1007,6 +1036,8 @@ var COLLECTIONS = [
|
|
|
1007
1036
|
"canvas-edge-types",
|
|
1008
1037
|
"canvas-categories",
|
|
1009
1038
|
"canvas-tags",
|
|
1039
|
+
"canvas-nodes",
|
|
1040
|
+
"canvas-edges",
|
|
1010
1041
|
"videos",
|
|
1011
1042
|
"video-categories",
|
|
1012
1043
|
"video-tags",
|
|
@@ -3227,6 +3258,7 @@ export {
|
|
|
3227
3258
|
DiscountApi,
|
|
3228
3259
|
GoneError,
|
|
3229
3260
|
IMAGE_SIZES,
|
|
3261
|
+
INTERNAL_COLLECTIONS,
|
|
3230
3262
|
ModerationApi,
|
|
3231
3263
|
NetworkError,
|
|
3232
3264
|
NotFoundError,
|