@graffy/core 0.16.20-alpha.1 → 0.16.20-alpha.2

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/types/index.d.ts +17 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/core",
3
3
  "description": "The main module for Graffy, a library for intuitive real-time data APIs.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.16.20-alpha.1",
5
+ "version": "0.16.20-alpha.2",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@graffy/common": "0.16.20-alpha.1",
20
- "@graffy/stream": "0.16.20-alpha.1",
19
+ "@graffy/common": "0.16.20-alpha.2",
20
+ "@graffy/stream": "0.16.20-alpha.2",
21
21
  "debug": "^4.3.7"
22
22
  }
23
23
  }
package/types/index.d.ts CHANGED
@@ -20,6 +20,23 @@ export default class Graffy<S> {
20
20
  projection: Q,
21
21
  options?: GraffyReadOptions,
22
22
  ): Promise<ReadResult<S, Q>>;
23
+
24
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
25
+ on: (...any) => any;
26
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
27
+ call: (...any) => any;
28
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
29
+ use: (...any) => any;
30
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
31
+ onRead: (...any) => any;
32
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
33
+ onWrite: (...any) => any;
34
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
35
+ onWatch: (...any) => any;
36
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
37
+ write: (...any) => any;
38
+ // biome-ignore lint/suspicious/noExplicitAny: TODO: add typings
39
+ watch: (...any) => any;
23
40
  }
24
41
 
25
42
  export type PathOf<S> = S extends GraffyCollection<BuildObject>