@adonisjs/assembler 8.0.0-next.26 → 8.0.0-next.27

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/build/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { a as loadHooks, c as readTsConfig, d as runNode, f as throttle, m as debug_default, n as copyFiles, o as memoize, p as watch, r as getPort, s as parseConfig, t as VirtualFileSystem, u as run } from "./virtual_file_system-bGeoWsK-.js";
2
2
  import { n as FileBuffer, t as IndexGenerator } from "./main-XUXlmlEy.js";
3
- import { t as RoutesScanner } from "./main-BSWlOK0F.js";
3
+ import { t as RoutesScanner } from "./main-BeV45LeF.js";
4
4
  import "./helpers-DDurYRsZ.js";
5
5
  import dedent from "dedent";
6
6
  import fs, { readFile, unlink } from "node:fs/promises";
@@ -111,10 +111,10 @@ var RoutesScanner = class {
111
111
  const validatorExport = validator.import.type === "default" ? ".default" : validator.import.type === "named" ? `.${validator.import.value}` : "";
112
112
  const [, ...segments] = validator.name.split(".");
113
113
  const namespace = segments.map((segment) => `['${segment}']`).join("");
114
- result.push(`Infer<(typeof import('${validator.import.specifier}')${validatorExport})${namespace}>`);
114
+ result.push(`InferInput<(typeof import('${validator.import.specifier}')${validatorExport})${namespace}>`);
115
115
  return result;
116
116
  }, []).join("|"),
117
- imports: [`import { Infer } from '@vinejs/vine/types'`]
117
+ imports: [`import { InferInput } from '@vinejs/vine/types'`]
118
118
  };
119
119
  }
120
120
  async #inspectControllerSpecifier(importExpression, method) {
@@ -1,4 +1,4 @@
1
1
  import "../../../virtual_file_system-bGeoWsK-.js";
2
- import { t as RoutesScanner } from "../../../main-BSWlOK0F.js";
2
+ import { t as RoutesScanner } from "../../../main-BeV45LeF.js";
3
3
  import "../../../helpers-DDurYRsZ.js";
4
4
  export { RoutesScanner };
@@ -70,8 +70,8 @@ export type ScannedValidator = {
70
70
  * pattern: '/users',
71
71
  * tokens: [{ val: '/users', old: '/users', type: 0, end: '' }],
72
72
  * request: {
73
- * type: 'Infer<typeof createUserValidator>',
74
- * imports: ['import { Infer } from "@vinejs/vine/types"']
73
+ * type: 'InferInput<typeof createUserValidator>',
74
+ * imports: ['import { InferInput } from "@vinejs/vine/types"']
75
75
  * },
76
76
  * response: {
77
77
  * type: 'ReturnType<UsersController["store"]>',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adonisjs/assembler",
3
3
  "description": "Provides utilities to run AdonisJS development server and build project for production",
4
- "version": "8.0.0-next.26",
4
+ "version": "8.0.0-next.27",
5
5
  "engines": {
6
6
  "node": ">=24.0.0"
7
7
  },