@nuxt/schema-nightly 4.1.4-29330724.5589a44a → 4.2.0-29331084.23aa59d6

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
@@ -105,6 +105,12 @@ interface Component {
105
105
  * components will be used instead of lower priority components.
106
106
  */
107
107
  priority?: number;
108
+ /**
109
+ * Path to component's declaration file
110
+ * Used for type generation when different from filePath
111
+ * @default filePath
112
+ */
113
+ declarationPath?: string;
108
114
  /**
109
115
  * Allow bypassing client/server transforms for internal Nuxt components like
110
116
  * ServerPlaceholder and NuxtClientFallback.
@@ -149,6 +155,11 @@ interface ScanDir {
149
155
  * This flag indicates, component should be loaded async (with a separate chunk) regardless of using Lazy prefix or not.
150
156
  */
151
157
  isAsync?: boolean;
158
+ /**
159
+ * Path to component's declaration file
160
+ * Used for type generation when different from filePath
161
+ */
162
+ declarationPath?: string;
152
163
  extendComponent?: (component: Component) => Promise<Component | void> | (Component | void);
153
164
  /**
154
165
  * If enabled, registers components to be globally available.
package/dist/index.d.ts CHANGED
@@ -105,6 +105,12 @@ interface Component {
105
105
  * components will be used instead of lower priority components.
106
106
  */
107
107
  priority?: number;
108
+ /**
109
+ * Path to component's declaration file
110
+ * Used for type generation when different from filePath
111
+ * @default filePath
112
+ */
113
+ declarationPath?: string;
108
114
  /**
109
115
  * Allow bypassing client/server transforms for internal Nuxt components like
110
116
  * ServerPlaceholder and NuxtClientFallback.
@@ -149,6 +155,11 @@ interface ScanDir {
149
155
  * This flag indicates, component should be loaded async (with a separate chunk) regardless of using Lazy prefix or not.
150
156
  */
151
157
  isAsync?: boolean;
158
+ /**
159
+ * Path to component's declaration file
160
+ * Used for type generation when different from filePath
161
+ */
162
+ declarationPath?: string;
152
163
  extendComponent?: (component: Component) => Promise<Component | void> | (Component | void);
153
164
  /**
154
165
  * If enabled, registers components to be globally available.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxt/schema-nightly",
3
- "version": "4.1.4-29330724.5589a44a",
3
+ "version": "4.2.0-29331084.23aa59d6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/nuxt/nuxt.git",