@mx-space/api-client 0.4.13 → 0.4.14
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/index.cjs.js +49 -4
- package/build/index.cjs.js.map +1 -1
- package/build/index.cjs.min.js +1 -1
- package/build/index.cjs.min.js.map +1 -1
- package/build/index.d.ts +82 -8
- package/build/index.esm.js +46 -1
- package/build/index.esm.js.map +1 -1
- package/build/index.esm.min.js +1 -1
- package/build/index.esm.min.js.map +1 -1
- package/build/index.umd.js +49 -4
- package/build/index.umd.js.map +1 -1
- package/build/index.umd.min.js +1 -1
- package/build/index.umd.min.js.map +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/esm/models/index.d.ts +14 -0
- package/esm/models/index.js +15 -0
- package/esm/models/index.js.map +1 -0
- package/esm/models/link.d.ts +2 -3
- package/esm/models/link.js +2 -3
- package/esm/models/link.js.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/models/index.d.ts +14 -0
- package/lib/models/index.js +27 -0
- package/lib/models/index.js.map +1 -0
- package/lib/models/link.d.ts +2 -3
- package/lib/models/link.js +3 -5
- package/lib/models/link.js.map +1 -1
- package/package.json +1 -1
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,+BAA+D;AAAtD,oGAAA,YAAY,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,oGAAA,YAAY,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gDAA6B;AAC7B,+BAA+D;AAAtD,oGAAA,YAAY,OAAA;AAAE,kGAAA,UAAU,OAAA;AAAE,oGAAA,YAAY,OAAA;AAC/C,2CAAwB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './aggregate';
|
|
2
|
+
export * from './base';
|
|
3
|
+
export * from './category';
|
|
4
|
+
export * from './comment';
|
|
5
|
+
export * from './link';
|
|
6
|
+
export * from './note';
|
|
7
|
+
export * from './page';
|
|
8
|
+
export * from './post';
|
|
9
|
+
export * from './project';
|
|
10
|
+
export * from './recently';
|
|
11
|
+
export * from './say';
|
|
12
|
+
export * from './setting';
|
|
13
|
+
export * from './snippet';
|
|
14
|
+
export * from './user';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./aggregate"), exports);
|
|
14
|
+
__exportStar(require("./base"), exports);
|
|
15
|
+
__exportStar(require("./category"), exports);
|
|
16
|
+
__exportStar(require("./comment"), exports);
|
|
17
|
+
__exportStar(require("./link"), exports);
|
|
18
|
+
__exportStar(require("./note"), exports);
|
|
19
|
+
__exportStar(require("./page"), exports);
|
|
20
|
+
__exportStar(require("./post"), exports);
|
|
21
|
+
__exportStar(require("./project"), exports);
|
|
22
|
+
__exportStar(require("./recently"), exports);
|
|
23
|
+
__exportStar(require("./say"), exports);
|
|
24
|
+
__exportStar(require("./setting"), exports);
|
|
25
|
+
__exportStar(require("./snippet"), exports);
|
|
26
|
+
__exportStar(require("./user"), exports);
|
|
27
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,8CAA2B;AAC3B,yCAAsB;AACtB,6CAA0B;AAC1B,4CAAyB;AACzB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,yCAAsB;AACtB,4CAAyB;AACzB,6CAA0B;AAC1B,wCAAqB;AACrB,4CAAyB;AACzB,4CAAyB;AACzB,yCAAsB"}
|
package/lib/models/link.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { BaseModel } from './base';
|
|
2
|
-
declare enum LinkType {
|
|
2
|
+
export declare enum LinkType {
|
|
3
3
|
Friend = 0,
|
|
4
4
|
Collection = 1
|
|
5
5
|
}
|
|
6
|
-
declare enum LinkState {
|
|
6
|
+
export declare enum LinkState {
|
|
7
7
|
Pass = 0,
|
|
8
8
|
Audit = 1
|
|
9
9
|
}
|
|
10
|
-
export { LinkState, LinkType };
|
|
11
10
|
export interface LinkModel extends BaseModel {
|
|
12
11
|
name: string;
|
|
13
12
|
url: string;
|
package/lib/models/link.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.LinkState = exports.LinkType = void 0;
|
|
4
4
|
var LinkType;
|
|
5
5
|
(function (LinkType) {
|
|
6
6
|
LinkType[LinkType["Friend"] = 0] = "Friend";
|
|
7
7
|
LinkType[LinkType["Collection"] = 1] = "Collection";
|
|
8
|
-
})(LinkType || (LinkType = {}));
|
|
9
|
-
exports.LinkType = LinkType;
|
|
8
|
+
})(LinkType = exports.LinkType || (exports.LinkType = {}));
|
|
10
9
|
var LinkState;
|
|
11
10
|
(function (LinkState) {
|
|
12
11
|
LinkState[LinkState["Pass"] = 0] = "Pass";
|
|
13
12
|
LinkState[LinkState["Audit"] = 1] = "Audit";
|
|
14
|
-
})(LinkState || (LinkState = {}));
|
|
15
|
-
exports.LinkState = LinkState;
|
|
13
|
+
})(LinkState = exports.LinkState || (exports.LinkState = {}));
|
|
16
14
|
//# sourceMappingURL=link.js.map
|
package/lib/models/link.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/models/link.ts"],"names":[],"mappings":";;;AAEA,
|
|
1
|
+
{"version":3,"file":"link.js","sourceRoot":"","sources":["../../src/models/link.ts"],"names":[],"mappings":";;;AAEA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,2CAAM,CAAA;IACN,mDAAU,CAAA;AACZ,CAAC,EAHW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAGnB;AAED,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,yCAAI,CAAA;IACJ,2CAAK,CAAA;AACP,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|