@openinc/parse-server-opendash 4.14.0 → 4.14.1

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.
@@ -242,6 +242,15 @@ exports.customoptions = {
242
242
  default: "false",
243
243
  description: "Enable Parse Classes and Cloud Code for the open.SERVICE v2 plugin.",
244
244
  },
245
+ FEATURE_RAG: {
246
+ env: "OPENINC_PARSE_FEATURE_RAG",
247
+ type: "boolean",
248
+ required: false,
249
+ secret: false,
250
+ public: true,
251
+ default: "false",
252
+ description: "Enable Parse Classes for the RAG plugin (OD3_RAG_*). The knowledge base itself runs in open-rag-chat; these classes hold its sources, prompts and requests.",
253
+ },
245
254
  FORCE_SCHEMA: {
246
255
  env: "OPENINC_PARSE_FORCE_SCHEMA",
247
256
  type: "boolean",
@@ -1,2 +1,2 @@
1
- export type Feature = "CORE" | "MONITORING" | "BDE" | "GTFS" | "KNOWLEDGE" | "MAINTENANCE" | "DOCUMENTATION" | "MIAAS" | "SERVICE";
1
+ export type Feature = "CORE" | "MONITORING" | "BDE" | "GTFS" | "KNOWLEDGE" | "MAINTENANCE" | "DOCUMENTATION" | "MIAAS" | "SERVICE" | "RAG";
2
2
  export declare function isFeatureEnabled(feature: Feature): boolean;
@@ -23,6 +23,8 @@ function isFeatureEnabled(feature) {
23
23
  return config.getBoolean("FEATURE_MIAAS");
24
24
  case "SERVICE":
25
25
  return config.getBoolean("FEATURE_SERVICE");
26
+ case "RAG":
27
+ return config.getBoolean("FEATURE_RAG");
26
28
  default:
27
29
  return false;
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openinc/parse-server-opendash",
3
- "version": "4.14.0",
3
+ "version": "4.14.1",
4
4
  "description": "Parse Server Cloud Code for open.INC Stack.",
5
5
  "packageManager": "pnpm@12.8.1",
6
6
  "keywords": [
@@ -46,6 +46,11 @@
46
46
  "type": "String",
47
47
  "required": false
48
48
  },
49
+ "parseClassRelated": {
50
+ "type": "Array",
51
+ "required": false,
52
+ "defaultValue": []
53
+ },
49
54
  "text": {
50
55
  "type": "String",
51
56
  "required": false