@adaline/provider 0.22.0 → 0.23.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/dist/index.d.mts CHANGED
@@ -147,21 +147,21 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
147
147
  param: z.ZodString;
148
148
  title: z.ZodString;
149
149
  description: z.ZodString;
150
- default: z.ZodNullable<z.ZodString>;
150
+ default: z.ZodString;
151
151
  choices: z.ZodArray<z.ZodString, "many">;
152
152
  }, "strip", z.ZodTypeAny, {
153
153
  type: "select-string";
154
154
  param: string;
155
155
  title: string;
156
156
  description: string;
157
- default: string | null;
157
+ default: string;
158
158
  choices: string[];
159
159
  }, {
160
160
  type: "select-string";
161
161
  param: string;
162
162
  title: string;
163
163
  description: string;
164
- default: string | null;
164
+ default: string;
165
165
  choices: string[];
166
166
  }>, z.ZodObject<{
167
167
  type: z.ZodLiteral<"select-boolean">;
@@ -234,7 +234,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
234
234
  param: string;
235
235
  title: string;
236
236
  description: string;
237
- default: string | null;
237
+ default: string;
238
238
  choices: string[];
239
239
  }>;
240
240
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -271,7 +271,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
271
271
  param: string;
272
272
  title: string;
273
273
  description: string;
274
- default: string | null;
274
+ default: string;
275
275
  choices: string[];
276
276
  }>;
277
277
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -308,7 +308,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
308
308
  param: string;
309
309
  title: string;
310
310
  description: string;
311
- default: string | null;
311
+ default: string;
312
312
  choices: string[];
313
313
  }>;
314
314
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -345,7 +345,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
345
345
  param: string;
346
346
  title: string;
347
347
  description: string;
348
- default: string | null;
348
+ default: string;
349
349
  choices: string[];
350
350
  }>;
351
351
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -408,21 +408,21 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
408
408
  param: z.ZodString;
409
409
  title: z.ZodString;
410
410
  description: z.ZodString;
411
- default: z.ZodNullable<z.ZodString>;
411
+ default: z.ZodString;
412
412
  choices: z.ZodArray<z.ZodString, "many">;
413
413
  }, "strip", z.ZodTypeAny, {
414
414
  type: "select-string";
415
415
  param: string;
416
416
  title: string;
417
417
  description: string;
418
- default: string | null;
418
+ default: string;
419
419
  choices: string[];
420
420
  }, {
421
421
  type: "select-string";
422
422
  param: string;
423
423
  title: string;
424
424
  description: string;
425
- default: string | null;
425
+ default: string;
426
426
  choices: string[];
427
427
  }>, z.ZodObject<{
428
428
  type: z.ZodLiteral<"select-boolean">;
@@ -495,7 +495,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
495
495
  param: string;
496
496
  title: string;
497
497
  description: string;
498
- default: string | null;
498
+ default: string;
499
499
  choices: string[];
500
500
  }>;
501
501
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -532,7 +532,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
532
532
  param: string;
533
533
  title: string;
534
534
  description: string;
535
- default: string | null;
535
+ default: string;
536
536
  choices: string[];
537
537
  }>;
538
538
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -569,7 +569,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
569
569
  param: string;
570
570
  title: string;
571
571
  description: string;
572
- default: string | null;
572
+ default: string;
573
573
  choices: string[];
574
574
  }>;
575
575
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -606,7 +606,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
606
606
  param: string;
607
607
  title: string;
608
608
  description: string;
609
- default: string | null;
609
+ default: string;
610
610
  choices: string[];
611
611
  }>;
612
612
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -669,21 +669,21 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
669
669
  param: z.ZodString;
670
670
  title: z.ZodString;
671
671
  description: z.ZodString;
672
- default: z.ZodNullable<z.ZodString>;
672
+ default: z.ZodString;
673
673
  choices: z.ZodArray<z.ZodString, "many">;
674
674
  }, "strip", z.ZodTypeAny, {
675
675
  type: "select-string";
676
676
  param: string;
677
677
  title: string;
678
678
  description: string;
679
- default: string | null;
679
+ default: string;
680
680
  choices: string[];
681
681
  }, {
682
682
  type: "select-string";
683
683
  param: string;
684
684
  title: string;
685
685
  description: string;
686
- default: string | null;
686
+ default: string;
687
687
  choices: string[];
688
688
  }>, z.ZodObject<{
689
689
  type: z.ZodLiteral<"select-boolean">;
@@ -756,7 +756,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
756
756
  param: string;
757
757
  title: string;
758
758
  description: string;
759
- default: string | null;
759
+ default: string;
760
760
  choices: string[];
761
761
  }>;
762
762
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -793,7 +793,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
793
793
  param: string;
794
794
  title: string;
795
795
  description: string;
796
- default: string | null;
796
+ default: string;
797
797
  choices: string[];
