@exulu/backend 1.32.1 → 1.33.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.32.1",
4
+ "version": "1.33.0",
5
5
  "main": "./dist/index.js",
6
6
  "private": false,
7
7
  "publishConfig": {
@@ -2,16 +2,30 @@ import type { ExuluFieldTypes } from "../enums/field-types"
2
2
  import { allFileTypes } from "../../src/registry/classes"
3
3
 
4
4
  export interface Context {
5
- id: string
5
+ id: string
6
+ name: string
7
+ description: string
8
+ embedder: string
9
+ active: boolean
10
+ slug: string
11
+ sources: {
12
+ id
13
+ name
14
+ description
15
+ config: {
16
+ schedule?: string
17
+ queue?: string
18
+ retries?: number
19
+ backoff?: {
20
+ type: 'exponential' | 'linear'
21
+ delay: number
22
+ }
23
+ }
24
+ }[]
25
+ fields: {
6
26
  name: string
7
- description: string
8
- embedder: string
9
- active: boolean
10
- slug: string
11
- fields: {
12
- name: string
13
- type: ExuluFieldTypes
14
- label: string
15
- allowedFileTypes?: allFileTypes[]
16
- }[]
17
- }
27
+ type: ExuluFieldTypes
28
+ label: string
29
+ allowedFileTypes?: allFileTypes[]
30
+ }[]
31
+ }