Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fenextjs-interface

Package Overview
Dependencies
Maintainers
1
Versions
65
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 1.0.6 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc