@objectstack/driver-memory 0.4.2 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @objectstack/driver-memory
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - b2df5f7: Unified version bump to 0.5.0
8
+
9
+ - Standardized all package versions to 0.5.0 across the monorepo
10
+ - Fixed driver-memory package.json paths for proper module resolution
11
+ - Ensured all packages are in sync for the 0.5.0 release
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [b2df5f7]
16
+ - @objectstack/spec@0.6.0
17
+ - @objectstack/core@0.6.0
18
+
3
19
  ## 0.4.2
4
20
 
5
21
  ### Patch Changes
@@ -6,3 +6,4 @@ declare const _default: {
6
6
  onEnable: (context: any) => Promise<void>;
7
7
  };
8
8
  export default _default;
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,CAAC;;;;wBAgBE,GAAG;;AAJ/B,wBAkBE"}
@@ -1,5 +1,6 @@
1
1
  import { QueryInput } from '@objectstack/spec/data';
2
- import { DriverInterface, DriverOptions } from '@objectstack/spec/system';
2
+ import { DriverOptions } from '@objectstack/spec/system';
3
+ import { DriverInterface } from '@objectstack/core';
3
4
  /**
4
5
  * Example: In-Memory Driver
5
6
  *
@@ -65,3 +66,4 @@ export declare class InMemoryDriver implements DriverInterface {
65
66
  private getTable;
66
67
  private generateId;
67
68
  }
69
+ //# sourceMappingURL=memory-driver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-driver.d.ts","sourceRoot":"","sources":["../src/memory-driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAA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G,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAUnE,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,aAAa;IAQjE,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa;;;;;IAIpF,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAAE,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa;IAIjH,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,OAAO,CAAC,EAAE,aAAa;IAQ5E,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,aAAa;IAO/D,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;IAMjD,gBAAgB;IAIhB,MAAM;IACN,QAAQ;IAMd,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,UAAU;CAGnB"}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@objectstack/driver-memory",
3
- "version": "0.4.2",
3
+ "version": "0.6.0",
4
4
  "description": "In-Memory Driver for ObjectStack (Reference Implementation)",
5
- "main": "dist/src/index.js",
6
- "types": "dist/src/index.d.ts",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
7
  "dependencies": {
8
- "@objectstack/spec": "0.4.2"
8
+ "@objectstack/core": "0.6.0",
9
+ "@objectstack/spec": "0.6.0"
9
10
  },
10
11
  "devDependencies": {
11
12
  "typescript": "^5.0.0"
@@ -1,5 +1,6 @@
1
1
  import { QueryAST, QueryInput } from '@objectstack/spec/data';
2
- import { DriverInterface, DriverOptions } from '@objectstack/spec/system';
2
+ import { DriverOptions } from '@objectstack/spec/system';
3
+ import { DriverInterface } from '@objectstack/core';
3
4
 
4
5
  /**
5
6
  * Example: In-Memory Driver
package/tsconfig.json CHANGED
@@ -1,4 +1,5 @@
1
1
  {
2
+ "extends": "../../../tsconfig.json",
2
3
  "compilerOptions": {
3
4
  "target": "ES2020",
4
5
  "module": "ES2020",
@@ -8,7 +9,10 @@
8
9
  "strict": true,
9
10
  "esModuleInterop": true,
10
11
  "skipLibCheck": true,
12
+ "noUnusedLocals": false,
13
+ "noUnusedParameters": false,
11
14
  "forceConsistentCasingInFileNames": true
12
15
  },
13
- "include": ["src/**/*", "objectstack.config.ts"]
16
+ "include": ["src/**/*"],
17
+ "exclude": ["node_modules", "dist"]
14
18
  }
@@ -1,3 +0,0 @@
1
- import { ObjectStackManifest } from '@objectstack/spec/system';
2
- declare const MemoryDriverPlugin: ObjectStackManifest;
3
- export default MemoryDriverPlugin;
@@ -1,22 +0,0 @@
1
- const MemoryDriverPlugin = {
2
- id: 'com.objectstack.driver.memory',
3
- name: 'In-Memory Driver',
4
- version: '1.0.0',
5
- type: 'driver',
6
- description: 'A reference specificiation implementation of the DriverInterface using in-memory arrays.',
7
- configuration: {
8
- title: 'Memory Driver Settings',
9
- properties: {
10
- seedData: {
11
- type: 'boolean',
12
- default: false,
13
- description: 'Pre-populate the database with example data on startup'
14
- }
15
- }
16
- },
17
- contributes: {
18
- // If there was a 'drivers' definition here, we would use it.
19
- // For now, we register via code (src/index.ts)
20
- }
21
- };
22
- export default MemoryDriverPlugin;
File without changes
File without changes