remult 0.26.5-exp.1 → 0.26.6-exp.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/README.md CHANGED
@@ -84,9 +84,9 @@ export class Product {
84
84
  unitPrice = 0
85
85
  }
86
86
  ```
87
- > [!NOTE]
88
- > Don't like decorators? we have full support for [Working without decorators](https://remult.dev/docs/working-without-decorators)
89
- >
87
+
88
+ 👉 **Don't like decorators?** we have full support for [Working without decorators](https://remult.dev/docs/working-without-decorators)
89
+
90
90
  ### Add backend API with a [single line of code](https://remult.dev/docs/quickstart#server-side-initialization)
91
91
 
92
92
  _Example:_
@@ -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,13 +9,9 @@ export {};
8
9
  count:x.count()
9
10
  }))
10
11
  */
11
- //p1 - adjust react tutorial to esm
12
- //p1 - add solid tutorial to the getting started page
13
- //p1 - update the examples section
14
12
  //p1 - add documentation for bun sqlite
15
13
  //p1 - consider upsert (where,set)
16
14
  //p1 - wait a second to close stream
17
- //y1 - consider id to also support keyof (id:['company','index']) - had problem with | (keyof Partial<entityType>)[] & `entity`
18
15
  //p1 - describe entity
19
16
  //p1 - prepare the createEntity discussion
20
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-exp.1",
3
+ "version": "0.26.6-exp.0",
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,13 +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 - add solid tutorial to the getting started page
14
- //p1 - update the examples section
15
13
  //p1 - add documentation for bun sqlite
16
14
  //p1 - consider upsert (where,set)
17
15
  //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
16
  //p1 - describe entity
20
17
  //p1 - prepare the createEntity discussion
21
18
  //p1 - write active record article