@01.software/sdk 0.2.2 → 0.2.3
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/{auth-BwIP4t_T.d.ts → auth-C-9PVtsp.d.ts} +1 -1
- package/dist/{auth-BwRoNck8.d.cts → auth-C7hwnGOb.d.cts} +1 -1
- package/dist/auth.d.cts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- 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.map +1 -1
- package/dist/metadata.d.cts +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/{payload-types-DPdUroGM.d.cts → payload-types-COjt2QTn.d.cts} +11 -11
- package/dist/{payload-types-DPdUroGM.d.ts → payload-types-COjt2QTn.d.ts} +11 -11
- package/dist/{webhook-4iCoQzsv.d.cts → webhook-CxTZjVol.d.cts} +1 -1
- package/dist/{webhook-DRpqvA6W.d.ts → webhook-DhK15oyO.d.ts} +1 -1
- package/dist/webhook.d.cts +2 -2
- package/dist/webhook.d.ts +2 -2
- package/package.json +1 -1
package/dist/metadata.d.cts
CHANGED
package/dist/metadata.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ interface Config {
|
|
|
62
62
|
'post-categories': PostCategory;
|
|
63
63
|
'post-tags': PostTag;
|
|
64
64
|
'post-images': PostImage;
|
|
65
|
-
authors:
|
|
65
|
+
'post-authors': PostAuthor;
|
|
66
66
|
documents: Document;
|
|
67
67
|
'document-categories': DocumentCategory;
|
|
68
68
|
'document-types': DocumentType;
|
|
@@ -112,7 +112,7 @@ interface Config {
|
|
|
112
112
|
carts: {
|
|
113
113
|
items: 'cart-items';
|
|
114
114
|
};
|
|
115
|
-
authors: {
|
|
115
|
+
'post-authors': {
|
|
116
116
|
posts: 'posts';
|
|
117
117
|
};
|
|
118
118
|
playlists: {
|
|
@@ -161,7 +161,7 @@ interface Config {
|
|
|
161
161
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
162
162
|
'post-tags': PostTagsSelect<false> | PostTagsSelect<true>;
|
|
163
163
|
'post-images': PostImagesSelect<false> | PostImagesSelect<true>;
|
|
164
|
-
authors:
|
|
164
|
+
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
165
165
|
documents: DocumentsSelect<false> | DocumentsSelect<true>;
|
|
166
166
|
'document-categories': DocumentCategoriesSelect<false> | DocumentCategoriesSelect<true>;
|
|
167
167
|
'document-types': DocumentTypesSelect<false> | DocumentTypesSelect<true>;
|
|
@@ -1867,7 +1867,7 @@ interface Post {
|
|
|
1867
1867
|
*/
|
|
1868
1868
|
generateSlug?: boolean | null;
|
|
1869
1869
|
slug?: string | null;
|
|
1870
|
-
author?: (number | null) |
|
|
1870
|
+
author?: (number | null) | PostAuthor;
|
|
1871
1871
|
publishedAt?: string | null;
|
|
1872
1872
|
categories?: (number | PostCategory)[] | null;
|
|
1873
1873
|
tags?: (number | PostTag)[] | null;
|
|
@@ -1936,9 +1936,9 @@ interface PostImage {
|
|
|
1936
1936
|
}
|
|
1937
1937
|
/**
|
|
1938
1938
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1939
|
-
* via the `definition` "authors".
|
|
1939
|
+
* via the `definition` "post-authors".
|
|
1940
1940
|
*/
|
|
1941
|
-
interface
|
|
1941
|
+
interface PostAuthor {
|
|
1942
1942
|
id: number;
|
|
1943
1943
|
_order?: string | null;
|
|
1944
1944
|
tenant?: (number | null) | Tenant;
|
|
@@ -2629,8 +2629,8 @@ interface PayloadLockedDocument {
|
|
|
2629
2629
|
relationTo: 'post-images';
|
|
2630
2630
|
value: number | PostImage;
|
|
2631
2631
|
} | null) | ({
|
|
2632
|
-
relationTo: 'authors';
|
|
2633
|
-
value: number |
|
|
2632
|
+
relationTo: 'post-authors';
|
|
2633
|
+
value: number | PostAuthor;
|
|
2634
2634
|
} | null) | ({
|
|
2635
2635
|
relationTo: 'documents';
|
|
2636
2636
|
value: number | Document;
|
|
@@ -3865,9 +3865,9 @@ interface PostImagesSelect<T extends boolean = true> {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
/**
|
|
3867
3867
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3868
|
-
* via the `definition` "authors_select".
|
|
3868
|
+
* via the `definition` "post-authors_select".
|
|
3869
3869
|
*/
|
|
3870
|
-
interface
|
|
3870
|
+
interface PostAuthorsSelect<T extends boolean = true> {
|
|
3871
3871
|
_order?: T;
|
|
3872
3872
|
tenant?: T;
|
|
3873
3873
|
name?: T;
|
|
@@ -4274,4 +4274,4 @@ declare module 'payload' {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
4276
|
|
|
4277
|
-
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U,
|
|
4277
|
+
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostAuthor as V, PostCategory as W, PostTag as X, Document as Y, DocumentType as Z, DocumentImage as _, OrderProduct as a, Auth as a$, Playlist as a0, Music as a1, PlaylistImage as a2, FormSubmission as a3, PayloadKv as a4, PayloadLockedDocument as a5, PayloadPreference as a6, PayloadMigration as a7, UsersSelect as a8, MediaSelect as a9, TransactionsSelect as aA, CustomersSelect as aB, CustomerAddressesSelect as aC, CustomerGroupsSelect as aD, CustomerGroupImagesSelect as aE, CartsSelect as aF, CartItemsSelect as aG, DiscountsSelect as aH, ShippingPoliciesSelect as aI, PostsSelect as aJ, PostCategoriesSelect as aK, PostTagsSelect as aL, PostImagesSelect as aM, PostAuthorsSelect as aN, DocumentsSelect as aO, DocumentCategoriesSelect as aP, DocumentTypesSelect as aQ, DocumentImagesSelect as aR, PlaylistsSelect as aS, PlaylistImagesSelect as aT, MusicsSelect as aU, FormsSelect as aV, FormSubmissionsSelect as aW, PayloadKvSelect as aX, PayloadLockedDocumentsSelect as aY, PayloadPreferencesSelect as aZ, PayloadMigrationsSelect as a_, AudiencesSelect as aa, EmailLogsSelect as ab, TenantsSelect as ac, TenantMetadataSelect as ad, TenantLogosSelect as ae, TenantOgImagesSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, ProductsSelect as aj, ProductVariantsSelect as ak, ProductOptionsSelect as al, ProductCategoriesSelect as am, ProductTagsSelect as an, ProductImagesSelect as ao, ProductCollectionsSelect as ap, BrandsSelect as aq, BrandLogosSelect as ar, OrdersSelect as as, OrderProductsSelect as at, ReturnsSelect as au, ReturnProductsSelect as av, ExchangesSelect as aw, ExchangeProductsSelect as ax, FulfillmentsSelect as ay, FulfillmentItemsSelect as az, Fulfillment as b, Config as c, CustomerAuthOperations as d, PlayerBlock as e, CodeBlock as f, User as g, Tenant as h, TenantMetadatum as i, TenantOgImage as j, TenantLogo as k, ApiUsage as l, Subscription as m, BillingHistory as n, Product as o, ProductImage as p, ProductVariant as q, ProductCategory as r, ProductTag as s, ProductCollection as t, Brand as u, ShippingPolicy as v, Customer as w, CustomerGroup as x, CustomerGroupImage as y, CustomerAddress as z };
|
|
@@ -62,7 +62,7 @@ interface Config {
|
|
|
62
62
|
'post-categories': PostCategory;
|
|
63
63
|
'post-tags': PostTag;
|
|
64
64
|
'post-images': PostImage;
|
|
65
|
-
authors:
|
|
65
|
+
'post-authors': PostAuthor;
|
|
66
66
|
documents: Document;
|
|
67
67
|
'document-categories': DocumentCategory;
|
|
68
68
|
'document-types': DocumentType;
|
|
@@ -112,7 +112,7 @@ interface Config {
|
|
|
112
112
|
carts: {
|
|
113
113
|
items: 'cart-items';
|
|
114
114
|
};
|
|
115
|
-
authors: {
|
|
115
|
+
'post-authors': {
|
|
116
116
|
posts: 'posts';
|
|
117
117
|
};
|
|
118
118
|
playlists: {
|
|
@@ -161,7 +161,7 @@ interface Config {
|
|
|
161
161
|
'post-categories': PostCategoriesSelect<false> | PostCategoriesSelect<true>;
|
|
162
162
|
'post-tags': PostTagsSelect<false> | PostTagsSelect<true>;
|
|
163
163
|
'post-images': PostImagesSelect<false> | PostImagesSelect<true>;
|
|
164
|
-
authors:
|
|
164
|
+
'post-authors': PostAuthorsSelect<false> | PostAuthorsSelect<true>;
|
|
165
165
|
documents: DocumentsSelect<false> | DocumentsSelect<true>;
|
|
166
166
|
'document-categories': DocumentCategoriesSelect<false> | DocumentCategoriesSelect<true>;
|
|
167
167
|
'document-types': DocumentTypesSelect<false> | DocumentTypesSelect<true>;
|
|
@@ -1867,7 +1867,7 @@ interface Post {
|
|
|
1867
1867
|
*/
|
|
1868
1868
|
generateSlug?: boolean | null;
|
|
1869
1869
|
slug?: string | null;
|
|
1870
|
-
author?: (number | null) |
|
|
1870
|
+
author?: (number | null) | PostAuthor;
|
|
1871
1871
|
publishedAt?: string | null;
|
|
1872
1872
|
categories?: (number | PostCategory)[] | null;
|
|
1873
1873
|
tags?: (number | PostTag)[] | null;
|
|
@@ -1936,9 +1936,9 @@ interface PostImage {
|
|
|
1936
1936
|
}
|
|
1937
1937
|
/**
|
|
1938
1938
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
1939
|
-
* via the `definition` "authors".
|
|
1939
|
+
* via the `definition` "post-authors".
|
|
1940
1940
|
*/
|
|
1941
|
-
interface
|
|
1941
|
+
interface PostAuthor {
|
|
1942
1942
|
id: number;
|
|
1943
1943
|
_order?: string | null;
|
|
1944
1944
|
tenant?: (number | null) | Tenant;
|
|
@@ -2629,8 +2629,8 @@ interface PayloadLockedDocument {
|
|
|
2629
2629
|
relationTo: 'post-images';
|
|
2630
2630
|
value: number | PostImage;
|
|
2631
2631
|
} | null) | ({
|
|
2632
|
-
relationTo: 'authors';
|
|
2633
|
-
value: number |
|
|
2632
|
+
relationTo: 'post-authors';
|
|
2633
|
+
value: number | PostAuthor;
|
|
2634
2634
|
} | null) | ({
|
|
2635
2635
|
relationTo: 'documents';
|
|
2636
2636
|
value: number | Document;
|
|
@@ -3865,9 +3865,9 @@ interface PostImagesSelect<T extends boolean = true> {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
/**
|
|
3867
3867
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
3868
|
-
* via the `definition` "authors_select".
|
|
3868
|
+
* via the `definition` "post-authors_select".
|
|
3869
3869
|
*/
|
|
3870
|
-
interface
|
|
3870
|
+
interface PostAuthorsSelect<T extends boolean = true> {
|
|
3871
3871
|
_order?: T;
|
|
3872
3872
|
tenant?: T;
|
|
3873
3873
|
name?: T;
|
|
@@ -4274,4 +4274,4 @@ declare module 'payload' {
|
|
|
4274
4274
|
}
|
|
4275
4275
|
}
|
|
4276
4276
|
|
|
4277
|
-
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U,
|
|
4277
|
+
export type { DocumentCategory as $, Audience as A, BrandLogo as B, CartItem as C, ReturnProduct as D, EmailLog as E, Form as F, Exchange as G, ExchangeProduct as H, IframeBlock as I, FulfillmentItem as J, Cart as K, Discount as L, Media as M, Post as N, Order as O, ProductOption as P, PostImage as Q, Return as R, SupportedTimezones as S, Transaction as T, UserAuthOperations as U, PostAuthor as V, PostCategory as W, PostTag as X, Document as Y, DocumentType as Z, DocumentImage as _, OrderProduct as a, Auth as a$, Playlist as a0, Music as a1, PlaylistImage as a2, FormSubmission as a3, PayloadKv as a4, PayloadLockedDocument as a5, PayloadPreference as a6, PayloadMigration as a7, UsersSelect as a8, MediaSelect as a9, TransactionsSelect as aA, CustomersSelect as aB, CustomerAddressesSelect as aC, CustomerGroupsSelect as aD, CustomerGroupImagesSelect as aE, CartsSelect as aF, CartItemsSelect as aG, DiscountsSelect as aH, ShippingPoliciesSelect as aI, PostsSelect as aJ, PostCategoriesSelect as aK, PostTagsSelect as aL, PostImagesSelect as aM, PostAuthorsSelect as aN, DocumentsSelect as aO, DocumentCategoriesSelect as aP, DocumentTypesSelect as aQ, DocumentImagesSelect as aR, PlaylistsSelect as aS, PlaylistImagesSelect as aT, MusicsSelect as aU, FormsSelect as aV, FormSubmissionsSelect as aW, PayloadKvSelect as aX, PayloadLockedDocumentsSelect as aY, PayloadPreferencesSelect as aZ, PayloadMigrationsSelect as a_, AudiencesSelect as aa, EmailLogsSelect as ab, TenantsSelect as ac, TenantMetadataSelect as ad, TenantLogosSelect as ae, TenantOgImagesSelect as af, ApiUsageSelect as ag, SubscriptionsSelect as ah, BillingHistorySelect as ai, ProductsSelect as aj, ProductVariantsSelect as ak, ProductOptionsSelect as al, ProductCategoriesSelect as am, ProductTagsSelect as an, ProductImagesSelect as ao, ProductCollectionsSelect as ap, BrandsSelect as aq, BrandLogosSelect as ar, OrdersSelect as as, OrderProductsSelect as at, ReturnsSelect as au, ReturnProductsSelect as av, ExchangesSelect as aw, ExchangeProductsSelect as ax, FulfillmentsSelect as ay, FulfillmentItemsSelect as az, Fulfillment as b, Config as c, CustomerAuthOperations as d, PlayerBlock as e, CodeBlock as f, User as g, Tenant as h, TenantMetadatum as i, TenantOgImage as j, TenantLogo as k, ApiUsage as l, Subscription as m, BillingHistory as n, Product as o, ProductImage as p, ProductVariant as q, ProductCategory as r, ProductTag as s, ProductCollection as t, Brand as u, ShippingPolicy as v, Customer as w, CustomerGroup as x, CustomerGroupImage as y, CustomerAddress as z };
|
package/dist/webhook.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
2
|
-
import './payload-types-
|
|
1
|
+
export { c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-CxTZjVol.cjs';
|
|
2
|
+
import './payload-types-COjt2QTn.cjs';
|
package/dist/webhook.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-
|
|
2
|
-
import './payload-types-
|
|
1
|
+
export { c as WebhookEvent, d as WebhookHandler, W as WebhookOperation, e as WebhookOptions, f as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-DhK15oyO.js';
|
|
2
|
+
import './payload-types-COjt2QTn.js';
|