@naisys/hub-database 3.0.0-beta.5 → 3.0.0-beta.7

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/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
  };