@semiont/core 0.5.3 → 0.5.5
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/config/node-config-loader.d.ts +542 -1
- package/dist/index.d.ts +672 -71
- package/dist/index.js +41 -19
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/dist/config.types-oPv3Ajk-.d.ts +0 -561
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/core",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Core domain types for Semiont - Document, Annotation, and Graph models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"generate:types": "tsx scripts/generate-types.ts",
|
|
41
41
|
"prebuild": "npm run generate:openapi && npm run generate:types",
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
|
-
"build": "npm run typecheck && tsup",
|
|
43
|
+
"build": "npm run typecheck && tsup && tsc -p tsconfig.build.json && rollup -c rollup.dts.config.mjs && rm -rf dist-types",
|
|
44
44
|
"watch": "tsup --watch",
|
|
45
45
|
"clean": "rm -rf dist *.tsbuildinfo src/types.ts openapi.json",
|
|
46
46
|
"test": "vitest run",
|
|
@@ -63,9 +63,11 @@
|
|
|
63
63
|
"fast-check": "^4.3.0",
|
|
64
64
|
"json-schema-to-typescript": "^15.0.2",
|
|
65
65
|
"openapi-typescript": "^7.10.1",
|
|
66
|
+
"rollup": "^4.60.3",
|
|
67
|
+
"rollup-plugin-dts": "^6.4.1",
|
|
66
68
|
"tsup": "^8.5.1",
|
|
67
69
|
"tsx": "^4.19.2",
|
|
68
|
-
"typescript": "^
|
|
70
|
+
"typescript": "^6.0.2"
|
|
69
71
|
},
|
|
70
72
|
"dependencies": {
|
|
71
73
|
"ajv": "^8.17.1",
|
|
@@ -1,561 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
3
|
-
* via the `definition` "PlatformType".
|
|
4
|
-
*/
|
|
5
|
-
type PlatformType = 'posix' | 'container' | 'aws' | 'external';
|
|
6
|
-
/**
|
|
7
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
8
|
-
* via the `definition` "GraphDatabaseType".
|
|
9
|
-
*/
|
|
10
|
-
type GraphDatabaseType = 'neo4j' | 'janusgraph' | 'neptune' | 'memory';
|
|
11
|
-
/**
|
|
12
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
13
|
-
* via the `definition` "GraphServiceConfig".
|
|
14
|
-
*/
|
|
15
|
-
type GraphServiceConfig = {
|
|
16
|
-
[k: string]: unknown;
|
|
17
|
-
} & {
|
|
18
|
-
platform: ServicePlatformConfig;
|
|
19
|
-
type: GraphDatabaseType;
|
|
20
|
-
name?: string;
|
|
21
|
-
uri?: string;
|
|
22
|
-
url?: string;
|
|
23
|
-
username?: string;
|
|
24
|
-
password?: string;
|
|
25
|
-
database?: string;
|
|
26
|
-
host?: string;
|
|
27
|
-
port?: number;
|
|
28
|
-
storage?: string;
|
|
29
|
-
index?: string;
|
|
30
|
-
endpoint?: string;
|
|
31
|
-
region?: string;
|
|
32
|
-
command?: string;
|
|
33
|
-
image?: string;
|
|
34
|
-
janusgraphVersion?: string;
|
|
35
|
-
javaOptions?: string;
|
|
36
|
-
heapSize?: string;
|
|
37
|
-
pageCacheSize?: string;
|
|
38
|
-
noAuth?: boolean;
|
|
39
|
-
dataPath?: string;
|
|
40
|
-
timeout?: number;
|
|
41
|
-
wait?: number;
|
|
42
|
-
logsEndpoint?: string;
|
|
43
|
-
tag?: string;
|
|
44
|
-
resources?: ResourceRequirements;
|
|
45
|
-
security?: SecurityRequirements;
|
|
46
|
-
build?: boolean | BuildRequirements;
|
|
47
|
-
dockerfile?: string;
|
|
48
|
-
buildContext?: string;
|
|
49
|
-
buildArgs?: {
|
|
50
|
-
[k: string]: string;
|
|
51
|
-
};
|
|
52
|
-
buildTarget?: string;
|
|
53
|
-
prebuilt?: boolean;
|
|
54
|
-
noCache?: boolean;
|
|
55
|
-
secrets?: string[];
|
|
56
|
-
labels?: {
|
|
57
|
-
[k: string]: string;
|
|
58
|
-
};
|
|
59
|
-
annotations?: {
|
|
60
|
-
[k: string]: string;
|
|
61
|
-
};
|
|
62
|
-
dependencies?: string[];
|
|
63
|
-
externalDependencies?: (string | {
|
|
64
|
-
name?: string;
|
|
65
|
-
url?: string;
|
|
66
|
-
required?: boolean;
|
|
67
|
-
healthCheck?: string;
|
|
68
|
-
[k: string]: unknown;
|
|
69
|
-
})[];
|
|
70
|
-
environment?: {
|
|
71
|
-
[k: string]: string;
|
|
72
|
-
};
|
|
73
|
-
env?: {
|
|
74
|
-
[k: string]: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
79
|
-
* via the `definition` "ServicePlatformConfig".
|
|
80
|
-
*/
|
|
81
|
-
interface ServicePlatformConfig {
|
|
82
|
-
type: PlatformType;
|
|
83
|
-
[k: string]: unknown;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
87
|
-
* via the `definition` "ResourceRequirements".
|
|
88
|
-
*/
|
|
89
|
-
interface ResourceRequirements {
|
|
90
|
-
cpu?: string;
|
|
91
|
-
memory?: string;
|
|
92
|
-
gpu?: number;
|
|
93
|
-
gpus?: number;
|
|
94
|
-
replicas?: number;
|
|
95
|
-
ephemeralStorage?: string;
|
|
96
|
-
memoryReservation?: string;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
100
|
-
* via the `definition` "SecurityRequirements".
|
|
101
|
-
*/
|
|
102
|
-
interface SecurityRequirements {
|
|
103
|
-
readOnlyRootFilesystem?: boolean;
|
|
104
|
-
runAsNonRoot?: boolean;
|
|
105
|
-
runAsUser?: number;
|
|
106
|
-
runAsGroup?: number;
|
|
107
|
-
capabilities?: string[] | {
|
|
108
|
-
add?: string[];
|
|
109
|
-
drop?: string[];
|
|
110
|
-
[k: string]: unknown;
|
|
111
|
-
};
|
|
112
|
-
privileged?: boolean;
|
|
113
|
-
allowPrivilegeEscalation?: boolean;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
117
|
-
* via the `definition` "BuildRequirements".
|
|
118
|
-
*/
|
|
119
|
-
interface BuildRequirements {
|
|
120
|
-
dockerfile?: string;
|
|
121
|
-
buildContext?: string;
|
|
122
|
-
buildArgs?: {
|
|
123
|
-
[k: string]: string;
|
|
124
|
-
};
|
|
125
|
-
buildTarget?: string;
|
|
126
|
-
prebuilt?: boolean;
|
|
127
|
-
noCache?: boolean;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
131
|
-
* via the `definition` "BackendServiceConfig".
|
|
132
|
-
*/
|
|
133
|
-
interface BackendServiceConfig {
|
|
134
|
-
platform: ServicePlatformConfig;
|
|
135
|
-
devMode?: boolean;
|
|
136
|
-
command?: string;
|
|
137
|
-
port: number;
|
|
138
|
-
publicURL: string;
|
|
139
|
-
corsOrigin: string;
|
|
140
|
-
image?: string;
|
|
141
|
-
cpu?: string;
|
|
142
|
-
memory?: string;
|
|
143
|
-
databaseUrl?: string;
|
|
144
|
-
projectRoot?: string;
|
|
145
|
-
timeout?: number;
|
|
146
|
-
wait?: number;
|
|
147
|
-
logsEndpoint?: string;
|
|
148
|
-
tag?: string;
|
|
149
|
-
resources?: ResourceRequirements;
|
|
150
|
-
security?: SecurityRequirements;
|
|
151
|
-
build?: boolean | BuildRequirements;
|
|
152
|
-
dockerfile?: string;
|
|
153
|
-
buildContext?: string;
|
|
154
|
-
buildArgs?: {
|
|
155
|
-
[k: string]: string;
|
|
156
|
-
};
|
|
157
|
-
buildTarget?: string;
|
|
158
|
-
prebuilt?: boolean;
|
|
159
|
-
noCache?: boolean;
|
|
160
|
-
secrets?: string[];
|
|
161
|
-
labels?: {
|
|
162
|
-
[k: string]: string;
|
|
163
|
-
};
|
|
164
|
-
annotations?: {
|
|
165
|
-
[k: string]: string;
|
|
166
|
-
};
|
|
167
|
-
dependencies?: string[];
|
|
168
|
-
externalDependencies?: (string | {
|
|
169
|
-
name?: string;
|
|
170
|
-
url?: string;
|
|
171
|
-
required?: boolean;
|
|
172
|
-
healthCheck?: string;
|
|
173
|
-
[k: string]: unknown;
|
|
174
|
-
})[];
|
|
175
|
-
redisUrl?: string;
|
|
176
|
-
environment?: {
|
|
177
|
-
[k: string]: string;
|
|
178
|
-
};
|
|
179
|
-
env?: {
|
|
180
|
-
[k: string]: string;
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
/**
|
|
184
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
185
|
-
* via the `definition` "FrontendServiceConfig".
|
|
186
|
-
*/
|
|
187
|
-
interface FrontendServiceConfig {
|
|
188
|
-
platform: ServicePlatformConfig;
|
|
189
|
-
devMode?: boolean;
|
|
190
|
-
command?: string;
|
|
191
|
-
port: number;
|
|
192
|
-
siteName: string;
|
|
193
|
-
image?: string;
|
|
194
|
-
projectRoot?: string;
|
|
195
|
-
databaseUrl?: string;
|
|
196
|
-
timeout?: number;
|
|
197
|
-
wait?: number;
|
|
198
|
-
logsEndpoint?: string;
|
|
199
|
-
tag?: string;
|
|
200
|
-
resources?: ResourceRequirements;
|
|
201
|
-
security?: SecurityRequirements;
|
|
202
|
-
build?: boolean | BuildRequirements;
|
|
203
|
-
dockerfile?: string;
|
|
204
|
-
buildContext?: string;
|
|
205
|
-
buildArgs?: {
|
|
206
|
-
[k: string]: string;
|
|
207
|
-
};
|
|
208
|
-
buildTarget?: string;
|
|
209
|
-
prebuilt?: boolean;
|
|
210
|
-
noCache?: boolean;
|
|
211
|
-
secrets?: string[];
|
|
212
|
-
labels?: {
|
|
213
|
-
[k: string]: string;
|
|
214
|
-
};
|
|
215
|
-
annotations?: {
|
|
216
|
-
[k: string]: string;
|
|
217
|
-
};
|
|
218
|
-
dependencies?: string[];
|
|
219
|
-
externalDependencies?: (string | {
|
|
220
|
-
name?: string;
|
|
221
|
-
url?: string;
|
|
222
|
-
required?: boolean;
|
|
223
|
-
healthCheck?: string;
|
|
224
|
-
[k: string]: unknown;
|
|
225
|
-
})[];
|
|
226
|
-
environment?: {
|
|
227
|
-
[k: string]: string;
|
|
228
|
-
};
|
|
229
|
-
env?: {
|
|
230
|
-
[k: string]: string;
|
|
231
|
-
};
|
|
232
|
-
publicURL?: string;
|
|
233
|
-
allowedOrigins?: string[];
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
237
|
-
* via the `definition` "VectorsServiceConfig".
|
|
238
|
-
*/
|
|
239
|
-
interface VectorsServiceConfig {
|
|
240
|
-
platform?: ServicePlatformConfig;
|
|
241
|
-
type: 'qdrant' | 'memory';
|
|
242
|
-
host?: string;
|
|
243
|
-
port?: number;
|
|
244
|
-
}
|
|
245
|
-
/**
|
|
246
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
247
|
-
* via the `definition` "EmbeddingServiceConfig".
|
|
248
|
-
*/
|
|
249
|
-
interface EmbeddingServiceConfig {
|
|
250
|
-
platform?: ServicePlatformConfig;
|
|
251
|
-
type: 'voyage' | 'ollama';
|
|
252
|
-
model: string;
|
|
253
|
-
apiKey?: string;
|
|
254
|
-
baseURL?: string;
|
|
255
|
-
endpoint?: string;
|
|
256
|
-
chunking?: {
|
|
257
|
-
chunkSize?: number;
|
|
258
|
-
overlap?: number;
|
|
259
|
-
[k: string]: unknown;
|
|
260
|
-
};
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
264
|
-
* via the `definition` "DatabaseServiceConfig".
|
|
265
|
-
*/
|
|
266
|
-
interface DatabaseServiceConfig {
|
|
267
|
-
platform: ServicePlatformConfig;
|
|
268
|
-
type: string;
|
|
269
|
-
name?: string;
|
|
270
|
-
host: string;
|
|
271
|
-
port: number;
|
|
272
|
-
environment?: {
|
|
273
|
-
[k: string]: string;
|
|
274
|
-
};
|
|
275
|
-
env?: {
|
|
276
|
-
[k: string]: string;
|
|
277
|
-
};
|
|
278
|
-
description?: string;
|
|
279
|
-
command?: string;
|
|
280
|
-
image?: string;
|
|
281
|
-
user?: string;
|
|
282
|
-
username?: string;
|
|
283
|
-
password?: string;
|
|
284
|
-
database?: string;
|
|
285
|
-
/**
|
|
286
|
-
* Override the default data storage directory ($XDG_DATA_HOME/semiont/{name}/database/{service})
|
|
287
|
-
*/
|
|
288
|
-
dataDir?: string;
|
|
289
|
-
storageSize?: string;
|
|
290
|
-
timeout?: number;
|
|
291
|
-
wait?: number;
|
|
292
|
-
logsEndpoint?: string;
|
|
293
|
-
tag?: string;
|
|
294
|
-
resources?: ResourceRequirements;
|
|
295
|
-
security?: SecurityRequirements;
|
|
296
|
-
build?: boolean | BuildRequirements;
|
|
297
|
-
dockerfile?: string;
|
|
298
|
-
buildContext?: string;
|
|
299
|
-
buildArgs?: {
|
|
300
|
-
[k: string]: string;
|
|
301
|
-
};
|
|
302
|
-
buildTarget?: string;
|
|
303
|
-
prebuilt?: boolean;
|
|
304
|
-
noCache?: boolean;
|
|
305
|
-
secrets?: string[];
|
|
306
|
-
labels?: {
|
|
307
|
-
[k: string]: string;
|
|
308
|
-
};
|
|
309
|
-
annotations?: {
|
|
310
|
-
[k: string]: string;
|
|
311
|
-
};
|
|
312
|
-
dependencies?: string[];
|
|
313
|
-
externalDependencies?: (string | {
|
|
314
|
-
name?: string;
|
|
315
|
-
url?: string;
|
|
316
|
-
required?: boolean;
|
|
317
|
-
healthCheck?: string;
|
|
318
|
-
[k: string]: unknown;
|
|
319
|
-
})[];
|
|
320
|
-
}
|
|
321
|
-
/**
|
|
322
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
323
|
-
* via the `definition` "OllamaProviderConfig".
|
|
324
|
-
*/
|
|
325
|
-
interface OllamaProviderConfig {
|
|
326
|
-
platform: ServicePlatformConfig;
|
|
327
|
-
baseURL?: string;
|
|
328
|
-
port?: number;
|
|
329
|
-
image?: string;
|
|
330
|
-
command?: string;
|
|
331
|
-
timeout?: number;
|
|
332
|
-
wait?: number;
|
|
333
|
-
logsEndpoint?: string;
|
|
334
|
-
}
|
|
335
|
-
/**
|
|
336
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
337
|
-
* via the `definition` "AnthropicProviderConfig".
|
|
338
|
-
*/
|
|
339
|
-
interface AnthropicProviderConfig {
|
|
340
|
-
platform: 'external';
|
|
341
|
-
endpoint: string;
|
|
342
|
-
apiKey: string;
|
|
343
|
-
}
|
|
344
|
-
/**
|
|
345
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
346
|
-
* via the `definition` "InferenceProvidersConfig".
|
|
347
|
-
*/
|
|
348
|
-
interface InferenceProvidersConfig {
|
|
349
|
-
ollama?: OllamaProviderConfig;
|
|
350
|
-
anthropic?: AnthropicProviderConfig;
|
|
351
|
-
[k: string]: unknown;
|
|
352
|
-
}
|
|
353
|
-
/**
|
|
354
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
355
|
-
* via the `definition` "McpServiceConfig".
|
|
356
|
-
*/
|
|
357
|
-
interface McpServiceConfig {
|
|
358
|
-
platform: ServicePlatformConfig;
|
|
359
|
-
command?: string;
|
|
360
|
-
image?: string;
|
|
361
|
-
port?: number;
|
|
362
|
-
dependsOn?: string[];
|
|
363
|
-
timeout?: number;
|
|
364
|
-
wait?: number;
|
|
365
|
-
logsEndpoint?: string;
|
|
366
|
-
tag?: string;
|
|
367
|
-
resources?: ResourceRequirements;
|
|
368
|
-
security?: SecurityRequirements;
|
|
369
|
-
build?: boolean | BuildRequirements;
|
|
370
|
-
dockerfile?: string;
|
|
371
|
-
buildContext?: string;
|
|
372
|
-
buildArgs?: {
|
|
373
|
-
[k: string]: string;
|
|
374
|
-
};
|
|
375
|
-
buildTarget?: string;
|
|
376
|
-
prebuilt?: boolean;
|
|
377
|
-
noCache?: boolean;
|
|
378
|
-
secrets?: string[];
|
|
379
|
-
labels?: {
|
|
380
|
-
[k: string]: string;
|
|
381
|
-
};
|
|
382
|
-
annotations?: {
|
|
383
|
-
[k: string]: string;
|
|
384
|
-
};
|
|
385
|
-
dependencies?: string[];
|
|
386
|
-
externalDependencies?: (string | {
|
|
387
|
-
name?: string;
|
|
388
|
-
url?: string;
|
|
389
|
-
required?: boolean;
|
|
390
|
-
healthCheck?: string;
|
|
391
|
-
[k: string]: unknown;
|
|
392
|
-
})[];
|
|
393
|
-
environment?: {
|
|
394
|
-
[k: string]: string;
|
|
395
|
-
};
|
|
396
|
-
env?: {
|
|
397
|
-
[k: string]: string;
|
|
398
|
-
};
|
|
399
|
-
}
|
|
400
|
-
/**
|
|
401
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
402
|
-
* via the `definition` "ServicesConfig".
|
|
403
|
-
*/
|
|
404
|
-
interface ServicesConfig {
|
|
405
|
-
backend?: BackendServiceConfig;
|
|
406
|
-
frontend?: FrontendServiceConfig;
|
|
407
|
-
database?: DatabaseServiceConfig;
|
|
408
|
-
graph?: GraphServiceConfig;
|
|
409
|
-
mcp?: McpServiceConfig;
|
|
410
|
-
vectors?: VectorsServiceConfig;
|
|
411
|
-
embedding?: EmbeddingServiceConfig;
|
|
412
|
-
[k: string]: unknown;
|
|
413
|
-
}
|
|
414
|
-
/**
|
|
415
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
416
|
-
* via the `definition` "SiteConfig".
|
|
417
|
-
*/
|
|
418
|
-
interface SiteConfig {
|
|
419
|
-
/**
|
|
420
|
-
* Display name for the site
|
|
421
|
-
*/
|
|
422
|
-
siteName?: string;
|
|
423
|
-
/**
|
|
424
|
-
* Primary domain for the site
|
|
425
|
-
*/
|
|
426
|
-
domain: string;
|
|
427
|
-
/**
|
|
428
|
-
* Administrator email address
|
|
429
|
-
*/
|
|
430
|
-
adminEmail?: string;
|
|
431
|
-
/**
|
|
432
|
-
* Support email address (optional)
|
|
433
|
-
*/
|
|
434
|
-
supportEmail?: string;
|
|
435
|
-
/**
|
|
436
|
-
* Email domains allowed for OAuth authentication
|
|
437
|
-
*
|
|
438
|
-
* @minItems 1
|
|
439
|
-
*/
|
|
440
|
-
oauthAllowedDomains?: [string, ...string[]];
|
|
441
|
-
}
|
|
442
|
-
/**
|
|
443
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
444
|
-
* via the `definition` "AppConfig".
|
|
445
|
-
*/
|
|
446
|
-
interface AppConfig {
|
|
447
|
-
features?: {
|
|
448
|
-
enableAnalytics?: boolean;
|
|
449
|
-
enableMaintenanceMode?: boolean;
|
|
450
|
-
enableDebugLogging?: boolean;
|
|
451
|
-
};
|
|
452
|
-
security?: {
|
|
453
|
-
/**
|
|
454
|
-
* Session timeout in seconds
|
|
455
|
-
*/
|
|
456
|
-
sessionTimeout?: number;
|
|
457
|
-
/**
|
|
458
|
-
* Maximum failed login attempts before lockout
|
|
459
|
-
*/
|
|
460
|
-
maxLoginAttempts?: number;
|
|
461
|
-
corsAllowedOrigins?: string[];
|
|
462
|
-
/**
|
|
463
|
-
* Enable local username/password authentication
|
|
464
|
-
*/
|
|
465
|
-
enableLocalAuth?: boolean;
|
|
466
|
-
/**
|
|
467
|
-
* JWT signing secret (base64 encoded, 32+ bytes)
|
|
468
|
-
*/
|
|
469
|
-
jwtSecret?: string;
|
|
470
|
-
};
|
|
471
|
-
performance?: {
|
|
472
|
-
enableCaching?: boolean;
|
|
473
|
-
/**
|
|
474
|
-
* Cache timeout in seconds
|
|
475
|
-
*/
|
|
476
|
-
cacheTimeout?: number;
|
|
477
|
-
/**
|
|
478
|
-
* Maximum request size (e.g., '10mb')
|
|
479
|
-
*/
|
|
480
|
-
maxRequestSize?: string;
|
|
481
|
-
};
|
|
482
|
-
}
|
|
483
|
-
/**
|
|
484
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
485
|
-
* via the `definition` "EnvironmentConfig".
|
|
486
|
-
*/
|
|
487
|
-
interface EnvironmentConfig {
|
|
488
|
-
/**
|
|
489
|
-
* Optional comment for documentation
|
|
490
|
-
*/
|
|
491
|
-
_comment?: string;
|
|
492
|
-
_metadata?: {
|
|
493
|
-
environment: string;
|
|
494
|
-
projectRoot: string | null;
|
|
495
|
-
[k: string]: unknown;
|
|
496
|
-
};
|
|
497
|
-
/**
|
|
498
|
-
* Environment name
|
|
499
|
-
*/
|
|
500
|
-
name?: string;
|
|
501
|
-
platform?: {
|
|
502
|
-
default?: PlatformType;
|
|
503
|
-
[k: string]: unknown;
|
|
504
|
-
};
|
|
505
|
-
services: ServicesConfig;
|
|
506
|
-
inference?: InferenceProvidersConfig;
|
|
507
|
-
workers?: {
|
|
508
|
-
[k: string]: {
|
|
509
|
-
inference?: {
|
|
510
|
-
type?: string;
|
|
511
|
-
model?: string;
|
|
512
|
-
[k: string]: unknown;
|
|
513
|
-
};
|
|
514
|
-
[k: string]: unknown;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
actors?: {
|
|
518
|
-
[k: string]: {
|
|
519
|
-
inference?: {
|
|
520
|
-
type?: string;
|
|
521
|
-
model?: string;
|
|
522
|
-
[k: string]: unknown;
|
|
523
|
-
};
|
|
524
|
-
[k: string]: unknown;
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
site?: SiteConfig;
|
|
528
|
-
app?: AppConfig;
|
|
529
|
-
env?: {
|
|
530
|
-
NODE_ENV?: 'development' | 'production' | 'test';
|
|
531
|
-
[k: string]: unknown;
|
|
532
|
-
};
|
|
533
|
-
/**
|
|
534
|
-
* Logging verbosity level
|
|
535
|
-
*/
|
|
536
|
-
logLevel?: 'error' | 'warn' | 'info' | 'http' | 'debug';
|
|
537
|
-
deployment?: {
|
|
538
|
-
imageTagStrategy?: 'mutable' | 'immutable' | 'git-hash';
|
|
539
|
-
[k: string]: unknown;
|
|
540
|
-
};
|
|
541
|
-
[k: string]: unknown;
|
|
542
|
-
}
|
|
543
|
-
/**
|
|
544
|
-
* This interface was referenced by `HttpsSemiontOrgSchemasConfigJson`'s JSON-Schema
|
|
545
|
-
* via the `definition` "SemiontConfig".
|
|
546
|
-
*/
|
|
547
|
-
interface SemiontConfig {
|
|
548
|
-
/**
|
|
549
|
-
* Config file version (semver)
|
|
550
|
-
*/
|
|
551
|
-
version: string;
|
|
552
|
-
/**
|
|
553
|
-
* Project name
|
|
554
|
-
*/
|
|
555
|
-
project: string;
|
|
556
|
-
site: SiteConfig;
|
|
557
|
-
app?: AppConfig;
|
|
558
|
-
services?: ServicesConfig;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
export type { AnthropicProviderConfig as A, BackendServiceConfig as B, DatabaseServiceConfig as D, EnvironmentConfig as E, FrontendServiceConfig as F, GraphDatabaseType as G, InferenceProvidersConfig as I, McpServiceConfig as M, OllamaProviderConfig as O, PlatformType as P, SemiontConfig as S, VectorsServiceConfig as V, AppConfig as a, EmbeddingServiceConfig as b, GraphServiceConfig as c, ServicePlatformConfig as d, ServicesConfig as e, SiteConfig as f };
|