@hazeljs/memory 0.8.2 → 0.8.5

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.
@@ -149,7 +149,7 @@ const config = {
149
149
  "value": "prisma-client-js"
150
150
  },
151
151
  "output": {
152
- "value": "/home/runner/work/hazeljs/hazeljs/packages/memory/src/generated/prisma",
152
+ "value": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/src/generated/prisma",
153
153
  "fromEnvVar": null
154
154
  },
155
155
  "config": {
@@ -158,12 +158,12 @@ const config = {
158
158
  "binaryTargets": [
159
159
  {
160
160
  "fromEnvVar": null,
161
- "value": "debian-openssl-3.0.x",
161
+ "value": "darwin-arm64",
162
162
  "native": true
163
163
  }
164
164
  ],
165
165
  "previewFeatures": [],
166
- "sourceFilePath": "/home/runner/work/hazeljs/hazeljs/packages/memory/prisma/schema.prisma",
166
+ "sourceFilePath": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/prisma/schema.prisma",
167
167
  "isCustomOutput": true
168
168
  },
169
169
  "relativeEnvPaths": {
@@ -177,7 +177,6 @@ const config = {
177
177
  ],
178
178
  "activeProvider": "postgresql",
179
179
  "postinstall": false,
180
- "ciName": "GitHub Actions",
181
180
  "inlineDatasources": {
182
181
  "db": {
183
182
  "url": {
@@ -150,7 +150,7 @@ const config = {
150
150
  "value": "prisma-client-js"
151
151
  },
152
152
  "output": {
153
- "value": "/home/runner/work/hazeljs/hazeljs/packages/memory/src/generated/prisma",
153
+ "value": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/src/generated/prisma",
154
154
  "fromEnvVar": null
155
155
  },
156
156
  "config": {
@@ -159,12 +159,12 @@ const config = {
159
159
  "binaryTargets": [
160
160
  {
161
161
  "fromEnvVar": null,
162
- "value": "debian-openssl-3.0.x",
162
+ "value": "darwin-arm64",
163
163
  "native": true
164
164
  }
165
165
  ],
166
166
  "previewFeatures": [],
167
- "sourceFilePath": "/home/runner/work/hazeljs/hazeljs/packages/memory/prisma/schema.prisma",
167
+ "sourceFilePath": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/prisma/schema.prisma",
168
168
  "isCustomOutput": true
169
169
  },
170
170
  "relativeEnvPaths": {
@@ -178,7 +178,6 @@ const config = {
178
178
  ],
179
179
  "activeProvider": "postgresql",
180
180
  "postinstall": false,
181
- "ciName": "GitHub Actions",
182
181
  "inlineDatasources": {
183
182
  "db": {
184
183
  "url": {
@@ -227,8 +226,8 @@ exports.PrismaClient = PrismaClient
227
226
  Object.assign(exports, Prisma)
228
227
 
229
228
  // file annotations for bundling tools to include these files
230
- path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node");
231
- path.join(process.cwd(), "src/generated/prisma/libquery_engine-debian-openssl-3.0.x.so.node")
229
+ path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node");
230
+ path.join(process.cwd(), "src/generated/prisma/libquery_engine-darwin-arm64.dylib.node")
232
231
  // file annotations for bundling tools to include these files
233
232
  path.join(__dirname, "schema.prisma");
234
233
  path.join(process.cwd(), "src/generated/prisma/schema.prisma")
@@ -149,7 +149,7 @@ const config = {
149
149
  "value": "prisma-client-js"
150
150
  },
151
151
  "output": {
152
- "value": "/home/runner/work/hazeljs/hazeljs/packages/memory/src/generated/prisma",
152
+ "value": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/src/generated/prisma",
153
153
  "fromEnvVar": null
154
154
  },
155
155
  "config": {
@@ -158,12 +158,12 @@ const config = {
158
158
  "binaryTargets": [
159
159
  {
160
160
  "fromEnvVar": null,
161
- "value": "debian-openssl-3.0.x",
161
+ "value": "darwin-arm64",
162
162
  "native": true
163
163
  }
164
164
  ],
165
165
  "previewFeatures": [],
166
- "sourceFilePath": "/home/runner/work/hazeljs/hazeljs/packages/memory/prisma/schema.prisma",
166
+ "sourceFilePath": "/Users/muhammadarslan/repos/hazeljs.com/hazeljs/packages/memory/prisma/schema.prisma",
167
167
  "isCustomOutput": true
168
168
  },
169
169
  "relativeEnvPaths": {
@@ -177,7 +177,6 @@ const config = {
177
177
  ],
178
178
  "activeProvider": "postgresql",
179
179
  "postinstall": false,
180
- "ciName": "GitHub Actions",
181
180
  "inlineDatasources": {
182
181
  "db": {
183
182
  "url": {
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Stub types for Prisma client when the generated client is not yet built.
3
+ * Run `pnpm prisma:generate` to generate the real client (then this file is shadowed by generated/prisma/).
4
+ */
5
+ export class PrismaClient {
6
+ constructor(options?: { datasources?: { db?: { url: string } } });
7
+ memoryItem: {
8
+ upsert(args: unknown): Promise<unknown>;
9
+ findUnique(args: unknown): Promise<unknown>;
10
+ findMany(args: unknown): Promise<unknown[]>;
11
+ update(args: unknown): Promise<unknown>;
12
+ delete(args: unknown): Promise<unknown>;
13
+ deleteMany(args: unknown): Promise<{ count: number }>;
14
+ groupBy(args: unknown): Promise<unknown[]>;
15
+ aggregate(args: unknown): Promise<{ _min: { updatedAt: Date | null }; _max: { updatedAt: Date | null } }>;
16
+ };
17
+ $connect(): Promise<void>;
18
+ $disconnect(): Promise<void>;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazeljs/memory",
3
- "version": "0.8.2",
3
+ "version": "0.8.5",
4
4
  "description": "Pluggable user memory for HazelJS - profile, preferences, behavioral patterns, emotional state, episodic and semantic memory with multi-store support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -73,5 +73,5 @@
73
73
  ],
74
74
  "author": "Muhammad Arslan <muhammad.arslan@hazeljs.ai>",
75
75
  "license": "Apache-2.0",
76
- "gitHead": "e2335a3f30947e87c484b27e91a0669a24f78809"
76
+ "gitHead": "17874837994b8ce260f70ae09d2fe58d5606d18a"
77
77
  }