@lingo.dev/_spec 0.34.0 → 0.35.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.
@@ -151,7 +151,8 @@
151
151
  "type": "string",
152
152
  "enum": [
153
153
  "openai",
154
- "anthropic"
154
+ "anthropic",
155
+ "google"
155
156
  ]
156
157
  },
157
158
  "model": {
package/build/index.cjs CHANGED
@@ -523,7 +523,7 @@ var configV1_4Definition = extendConfigDefinition(
523
523
  }
524
524
  );
525
525
  var providerSchema = _zod2.default.object({
526
- id: _zod2.default.enum(["openai", "anthropic"]),
526
+ id: _zod2.default.enum(["openai", "anthropic", "google"]),
527
527
  model: _zod2.default.string(),
528
528
  prompt: _zod2.default.string(),
529
529
  baseUrl: _zod2.default.string().optional()
package/build/index.d.cts CHANGED
@@ -532,17 +532,17 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
532
532
  $schema: Z.ZodDefault<Z.ZodString>;
533
533
  }>, {
534
534
  provider: Z.ZodOptional<Z.ZodObject<{
535
- id: Z.ZodEnum<["openai", "anthropic"]>;
535
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
536
536
  model: Z.ZodString;
537
537
  prompt: Z.ZodString;
538
538
  baseUrl: Z.ZodOptional<Z.ZodString>;
539
539
  }, "strip", Z.ZodTypeAny, {
540
- id: "openai" | "anthropic";
540
+ id: "openai" | "anthropic" | "google";
541
541
  model: string;
542
542
  prompt: string;
543
543
  baseUrl?: string | undefined;
544
544
  }, {
545
- id: "openai" | "anthropic";
545
+ id: "openai" | "anthropic" | "google";
546
546
  model: string;
547
547
  prompt: string;
548
548
  baseUrl?: string | undefined;
@@ -683,17 +683,17 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
683
683
  $schema: Z.ZodDefault<Z.ZodString>;
684
684
  }>, {
685
685
  provider: Z.ZodOptional<Z.ZodObject<{
686
- id: Z.ZodEnum<["openai", "anthropic"]>;
686
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
687
687
  model: Z.ZodString;
688
688
  prompt: Z.ZodString;
689
689
  baseUrl: Z.ZodOptional<Z.ZodString>;
690
690
  }, "strip", Z.ZodTypeAny, {
691
- id: "openai" | "anthropic";
691
+ id: "openai" | "anthropic" | "google";
692
692
  model: string;
693
693
  prompt: string;
694
694
  baseUrl?: string | undefined;
695
695
  }, {
696
- id: "openai" | "anthropic";
696
+ id: "openai" | "anthropic" | "google";
697
697
  model: string;
698
698
  prompt: string;
699
699
  baseUrl?: string | undefined;
@@ -886,17 +886,17 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
886
886
  $schema: Z.ZodDefault<Z.ZodString>;
887
887
  }>, {
888
888
  provider: Z.ZodOptional<Z.ZodObject<{
889
- id: Z.ZodEnum<["openai", "anthropic"]>;
889
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
890
890
  model: Z.ZodString;
891
891
  prompt: Z.ZodString;
892
892
  baseUrl: Z.ZodOptional<Z.ZodString>;
893
893
  }, "strip", Z.ZodTypeAny, {
894
- id: "openai" | "anthropic";
894
+ id: "openai" | "anthropic" | "google";
895
895
  model: string;
896
896
  prompt: string;
897
897
  baseUrl?: string | undefined;
898
898
  }, {
899
- id: "openai" | "anthropic";
899
+ id: "openai" | "anthropic" | "google";
900
900
  model: string;
901
901
  prompt: string;
902
902
  baseUrl?: string | undefined;
@@ -1145,17 +1145,17 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
1145
1145
  $schema: Z.ZodDefault<Z.ZodString>;
1146
1146
  }>, {
1147
1147
  provider: Z.ZodOptional<Z.ZodObject<{
1148
- id: Z.ZodEnum<["openai", "anthropic"]>;
1148
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
1149
1149
  model: Z.ZodString;
1150
1150
  prompt: Z.ZodString;
1151
1151
  baseUrl: Z.ZodOptional<Z.ZodString>;
1152
1152
  }, "strip", Z.ZodTypeAny, {
1153
- id: "openai" | "anthropic";
1153
+ id: "openai" | "anthropic" | "google";
1154
1154
  model: string;
1155
1155
  prompt: string;
1156
1156
  baseUrl?: string | undefined;
1157
1157
  }, {
1158
- id: "openai" | "anthropic";
1158
+ id: "openai" | "anthropic" | "google";
1159
1159
  model: string;
1160
1160
  prompt: string;
1161
1161
  baseUrl?: string | undefined;
@@ -1405,17 +1405,17 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1405
1405
  $schema: Z.ZodDefault<Z.ZodString>;
1406
1406
  }>, {
1407
1407
  provider: Z.ZodOptional<Z.ZodObject<{
1408
- id: Z.ZodEnum<["openai", "anthropic"]>;
1408
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
1409
1409
  model: Z.ZodString;
1410
1410
  prompt: Z.ZodString;
1411
1411
  baseUrl: Z.ZodOptional<Z.ZodString>;
1412
1412
  }, "strip", Z.ZodTypeAny, {
1413
- id: "openai" | "anthropic";
1413
+ id: "openai" | "anthropic" | "google";
1414
1414
  model: string;
1415
1415
  prompt: string;
1416
1416
  baseUrl?: string | undefined;
1417
1417
  }, {
1418
- id: "openai" | "anthropic";
1418
+ id: "openai" | "anthropic" | "google";
1419
1419
  model: string;
1420
1420
  prompt: string;
1421
1421
  baseUrl?: string | undefined;
@@ -1601,7 +1601,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1601
1601
  }>>;
1602
1602
  $schema: string;
1603
1603
  provider?: {
1604
- id: "openai" | "anthropic";
1604
+ id: "openai" | "anthropic" | "google";
1605
1605
  model: string;
1606
1606
  prompt: string;
1607
1607
  baseUrl?: string | undefined;
@@ -1630,7 +1630,7 @@ declare const defaultConfig: {
1630
1630
  }>>;
1631
1631
  $schema: string;
1632
1632
  provider?: {
1633
- id: "openai" | "anthropic";
1633
+ id: "openai" | "anthropic" | "google";
1634
1634
  model: string;
1635
1635
  prompt: string;
1636
1636
  baseUrl?: string | undefined;
package/build/index.d.ts CHANGED
@@ -532,17 +532,17 @@ declare const configV1_5Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
532
532
  $schema: Z.ZodDefault<Z.ZodString>;
533
533
  }>, {
534
534
  provider: Z.ZodOptional<Z.ZodObject<{
535
- id: Z.ZodEnum<["openai", "anthropic"]>;
535
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
536
536
  model: Z.ZodString;
537
537
  prompt: Z.ZodString;
538
538
  baseUrl: Z.ZodOptional<Z.ZodString>;
539
539
  }, "strip", Z.ZodTypeAny, {
540
- id: "openai" | "anthropic";
540
+ id: "openai" | "anthropic" | "google";
541
541
  model: string;
542
542
  prompt: string;
543
543
  baseUrl?: string | undefined;
544
544
  }, {
545
- id: "openai" | "anthropic";
545
+ id: "openai" | "anthropic" | "google";
546
546
  model: string;
547
547
  prompt: string;
548
548
  baseUrl?: string | undefined;
@@ -683,17 +683,17 @@ declare const configV1_6Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
683
683
  $schema: Z.ZodDefault<Z.ZodString>;
684
684
  }>, {
685
685
  provider: Z.ZodOptional<Z.ZodObject<{
686
- id: Z.ZodEnum<["openai", "anthropic"]>;
686
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
687
687
  model: Z.ZodString;
688
688
  prompt: Z.ZodString;
689
689
  baseUrl: Z.ZodOptional<Z.ZodString>;
690
690
  }, "strip", Z.ZodTypeAny, {
691
- id: "openai" | "anthropic";
691
+ id: "openai" | "anthropic" | "google";
692
692
  model: string;
693
693
  prompt: string;
694
694
  baseUrl?: string | undefined;
695
695
  }, {
696
- id: "openai" | "anthropic";
696
+ id: "openai" | "anthropic" | "google";
697
697
  model: string;
698
698
  prompt: string;
699
699
  baseUrl?: string | undefined;
@@ -886,17 +886,17 @@ declare const configV1_7Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
886
886
  $schema: Z.ZodDefault<Z.ZodString>;
887
887
  }>, {
888
888
  provider: Z.ZodOptional<Z.ZodObject<{
889
- id: Z.ZodEnum<["openai", "anthropic"]>;
889
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
890
890
  model: Z.ZodString;
891
891
  prompt: Z.ZodString;
892
892
  baseUrl: Z.ZodOptional<Z.ZodString>;
893
893
  }, "strip", Z.ZodTypeAny, {
894
- id: "openai" | "anthropic";
894
+ id: "openai" | "anthropic" | "google";
895
895
  model: string;
896
896
  prompt: string;
897
897
  baseUrl?: string | undefined;
898
898
  }, {
899
- id: "openai" | "anthropic";
899
+ id: "openai" | "anthropic" | "google";
900
900
  model: string;
901
901
  prompt: string;
902
902
  baseUrl?: string | undefined;
@@ -1145,17 +1145,17 @@ declare const configV1_8Definition: ConfigDefinition<Z.objectUtil.extendShape<Z.
1145
1145
  $schema: Z.ZodDefault<Z.ZodString>;
1146
1146
  }>, {
1147
1147
  provider: Z.ZodOptional<Z.ZodObject<{
1148
- id: Z.ZodEnum<["openai", "anthropic"]>;
1148
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
1149
1149
  model: Z.ZodString;
1150
1150
  prompt: Z.ZodString;
1151
1151
  baseUrl: Z.ZodOptional<Z.ZodString>;
1152
1152
  }, "strip", Z.ZodTypeAny, {
1153
- id: "openai" | "anthropic";
1153
+ id: "openai" | "anthropic" | "google";
1154
1154
  model: string;
1155
1155
  prompt: string;
1156
1156
  baseUrl?: string | undefined;
1157
1157
  }, {
1158
- id: "openai" | "anthropic";
1158
+ id: "openai" | "anthropic" | "google";
1159
1159
  model: string;
1160
1160
  prompt: string;
1161
1161
  baseUrl?: string | undefined;
@@ -1405,17 +1405,17 @@ declare const LATEST_CONFIG_DEFINITION: ConfigDefinition<Z.objectUtil.extendShap
1405
1405
  $schema: Z.ZodDefault<Z.ZodString>;
1406
1406
  }>, {
1407
1407
  provider: Z.ZodOptional<Z.ZodObject<{
1408
- id: Z.ZodEnum<["openai", "anthropic"]>;
1408
+ id: Z.ZodEnum<["openai", "anthropic", "google"]>;
1409
1409
  model: Z.ZodString;
1410
1410
  prompt: Z.ZodString;
1411
1411
  baseUrl: Z.ZodOptional<Z.ZodString>;
1412
1412
  }, "strip", Z.ZodTypeAny, {
1413
- id: "openai" | "anthropic";
1413
+ id: "openai" | "anthropic" | "google";
1414
1414
  model: string;
1415
1415
  prompt: string;
1416
1416
  baseUrl?: string | undefined;
1417
1417
  }, {
1418
- id: "openai" | "anthropic";
1418
+ id: "openai" | "anthropic" | "google";
1419
1419
  model: string;
1420
1420
  prompt: string;
1421
1421
  baseUrl?: string | undefined;
@@ -1601,7 +1601,7 @@ declare function parseI18nConfig(rawConfig: unknown): {
1601
1601
  }>>;
1602
1602
  $schema: string;
1603
1603
  provider?: {
1604
- id: "openai" | "anthropic";
1604
+ id: "openai" | "anthropic" | "google";
1605
1605
  model: string;
1606
1606
  prompt: string;
1607
1607
  baseUrl?: string | undefined;
@@ -1630,7 +1630,7 @@ declare const defaultConfig: {
1630
1630
  }>>;
1631
1631
  $schema: string;
1632
1632
  provider?: {
1633
- id: "openai" | "anthropic";
1633
+ id: "openai" | "anthropic" | "google";
1634
1634
  model: string;
1635
1635
  prompt: string;
1636
1636
  baseUrl?: string | undefined;
package/build/index.mjs CHANGED
@@ -523,7 +523,7 @@ var configV1_4Definition = extendConfigDefinition(
523
523
  }
524
524
  );
525
525
  var providerSchema = Z3.object({
526
- id: Z3.enum(["openai", "anthropic"]),
526
+ id: Z3.enum(["openai", "anthropic", "google"]),
527
527
  model: Z3.string(),
528
528
  prompt: Z3.string(),
529
529
  baseUrl: Z3.string().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingo.dev/_spec",
3
- "version": "0.34.0",
3
+ "version": "0.35.0",
4
4
  "description": "Lingo.dev open specification",
5
5
  "private": false,
6
6
  "publishConfig": {