@naisys/hub-database 3.0.0-beta.4 → 3.0.0-beta.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.
Files changed (41) hide show
  1. package/dist/dbConfig.js +1 -1
  2. package/dist/generated/prisma/browser.js +4 -4
  3. package/dist/generated/prisma/client.js +5 -5
  4. package/dist/generated/prisma/commonInputTypes.js +1 -1
  5. package/dist/generated/prisma/enums.js +34 -34
  6. package/dist/generated/prisma/internal/class.js +36 -28
  7. package/dist/generated/prisma/internal/prismaNamespace.js +150 -147
  8. package/dist/generated/prisma/internal/prismaNamespaceBrowser.js +142 -142
  9. package/dist/hubDatabaseService.js +30 -30
  10. package/dist/hubSessionService.js +59 -71
  11. package/dist/index.js +10 -2
  12. package/dist/prismaClient.js +12 -12
  13. package/package.json +6 -4
  14. package/dist/dbConfig.d.ts +0 -2
  15. package/dist/generated/prisma/browser.d.ts +0 -80
  16. package/dist/generated/prisma/client.d.ts +0 -99
  17. package/dist/generated/prisma/commonInputTypes.d.ts +0 -758
  18. package/dist/generated/prisma/enums.d.ts +0 -57
  19. package/dist/generated/prisma/internal/class.d.ts +0 -285
  20. package/dist/generated/prisma/internal/prismaNamespace.d.ts +0 -1777
  21. package/dist/generated/prisma/internal/prismaNamespaceBrowser.d.ts +0 -223
  22. package/dist/generated/prisma/models/attachments.d.ts +0 -1624
  23. package/dist/generated/prisma/models/config_revisions.d.ts +0 -1320
  24. package/dist/generated/prisma/models/context_log.d.ts +0 -1889
  25. package/dist/generated/prisma/models/costs.d.ts +0 -1834
  26. package/dist/generated/prisma/models/hosts.d.ts +0 -1892
  27. package/dist/generated/prisma/models/mail_attachments.d.ts +0 -1244
  28. package/dist/generated/prisma/models/mail_messages.d.ts +0 -1721
  29. package/dist/generated/prisma/models/mail_recipients.d.ts +0 -1409
  30. package/dist/generated/prisma/models/models.d.ts +0 -1175
  31. package/dist/generated/prisma/models/run_session.d.ts +0 -1894
  32. package/dist/generated/prisma/models/schema_version.d.ts +0 -984
  33. package/dist/generated/prisma/models/user_hosts.d.ts +0 -1244
  34. package/dist/generated/prisma/models/user_notifications.d.ts +0 -1543
  35. package/dist/generated/prisma/models/users.d.ts +0 -3229
  36. package/dist/generated/prisma/models/variables.d.ts +0 -1052
  37. package/dist/generated/prisma/models.d.ts +0 -17
  38. package/dist/hubDatabaseService.d.ts +0 -7
  39. package/dist/hubSessionService.d.ts +0 -41
  40. package/dist/index.d.ts +0 -8
  41. package/dist/prismaClient.d.ts +0 -7
package/dist/dbConfig.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { join } from "path";
2
2
  export function hubDbPath() {
3
- return join(process.env.NAISYS_FOLDER || "", "database", "naisys_hub.db");
3
+ return join(process.env.NAISYS_FOLDER || "", "database", "naisys_hub.db");
4
4
  }
@@ -1,7 +1,7 @@
1
1
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
2
  /* eslint-disable */
3
3
  // biome-ignore-all lint: generated file
4
- // @ts-nocheck
4
+ // @ts-nocheck
5
5
  /*
6
6
  * This file should be your main import to use Prisma-related types and utilities in a browser.
7
7
  * Use it to get access to models, enums, and input types.
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * 🟢 You can import this file directly.
13
13
  */
14
- import * as Prisma from './internal/prismaNamespaceBrowser.js';
14
+ import * as Prisma from "./internal/prismaNamespaceBrowser.js";
15
15
  export { Prisma };
16
- export * as $Enums from './enums.js';
17
- export * from './enums.js';
16
+ export * as $Enums from "./enums.js";
17
+ export * from "./enums.js";
@@ -1,19 +1,19 @@
1
1
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
2
  /* eslint-disable */
