@imbricate/core 2.3.1 → 2.4.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/author/definition.d.ts +12 -0
- package/author/definition.js +7 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
- package/page/definition.d.ts +2 -1
- package/script/definition.d.ts +2 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author WMXPY
|
|
3
|
+
* @namespace Author
|
|
4
|
+
* @description Definition
|
|
5
|
+
*/
|
|
6
|
+
export type ImbricateAuthorAttributes = Record<string, string>;
|
|
7
|
+
export type ImbricateAuthor = {
|
|
8
|
+
readonly avatar?: string;
|
|
9
|
+
readonly displayName?: string;
|
|
10
|
+
readonly identifier: string;
|
|
11
|
+
readonly attributes: ImbricateAuthorAttributes;
|
|
12
|
+
};
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -18,6 +18,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
19
|
};
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
__exportStar(require("./author/definition"), exports);
|
|
21
22
|
__exportStar(require("./binary-storage/base"), exports);
|
|
22
23
|
__exportStar(require("./binary-storage/definition"), exports);
|
|
23
24
|
__exportStar(require("./binary-storage/interface"), exports);
|
package/package.json
CHANGED
package/page/definition.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @namespace Page
|
|
4
4
|
* @description Definition
|
|
5
5
|
*/
|
|
6
|
+
import { ImbricateAuthor } from "../author/definition";
|
|
6
7
|
import { ImbricateCapability } from "../capability/definition";
|
|
7
8
|
import { ImbricatePageVariant } from "../page-variant/definition";
|
|
8
9
|
import { IMBRICATE_SEARCH_RESULT_TYPE, ImbricateSearchResult, ImbricateSearchSnippet } from "../search/snippet";
|
|
@@ -16,7 +17,7 @@ export type ImbricatePageSnapshot = {
|
|
|
16
17
|
readonly variant: ImbricatePageVariant;
|
|
17
18
|
};
|
|
18
19
|
export type ImbricatePageHistoryRecord = {
|
|
19
|
-
readonly author:
|
|
20
|
+
readonly author: ImbricateAuthor;
|
|
20
21
|
readonly digest: string;
|
|
21
22
|
readonly updatedAt: Date;
|
|
22
23
|
};
|
package/script/definition.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @namespace Script
|
|
4
4
|
* @description Definition
|
|
5
5
|
*/
|
|
6
|
+
import { ImbricateAuthor } from "../author/definition";
|
|
6
7
|
import { ImbricateCapability } from "../capability/definition";
|
|
7
8
|
import { ImbricateScriptVariant } from "../script-variant/definition";
|
|
8
9
|
import { IMBRICATE_SEARCH_RESULT_TYPE, ImbricateSearchResult, ImbricateSearchSnippet } from "../search/snippet";
|
|
@@ -15,7 +16,7 @@ export type ImbricateScriptSnapshot = {
|
|
|
15
16
|
readonly variant: ImbricateScriptVariant;
|
|
16
17
|
};
|
|
17
18
|
export type ImbricateScriptHistoryRecord = {
|
|
18
|
-
readonly author:
|
|
19
|
+
readonly author: ImbricateAuthor;
|
|
19
20
|
readonly digest: string;
|
|
20
21
|
readonly updatedAt: Date;
|
|
21
22
|
};
|