You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fenextjs-interface

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fenextjs-interface - npm Package Compare versions

Comparing version

to
1.0.7

7

cjs/Request/index.d.ts
import { ErrorProps } from "@/Error";
export interface RequestResultDataProps<R = any, E = any, T = "ok" | "error"> {
export type RequestResultTypeProps = "ok" | "error";
export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> {
type: T;

@@ -8,3 +9,3 @@ result?: R;

}
export type RequestResultProps<R = any, E = any, T = "ok" | "error"> = Promise<RequestResultDataProps<R, E, T>> | RequestResultDataProps<R, E, T>;
export type RequestProps<Q = any, R = any, E = any, T = "ok" | "error"> = (data: Q) => RequestResultProps<R, E, T>;
export type RequestResultProps<R = any, E = any, T = RequestResultTypeProps> = Promise<RequestResultDataProps<R, E, T>> | RequestResultDataProps<R, E, T>;
export type RequestProps<Q = any, R = any, E = any, T = RequestResultTypeProps> = (data: Q) => RequestResultProps<R, E, T>;
import { ErrorProps } from "@/Error";
export interface RequestResultDataProps<R = any, E = any, T = "ok" | "error"> {
export type RequestResultTypeProps = "ok" | "error";
export interface RequestResultDataProps<R = any, E = any, T = RequestResultTypeProps> {
type: T;

@@ -8,3 +9,3 @@ result?: R;

}
export type RequestResultProps<R = any, E = any, T = "ok" | "error"> = Promise<RequestResultDataProps<R, E, T>> | RequestResultDataProps<R, E, T>;
export type RequestProps<Q = any, R = any, E = any, T = "ok" | "error"> = (data: Q) => RequestResultProps<R, E, T>;
export type RequestResultProps<R = any, E = any, T = RequestResultTypeProps> = Promise<RequestResultDataProps<R, E, T>> | RequestResultDataProps<R, E, T>;
export type RequestProps<Q = any, R = any, E = any, T = RequestResultTypeProps> = (data: Q) => RequestResultProps<R, E, T>;
{
"name": "fenextjs-interface",
"version": "1.0.6",
"version": "1.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",