3
3
  // biome-ignore-all lint: generated file
4
- // @ts-nocheck
4
+ // @ts-nocheck
5
5
  /*
6
6
  * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
7
7
  * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
8
8
  *
9
9
  * 🟢 You can import this file directly.
10
10
  */
11
- import * as path from 'node:path';
12
- import { fileURLToPath } from 'node:url';
13
- globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url));
11
+ import * as path from "node:path";
12
+ import { fileURLToPath } from "node:url";
13
+ globalThis["__dirname"] = path.dirname(fileURLToPath(import.meta.url));
14
14
  import * as $Class from "./internal/class.js";
15
15
  import * as Prisma from "./internal/prismaNamespace.js";
16
- export * as $Enums from './enums.js';
16
+ export * as $Enums from "./enums.js";
17
17
  export * from "./enums.js";
18
18
  /**
19
19
  * ## Prisma Client
@@ -1,7 +1,7 @@
1
1
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
2
  /* eslint-disable */
3
3
  // biome-ignore-all lint: generated file
4
- // @ts-nocheck
4
+ // @ts-nocheck
5
5
  /*
6
6
  * This file exports various common sort, input & filter types that are not directly linked to a particular model.
7
7
  *
@@ -1,56 +1,56 @@
1
1
  /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
2
  /* eslint-disable */
3
3
  // biome-ignore-all lint: generated file
4
- // @ts-nocheck
4
+ // @ts-nocheck
5
5
  /*
6
- * This file exports all enum related types from the schema.
7
- *
8
- * 🟢 You can import this file directly.
9
- */
6
+ * This file exports all enum related types from the schema.
7
+ *
8
+ * 🟢 You can import this file directly.
9
+ */
10
10
  export const ContextLogRole = {
11
- NAISYS: 'NAISYS',
12
- LLM: 'LLM'
11
+ NAISYS: "NAISYS",
12
+ LLM: "LLM",
13
13
  };
14
14
  export const ContextLogSource = {
15
- startPrompt: 'startPrompt',
16
- endPrompt: 'endPrompt',
17
- console: 'console',
18
- llm: 'llm'
15
+ startPrompt: "startPrompt",
16
+ endPrompt: "endPrompt",
17
+ console: "console",
18
+ llm: "llm",
19
19
  };
20
20
  export const ContextLogType = {
21
- comment: 'comment',
22
- error: 'error',
23
- system: 'system',
24
- tool: 'tool'
21
+ comment: "comment",
22
+ error: "error",
23
+ system: "system",
24
+ tool: "tool",
25
25
  };
26
26
  export const MessageKind = {
27
- mail: 'mail',
28
- chat: 'chat'
27
+ mail: "mail",
28
+ chat: "chat",
29
29
  };
30
30
  export const RecipientType = {
31
- to: 'to',
32
- cc: 'cc',
33
- bcc: 'bcc',
34
- from: 'from'
31
+ to: "to",
32
+ cc: "cc",
33
+ bcc: "bcc",
34
+ from: "from",
35
35
  };
36
36
  export const AttachmentPurpose = {
37
- mail: 'mail',
38
- context: 'context'
37
+ mail: "mail",
38
+ context: "context",
39
39
  };
40
40
  export const HostType = {
41
- naisys: 'naisys',
42
- supervisor: 'supervisor'
41
+ naisys: "naisys",
42
+ supervisor: "supervisor",
43
43
  };
44
44
  export const ModelType = {
45
- llm: 'llm',
46
- image: 'image'
45
+ llm: "llm",
46
+ image: "image",
47
47
  };
48
48
  export const CostSource = {
49
- console: 'console',
50
- write_protection: 'write_protection',
51
- compact: 'compact',
52
- lynx: 'lynx',
53
- look: 'look',
54
- listen: 'listen',
55
- genimg: 'genimg'
49
+ console: "console",
50
+ write_protection: "write_protection",
51
+ compact: "compact",
52
+ lynx: "lynx",
53
+ look: "look",
54
+ listen: "listen",
55
+ genimg: "genimg",
56
56
  };