@imbricate/core 1.24.0 → 1.24.1

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.
@@ -6,7 +6,7 @@
6
6
  import { ImbricateCapabilityBuilder } from "../capability/builder";
7
7
  import { ImbricateCapability } from "../capability/definition";
8
8
  import type { PromiseOr } from "../definition/promise";
9
- import type { ImbricatePageMetadata, ImbricatePageSearchResult } from "../page/definition";
9
+ import type { ImbricatePageMetadata, ImbricatePageSearchResult, ImbricatePageSnapshot } from "../page/definition";
10
10
  import type { IImbricatePage } from "../page/interface";
11
11
  import type { ImbricatePageQuery, ImbricatePageQueryConfig, ImbricateSearchPageConfig } from "../query/page";
12
12
  import { IMBRICATE_COLLECTION_CAPABILITY_KEY, ImbricateCollectionCapability } from "./definition";
@@ -24,7 +24,7 @@ export declare abstract class ImbricateCollectionBase implements IImbricateColle
24
24
  deletePage(_identifier: string): PromiseOr<void>;
25
25
  hasPage(_directories: string[], _title: string): PromiseOr<boolean>;
26
26
  getPage(_identifier: string): PromiseOr<IImbricatePage | null>;
27
- listPages(_directories: string[], _recursive: boolean): PromiseOr<IImbricatePage[]>;
27
+ listPages(_directories: string[], _recursive: boolean): PromiseOr<ImbricatePageSnapshot[]>;
28
28
  listDirectories(_directories: string[]): PromiseOr<string[]>;
29
29
  searchPages(_keyword: string, _config: ImbricateSearchPageConfig): PromiseOr<ImbricatePageSearchResult[]>;
30
30
  queryPages(_query: ImbricatePageQuery, _config: ImbricatePageQueryConfig): PromiseOr<IImbricatePage[]>;
package/origin/base.d.ts CHANGED
@@ -11,7 +11,7 @@ import type { PromiseOr } from "../definition/promise";
11
11
  import type { IImbricateFunctionManager } from "../function/interface";
12
12
  import type { IImbricateOrigin } from "../origin/interface";
13
13
  import { ImbricateScriptQuery, ImbricateScriptQueryConfig, ImbricateSearchScriptConfig } from "../query/script";
14
- import { ImbricateScriptMetadata } from "../script/definition";
14
+ import { ImbricateScriptMetadata, ImbricateScriptSnapshot } from "../script/definition";
15
15
  import type { IImbricateScript } from "../script/interface";
16
16
  import { IMBRICATE_ORIGIN_CAPABILITY_KEY, ImbricateOriginCapability, ImbricateOriginMetadata } from "./definition";
17
17
  export declare abstract class ImbricateOriginBase implements IImbricateOrigin {
@@ -38,7 +38,7 @@ export declare abstract class ImbricateOriginBase implements IImbricateOrigin {
38
38
  deleteScript(_identifier: string): PromiseOr<void>;
39
39
  hasScript(_scriptName: string): PromiseOr<boolean>;
40
40
  getScript(_identifier: string): PromiseOr<IImbricateScript | null>;
41
- listScripts(): PromiseOr<IImbricateScript[]>;
41
+ listScripts(): PromiseOr<ImbricateScriptSnapshot[]>;
42
42
  searchScripts(_keyword: string, _config: ImbricateSearchScriptConfig): PromiseOr<any[]>;
43
43
  queryScripts(_query: ImbricateScriptQuery, _config: ImbricateScriptQueryConfig): PromiseOr<IImbricateScript[]>;
44
44
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imbricate/core",
3
3
  "main": "index.js",
4
- "version": "1.24.0",
4
+ "version": "1.24.1",
5
5
  "description": "Imbricate Core, Notebook for Engineers",
6
6
  "repository": {
7
7
  "type": "git",