@imbricate/core 1.5.2 → 1.5.4

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.
@@ -11,7 +11,7 @@ import { ImbricateOriginMetadata, ImbricateScriptSearchSnippet } from "./definit
11
11
  export interface IImbricateOrigin {
12
12
  readonly metadata: ImbricateOriginMetadata;
13
13
  readonly payloads: Record<string, any>;
14
- createCollection(collectionName: string, description?: string): PromiseOr<void>;
14
+ createCollection(collectionName: string, description?: string, initialScript?: string): PromiseOr<void>;
15
15
  renameCollection(collectionName: string, newCollectionName: string): PromiseOr<void>;
16
16
  deleteCollection(collectionName: string): PromiseOr<void>;
17
17
  hasCollection(collectionName: string): PromiseOr<boolean>;
@@ -24,5 +24,5 @@ export interface IImbricateOrigin {
24
24
  hasScript(scriptName: string): PromiseOr<boolean>;
25
25
  getScript(identifier: string): PromiseOr<IImbricateScript | null>;
26
26
  listScripts(): PromiseOr<ImbricateScriptSnapshot[]>;
27
- searchPages(keyword: string): PromiseOr<ImbricateScriptSearchSnippet[]>;
27
+ searchScripts(keyword: string): PromiseOr<ImbricateScriptSearchSnippet[]>;
28
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@imbricate/core",
3
3
  "main": "index.js",
4
- "version": "1.5.2",
4
+ "version": "1.5.4",
5
5
  "description": "Core for Imbricate",
6
6
  "repository": {
7
7
  "type": "git",