nuxt-openapi-hyperfetch 0.3.4-beta → 0.3.5-beta
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.
|
@@ -23,11 +23,11 @@ function toAsyncDataName(operationId) {
|
|
|
23
23
|
return `useAsyncData${pascalCase(operationId)}`;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* composable name →
|
|
27
|
-
* 'useAsyncDataGetPets' → '
|
|
26
|
+
* composable name → PascalCase file name (without .ts), matching useAsyncData generator output.
|
|
27
|
+
* 'useAsyncDataGetPets' → 'useAsyncDataGetPets'
|
|
28
28
|
*/
|
|
29
29
|
function toFileName(composableName) {
|
|
30
|
-
return
|
|
30
|
+
return composableName;
|
|
31
31
|
}
|
|
32
32
|
// ─── Section builders ─────────────────────────────────────────────────────────
|
|
33
33
|
/**
|
package/package.json
CHANGED
|
@@ -29,11 +29,11 @@ function toAsyncDataName(operationId: string): string {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* composable name →
|
|
33
|
-
* 'useAsyncDataGetPets' → '
|
|
32
|
+
* composable name → PascalCase file name (without .ts), matching useAsyncData generator output.
|
|
33
|
+
* 'useAsyncDataGetPets' → 'useAsyncDataGetPets'
|
|
34
34
|
*/
|
|
35
35
|
function toFileName(composableName: string): string {
|
|
36
|
-
return
|
|
36
|
+
return composableName;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
// ─── Section builders ─────────────────────────────────────────────────────────
|