@mx-space/api-client 3.8.0 → 4.0.0-next.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/dist/index.cjs +9 -11
- package/dist/index.d.cts +331 -278
- package/dist/index.d.mts +331 -278
- package/dist/index.mjs +9 -11
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1241,15 +1241,11 @@ let TimelineType = /* @__PURE__ */ function(TimelineType) {
|
|
|
1241
1241
|
}({});
|
|
1242
1242
|
//#endregion
|
|
1243
1243
|
//#region ../../apps/core/src/constants/db.constant.ts
|
|
1244
|
-
const NOTE_COLLECTION_NAME = "notes";
|
|
1245
|
-
const PAGE_COLLECTION_NAME = "pages";
|
|
1246
|
-
const POST_COLLECTION_NAME = "posts";
|
|
1247
|
-
const RECENTLY_COLLECTION_NAME = "recentlies";
|
|
1248
1244
|
let CollectionRefTypes = /* @__PURE__ */ function(CollectionRefTypes) {
|
|
1249
|
-
CollectionRefTypes[
|
|
1250
|
-
CollectionRefTypes[
|
|
1251
|
-
CollectionRefTypes[
|
|
1252
|
-
CollectionRefTypes[
|
|
1245
|
+
CollectionRefTypes["Post"] = "post";
|
|
1246
|
+
CollectionRefTypes["Note"] = "note";
|
|
1247
|
+
CollectionRefTypes["Page"] = "page";
|
|
1248
|
+
CollectionRefTypes["Recently"] = "recently";
|
|
1253
1249
|
return CollectionRefTypes;
|
|
1254
1250
|
}({});
|
|
1255
1251
|
//#endregion
|
|
@@ -1286,9 +1282,10 @@ let EnumPageType = /* @__PURE__ */ function(EnumPageType) {
|
|
|
1286
1282
|
//#endregion
|
|
1287
1283
|
//#region models/recently.ts
|
|
1288
1284
|
let RecentlyRefTypes = /* @__PURE__ */ function(RecentlyRefTypes) {
|
|
1289
|
-
RecentlyRefTypes["Post"] = "
|
|
1290
|
-
RecentlyRefTypes["Note"] = "
|
|
1291
|
-
RecentlyRefTypes["Page"] = "
|
|
1285
|
+
RecentlyRefTypes["Post"] = "post";
|
|
1286
|
+
RecentlyRefTypes["Note"] = "note";
|
|
1287
|
+
RecentlyRefTypes["Page"] = "page";
|
|
1288
|
+
RecentlyRefTypes["Recently"] = "recently";
|
|
1292
1289
|
return RecentlyRefTypes;
|
|
1293
1290
|
}({});
|
|
1294
1291
|
let RecentlyTypeEnum = /* @__PURE__ */ function(RecentlyTypeEnum) {
|
|
@@ -1306,6 +1303,7 @@ let RecentlyTypeEnum = /* @__PURE__ */ function(RecentlyTypeEnum) {
|
|
|
1306
1303
|
//#region models/snippet.ts
|
|
1307
1304
|
let SnippetType = /* @__PURE__ */ function(SnippetType) {
|
|
1308
1305
|
SnippetType["JSON"] = "json";
|
|
1306
|
+
SnippetType["JSON5"] = "json5";
|
|
1309
1307
|
SnippetType["Function"] = "function";
|
|
1310
1308
|
SnippetType["Text"] = "text";
|
|
1311
1309
|
SnippetType["YAML"] = "yaml";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-space/api-client",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-next.0",
|
|
4
4
|
"description": "A api client for mx-space server@next",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"axios": "^1.15.2",
|
|
50
50
|
"camelcase-keys": "^10.0.2",
|
|
51
51
|
"cors": "2.8.6",
|
|
52
|
-
"es-toolkit": "1.46.
|
|
52
|
+
"es-toolkit": "1.46.1",
|
|
53
53
|
"express": "5.2.1",
|
|
54
54
|
"form-data": "4.0.5",
|
|
55
55
|
"tsdown": "0.21.10",
|