798
798
  }>;
799
799
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -830,7 +830,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
830
830
  param: string;
831
831
  title: string;
832
832
  description: string;
833
- default: string | null;
833
+ default: string;
834
834
  choices: string[];
835
835
  }>;
836
836
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -867,7 +867,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
867
867
  param: string;
868
868
  title: string;
869
869
  description: string;
870
- default: string | null;
870
+ default: string;
871
871
  choices: string[];
872
872
  }>;
873
873
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -930,21 +930,21 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
930
930
  param: z.ZodString;
931
931
  title: z.ZodString;
932
932
  description: z.ZodString;
933
- default: z.ZodNullable<z.ZodString>;
933
+ default: z.ZodString;
934
934
  choices: z.ZodArray<z.ZodString, "many">;
935
935
  }, "strip", z.ZodTypeAny, {
936
936
  type: "select-string";
937
937
  param: string;
938
938
  title: string;
939
939
  description: string;
940
- default: string | null;
940
+ default: string;
941
941
  choices: string[];
942
942
  }, {
943
943
  type: "select-string";
944
944
  param: string;
945
945
  title: string;
946
946
  description: string;
947
- default: string | null;
947
+ default: string;
948
948
  choices: string[];
949
949
  }>, z.ZodObject<{
950
950
  type: z.ZodLiteral<"select-boolean">;
@@ -1017,7 +1017,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1017
1017
  param: string;
1018
1018
  title: string;
1019
1019
  description: string;
1020
- default: string | null;
1020
+ default: string;
1021
1021
  choices: string[];
1022
1022
  }>;
1023
1023
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1054,7 +1054,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1054
1054
  param: string;
1055
1055
  title: string;
1056
1056
  description: string;
1057
- default: string | null;
1057
+ default: string;
1058
1058
  choices: string[];
1059
1059
  }>;
1060
1060
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1091,7 +1091,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1091
1091
  param: string;
1092
1092
  title: string;
1093
1093
  description: string;
1094
- default: string | null;
1094
+ default: string;
1095
1095
  choices: string[];
1096
1096
  }>;
1097
1097
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1128,7 +1128,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1128
1128
  param: string;
1129
1129
  title: string;
1130
1130
  description: string;
1131
- default: string | null;
1131
+ default: string;
1132
1132
  choices: string[];
1133
1133
  }>;
1134
1134
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1191,21 +1191,21 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1191
1191
  param: z.ZodString;
1192
1192
  title: z.ZodString;
1193
1193
  description: z.ZodString;
1194
- default: z.ZodNullable<z.ZodString>;
1194
+ default: z.ZodString;
1195
1195
  choices: z.ZodArray<z.ZodString, "many">;
1196
1196
  }, "strip", z.ZodTypeAny, {
1197
1197
  type: "select-string";
1198
1198
  param: string;
1199
1199
  title: string;
1200
1200
  description: string;
1201
- default: string | null;
1201
+ default: string;
1202
1202
  choices: string[];
1203
1203
  }, {
1204
1204
  type: "select-string";
1205
1205
  param: string;
1206
1206
  title: string;
1207
1207
  description: string;
1208
- default: string | null;
1208
+ default: string;
1209
1209
  choices: string[];
1210
1210
  }>, z.ZodObject<{
1211
1211
  type: z.ZodLiteral<"select-boolean">;
@@ -1278,7 +1278,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1278
1278
  param: string;
1279
1279
  title: string;
1280
1280
  description: string;
1281
- default: string | null;
1281
+ default: string;
1282
1282
  choices: string[];
1283
1283
  }>;
1284
1284
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1315,7 +1315,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1315
1315
  param: string;
1316
1316
  title: string;
1317
1317
  description: string;
1318
- default: string | null;
1318
+ default: string;
1319
1319
  choices: string[];
1320
1320
  }>;
1321
1321
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1352,7 +1352,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1352
1352
  param: string;
1353
1353
  title: string;
1354
1354
  description: string;
1355
- default: string | null;
1355
+ default: string;
1356
1356
  choices: string[];
1357
1357
  }>;
1358
1358
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1389,7 +1389,7 @@ declare const ChatModelSchema: <R extends z.ZodEnum<[string, ...string[]]> = z.Z
1389
1389
  param: string;
1390
1390
  title: string;
1391
1391
  description: string;
1392
- default: string | null;
1392
+ default: string;
1393
1393
  choices: string[];
1394
1394
  }>;
1395
1395
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1459,21 +1459,21 @@ declare const ConfigItemDef: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1459
1459
  param: z.ZodString;
1460
1460
  title: z.ZodString;
1461
1461
  description: z.ZodString;
1462
- default: z.ZodNullable<z.ZodString>;
1462
+ default: z.ZodString;
1463
1463
  choices: z.ZodArray<z.ZodString, "many">;
