@arrirpc/codegen-ts 0.84.0 → 0.84.1

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.cjs CHANGED
@@ -1335,7 +1335,7 @@ async function createTypescriptClient(def, options) {
1335
1335
  enumFeatures.push("values");
1336
1336
  enumFeatures.push("fromSerialValue");
1337
1337
  validatorStr = `export type ${context.clientName}Validator<T> = ArriModelValidator<T, ${modelFeatures.map((feat) => `'${feat}'`).join(" | ")}>;
1338
- export type ExampleClientEnumValidator<T> = ArriEnumValidator<T, ${enumFeatures.map((feat) => `'${feat}'`).join(" | ")}>;`;
1338
+ export type ${context.clientName}EnumValidator<T> = ArriEnumValidator<T, ${enumFeatures.map((feat) => `'${feat}'`).join(" | ")}>;`;
1339
1339
  }
1340
1340
  const imports = `// This file was autogenerated by @arrirpc/codegen-ts. Do not modify directly.
1341
1341
  // For more information visit https://github.com/modiimedia/arri
package/dist/index.mjs CHANGED
@@ -1329,7 +1329,7 @@ async function createTypescriptClient(def, options) {
1329
1329
  enumFeatures.push("values");
1330
1330
  enumFeatures.push("fromSerialValue");
1331
1331
  validatorStr = `export type ${context.clientName}Validator<T> = ArriModelValidator<T, ${modelFeatures.map((feat) => `'${feat}'`).join(" | ")}>;
1332
- export type ExampleClientEnumValidator<T> = ArriEnumValidator<T, ${enumFeatures.map((feat) => `'${feat}'`).join(" | ")}>;`;
1332
+ export type ${context.clientName}EnumValidator<T> = ArriEnumValidator<T, ${enumFeatures.map((feat) => `'${feat}'`).join(" | ")}>;`;
1333
1333
  }
1334
1334
  const imports = `// This file was autogenerated by @arrirpc/codegen-ts. Do not modify directly.
1335
1335
  // For more information visit https://github.com/modiimedia/arri
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-ts",
3
- "version": "0.84.0",
3
+ "version": "0.84.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -23,6 +23,6 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "prettier": "^3.8.1",
26
- "@arrirpc/codegen-utils": "0.84.0"
26
+ "@arrirpc/codegen-utils": "0.84.1"
27
27
  }
28
28
  }