@wix/blog 1.0.228 → 1.0.229
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/context.d.ts +4 -0
- package/build/cjs/context.js +31 -0
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/src/blog-v3-category.context.d.ts +6 -0
- package/build/cjs/src/blog-v3-category.context.js +49 -0
- package/build/cjs/src/blog-v3-category.context.js.map +1 -0
- package/build/cjs/src/blog-v3-draft.context.d.ts +16 -0
- package/build/cjs/src/blog-v3-draft.context.js +159 -0
- package/build/cjs/src/blog-v3-draft.context.js.map +1 -0
- package/build/cjs/src/blog-v3-post.context.d.ts +9 -0
- package/build/cjs/src/blog-v3-post.context.js +82 -0
- package/build/cjs/src/blog-v3-post.context.js.map +1 -0
- package/build/cjs/src/blog-v3-tag.context.d.ts +6 -0
- package/build/cjs/src/blog-v3-tag.context.js +49 -0
- package/build/cjs/src/blog-v3-tag.context.js.map +1 -0
- package/build/es/context.d.ts +4 -0
- package/build/es/context.js +5 -0
- package/build/es/context.js.map +1 -0
- package/build/es/src/blog-v3-category.context.d.ts +6 -0
- package/build/es/src/blog-v3-category.context.js +42 -0
- package/build/es/src/blog-v3-category.context.js.map +1 -0
- package/build/es/src/blog-v3-draft.context.d.ts +16 -0
- package/build/es/src/blog-v3-draft.context.js +142 -0
- package/build/es/src/blog-v3-draft.context.js.map +1 -0
- package/build/es/src/blog-v3-post.context.d.ts +9 -0
- package/build/es/src/blog-v3-post.context.js +72 -0
- package/build/es/src/blog-v3-post.context.js.map +1 -0
- package/build/es/src/blog-v3-tag.context.d.ts +6 -0
- package/build/es/src/blog-v3-tag.context.js +42 -0
- package/build/es/src/blog-v3-tag.context.js.map +1 -0
- package/context/package.json +6 -0
- package/package.json +6 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.tags = exports.posts = exports.draftPosts = exports.categories = void 0;
|
|
27
|
+
exports.categories = __importStar(require("./src/blog-v3-category.context"));
|
|
28
|
+
exports.draftPosts = __importStar(require("./src/blog-v3-draft.context"));
|
|
29
|
+
exports.posts = __importStar(require("./src/blog-v3-post.context"));
|
|
30
|
+
exports.tags = __importStar(require("./src/blog-v3-tag.context"));
|
|
31
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6EAA6D;AAC7D,0EAA0D;AAC1D,oEAAoD;AACpD,kEAAkD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getCategory as publicGetCategory, getCategoryBySlug as publicGetCategoryBySlug, listCategories as publicListCategories, queryCategories as publicQueryCategories } from './blog-v3-category.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getCategory: BuildRESTFunction<typeof publicGetCategory>;
|
|
4
|
+
export declare const getCategoryBySlug: BuildRESTFunction<typeof publicGetCategoryBySlug>;
|
|
5
|
+
export declare const listCategories: BuildRESTFunction<typeof publicListCategories>;
|
|
6
|
+
export declare const queryCategories: BuildRESTFunction<typeof publicQueryCategories>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = void 0;
|
|
4
|
+
const blog_v3_category_public_1 = require("./blog-v3-category.public");
|
|
5
|
+
const getCategory = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(blog_v3_category_public_1.getCategory)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.getCategory = getCategory;
|
|
16
|
+
const getCategoryBySlug = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(blog_v3_category_public_1.getCategoryBySlug)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getCategoryBySlug = getCategoryBySlug;
|
|
27
|
+
const listCategories = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(blog_v3_category_public_1.listCategories)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.listCategories = listCategories;
|
|
38
|
+
const queryCategories = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(blog_v3_category_public_1.queryCategories)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.queryCategories = queryCategories;
|
|
49
|
+
//# sourceMappingURL=blog-v3-category.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-category.context.js","sourceRoot":"","sources":["../../../src/blog-v3-category.context.ts"],"names":[],"mappings":";;;AAAA,uEAKmC;AAG5B,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,qCAAiB,CAAC;SACjC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB;AACK,MAAM,iBAAiB,GAE1B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2CAAuB,CAAC;SACvC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,iBAAiB,qBAa5B;AACK,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,wCAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB;AACK,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,yCAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost } from './blog-v3-draft.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost>;
|
|
4
|
+
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts>;
|
|
5
|
+
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts>;
|
|
6
|
+
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts>;
|
|
7
|
+
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost>;
|
|
8
|
+
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost>;
|
|
9
|
+
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost>;
|
|
10
|
+
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin>;
|
|
11
|
+
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts>;
|
|
12
|
+
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts>;
|
|
13
|
+
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost>;
|
|
14
|
+
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin>;
|
|
15
|
+
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts>;
|
|
16
|
+
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost>;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.publishDraftPost = exports.queryDraftPosts = exports.restoreFromTrashBin = exports.getDeletedDraftPost = exports.listDraftPosts = exports.bulkDeleteDraftPosts = exports.removeFromTrashBin = exports.deleteDraftPost = exports.updateDraftPost = exports.getDraftPost = exports.listDeletedDraftPosts = exports.bulkUpdateDraftPosts = exports.bulkCreateDraftPosts = exports.createDraftPost = void 0;
|
|
4
|
+
const blog_v3_draft_public_1 = require("./blog-v3-draft.public");
|
|
5
|
+
const createDraftPost = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(blog_v3_draft_public_1.createDraftPost)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.createDraftPost = createDraftPost;
|
|
16
|
+
const bulkCreateDraftPosts = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(blog_v3_draft_public_1.bulkCreateDraftPosts)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.bulkCreateDraftPosts = bulkCreateDraftPosts;
|
|
27
|
+
const bulkUpdateDraftPosts = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(blog_v3_draft_public_1.bulkUpdateDraftPosts)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.bulkUpdateDraftPosts = bulkUpdateDraftPosts;
|
|
38
|
+
const listDeletedDraftPosts = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(blog_v3_draft_public_1.listDeletedDraftPosts)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.listDeletedDraftPosts = listDeletedDraftPosts;
|
|
49
|
+
const getDraftPost = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(blog_v3_draft_public_1.getDraftPost)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.getDraftPost = getDraftPost;
|
|
60
|
+
const updateDraftPost = (...args) => {
|
|
61
|
+
// @ts-expect-error
|
|
62
|
+
if (!globalThis.__wix_context__) {
|
|
63
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
+
}
|
|
65
|
+
// @ts-expect-error
|
|
66
|
+
return globalThis.__wix_context__
|
|
67
|
+
.initWixModules(blog_v3_draft_public_1.updateDraftPost)
|
|
68
|
+
.apply(undefined, args);
|
|
69
|
+
};
|
|
70
|
+
exports.updateDraftPost = updateDraftPost;
|
|
71
|
+
const deleteDraftPost = (...args) => {
|
|
72
|
+
// @ts-expect-error
|
|
73
|
+
if (!globalThis.__wix_context__) {
|
|
74
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
+
}
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
return globalThis.__wix_context__
|
|
78
|
+
.initWixModules(blog_v3_draft_public_1.deleteDraftPost)
|
|
79
|
+
.apply(undefined, args);
|
|
80
|
+
};
|
|
81
|
+
exports.deleteDraftPost = deleteDraftPost;
|
|
82
|
+
const removeFromTrashBin = (...args) => {
|
|
83
|
+
// @ts-expect-error
|
|
84
|
+
if (!globalThis.__wix_context__) {
|
|
85
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
86
|
+
}
|
|
87
|
+
// @ts-expect-error
|
|
88
|
+
return globalThis.__wix_context__
|
|
89
|
+
.initWixModules(blog_v3_draft_public_1.removeFromTrashBin)
|
|
90
|
+
.apply(undefined, args);
|
|
91
|
+
};
|
|
92
|
+
exports.removeFromTrashBin = removeFromTrashBin;
|
|
93
|
+
const bulkDeleteDraftPosts = (...args) => {
|
|
94
|
+
// @ts-expect-error
|
|
95
|
+
if (!globalThis.__wix_context__) {
|
|
96
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
97
|
+
}
|
|
98
|
+
// @ts-expect-error
|
|
99
|
+
return globalThis.__wix_context__
|
|
100
|
+
.initWixModules(blog_v3_draft_public_1.bulkDeleteDraftPosts)
|
|
101
|
+
.apply(undefined, args);
|
|
102
|
+
};
|
|
103
|
+
exports.bulkDeleteDraftPosts = bulkDeleteDraftPosts;
|
|
104
|
+
const listDraftPosts = (...args) => {
|
|
105
|
+
// @ts-expect-error
|
|
106
|
+
if (!globalThis.__wix_context__) {
|
|
107
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
108
|
+
}
|
|
109
|
+
// @ts-expect-error
|
|
110
|
+
return globalThis.__wix_context__
|
|
111
|
+
.initWixModules(blog_v3_draft_public_1.listDraftPosts)
|
|
112
|
+
.apply(undefined, args);
|
|
113
|
+
};
|
|
114
|
+
exports.listDraftPosts = listDraftPosts;
|
|
115
|
+
const getDeletedDraftPost = (...args) => {
|
|
116
|
+
// @ts-expect-error
|
|
117
|
+
if (!globalThis.__wix_context__) {
|
|
118
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
119
|
+
}
|
|
120
|
+
// @ts-expect-error
|
|
121
|
+
return globalThis.__wix_context__
|
|
122
|
+
.initWixModules(blog_v3_draft_public_1.getDeletedDraftPost)
|
|
123
|
+
.apply(undefined, args);
|
|
124
|
+
};
|
|
125
|
+
exports.getDeletedDraftPost = getDeletedDraftPost;
|
|
126
|
+
const restoreFromTrashBin = (...args) => {
|
|
127
|
+
// @ts-expect-error
|
|
128
|
+
if (!globalThis.__wix_context__) {
|
|
129
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
130
|
+
}
|
|
131
|
+
// @ts-expect-error
|
|
132
|
+
return globalThis.__wix_context__
|
|
133
|
+
.initWixModules(blog_v3_draft_public_1.restoreFromTrashBin)
|
|
134
|
+
.apply(undefined, args);
|
|
135
|
+
};
|
|
136
|
+
exports.restoreFromTrashBin = restoreFromTrashBin;
|
|
137
|
+
const queryDraftPosts = (...args) => {
|
|
138
|
+
// @ts-expect-error
|
|
139
|
+
if (!globalThis.__wix_context__) {
|
|
140
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
141
|
+
}
|
|
142
|
+
// @ts-expect-error
|
|
143
|
+
return globalThis.__wix_context__
|
|
144
|
+
.initWixModules(blog_v3_draft_public_1.queryDraftPosts)
|
|
145
|
+
.apply(undefined, args);
|
|
146
|
+
};
|
|
147
|
+
exports.queryDraftPosts = queryDraftPosts;
|
|
148
|
+
const publishDraftPost = (...args) => {
|
|
149
|
+
// @ts-expect-error
|
|
150
|
+
if (!globalThis.__wix_context__) {
|
|
151
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
152
|
+
}
|
|
153
|
+
// @ts-expect-error
|
|
154
|
+
return globalThis.__wix_context__
|
|
155
|
+
.initWixModules(blog_v3_draft_public_1.publishDraftPost)
|
|
156
|
+
.apply(undefined, args);
|
|
157
|
+
};
|
|
158
|
+
exports.publishDraftPost = publishDraftPost;
|
|
159
|
+
//# sourceMappingURL=blog-v3-draft.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-draft.context.js","sourceRoot":"","sources":["../../../src/blog-v3-draft.context.ts"],"names":[],"mappings":";;;AAAA,iEAegC;AAGzB,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,sCAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,eAAe,mBAa1B;AACK,MAAM,oBAAoB,GAE7B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2CAA0B,CAAC;SAC1C,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,oBAAoB,wBAa/B;AACK,MAAM,oBAAoB,GAE7B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc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;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,uCAAsB,CAAC;SACtC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,gBAAgB,oBAa3B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getPost: BuildRESTFunction<typeof publicGetPost>;
|
|
4
|
+
export declare const getPostBySlug: BuildRESTFunction<typeof publicGetPostBySlug>;
|
|
5
|
+
export declare const listPosts: BuildRESTFunction<typeof publicListPosts>;
|
|
6
|
+
export declare const queryPosts: BuildRESTFunction<typeof publicQueryPosts>;
|
|
7
|
+
export declare const getPostMetrics: BuildRESTFunction<typeof publicGetPostMetrics>;
|
|
8
|
+
export declare const queryPostCountStats: BuildRESTFunction<typeof publicQueryPostCountStats>;
|
|
9
|
+
export declare const getTotalPosts: BuildRESTFunction<typeof publicGetTotalPosts>;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0;
|
|
4
|
+
const blog_v3_post_public_1 = require("./blog-v3-post.public");
|
|
5
|
+
const getPost = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(blog_v3_post_public_1.getPost)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.getPost = getPost;
|
|
16
|
+
const getPostBySlug = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(blog_v3_post_public_1.getPostBySlug)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getPostBySlug = getPostBySlug;
|
|
27
|
+
const listPosts = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(blog_v3_post_public_1.listPosts)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.listPosts = listPosts;
|
|
38
|
+
const queryPosts = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(blog_v3_post_public_1.queryPosts)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.queryPosts = queryPosts;
|
|
49
|
+
const getPostMetrics = (...args) => {
|
|
50
|
+
// @ts-expect-error
|
|
51
|
+
if (!globalThis.__wix_context__) {
|
|
52
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
53
|
+
}
|
|
54
|
+
// @ts-expect-error
|
|
55
|
+
return globalThis.__wix_context__
|
|
56
|
+
.initWixModules(blog_v3_post_public_1.getPostMetrics)
|
|
57
|
+
.apply(undefined, args);
|
|
58
|
+
};
|
|
59
|
+
exports.getPostMetrics = getPostMetrics;
|
|
60
|
+
const queryPostCountStats = (...args) => {
|
|
61
|
+
// @ts-expect-error
|
|
62
|
+
if (!globalThis.__wix_context__) {
|
|
63
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
64
|
+
}
|
|
65
|
+
// @ts-expect-error
|
|
66
|
+
return globalThis.__wix_context__
|
|
67
|
+
.initWixModules(blog_v3_post_public_1.queryPostCountStats)
|
|
68
|
+
.apply(undefined, args);
|
|
69
|
+
};
|
|
70
|
+
exports.queryPostCountStats = queryPostCountStats;
|
|
71
|
+
const getTotalPosts = (...args) => {
|
|
72
|
+
// @ts-expect-error
|
|
73
|
+
if (!globalThis.__wix_context__) {
|
|
74
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
75
|
+
}
|
|
76
|
+
// @ts-expect-error
|
|
77
|
+
return globalThis.__wix_context__
|
|
78
|
+
.initWixModules(blog_v3_post_public_1.getTotalPosts)
|
|
79
|
+
.apply(undefined, args);
|
|
80
|
+
};
|
|
81
|
+
exports.getTotalPosts = getTotalPosts;
|
|
82
|
+
//# sourceMappingURL=blog-v3-post.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-post.context.js","sourceRoot":"","sources":["../../../src/blog-v3-post.context.ts"],"names":[],"mappings":";;;AAAA,+DAQ+B;AAGxB,MAAM,OAAO,GAA4C,CAC9D,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,e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AAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,UAAU,cAarB;AACK,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,oCAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,cAAc,kBAazB;AACK,MAAM,mBAAmB,GAE5B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,yCAAyB,CAAC;SACzC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,mBAAmB,uBAa9B;AACK,MAAM,aAAa,GAAkD,CAC1E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,mCAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getTagByLabel as publicGetTagByLabel, getTag as publicGetTag, getTagBySlug as publicGetTagBySlug, queryTags as publicQueryTags } from './blog-v3-tag.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getTagByLabel: BuildRESTFunction<typeof publicGetTagByLabel>;
|
|
4
|
+
export declare const getTag: BuildRESTFunction<typeof publicGetTag>;
|
|
5
|
+
export declare const getTagBySlug: BuildRESTFunction<typeof publicGetTagBySlug>;
|
|
6
|
+
export declare const queryTags: BuildRESTFunction<typeof publicQueryTags>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.queryTags = exports.getTagBySlug = exports.getTag = exports.getTagByLabel = void 0;
|
|
4
|
+
const blog_v3_tag_public_1 = require("./blog-v3-tag.public");
|
|
5
|
+
const getTagByLabel = (...args) => {
|
|
6
|
+
// @ts-expect-error
|
|
7
|
+
if (!globalThis.__wix_context__) {
|
|
8
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
9
|
+
}
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
return globalThis.__wix_context__
|
|
12
|
+
.initWixModules(blog_v3_tag_public_1.getTagByLabel)
|
|
13
|
+
.apply(undefined, args);
|
|
14
|
+
};
|
|
15
|
+
exports.getTagByLabel = getTagByLabel;
|
|
16
|
+
const getTag = (...args) => {
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
if (!globalThis.__wix_context__) {
|
|
19
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
20
|
+
}
|
|
21
|
+
// @ts-expect-error
|
|
22
|
+
return globalThis.__wix_context__
|
|
23
|
+
.initWixModules(blog_v3_tag_public_1.getTag)
|
|
24
|
+
.apply(undefined, args);
|
|
25
|
+
};
|
|
26
|
+
exports.getTag = getTag;
|
|
27
|
+
const getTagBySlug = (...args) => {
|
|
28
|
+
// @ts-expect-error
|
|
29
|
+
if (!globalThis.__wix_context__) {
|
|
30
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
31
|
+
}
|
|
32
|
+
// @ts-expect-error
|
|
33
|
+
return globalThis.__wix_context__
|
|
34
|
+
.initWixModules(blog_v3_tag_public_1.getTagBySlug)
|
|
35
|
+
.apply(undefined, args);
|
|
36
|
+
};
|
|
37
|
+
exports.getTagBySlug = getTagBySlug;
|
|
38
|
+
const queryTags = (...args) => {
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
if (!globalThis.__wix_context__) {
|
|
41
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
42
|
+
}
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
return globalThis.__wix_context__
|
|
45
|
+
.initWixModules(blog_v3_tag_public_1.queryTags)
|
|
46
|
+
.apply(undefined, args);
|
|
47
|
+
};
|
|
48
|
+
exports.queryTags = queryTags;
|
|
49
|
+
//# sourceMappingURL=blog-v3-tag.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-tag.context.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.context.ts"],"names":[],"mappings":";;;AAAA,6DAK8B;AAGvB,MAAM,aAAa,GAAkD,CAC1E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,kCAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,aAAa,iBAaxB;AACK,MAAM,MAAM,GAA2C,CAC5D,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,2BAAY,CAAC;SAC5B,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,MAAM,UAajB;AACK,MAAM,YAAY,GAAiD,CACxE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,iCAAkB,CAAC;SAClC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,YAAY,gBAavB;AACK,MAAM,SAAS,GAA8C,CAClE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,8BAAe,CAAC;SAC/B,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AAbW,QAAA,SAAS,aAapB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","sourceRoot":"","sources":["../../context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,4BAA4B,CAAC;AACpD,OAAO,KAAK,IAAI,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getCategory as publicGetCategory, getCategoryBySlug as publicGetCategoryBySlug, listCategories as publicListCategories, queryCategories as publicQueryCategories } from './blog-v3-category.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getCategory: BuildRESTFunction<typeof publicGetCategory>;
|
|
4
|
+
export declare const getCategoryBySlug: BuildRESTFunction<typeof publicGetCategoryBySlug>;
|
|
5
|
+
export declare const listCategories: BuildRESTFunction<typeof publicListCategories>;
|
|
6
|
+
export declare const queryCategories: BuildRESTFunction<typeof publicQueryCategories>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getCategory as publicGetCategory, getCategoryBySlug as publicGetCategoryBySlug, listCategories as publicListCategories, queryCategories as publicQueryCategories, } from './blog-v3-category.public';
|
|
2
|
+
export const getCategory = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicGetCategory)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const getCategoryBySlug = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicGetCategoryBySlug)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const listCategories = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicListCategories)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const queryCategories = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicQueryCategories)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=blog-v3-category.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-category.context.js","sourceRoot":"","sources":["../../../src/blog-v3-category.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,IAAI,iBAAiB,EAChC,iBAAiB,IAAI,uBAAuB,EAC5C,cAAc,IAAI,oBAAoB,EACtC,eAAe,IAAI,qBAAqB,GACzC,MAAM,2BAA2B,CAAC;AAGnC,MAAM,CAAC,MAAM,WAAW,GAAgD,CACtE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,iBAAiB,CAAC;SACjC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,iBAAiB,GAE1B,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,uBAAuB,CAAC;SACvC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,cAAc,GAAmD,CAC5E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,oBAAoB,CAAC;SACpC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,qBAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost } from './blog-v3-draft.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const createDraftPost: BuildRESTFunction<typeof publicCreateDraftPost>;
|
|
4
|
+
export declare const bulkCreateDraftPosts: BuildRESTFunction<typeof publicBulkCreateDraftPosts>;
|
|
5
|
+
export declare const bulkUpdateDraftPosts: BuildRESTFunction<typeof publicBulkUpdateDraftPosts>;
|
|
6
|
+
export declare const listDeletedDraftPosts: BuildRESTFunction<typeof publicListDeletedDraftPosts>;
|
|
7
|
+
export declare const getDraftPost: BuildRESTFunction<typeof publicGetDraftPost>;
|
|
8
|
+
export declare const updateDraftPost: BuildRESTFunction<typeof publicUpdateDraftPost>;
|
|
9
|
+
export declare const deleteDraftPost: BuildRESTFunction<typeof publicDeleteDraftPost>;
|
|
10
|
+
export declare const removeFromTrashBin: BuildRESTFunction<typeof publicRemoveFromTrashBin>;
|
|
11
|
+
export declare const bulkDeleteDraftPosts: BuildRESTFunction<typeof publicBulkDeleteDraftPosts>;
|
|
12
|
+
export declare const listDraftPosts: BuildRESTFunction<typeof publicListDraftPosts>;
|
|
13
|
+
export declare const getDeletedDraftPost: BuildRESTFunction<typeof publicGetDeletedDraftPost>;
|
|
14
|
+
export declare const restoreFromTrashBin: BuildRESTFunction<typeof publicRestoreFromTrashBin>;
|
|
15
|
+
export declare const queryDraftPosts: BuildRESTFunction<typeof publicQueryDraftPosts>;
|
|
16
|
+
export declare const publishDraftPost: BuildRESTFunction<typeof publicPublishDraftPost>;
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { createDraftPost as publicCreateDraftPost, bulkCreateDraftPosts as publicBulkCreateDraftPosts, bulkUpdateDraftPosts as publicBulkUpdateDraftPosts, listDeletedDraftPosts as publicListDeletedDraftPosts, getDraftPost as publicGetDraftPost, updateDraftPost as publicUpdateDraftPost, deleteDraftPost as publicDeleteDraftPost, removeFromTrashBin as publicRemoveFromTrashBin, bulkDeleteDraftPosts as publicBulkDeleteDraftPosts, listDraftPosts as publicListDraftPosts, getDeletedDraftPost as publicGetDeletedDraftPost, restoreFromTrashBin as publicRestoreFromTrashBin, queryDraftPosts as publicQueryDraftPosts, publishDraftPost as publicPublishDraftPost, } from './blog-v3-draft.public';
|
|
2
|
+
export const createDraftPost = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicCreateDraftPost)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const bulkCreateDraftPosts = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicBulkCreateDraftPosts)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const bulkUpdateDraftPosts = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicBulkUpdateDraftPosts)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const listDeletedDraftPosts = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicListDeletedDraftPosts)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
export const getDraftPost = (...args) => {
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
if (!globalThis.__wix_context__) {
|
|
45
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
46
|
+
}
|
|
47
|
+
// @ts-expect-error
|
|
48
|
+
return globalThis.__wix_context__
|
|
49
|
+
.initWixModules(publicGetDraftPost)
|
|
50
|
+
.apply(undefined, args);
|
|
51
|
+
};
|
|
52
|
+
export const updateDraftPost = (...args) => {
|
|
53
|
+
// @ts-expect-error
|
|
54
|
+
if (!globalThis.__wix_context__) {
|
|
55
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
56
|
+
}
|
|
57
|
+
// @ts-expect-error
|
|
58
|
+
return globalThis.__wix_context__
|
|
59
|
+
.initWixModules(publicUpdateDraftPost)
|
|
60
|
+
.apply(undefined, args);
|
|
61
|
+
};
|
|
62
|
+
export const deleteDraftPost = (...args) => {
|
|
63
|
+
// @ts-expect-error
|
|
64
|
+
if (!globalThis.__wix_context__) {
|
|
65
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
66
|
+
}
|
|
67
|
+
// @ts-expect-error
|
|
68
|
+
return globalThis.__wix_context__
|
|
69
|
+
.initWixModules(publicDeleteDraftPost)
|
|
70
|
+
.apply(undefined, args);
|
|
71
|
+
};
|
|
72
|
+
export const removeFromTrashBin = (...args) => {
|
|
73
|
+
// @ts-expect-error
|
|
74
|
+
if (!globalThis.__wix_context__) {
|
|
75
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
76
|
+
}
|
|
77
|
+
// @ts-expect-error
|
|
78
|
+
return globalThis.__wix_context__
|
|
79
|
+
.initWixModules(publicRemoveFromTrashBin)
|
|
80
|
+
.apply(undefined, args);
|
|
81
|
+
};
|
|
82
|
+
export const bulkDeleteDraftPosts = (...args) => {
|
|
83
|
+
// @ts-expect-error
|
|
84
|
+
if (!globalThis.__wix_context__) {
|
|
85
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
86
|
+
}
|
|
87
|
+
// @ts-expect-error
|
|
88
|
+
return globalThis.__wix_context__
|
|
89
|
+
.initWixModules(publicBulkDeleteDraftPosts)
|
|
90
|
+
.apply(undefined, args);
|
|
91
|
+
};
|
|
92
|
+
export const listDraftPosts = (...args) => {
|
|
93
|
+
// @ts-expect-error
|
|
94
|
+
if (!globalThis.__wix_context__) {
|
|
95
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
96
|
+
}
|
|
97
|
+
// @ts-expect-error
|
|
98
|
+
return globalThis.__wix_context__
|
|
99
|
+
.initWixModules(publicListDraftPosts)
|
|
100
|
+
.apply(undefined, args);
|
|
101
|
+
};
|
|
102
|
+
export const getDeletedDraftPost = (...args) => {
|
|
103
|
+
// @ts-expect-error
|
|
104
|
+
if (!globalThis.__wix_context__) {
|
|
105
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
106
|
+
}
|
|
107
|
+
// @ts-expect-error
|
|
108
|
+
return globalThis.__wix_context__
|
|
109
|
+
.initWixModules(publicGetDeletedDraftPost)
|
|
110
|
+
.apply(undefined, args);
|
|
111
|
+
};
|
|
112
|
+
export const restoreFromTrashBin = (...args) => {
|
|
113
|
+
// @ts-expect-error
|
|
114
|
+
if (!globalThis.__wix_context__) {
|
|
115
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
116
|
+
}
|
|
117
|
+
// @ts-expect-error
|
|
118
|
+
return globalThis.__wix_context__
|
|
119
|
+
.initWixModules(publicRestoreFromTrashBin)
|
|
120
|
+
.apply(undefined, args);
|
|
121
|
+
};
|
|
122
|
+
export const queryDraftPosts = (...args) => {
|
|
123
|
+
// @ts-expect-error
|
|
124
|
+
if (!globalThis.__wix_context__) {
|
|
125
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
126
|
+
}
|
|
127
|
+
// @ts-expect-error
|
|
128
|
+
return globalThis.__wix_context__
|
|
129
|
+
.initWixModules(publicQueryDraftPosts)
|
|
130
|
+
.apply(undefined, args);
|
|
131
|
+
};
|
|
132
|
+
export const publishDraftPost = (...args) => {
|
|
133
|
+
// @ts-expect-error
|
|
134
|
+
if (!globalThis.__wix_context__) {
|
|
135
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
136
|
+
}
|
|
137
|
+
// @ts-expect-error
|
|
138
|
+
return globalThis.__wix_context__
|
|
139
|
+
.initWixModules(publicPublishDraftPost)
|
|
140
|
+
.apply(undefined, args);
|
|
141
|
+
};
|
|
142
|
+
//# sourceMappingURL=blog-v3-draft.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-draft.context.js","sourceRoot":"","sources":["../../../src/blog-v3-draft.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,qBAAqB,EACxC,oBAAoB,IAAI,0BAA0B,EAClD,oBAAoB,IAAI,0BAA0B,EAClD,qBAAqB,IAAI,2BAA2B,EACpD,YAAY,IAAI,kBAAkB,EAClC,eAAe,IAAI,qBAAqB,EACxC,eAAe,IAAI,qBAAqB,EACxC,kBAAkB,IAAI,wBAAwB,EAC9C,oBAAoB,IAAI,0BAA0B,EAClD,cAAc,IAAI,oBAAoB,EACtC,mBAAmB,IAAI,yBAAyB,EAChD,mBAAmB,IAAI,yBAAyB,EAChD,eAAe,IAAI,qBAAqB,EACxC,gBAAgB,IAAI,sBAAsB,GAC3C,MAAM,wBAAwB,CAAC;AAGhC,MAAM,CAAC,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAA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AmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,yBAAyB,CAAC;SACzC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,eAAe,GAExB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,qBAAqB,CAAC;SACrC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,gBAAgB,GAEzB,CAAC,GAAG,IAAS,EAAE,EAAE;IACnB,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,sBAAsB,CAAC;SACtC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts } from './blog-v3-post.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getPost: BuildRESTFunction<typeof publicGetPost>;
|
|
4
|
+
export declare const getPostBySlug: BuildRESTFunction<typeof publicGetPostBySlug>;
|
|
5
|
+
export declare const listPosts: BuildRESTFunction<typeof publicListPosts>;
|
|
6
|
+
export declare const queryPosts: BuildRESTFunction<typeof publicQueryPosts>;
|
|
7
|
+
export declare const getPostMetrics: BuildRESTFunction<typeof publicGetPostMetrics>;
|
|
8
|
+
export declare const queryPostCountStats: BuildRESTFunction<typeof publicQueryPostCountStats>;
|
|
9
|
+
export declare const getTotalPosts: BuildRESTFunction<typeof publicGetTotalPosts>;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { getPost as publicGetPost, getPostBySlug as publicGetPostBySlug, listPosts as publicListPosts, queryPosts as publicQueryPosts, getPostMetrics as publicGetPostMetrics, queryPostCountStats as publicQueryPostCountStats, getTotalPosts as publicGetTotalPosts, } from './blog-v3-post.public';
|
|
2
|
+
export const getPost = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicGetPost)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const getPostBySlug = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicGetPostBySlug)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const listPosts = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicListPosts)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const queryPosts = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicQueryPosts)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
export const getPostMetrics = (...args) => {
|
|
43
|
+
// @ts-expect-error
|
|
44
|
+
if (!globalThis.__wix_context__) {
|
|
45
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
46
|
+
}
|
|
47
|
+
// @ts-expect-error
|
|
48
|
+
return globalThis.__wix_context__
|
|
49
|
+
.initWixModules(publicGetPostMetrics)
|
|
50
|
+
.apply(undefined, args);
|
|
51
|
+
};
|
|
52
|
+
export const queryPostCountStats = (...args) => {
|
|
53
|
+
// @ts-expect-error
|
|
54
|
+
if (!globalThis.__wix_context__) {
|
|
55
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
56
|
+
}
|
|
57
|
+
// @ts-expect-error
|
|
58
|
+
return globalThis.__wix_context__
|
|
59
|
+
.initWixModules(publicQueryPostCountStats)
|
|
60
|
+
.apply(undefined, args);
|
|
61
|
+
};
|
|
62
|
+
export const getTotalPosts = (...args) => {
|
|
63
|
+
// @ts-expect-error
|
|
64
|
+
if (!globalThis.__wix_context__) {
|
|
65
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
66
|
+
}
|
|
67
|
+
// @ts-expect-error
|
|
68
|
+
return globalThis.__wix_context__
|
|
69
|
+
.initWixModules(publicGetTotalPosts)
|
|
70
|
+
.apply(undefined, args);
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=blog-v3-post.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog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,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,mBAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getTagByLabel as publicGetTagByLabel, getTag as publicGetTag, getTagBySlug as publicGetTagBySlug, queryTags as publicQueryTags } from './blog-v3-tag.public';
|
|
2
|
+
import { BuildRESTFunction } from '@wix/sdk-types';
|
|
3
|
+
export declare const getTagByLabel: BuildRESTFunction<typeof publicGetTagByLabel>;
|
|
4
|
+
export declare const getTag: BuildRESTFunction<typeof publicGetTag>;
|
|
5
|
+
export declare const getTagBySlug: BuildRESTFunction<typeof publicGetTagBySlug>;
|
|
6
|
+
export declare const queryTags: BuildRESTFunction<typeof publicQueryTags>;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getTagByLabel as publicGetTagByLabel, getTag as publicGetTag, getTagBySlug as publicGetTagBySlug, queryTags as publicQueryTags, } from './blog-v3-tag.public';
|
|
2
|
+
export const getTagByLabel = (...args) => {
|
|
3
|
+
// @ts-expect-error
|
|
4
|
+
if (!globalThis.__wix_context__) {
|
|
5
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
6
|
+
}
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
return globalThis.__wix_context__
|
|
9
|
+
.initWixModules(publicGetTagByLabel)
|
|
10
|
+
.apply(undefined, args);
|
|
11
|
+
};
|
|
12
|
+
export const getTag = (...args) => {
|
|
13
|
+
// @ts-expect-error
|
|
14
|
+
if (!globalThis.__wix_context__) {
|
|
15
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
16
|
+
}
|
|
17
|
+
// @ts-expect-error
|
|
18
|
+
return globalThis.__wix_context__
|
|
19
|
+
.initWixModules(publicGetTag)
|
|
20
|
+
.apply(undefined, args);
|
|
21
|
+
};
|
|
22
|
+
export const getTagBySlug = (...args) => {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
if (!globalThis.__wix_context__) {
|
|
25
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
26
|
+
}
|
|
27
|
+
// @ts-expect-error
|
|
28
|
+
return globalThis.__wix_context__
|
|
29
|
+
.initWixModules(publicGetTagBySlug)
|
|
30
|
+
.apply(undefined, args);
|
|
31
|
+
};
|
|
32
|
+
export const queryTags = (...args) => {
|
|
33
|
+
// @ts-expect-error
|
|
34
|
+
if (!globalThis.__wix_context__) {
|
|
35
|
+
throw new Error('Wix context is not available. Make sure to initialize the Wix context before using SDK modules');
|
|
36
|
+
}
|
|
37
|
+
// @ts-expect-error
|
|
38
|
+
return globalThis.__wix_context__
|
|
39
|
+
.initWixModules(publicQueryTags)
|
|
40
|
+
.apply(undefined, args);
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=blog-v3-tag.context.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blog-v3-tag.context.js","sourceRoot":"","sources":["../../../src/blog-v3-tag.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,mBAAmB,EACpC,MAAM,IAAI,YAAY,EACtB,YAAY,IAAI,kBAAkB,EAClC,SAAS,IAAI,eAAe,GAC7B,MAAM,sBAAsB,CAAC;AAG9B,MAAM,CAAC,MAAM,aAAa,GAAkD,CAC1E,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,mBAAmB,CAAC;SACnC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,MAAM,GAA2C,CAC5D,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,YAAY,CAAC;SAC5B,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,YAAY,GAAiD,CACxE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,kBAAkB,CAAC;SAClC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC;AACF,MAAM,CAAC,MAAM,SAAS,GAA8C,CAClE,GAAG,IAAS,EACZ,EAAE;IACF,mBAAmB;IACnB,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACb,gGAAgG,CACjG,CAAC;IACJ,CAAC;IACD,mBAAmB;IACnB,OAAO,UAAU,CAAC,eAAe;SAC9B,cAAc,CAAC,eAAe,CAAC;SAC/B,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;AAC5B,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/blog",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.229",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"build",
|
|
14
14
|
"frontend/package.json",
|
|
15
|
-
"meta"
|
|
15
|
+
"meta",
|
|
16
|
+
"context"
|
|
16
17
|
],
|
|
17
18
|
"dependencies": {
|
|
18
19
|
"@wix/metro-runtime": "^1.1528.0",
|
|
@@ -21,7 +22,8 @@
|
|
|
21
22
|
"@wix/motion-edm-autogen-query-wrapper": "^1.0.37"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"typescript": "^5.3.2"
|
|
25
|
+
"typescript": "^5.3.2",
|
|
26
|
+
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz"
|
|
25
27
|
},
|
|
26
28
|
"scripts": {
|
|
27
29
|
"build": "tsc -b tsconfig.json tsconfig.esm.json",
|
|
@@ -33,5 +35,5 @@
|
|
|
33
35
|
"groupId": "com.wixpress.public-sdk-autogen"
|
|
34
36
|
}
|
|
35
37
|
},
|
|
36
|
-
"falconPackageHash": "
|
|
38
|
+
"falconPackageHash": "bb8a4875889390ec43ddca3b3d2cec94d71e549bf5b05f9743301231"
|
|
37
39
|
}
|