una-nuxt-module 3.0.28 → 3.0.29

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/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "3.0.28",
3
+ "version": "3.0.29",
4
4
  "configKey": "unaxt",
5
5
  "compatibility": {
6
6
  "nuxt": ">=4.0.0"
package/dist/module.mjs CHANGED
@@ -167,7 +167,7 @@ function addTemplates() {
167
167
  }
168
168
 
169
169
  const name = "una-nuxt-module";
170
- const version = "3.0.28";
170
+ const version = "3.0.29";
171
171
 
172
172
  const module$1 = defineNuxtModule({
173
173
  meta: {
@@ -2,6 +2,6 @@ import type { VariantProps } from "class-variance-authority";
2
2
  export { default as Button } from "./Button.vue.js";
3
3
  export declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
5
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -1,5 +1,4 @@
1
- import type { IApiResponse } from '#unaxt/types';
2
- type ApiFetch = <T>(_request: Parameters<typeof $fetch>[0], _options?: Parameters<typeof $fetch>[1]) => Promise<IApiResponse<T>>;
1
+ import type { ApiFetch } from '../types/index.js';
3
2
  declare const _default: import("#app").Plugin<{
4
3
  api: {
5
4
  fetch: ApiFetch;
@@ -1,6 +1,8 @@
1
1
  import type { NitroFetchOptions, NitroFetchRequest } from 'nitropack';
2
+ import type { IApiResponse } from '#unaxt/types';
2
3
  export type GetFetchOptions = NitroFetchOptions<NitroFetchRequest, 'get'>;
3
4
  export type PutFetchOptions = NitroFetchOptions<NitroFetchRequest, 'put'>;
4
5
  export type PostFetchOptions = NitroFetchOptions<NitroFetchRequest, 'post'>;
5
6
  export type PatchFetchOptions = NitroFetchOptions<NitroFetchRequest, 'patch'>;
6
7
  export type DeleteFetchOptions = NitroFetchOptions<NitroFetchRequest, 'delete'>;
8
+ export type ApiFetch = <T>(_request: Parameters<typeof $fetch>[0], _options?: Parameters<typeof $fetch>[1]) => Promise<IApiResponse<T>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "una-nuxt-module",
3
- "version": "3.0.28",
3
+ "version": "3.0.29",
4
4
  "description": "Módulo Nuxt para desarrollo CGI",
5
5
  "repository": {
6
6
  "type": "git",