@exulu/backend 1.25.5 → 1.26.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@exulu/backend",
3
3
  "author": "Qventu Bv.",
4
- "version": "1.25.5",
4
+ "version": "1.26.0",
5
5
  "main": "./dist/index.js",
6
6
  "private": false,
7
7
  "publishConfig": {
@@ -1 +1 @@
1
- export type ExuluFieldTypes = "text" | "longText" | "shortText" | "number" | "boolean" | "code" | "json" | "enum" | "markdown"
1
+ export type ExuluFieldTypes = "text" | "longText" | "shortText" | "number" | "boolean" | "code" | "json" | "enum" | "markdown" | "file" | "date" | "uuid"
@@ -1,4 +1,5 @@
1
1
  import type { ExuluFieldTypes } from "../enums/field-types"
2
+ import { allFileTypes } from "../../src/registry/classes"
2
3
 
3
4
  export interface Context {
4
5
  id: string
@@ -11,5 +12,6 @@ export interface Context {
11
12
  name: string
12
13
  type: ExuluFieldTypes
13
14
  label: string
15
+ allowedFileTypes?: allFileTypes[]
14
16
  }[]
15
17
  }
@@ -6,6 +6,7 @@ export type UserRole = {
6
6
  variables?: "read" | "write" | null;
7
7
  users?: "read" | "write" | null;
8
8
  api?: "read" | "write" | null;
9
+ evals?: "read" | "write" | null;
9
10
  createdAt?: string;
10
11
  updatedAt?: string;
11
12
  };
@@ -10,6 +10,7 @@ export type User = {
10
10
  id: string;
11
11
  name: string;
12
12
  agents: "read" | "write";
13
+ evals: "read" | "write";
13
14
  workflows: "read" | "write";
14
15
  variables: "read" | "write";
15
16
  users: "read" | "write";