@fugood/bricks-project 2.22.0-beta.24 → 2.22.0-beta.25
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 +2 -2
- package/utils/data.ts +27 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.22.0-beta.
|
|
3
|
+
"version": "2.22.0-beta.25",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "258a8b72376abac00d53dc39ca93e58ffcea3445"
|
|
18
18
|
}
|
package/utils/data.ts
CHANGED
|
@@ -76,6 +76,9 @@ type SystemDataName =
|
|
|
76
76
|
| 'isViewDebugModeEnabled'
|
|
77
77
|
| 'language'
|
|
78
78
|
| 'aiFilters'
|
|
79
|
+
| 'systemOpenAIApiKey'
|
|
80
|
+
| 'systemAnthropicApiKey'
|
|
81
|
+
| 'systemGeminiApiKey'
|
|
79
82
|
|
|
80
83
|
type SystemDataInfo = {
|
|
81
84
|
name: SystemDataName
|
|
@@ -441,6 +444,30 @@ export const systemDataList: Array<SystemDataInfo> = [
|
|
|
441
444
|
type: 'array',
|
|
442
445
|
value: [],
|
|
443
446
|
},
|
|
447
|
+
{
|
|
448
|
+
name: 'systemOpenAIApiKey',
|
|
449
|
+
id: 'PROPERTY_BANK_DATA_NODE_a1b2c3d4-5e6f-7890-abcd-ef1234567890',
|
|
450
|
+
title: 'SYSTEM: OpenAI API Key',
|
|
451
|
+
description: 'System OpenAI API Key (only available if application enabled)',
|
|
452
|
+
type: 'string',
|
|
453
|
+
value: '',
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
name: 'systemAnthropicApiKey',
|
|
457
|
+
id: 'PROPERTY_BANK_DATA_NODE_b2c3d4e5-6f78-9012-bcde-f23456789012',
|
|
458
|
+
title: 'SYSTEM: Anthropic API Key',
|
|
459
|
+
description: 'System Anthropic API Key (only available if application enabled)',
|
|
460
|
+
type: 'string',
|
|
461
|
+
value: '',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: 'systemGeminiApiKey',
|
|
465
|
+
id: 'PROPERTY_BANK_DATA_NODE_c3d4e5f6-7890-1234-cdef-345678901234',
|
|
466
|
+
title: 'SYSTEM: Gemini API Key',
|
|
467
|
+
description: 'System Gemini API Key (only available if application enabled)',
|
|
468
|
+
type: 'string',
|
|
469
|
+
value: '',
|
|
470
|
+
},
|
|
444
471
|
]
|
|
445
472
|
|
|
446
473
|
export const useSystemData = (name: SystemDataName): Data => {
|