@wxn0brp/db-storage-dir 0.2.2 → 0.2.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.
package/dist/action.d.ts CHANGED
@@ -40,7 +40,7 @@ export declare class FileActions extends ActionsBase {
40
40
  /**
41
41
  * Add a new entry to the specified database.
42
42
  */
43
- add(query: VQuery): Promise<import("@wxn0brp/db-core/types/arg").Arg>;
43
+ add(query: VQuery): Promise<import("@wxn0brp/db-core/types/arg").Arg<Data>>;
44
44
  /**
45
45
  * Find entries in the specified database based on search criteria.
46
46
  */
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { DbOpts } from "@wxn0brp/db-core/types/options";
2
2
  declare module "@wxn0brp/db-core/types/query" {
3
3
  interface VQuery_Control {
4
- dir: {
4
+ dir?: {
5
5
  lastFileNum?: number;
6
6
  sortedFiles?: string[];
7
7
  };
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.2.2";
1
+ export const version = "0.2.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db-storage-dir",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "wxn0brP",
@@ -21,11 +21,11 @@
21
21
  "json5": "^2.2.3"
22
22
  },
23
23
  "peerDependencies": {
24
- "@wxn0brp/db-core": "~0.7.0"
24
+ "@wxn0brp/db-core": "~0.9.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/bun": "*",
28
- "@wxn0brp/db-core": "~0.7.0",
28
+ "@wxn0brp/db-core": "~0.9.0",
29
29
  "tsc-alias": "*",
30
30
  "typescript": "*"
31
31
  },