remult 0.26.5 → 0.26.6

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/README.md CHANGED
@@ -308,7 +308,7 @@ with a Node.js Express backend.
308
308
  - [Tutorial with Vue](https://remult.dev/tutorials/vue/)
309
309
  - [Tutorial with Next.js](https://remult.dev/tutorials/react-next/)
310
310
  - [Tutorial with Sveltekit](https://remult.dev/tutorials/sveltekit/)
311
- - [Tutorial with SolidStart](https://remult.dev/tutorials/react-next/)
311
+ - [Tutorial with SolidStart](https://remult.dev/tutorials/solid-start/)
312
312
 
313
313
  ## Demo
314
314
 
@@ -11,8 +11,8 @@ export function initAsyncHooks() {
11
11
  test.run(1, async () => {
12
12
  await Promise.resolve();
13
13
  if (test.getStore() === undefined) {
14
- console.log("async_hooks.AsyncLocalStorage not working, using stub implementation (You're probably running on stackblitz, this will work on a normal nodejs environment");
15
- remultStatic.asyncContext = new RemultAsyncLocalStorage(new SequentialRemultAsyncLocalStorageCore());
14
+ console.log("async_hooks.AsyncLocalStorage not working, using stub implementation (You're probably running on stackblitz, this will work on a normal nodejs environment)");
15
+ remultStatic.asyncContext = new RemultAsyncLocalStorage(new StubRemultAsyncLocalStorageCore());
16
16
  }
17
17
  });
18
18
  }
@@ -1,6 +1,7 @@
1
1
  export {};
2
- //y1 - https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
3
- //y1 - fix async hooks - was it fixed?
2
+ //y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
3
+ //y1 - In the esm version of our tutorial - the imports are automatically .ts and not .js
4
+ //y1 - consider id to also support keyof (id:['company','index']) - had problem with | (keyof Partial<entityType>)[] & `entity`
4
5
  //y1 - repo batch - for multiple operations:
5
6
  /*
6
7
  const result = await repo.batch(x=>({
@@ -8,14 +9,9 @@ export {};
8
9
  count:x.count()
9
10
  }))
10
11
  */
11
- //p1 - adjust react tutorial to esm
12
- //p1 - fix next tutorial to work
13
- //p1 - add solid tutorial to the getting started page
14
- //p1 - update the examples section
15
12
  //p1 - add documentation for bun sqlite
16
13
  //p1 - consider upsert (where,set)
17
14
  //p1 - wait a second to close stream
18
- //y1 - consider id to also support keyof (id:['company','index']) - had problem with | (keyof Partial<entityType>)[] & `entity`
19
15
  //p1 - describe entity
20
16
  //p1 - prepare the createEntity discussion
21
17
  //p1 - write active record article
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remult",
3
- "version": "0.26.5",
3
+ "version": "0.26.6",
4
4
  "description": "A CRUD framework for full-stack TypeScript",
5
5
  "homepage": "https://remult.dev",
6
6
  "repository": {
@@ -20,8 +20,8 @@ function initAsyncHooks() {
20
20
  case 1:
21
21
  _a.sent();
22
22
  if (test.getStore() === undefined) {
23
- console.log("async_hooks.AsyncLocalStorage not working, using stub implementation (You're probably running on stackblitz, this will work on a normal nodejs environment");
24
- remult_static_js_1.remultStatic.asyncContext = new context_js_1.RemultAsyncLocalStorage(new SequentialRemultAsyncLocalStorageCore());
23
+ console.log("async_hooks.AsyncLocalStorage not working, using stub implementation (You're probably running on stackblitz, this will work on a normal nodejs environment)");
24
+ remult_static_js_1.remultStatic.asyncContext = new context_js_1.RemultAsyncLocalStorage(new StubRemultAsyncLocalStorageCore());
25
25
  }
26
26
  return [2 /*return*/];
27
27
  }
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //y1 - https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
4
- //y1 - fix async hooks - was it fixed?
3
+ //y2 - soft-delete-discussion https://discord.com/channels/975754286384418847/1230386433093533698/1230386433093533698
4
+ //y1 - In the esm version of our tutorial - the imports are automatically .ts and not .js
5
+ //y1 - consider id to also support keyof (id:['company','index']) - had problem with | (keyof Partial<entityType>)[] & `entity`
5
6
  //y1 - repo batch - for multiple operations:
6
7
  /*
7
8
  const result = await repo.batch(x=>({
@@ -9,14 +10,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
10
  count:x.count()
10
11
  }))
11
12
  */
12
- //p1 - adjust react tutorial to esm
13
- //p1 - fix next tutorial to work
14
- //p1 - add solid tutorial to the getting started page
15
- //p1 - update the examples section
16
13
  //p1 - add documentation for bun sqlite
17
14
  //p1 - consider upsert (where,set)
18
15
  //p1 - wait a second to close stream
19
- //y1 - consider id to also support keyof (id:['company','index']) - had problem with | (keyof Partial<entityType>)[] & `entity`
20
16
  //p1 - describe entity
21
17
  //p1 - prepare the createEntity discussion
22
18
  //p1 - write active record article