1464
1464
  }, "strip", z.ZodTypeAny, {
1465
1465
  type: "select-string";
1466
1466
  param: string;
1467
1467
  title: string;
1468
1468
  description: string;
1469
- default: string | null;
1469
+ default: string;
1470
1470
  choices: string[];
1471
1471
  }, {
1472
1472
  type: "select-string";
1473
1473
  param: string;
1474
1474
  title: string;
1475
1475
  description: string;
1476
- default: string | null;
1476
+ default: string;
1477
1477
  choices: string[];
1478
1478
  }>, z.ZodObject<{
1479
1479
  type: z.ZodLiteral<"select-boolean">;
@@ -1600,21 +1600,21 @@ declare const SelectStringConfigItemDef: z.ZodObject<{
1600
1600
  param: z.ZodString;
1601
1601
  title: z.ZodString;
1602
1602
  description: z.ZodString;
1603
- default: z.ZodNullable<z.ZodString>;
1603
+ default: z.ZodString;
1604
1604
  choices: z.ZodArray<z.ZodString, "many">;
1605
1605
  }, "strip", z.ZodTypeAny, {
1606
1606
  type: "select-string";
1607
1607
  param: string;
1608
1608
  title: string;
1609
1609
  description: string;
1610
- default: string | null;
1610
+ default: string;
1611
1611
  choices: string[];
1612
1612
  }, {
1613
1613
  type: "select-string";
1614
1614
  param: string;
1615
1615
  title: string;
1616
1616
  description: string;
1617
- default: string | null;
1617
+ default: string;
1618
1618
  choices: string[];
1619
1619
  }>;
1620
1620
  type SelectStringConfigItemDefType = z.infer<typeof SelectStringConfigItemDef>;
@@ -1626,7 +1626,7 @@ declare const SelectStringConfigItem: (data: Omit<SelectStringConfigItemDefType,
1626
1626
  param: string;
1627
1627
  title: string;
1628
1628
  description: string;
1629
- default: string | null;
1629
+ default: string;
1630
1630
  choices: string[];
1631
1631
  };
1632
1632
  schema: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodEnum<[string, ...string[]]>>>>;
@@ -1802,21 +1802,21 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
1802
1802
  param: z.ZodString;
1803
1803
  title: z.ZodString;
1804
1804
  description: z.ZodString;
1805
- default: z.ZodNullable<z.ZodString>;
1805
+ default: z.ZodString;
1806
1806
  choices: z.ZodArray<z.ZodString, "many">;
1807
1807
  }, "strip", z.ZodTypeAny, {
1808
1808
  type: "select-string";
1809
1809
  param: string;
1810
1810
  title: string;
1811
1811
  description: string;
1812
- default: string | null;
1812
+ default: string;
1813
1813
  choices: string[];
1814
1814
  }, {
1815
1815
  type: "select-string";
1816
1816
  param: string;
1817
1817
  title: string;
1818
1818
  description: string;
1819
- default: string | null;
1819
+ default: string;
1820
1820
  choices: string[];
1821
1821
  }>, z.ZodObject<{
1822
1822
  type: z.ZodLiteral<"select-boolean">;
@@ -1889,7 +1889,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
1889
1889
  param: string;
1890
1890
  title: string;
1891
1891
  description: string;
1892
- default: string | null;
1892
+ default: string;
1893
1893
  choices: string[];
1894
1894
  }>;
1895
1895
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1926,7 +1926,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
1926
1926
  param: string;
1927
1927
  title: string;
1928
1928
  description: string;
1929
- default: string | null;
1929
+ default: string;
1930
1930
  choices: string[];
1931
1931
  }>;
1932
1932
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -1963,7 +1963,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
1963
1963
  param: string;
1964
1964
  title: string;
1965
1965
  description: string;
1966
- default: string | null;
1966
+ default: string;
1967
1967
  choices: string[];
1968
1968
  }>;
1969
1969
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -2000,7 +2000,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2000
2000
  param: string;
2001
2001
  title: string;
2002
2002
  description: string;
2003
- default: string | null;
2003
+ default: string;
2004
2004
  choices: string[];
2005
2005
  }>;
2006
2006
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -2044,7 +2044,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2044
2044
  param: string;
2045
2045
  title: string;
2046
2046
  description: string;
2047
- default: string | null;
2047
+ default: string;
2048
2048
  choices: string[];
2049
2049
  }>;
2050
2050
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;
@@ -2088,7 +2088,7 @@ declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]>
2088
2088
  param: string;
2089
2089
  title: string;
2090
2090
  description: string;
2091
- default: string | null;
2091
+ default: string;
2092
2092
  choices: string[];
2093
2093
  }>;
2094
2094
  schema: z.ZodObject<z.ZodRawShape, z.UnknownKeysParam, z.ZodTypeAny, unknown, unknown>;