@sixb/server 0.1.15 → 0.1.16
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/index.js +3 -1
- package/dist/index.js.map +4 -4
- package/dist/routes/ontology.d.ts +2 -0
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +9 -0
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/routes/ontology.ts +1 -0
- package/src/schemas/ontology.ts +1 -0
|
@@ -107,6 +107,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
107
107
|
providerId: string;
|
|
108
108
|
modelId: string;
|
|
109
109
|
dimensions: number;
|
|
110
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
110
111
|
representation?: {
|
|
111
112
|
name: string;
|
|
112
113
|
version?: string | undefined;
|
|
@@ -223,6 +224,7 @@ export declare function registerOntologyRoutes(app: Elysia, host: SixbHostView):
|
|
|
223
224
|
providerId: string;
|
|
224
225
|
modelId: string;
|
|
225
226
|
dimensions: number;
|
|
227
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
226
228
|
representation?: {
|
|
227
229
|
name: string;
|
|
228
230
|
version?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/routes/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAY,YAAY,EAAa,MAAM,YAAY,CAAA;AAGnE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA2GpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CrE"}
|
|
@@ -532,6 +532,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
532
532
|
providerId: z.ZodString;
|
|
533
533
|
modelId: z.ZodString;
|
|
534
534
|
dimensions: z.ZodNumber;
|
|
535
|
+
inputMode: z.ZodOptional<z.ZodEnum<["symmetric", "asymmetric"]>>;
|
|
535
536
|
representation: z.ZodOptional<z.ZodObject<{
|
|
536
537
|
name: z.ZodString;
|
|
537
538
|
version: z.ZodOptional<z.ZodString>;
|
|
@@ -546,6 +547,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
546
547
|
providerId: string;
|
|
547
548
|
modelId: string;
|
|
548
549
|
dimensions: number;
|
|
550
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
549
551
|
representation?: {
|
|
550
552
|
name: string;
|
|
551
553
|
version?: string | undefined;
|
|
@@ -554,6 +556,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
554
556
|
providerId: string;
|
|
555
557
|
modelId: string;
|
|
556
558
|
dimensions: number;
|
|
559
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
557
560
|
representation?: {
|
|
558
561
|
name: string;
|
|
559
562
|
version?: string | undefined;
|
|
@@ -565,6 +568,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
565
568
|
providerId: string;
|
|
566
569
|
modelId: string;
|
|
567
570
|
dimensions: number;
|
|
571
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
568
572
|
representation?: {
|
|
569
573
|
name: string;
|
|
570
574
|
version?: string | undefined;
|
|
@@ -576,6 +580,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
576
580
|
providerId: string;
|
|
577
581
|
modelId: string;
|
|
578
582
|
dimensions: number;
|
|
583
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
579
584
|
representation?: {
|
|
580
585
|
name: string;
|
|
581
586
|
version?: string | undefined;
|
|
@@ -592,6 +597,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
592
597
|
providerId: string;
|
|
593
598
|
modelId: string;
|
|
594
599
|
dimensions: number;
|
|
600
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
595
601
|
representation?: {
|
|
596
602
|
name: string;
|
|
597
603
|
version?: string | undefined;
|
|
@@ -608,6 +614,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
608
614
|
providerId: string;
|
|
609
615
|
modelId: string;
|
|
610
616
|
dimensions: number;
|
|
617
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
611
618
|
representation?: {
|
|
612
619
|
name: string;
|
|
613
620
|
version?: string | undefined;
|
|
@@ -887,6 +894,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
887
894
|
providerId: string;
|
|
888
895
|
modelId: string;
|
|
889
896
|
dimensions: number;
|
|
897
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
890
898
|
representation?: {
|
|
891
899
|
name: string;
|
|
892
900
|
version?: string | undefined;
|
|
@@ -977,6 +985,7 @@ export declare const ObjectTypeSchema: z.ZodObject<{
|
|
|
977
985
|
providerId: string;
|
|
978
986
|
modelId: string;
|
|
979
987
|
dimensions: number;
|
|
988
|
+
inputMode?: "symmetric" | "asymmetric" | undefined;
|
|
980
989
|
representation?: {
|
|
981
990
|
name: string;
|
|
982
991
|
version?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/schemas/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;EAAgD,CAAA;AAEnF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBnC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EASzC,CAAA;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAA;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAA;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKvB,CAAA;AAEF,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"ontology.d.ts","sourceRoot":"","sources":["../../src/schemas/ontology.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,sBAAsB;;;;;;EAAgD,CAAA;AAEnF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBnC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiC3B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sixb/server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "HTTP and WebSocket API server for Sixb",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sixb",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"zod-to-json-schema": "^3.24.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@sixb/core": "0.1.
|
|
41
|
+
"@sixb/core": "0.1.16"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@sixb/auth-magic-link": "0.1.5",
|
|
45
45
|
"@sixb/auth-oidc": "0.1.4",
|
|
46
|
-
"@sixb/core": "0.1.
|
|
47
|
-
"@sixb/sqlite": "0.1.
|
|
46
|
+
"@sixb/core": "0.1.16",
|
|
47
|
+
"@sixb/sqlite": "0.1.16",
|
|
48
48
|
"@types/bun": "latest",
|
|
49
49
|
"typescript": "^5.7.0"
|
|
50
50
|
},
|
package/src/routes/ontology.ts
CHANGED
|
@@ -56,6 +56,7 @@ function serializeSearch(
|
|
|
56
56
|
providerId: profile.model.providerId,
|
|
57
57
|
modelId: profile.model.modelId,
|
|
58
58
|
dimensions: profile.model.definition.dimensions,
|
|
59
|
+
inputMode: profile.model.definition.inputMode,
|
|
59
60
|
representation: profile.model.definition.representation,
|
|
60
61
|
},
|
|
61
62
|
},
|
package/src/schemas/ontology.ts
CHANGED
|
@@ -87,6 +87,7 @@ export const ObjectTypeSchema = z.object({
|
|
|
87
87
|
providerId: z.string(),
|
|
88
88
|
modelId: z.string(),
|
|
89
89
|
dimensions: z.number().int().positive(),
|
|
90
|
+
inputMode: z.enum(["symmetric", "asymmetric"]).optional(),
|
|
90
91
|
representation: z
|
|
91
92
|
.object({ name: z.string(), version: z.string().optional() })
|
|
92
93
|
.optional(),
|