@wix/auto_sdk_blog_likes 1.0.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/build/cjs/index.d.ts +64 -0
- package/build/cjs/index.js +517 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +629 -0
- package/build/cjs/index.typings.js +413 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +440 -0
- package/build/cjs/meta.js +333 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/es/index.d.mts +64 -0
- package/build/es/index.mjs +485 -0
- package/build/es/index.mjs.map +1 -0
- package/build/es/index.typings.d.mts +629 -0
- package/build/es/index.typings.mjs +382 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +440 -0
- package/build/es/meta.mjs +300 -0
- package/build/es/meta.mjs.map +1 -0
- package/build/es/package.json +3 -0
- package/build/internal/cjs/index.d.ts +64 -0
- package/build/internal/cjs/index.js +517 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +629 -0
- package/build/internal/cjs/index.typings.js +413 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +440 -0
- package/build/internal/cjs/meta.js +333 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/es/index.d.mts +64 -0
- package/build/internal/es/index.mjs +485 -0
- package/build/internal/es/index.mjs.map +1 -0
- package/build/internal/es/index.typings.d.mts +629 -0
- package/build/internal/es/index.typings.mjs +382 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +440 -0
- package/build/internal/es/meta.mjs +300 -0
- package/build/internal/es/meta.mjs.map +1 -0
- package/meta/package.json +3 -0
- package/package.json +54 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
// src/blog-v1-like-likes.http.ts
|
|
2
|
+
import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
4
|
+
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
|
+
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
6
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
7
|
+
function resolveWixBlogV1LikeServiceUrl(opts) {
|
|
8
|
+
const domainToMappings = {
|
|
9
|
+
_: [
|
|
10
|
+
{
|
|
11
|
+
srcPath: "/_api/blog-like-service",
|
|
12
|
+
destPath: ""
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"api._api_base_domain_": [
|
|
16
|
+
{
|
|
17
|
+
srcPath: "/blog-like-service",
|
|
18
|
+
destPath: ""
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"social-blog._base_domain_": [
|
|
22
|
+
{
|
|
23
|
+
srcPath: "/_api/blog-like-service",
|
|
24
|
+
destPath: ""
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"manage._base_domain_": [
|
|
28
|
+
{
|
|
29
|
+
srcPath: "/_api/blog-like-service",
|
|
30
|
+
destPath: ""
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"apps._base_domain_": [
|
|
34
|
+
{
|
|
35
|
+
srcPath: "/_api/blog-like-service",
|
|
36
|
+
destPath: ""
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"www.wixapis.com": [
|
|
40
|
+
{
|
|
41
|
+
srcPath: "/blog/v1/likes",
|
|
42
|
+
destPath: "/v1/likes"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"*.dev.wix-code.com": [
|
|
46
|
+
{
|
|
47
|
+
srcPath: "/blog/v1/likes",
|
|
48
|
+
destPath: "/v1/likes"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
};
|
|
52
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
53
|
+
}
|
|
54
|
+
var PACKAGE_NAME = "@wix/auto_sdk_blog_likes";
|
|
55
|
+
function createLike(payload) {
|
|
56
|
+
function __createLike({ host }) {
|
|
57
|
+
const serializedData = transformPaths(payload, [
|
|
58
|
+
{
|
|
59
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
60
|
+
paths: [{ path: "like.createdDate" }]
|
|
61
|
+
}
|
|
62
|
+
]);
|
|
63
|
+
const metadata = {
|
|
64
|
+
entityFqdn: "wix.blog.v1.like",
|
|
65
|
+
method: "POST",
|
|
66
|
+
methodFqn: "wix.blog.v1.LikeService.CreateLike",
|
|
67
|
+
packageName: PACKAGE_NAME,
|
|
68
|
+
migrationOptions: {
|
|
69
|
+
optInTransformResponse: true
|
|
70
|
+
},
|
|
71
|
+
url: resolveWixBlogV1LikeServiceUrl({
|
|
72
|
+
protoPath: "/v1/likes",
|
|
73
|
+
data: serializedData,
|
|
74
|
+
host
|
|
75
|
+
}),
|
|
76
|
+
data: serializedData,
|
|
77
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
78
|
+
{
|
|
79
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
80
|
+
paths: [{ path: "like.createdDate" }]
|
|
81
|
+
}
|
|
82
|
+
])
|
|
83
|
+
};
|
|
84
|
+
return metadata;
|
|
85
|
+
}
|
|
86
|
+
return __createLike;
|
|
87
|
+
}
|
|
88
|
+
function getLike(payload) {
|
|
89
|
+
function __getLike({ host }) {
|
|
90
|
+
const metadata = {
|
|
91
|
+
entityFqdn: "wix.blog.v1.like",
|
|
92
|
+
method: "GET",
|
|
93
|
+
methodFqn: "wix.blog.v1.LikeService.GetLike",
|
|
94
|
+
packageName: PACKAGE_NAME,
|
|
95
|
+
migrationOptions: {
|
|
96
|
+
optInTransformResponse: true
|
|
97
|
+
},
|
|
98
|
+
url: resolveWixBlogV1LikeServiceUrl({
|
|
99
|
+
protoPath: "/v1/likes/{likeId}",
|
|
100
|
+
data: payload,
|
|
101
|
+
host
|
|
102
|
+
}),
|
|
103
|
+
params: toURLSearchParams(payload),
|
|
104
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
105
|
+
{
|
|
106
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
107
|
+
paths: [{ path: "like.createdDate" }]
|
|
108
|
+
}
|
|
109
|
+
])
|
|
110
|
+
};
|
|
111
|
+
return metadata;
|
|
112
|
+
}
|
|
113
|
+
return __getLike;
|
|
114
|
+
}
|
|
115
|
+
function queryLikes(payload) {
|
|
116
|
+
function __queryLikes({ host }) {
|
|
117
|
+
const metadata = {
|
|
118
|
+
entityFqdn: "wix.blog.v1.like",
|
|
119
|
+
method: "POST",
|
|
120
|
+
methodFqn: "wix.blog.v1.LikeService.QueryLikes",
|
|
121
|
+
packageName: PACKAGE_NAME,
|
|
122
|
+
migrationOptions: {
|
|
123
|
+
optInTransformResponse: true
|
|
124
|
+
},
|
|
125
|
+
url: resolveWixBlogV1LikeServiceUrl({
|
|
126
|
+
protoPath: "/v1/likes/query",
|
|
127
|
+
data: payload,
|
|
128
|
+
host
|
|
129
|
+
}),
|
|
130
|
+
data: payload,
|
|
131
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
132
|
+
{
|
|
133
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
134
|
+
paths: [{ path: "likes.createdDate" }]
|
|
135
|
+
}
|
|
136
|
+
])
|
|
137
|
+
};
|
|
138
|
+
return metadata;
|
|
139
|
+
}
|
|
140
|
+
return __queryLikes;
|
|
141
|
+
}
|
|
142
|
+
function deleteLike(payload) {
|
|
143
|
+
function __deleteLike({ host }) {
|
|
144
|
+
const metadata = {
|
|
145
|
+
entityFqdn: "wix.blog.v1.like",
|
|
146
|
+
method: "DELETE",
|
|
147
|
+
methodFqn: "wix.blog.v1.LikeService.DeleteLike",
|
|
148
|
+
packageName: PACKAGE_NAME,
|
|
149
|
+
migrationOptions: {
|
|
150
|
+
optInTransformResponse: true
|
|
151
|
+
},
|
|
152
|
+
url: resolveWixBlogV1LikeServiceUrl({
|
|
153
|
+
protoPath: "/v1/likes/{likeId}",
|
|
154
|
+
data: payload,
|
|
155
|
+
host
|
|
156
|
+
}),
|
|
157
|
+
params: toURLSearchParams(payload)
|
|
158
|
+
};
|
|
159
|
+
return metadata;
|
|
160
|
+
}
|
|
161
|
+
return __deleteLike;
|
|
162
|
+
}
|
|
163
|
+
function deleteLikeByFqdnAndEntityId(payload) {
|
|
164
|
+
function __deleteLikeByFqdnAndEntityId({ host }) {
|
|
165
|
+
const metadata = {
|
|
166
|
+
entityFqdn: "wix.blog.v1.like",
|
|
167
|
+
method: "DELETE",
|
|
168
|
+
methodFqn: "wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId",
|
|
169
|
+
packageName: PACKAGE_NAME,
|
|
170
|
+
migrationOptions: {
|
|
171
|
+
optInTransformResponse: true
|
|
172
|
+
},
|
|
173
|
+
url: resolveWixBlogV1LikeServiceUrl({
|
|
174
|
+
protoPath: "/v1/likes/fqdn/{fqdn}/entity-id/{entityId}",
|
|
175
|
+
data: payload,
|
|
176
|
+
host
|
|
177
|
+
}),
|
|
178
|
+
params: toURLSearchParams(payload)
|
|
179
|
+
};
|
|
180
|
+
return metadata;
|
|
181
|
+
}
|
|
182
|
+
return __deleteLikeByFqdnAndEntityId;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
// src/blog-v1-like-likes.types.ts
|
|
186
|
+
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
187
|
+
SortOrder2["ASC"] = "ASC";
|
|
188
|
+
SortOrder2["DESC"] = "DESC";
|
|
189
|
+
return SortOrder2;
|
|
190
|
+
})(SortOrder || {});
|
|
191
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
192
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
193
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
194
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
195
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
196
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
197
|
+
return WebhookIdentityType2;
|
|
198
|
+
})(WebhookIdentityType || {});
|
|
199
|
+
|
|
200
|
+
// src/blog-v1-like-likes.meta.ts
|
|
201
|
+
function createLike2() {
|
|
202
|
+
const payload = {};
|
|
203
|
+
const getRequestOptions = createLike(payload);
|
|
204
|
+
const getUrl = (context) => {
|
|
205
|
+
const { url } = getRequestOptions(context);
|
|
206
|
+
return url;
|
|
207
|
+
};
|
|
208
|
+
return {
|
|
209
|
+
getUrl,
|
|
210
|
+
httpMethod: "POST",
|
|
211
|
+
path: "/v1/likes",
|
|
212
|
+
pathParams: {},
|
|
213
|
+
__requestType: null,
|
|
214
|
+
__originalRequestType: null,
|
|
215
|
+
__responseType: null,
|
|
216
|
+
__originalResponseType: null
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
function getLike2() {
|
|
220
|
+
const payload = { likeId: ":likeId" };
|
|
221
|
+
const getRequestOptions = getLike(payload);
|
|
222
|
+
const getUrl = (context) => {
|
|
223
|
+
const { url } = getRequestOptions(context);
|
|
224
|
+
return url;
|
|
225
|
+
};
|
|
226
|
+
return {
|
|
227
|
+
getUrl,
|
|
228
|
+
httpMethod: "GET",
|
|
229
|
+
path: "/v1/likes/{likeId}",
|
|
230
|
+
pathParams: { likeId: "likeId" },
|
|
231
|
+
__requestType: null,
|
|
232
|
+
__originalRequestType: null,
|
|
233
|
+
__responseType: null,
|
|
234
|
+
__originalResponseType: null
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function queryLikes2() {
|
|
238
|
+
const payload = {};
|
|
239
|
+
const getRequestOptions = queryLikes(payload);
|
|
240
|
+
const getUrl = (context) => {
|
|
241
|
+
const { url } = getRequestOptions(context);
|
|
242
|
+
return url;
|
|
243
|
+
};
|
|
244
|
+
return {
|
|
245
|
+
getUrl,
|
|
246
|
+
httpMethod: "POST",
|
|
247
|
+
path: "/v1/likes/query",
|
|
248
|
+
pathParams: {},
|
|
249
|
+
__requestType: null,
|
|
250
|
+
__originalRequestType: null,
|
|
251
|
+
__responseType: null,
|
|
252
|
+
__originalResponseType: null
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
function deleteLike2() {
|
|
256
|
+
const payload = { likeId: ":likeId" };
|
|
257
|
+
const getRequestOptions = deleteLike(payload);
|
|
258
|
+
const getUrl = (context) => {
|
|
259
|
+
const { url } = getRequestOptions(context);
|
|
260
|
+
return url;
|
|
261
|
+
};
|
|
262
|
+
return {
|
|
263
|
+
getUrl,
|
|
264
|
+
httpMethod: "DELETE",
|
|
265
|
+
path: "/v1/likes/{likeId}",
|
|
266
|
+
pathParams: { likeId: "likeId" },
|
|
267
|
+
__requestType: null,
|
|
268
|
+
__originalRequestType: null,
|
|
269
|
+
__responseType: null,
|
|
270
|
+
__originalResponseType: null
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
function deleteLikeByFqdnAndEntityId2() {
|
|
274
|
+
const payload = { fqdn: ":fqdn", entityId: ":entityId" };
|
|
275
|
+
const getRequestOptions = deleteLikeByFqdnAndEntityId(payload);
|
|
276
|
+
const getUrl = (context) => {
|
|
277
|
+
const { url } = getRequestOptions(context);
|
|
278
|
+
return url;
|
|
279
|
+
};
|
|
280
|
+
return {
|
|
281
|
+
getUrl,
|
|
282
|
+
httpMethod: "DELETE",
|
|
283
|
+
path: "/v1/likes/fqdn/{fqdn}/entity-id/{entityId}",
|
|
284
|
+
pathParams: { fqdn: "fqdn", entityId: "entityId" },
|
|
285
|
+
__requestType: null,
|
|
286
|
+
__originalRequestType: null,
|
|
287
|
+
__responseType: null,
|
|
288
|
+
__originalResponseType: null
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
export {
|
|
292
|
+
SortOrder as SortOrderOriginal,
|
|
293
|
+
WebhookIdentityType as WebhookIdentityTypeOriginal,
|
|
294
|
+
createLike2 as createLike,
|
|
295
|
+
deleteLike2 as deleteLike,
|
|
296
|
+
deleteLikeByFqdnAndEntityId2 as deleteLikeByFqdnAndEntityId,
|
|
297
|
+
getLike2 as getLike,
|
|
298
|
+
queryLikes2 as queryLikes
|
|
299
|
+
};
|
|
300
|
+
//# sourceMappingURL=meta.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/blog-v1-like-likes.http.ts","../../../src/blog-v1-like-likes.types.ts","../../../src/blog-v1-like-likes.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBlogV1LikeServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n _: [\n {\n srcPath: '/_api/blog-like-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/blog-like-service',\n destPath: '',\n },\n ],\n 'social-blog._base_domain_': [\n {\n srcPath: '/_api/blog-like-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/blog-like-service',\n destPath: '',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/blog-like-service',\n destPath: '',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/blog/v1/likes',\n destPath: '/v1/likes',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/blog/v1/likes',\n destPath: '/v1/likes',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_likes';\n\n/**\n * Creates a like for blog content.\n *\n * >**Note:**\n * >This method requires [visitor or member authentication](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/make-api-calls-with-oauth).\n */\nexport function createLike(payload: object): RequestOptionsFactory<any> {\n function __createLike({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'like.createdDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.blog.v1.like',\n method: 'POST' as any,\n methodFqn: 'wix.blog.v1.LikeService.CreateLike',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1LikeServiceUrl({\n protoPath: '/v1/likes',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'like.createdDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createLike;\n}\n\n/** Retrieves a like. */\nexport function getLike(payload: object): RequestOptionsFactory<any> {\n function __getLike({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.like',\n method: 'GET' as any,\n methodFqn: 'wix.blog.v1.LikeService.GetLike',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1LikeServiceUrl({\n protoPath: '/v1/likes/{likeId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'like.createdDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getLike;\n}\n\n/**\n * Retrieves a list of likes, given the provided paging, filtering, and sorting.\n *\n * Up to 100 likes can be returned per request.\n *\n * Query Likes runs with these defaults, which you can override:\n *\n * - `createdDate` is sorted in `DESC` order\n * - `paging.limit` is `50`\n * - `paging.offset` is `0`\n *\n * For field support for filters and sorting, see [Supported Filters and Sorting](https://dev.wix.com/docs/api-reference/business-solutions/blog/likes/supported-filters-and-sorting).\n *\n * To learn how to query likes, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).\n */\nexport function queryLikes(payload: object): RequestOptionsFactory<any> {\n function __queryLikes({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.like',\n method: 'POST' as any,\n methodFqn: 'wix.blog.v1.LikeService.QueryLikes',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1LikeServiceUrl({\n protoPath: '/v1/likes/query',\n data: payload,\n host,\n }),\n data: payload,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'likes.createdDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __queryLikes;\n}\n\n/** Deletes a like. */\nexport function deleteLike(payload: object): RequestOptionsFactory<any> {\n function __deleteLike({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.like',\n method: 'DELETE' as any,\n methodFqn: 'wix.blog.v1.LikeService.DeleteLike',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1LikeServiceUrl({\n protoPath: '/v1/likes/{likeId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteLike;\n}\n\n/**\n * Deletes a site visitors' or members' like by blog content FQDN and entity ID.\n *\n * >**Note:**\n * >This method requires [visitor or member authentication](https://dev.wix.com/docs/go-headless/coding/rest-api/visitors-and-members/make-api-calls-with-oauth).\n */\nexport function deleteLikeByFqdnAndEntityId(\n payload: object\n): RequestOptionsFactory<any> {\n function __deleteLikeByFqdnAndEntityId({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.like',\n method: 'DELETE' as any,\n methodFqn: 'wix.blog.v1.LikeService.DeleteLikeByFqdnAndEntityId',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1LikeServiceUrl({\n protoPath: '/v1/likes/fqdn/{fqdn}/entity-id/{entityId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteLikeByFqdnAndEntityId;\n}\n","/**\n * A like represents a user's positive reaction to blog content.\n *\n * Likes are associated with specific blog content using their FQDN (fully qualified domain name) and entity ID,\n * allowing likes to be created for various types of blog content such as posts or comments.\n */\nexport interface Like {\n /**\n * Like ID.\n * @immutable\n * @format GUID\n */\n id?: string | null;\n /**\n * Date and time the like was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * ID of the specific blog content being liked, such as a blog post or comment.\n * @format GUID\n */\n entityId?: string | null;\n /**\n * Fully qualified domain name that identifies the type of blog content being liked. For example, `wix.blog.v3.post` for blog posts.\n * @maxLength 256\n */\n fqdn?: string | null;\n}\n\nexport interface CreateLikeRequest {\n /** Like to create. */\n like?: Like;\n}\n\nexport interface CreateLikeResponse {\n /** Created like. */\n like?: Like;\n}\n\nexport interface GetLikeRequest {\n /**\n * Like ID.\n * @format GUID\n */\n likeId: string | null;\n}\n\nexport interface GetLikeResponse {\n /** Retrieved like. */\n like?: Like;\n}\n\nexport interface GetLikeByFqdnAndEntityIdRequest {\n /**\n * Fully qualified domain name that identifies the type of blog content being liked. For example, `wix.blog.v3.post` for blog posts.\n * @maxLength 256\n */\n fqdn?: string | null;\n /**\n * ID of the liked entity.\n * @format GUID\n */\n entityId?: string | null;\n}\n\nexport interface GetLikeByFqdnAndEntityIdResponse {\n /** Retrieved like. */\n like?: Like;\n}\n\nexport interface QueryLikesRequest {\n /** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language) for more details. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about [filtering](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about [sorting](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#sorting).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryLikesResponse {\n /** Retrieved likes. */\n likes?: Like[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface CountLikesRequest {\n /**\n * Fully qualified domain name of the liked entity. For example, `wix.blog.v3.post`.\n * @maxLength 256\n */\n fqdn?: string | null;\n /**\n * User identity ID.\n * @format GUID\n */\n identityId?: string | null;\n}\n\nexport interface CountLikesResponse {\n /** Number of likes. */\n count?: number;\n}\n\nexport interface DeleteLikeRequest {\n /**\n * ID of the like to delete.\n * @format GUID\n */\n likeId: string | null;\n}\n\nexport interface DeleteLikeResponse {}\n\nexport interface DeleteLikeByFqdnAndEntityIdRequest {\n /**\n * Fully qualified domain name that identifies the type of blog content being liked. For example, `wix.blog.v3.post` for blog posts.\n * @maxLength 256\n */\n fqdn: string | null;\n /**\n * ID of the specific blog content being liked.\n * @format GUID\n */\n entityId: string | null;\n}\n\nexport interface DeleteLikeByFqdnAndEntityIdResponse {}\n\nexport interface BulkCreateLikesMigrationRequest {\n /**\n * Likes to create.\n * @minSize 1\n * @maxSize 50\n */\n likes?: MigrationLike[];\n}\n\n/** Like object used for migration purposes with additional user identity fields. */\nexport interface MigrationLike {\n /** Date and time the like was created. */\n createdDate?: Date | null;\n /**\n * ID of the liked entity.\n * @format GUID\n */\n entityId?: string | null;\n /**\n * ID of the member who created the like.\n * @format GUID\n */\n memberId?: string | null;\n /**\n * ID of the anonymous user who created the like.\n * @format GUID\n */\n anonymousUserId?: string | null;\n}\n\nexport interface BulkCreateLikesMigrationResponse {\n /** Bulk action metadata. */\n bulkActionMetadata?: BulkActionMetadata;\n /** Metadata for each created like. */\n itemMetadata?: ItemMetadata[];\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface ItemMetadata {\n /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface CountLikesMigrationRequest {}\n\nexport interface CountLikesMigrationResponse {\n /** Total number of likes. */\n count?: number;\n}\n\nexport interface QueryLikesMigrationRequest {\n /** Query options. */\n query?: CursorQuery;\n}\n\nexport interface QueryLikesMigrationResponse {\n /** Retrieved likes. */\n likes?: Like[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface Empty {}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n","import * as ambassadorWixBlogV1Like from './blog-v1-like-likes.http.js';\nimport * as ambassadorWixBlogV1LikeTypes from './blog-v1-like-likes.types.js';\nimport * as ambassadorWixBlogV1LikeUniversalTypes from './blog-v1-like-likes.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createLike(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV1LikeUniversalTypes.CreateLikeRequest,\n ambassadorWixBlogV1LikeTypes.CreateLikeRequest,\n ambassadorWixBlogV1LikeUniversalTypes.CreateLikeResponse,\n ambassadorWixBlogV1LikeTypes.CreateLikeResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV1Like.createLike(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/likes',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getLike(): __PublicMethodMetaInfo<\n 'GET',\n { likeId: string },\n ambassadorWixBlogV1LikeUniversalTypes.GetLikeRequest,\n ambassadorWixBlogV1LikeTypes.GetLikeRequest,\n ambassadorWixBlogV1LikeUniversalTypes.GetLikeResponse,\n ambassadorWixBlogV1LikeTypes.GetLikeResponse\n> {\n const payload = { likeId: ':likeId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV1Like.getLike(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/likes/{likeId}',\n pathParams: { likeId: 'likeId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryLikes(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixBlogV1LikeUniversalTypes.QueryLikesRequest,\n ambassadorWixBlogV1LikeTypes.QueryLikesRequest,\n ambassadorWixBlogV1LikeUniversalTypes.QueryLikesResponse,\n ambassadorWixBlogV1LikeTypes.QueryLikesResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV1Like.queryLikes(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/likes/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteLike(): __PublicMethodMetaInfo<\n 'DELETE',\n { likeId: string },\n ambassadorWixBlogV1LikeUniversalTypes.DeleteLikeRequest,\n ambassadorWixBlogV1LikeTypes.DeleteLikeRequest,\n ambassadorWixBlogV1LikeUniversalTypes.DeleteLikeResponse,\n ambassadorWixBlogV1LikeTypes.DeleteLikeResponse\n> {\n const payload = { likeId: ':likeId' } as any;\n\n const getRequestOptions = ambassadorWixBlogV1Like.deleteLike(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/likes/{likeId}',\n pathParams: { likeId: 'likeId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteLikeByFqdnAndEntityId(): __PublicMethodMetaInfo<\n 'DELETE',\n { fqdn: string; entityId: string },\n ambassadorWixBlogV1LikeUniversalTypes.DeleteLikeByFqdnAndEntityIdRequest,\n ambassadorWixBlogV1LikeTypes.DeleteLikeByFqdnAndEntityIdRequest,\n ambassadorWixBlogV1LikeUniversalTypes.DeleteLikeByFqdnAndEntityIdResponse,\n ambassadorWixBlogV1LikeTypes.DeleteLikeByFqdnAndEntityIdResponse\n> {\n const payload = { fqdn: ':fqdn', entityId: ':entityId' } as any;\n\n const getRequestOptions =\n ambassadorWixBlogV1Like.deleteLikeByFqdnAndEntityId(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/likes/fqdn/{fqdn}/entity-id/{entityId}',\n pathParams: { fqdn: 'fqdn', entityId: 'entityId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Like as LikeOriginal,\n CreateLikeRequest as CreateLikeRequestOriginal,\n CreateLikeResponse as CreateLikeResponseOriginal,\n GetLikeRequest as GetLikeRequestOriginal,\n GetLikeResponse as GetLikeResponseOriginal,\n GetLikeByFqdnAndEntityIdRequest as GetLikeByFqdnAndEntityIdRequestOriginal,\n GetLikeByFqdnAndEntityIdResponse as GetLikeByFqdnAndEntityIdResponseOriginal,\n QueryLikesRequest as QueryLikesRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryLikesResponse as QueryLikesResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n CountLikesRequest as CountLikesRequestOriginal,\n CountLikesResponse as CountLikesResponseOriginal,\n DeleteLikeRequest as DeleteLikeRequestOriginal,\n DeleteLikeResponse as DeleteLikeResponseOriginal,\n DeleteLikeByFqdnAndEntityIdRequest as DeleteLikeByFqdnAndEntityIdRequestOriginal,\n DeleteLikeByFqdnAndEntityIdResponse as DeleteLikeByFqdnAndEntityIdResponseOriginal,\n BulkCreateLikesMigrationRequest as BulkCreateLikesMigrationRequestOriginal,\n MigrationLike as MigrationLikeOriginal,\n BulkCreateLikesMigrationResponse as BulkCreateLikesMigrationResponseOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n CountLikesMigrationRequest as CountLikesMigrationRequestOriginal,\n CountLikesMigrationResponse as CountLikesMigrationResponseOriginal,\n QueryLikesMigrationRequest as QueryLikesMigrationRequestOriginal,\n QueryLikesMigrationResponse as QueryLikesMigrationResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n Empty as EmptyOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n} from './blog-v1-like-likes.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3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,wBAAwB;AAAA,EAC1B;AACF;AAEO,SAASC,+BAOd;AACA,QAAM,UAAU,EAAE,MAAM,SAAS,UAAU,YAAY;AAEvD,QAAM,oBACoB,4BAA4B,OAAO;AAE7D,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,EAAE,MAAM,QAAQ,UAAU,WAAW;AAAA,IACjD,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","SortOrder","WebhookIdentityType","createLike","getLike","queryLikes","deleteLike","deleteLikeByFqdnAndEntityId"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wix/auto_sdk_blog_likes",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [],
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"main": "./build/cjs/index.js",
|
|
12
|
+
"types": "./build/cjs/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"import": "./build/es/index.mjs",
|
|
16
|
+
"require": "./build/cjs/index.js",
|
|
17
|
+
"types": "./build/es/index.d.mts"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json",
|
|
20
|
+
"./meta": {
|
|
21
|
+
"import": "./build/es/meta.mjs",
|
|
22
|
+
"require": "./build/cjs/meta.js",
|
|
23
|
+
"types": "./build/es/meta.d.mts"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"build",
|
|
28
|
+
"meta",
|
|
29
|
+
"service-plugins"
|
|
30
|
+
],
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.0",
|
|
33
|
+
"@wix/sdk-types": "^1.13.35"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"tsup": "^8.4.0",
|
|
37
|
+
"typescript": "^5.3.2"
|
|
38
|
+
},
|
|
39
|
+
"scripts": {
|
|
40
|
+
"build": "tsup",
|
|
41
|
+
"test": ":"
|
|
42
|
+
},
|
|
43
|
+
"wix": {
|
|
44
|
+
"artifact": {
|
|
45
|
+
"artifactId": "auto-sdk-blog-likes",
|
|
46
|
+
"groupId": "com.wixpress.public-sdk-dependencies"
|
|
47
|
+
},
|
|
48
|
+
"sdkDependency": {
|
|
49
|
+
"fqdnNamespace": "likes",
|
|
50
|
+
"fqdn": "wix.blog.v1.like"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"falconPackageHash": "aea8a8908421c07b5b2fc336430f4f64104d1f69cd4bc7efb9858046"
|
|
54
|
+
}
|